.nh .TH "Buf" "1" "2026-10-22" "Auto generated by spf13/cobra" "" .SH NAME buf-registry-login - Log in to the Buf Schema Registry .SH SYNOPSIS \fBbuf registry login [domain] [flags]\fP .SH DESCRIPTION This command will open a browser to complete the login process. Use the flags --prompt or --token-stdin to complete an alternative login flow. The token is saved to your .netrc file. The [domain] argument will default to buf.build if not specified. .SH OPTIONS \fB-h\fP, \fB--help\fP[=false] help for login .PP \fB--prompt\fP[=false] Prompt for the token. The device must be a TTY. Exclusive with the flag --token-stdin. .PP \fB--token-stdin\fP[=false] Read the token from stdin. This command prompts for a token by default. Exclusive with the flag --prompt. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--debug\fP[=false] Turn on debug logging (env BUF_DEBUG) .PP \fB--log-format\fP="color" The log format text,color,json \[la]env BUF_LOG_FORMAT\[ra] .PP \fB--timeout\fP=0s The duration until timing out, setting it to 0 means no timeout (env BUF_TIMEOUT) .SH SEE ALSO \fBbuf-registry(1)\fP .SH HISTORY 2026-10-22 Auto generated by spf13/cobra