Print a valid broker access token
Synopsis
Print a valid broker access token, refreshing it if needed. Handy for calling the broker API directly.
nova simulation token [flags]
Examples
# call the broker API directly
curl -H "Authorization: Bearer $(nova simulation token)" https://broker.omni.dev.wandelbots.io/sessions
Options
-h, --help help for token
Options inherited from parent commands
--debug Write diagnostic output to stderr: HTTP requests and responses, external commands, the resolved instance. Known secrets are redacted, but bodies (app environments, kubeconfigs) can still contain some: don't share the output unreviewed (env: NOVA_DEBUG=1)
--env string (Wandelbots internal) Portal environment for this invocation: prod, stg or dev (default: the environment of the cloud instance, else of the last 'nova login'; env: NOVA_ENV)
--insecure-skip-tls-verify If true, the server's certificate will not be checked for validity (disables TLS verification for all requests)
--instance string Name of the instance to work against for this invocation (overrides the selected instance; env: NOVA_INSTANCE)
SEE ALSO
- nova simulation - EXPERIMENTAL, Wandelbots internal: Manage simulation streaming sessions