Skip to content

buf registry login#

Log in to the Buf Schema Registry

Usage#

$ buf registry login [domain] [flags]

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.

Flags#

-h, --help#

help for login

--prompt#

Prompt for the token. The device must be a TTY. Exclusive with the flag --token-stdin.

--token-stdin#

Read the token from stdin. This command prompts for a token by default. Exclusive with the flag --prompt.

Flags inherited from parent commands#

--debug#

Turn on debug logging

--log-format string#

The log format [text,color,json]

--timeout duration#

The duration until timing out, setting it to zero means no timeout

Parent Command#