DDN CLI: ddn auth
Manage Hasura DDN CLI Auth.
Synopsis
The auth commands allow you to manage the authentication status of your CLI using a browser or an access token. Additionally, you can generate and print secret keys for a PromptQL instance if it's associated with the project.
Available operations
- ddn auth generate-promptql-secret-key - Generates the project's PromptQL secret key and saves to global config
- ddn auth login - Login to DDN
- ddn auth logout - Logout from DDN
- ddn auth print-access-token - Prints the access token to STDOUT
- ddn auth print-promptql-secret-key - Prints the project's PromptQL secret key to STDOUT
Options
-h, --help help for auth
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
- ddn - DDN Command Line Interface