.nh .TH "Buf" "1" "2026-04-29" "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 .PP \fB--log-format\fP="color" The log format [text,color,json] .PP \fB--timeout\fP=0s The duration until timing out, setting it to 0 means no timeout .SH SEE ALSO \fBbuf-registry(1)\fP .SH HISTORY 2026-04-29 Auto generated by spf13/cobra