---
name: "buf-registry-login"
section: "1"
platform: "linux"
package: "buf"
version: "1.75.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/buf-registry-login"
---

# buf-registry-login(1)

Log in to the Buf Schema Registry

## NAME

buf-registry-login - Log in to the Buf Schema Registry

## SYNOPSIS

**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.

## OPTIONS

**-h**, **--help**\[=false\]\
 	help for login

**--prompt**\[=false\]\
 	Prompt for the token. The device must be a TTY. Exclusive with the flag --token-stdin.

**--token-stdin**\[=false\]\
 	Read the token from stdin. This command prompts for a token by default. Exclusive with the flag --prompt.

## OPTIONS INHERITED FROM PARENT COMMANDS

**--debug**\[=false\]\
 	Turn on debug logging (env BUF\_DEBUG)

**--log-format**="color"\
 	The log format text,color,json ⟨env BUF\_LOG\_FORMAT⟩

**--timeout**=0s\
 	The duration until timing out, setting it to 0 means no timeout (env BUF\_TIMEOUT)

## SEE ALSO

**[buf-registry(1)](/buf-registry/1.md)**

## HISTORY

2026-10-22 Auto generated by spf13/cobra
