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 |
|---|---|
-o, --output="json"
|
Output format. One of: json, yaml, text |
--debug |
Enable debug output for REST API calls |
Examples
List the current token session:
bk whoami
List the current token session in JSON format:
bk whoami -o json