Buildkite CLI whoami command
The bk whoami command allows you to display information about the current user's Buildkite organization and API token from the command line.
Print the current user and organization It returns information on the current session.
bk whoami [flags]
Flags
| Flag | Description |
|---|---|
--debug |
Enable debug output for REST API calls |
--output="" |
Output format. One of: json, yaml, text |
Examples
List the current token session:
bk whoami
List the current token session in JSON format:
bk whoami -o json