evroc iam get-access-token
Retrieve a short-lived access token to authenticate against evroc APIs
Synopsis
Section titled “Synopsis”Retrieve a short-lived access token to authenticate against evroc APIs.
The access token can be used as a Bearer token when calling evroc APIs. It is short-lived and will expire after a few minutes.
evroc iam get-access-token [flags]Examples
Section titled “Examples”# Get access token for the current profileevroc iam get-access-token
# Use the token in a curl commandcurl -H "Authorization: Bearer $(evroc iam get-access-token)" https://api.evroc.com/...Options
Section titled “Options” -h, --help help for get-access-tokenOptions inherited from parent commands
Section titled “Options inherited from parent commands” --config string Path to the evroc config file (default "~/.evroc/config.yaml")