Skip to main content
Version: v3.x (DDN)

DDN CLI: ddn auth print-access-token

Prints the access token to STDOUT.

Synopsis

Prints the access token to STDOUT

ddn auth print-access-token [flags]

Alias: pp, print-pat

Examples

# Print the access token as a string to STDOUT
ddn auth print-access-token

# Print access token as a JSON to STDOUT
ddn auth print-access-token --out json

Options

-h, --help   help for print-access-token

Options inherited from parent operations

--log-level string   Log level. Can be DEBUG, WARN, INFO, ERROR, or FATAL. (default "INFO")
--no-prompt Do not prompt for required but missing flags
--out string Output format. Can be table, json or yaml. (default "table")
--timeout int Request timeout in seconds [env: HASURA_DDN_TIMEOUT] (default 100)

Parent operation