print-access-token
inctl auth print-access-token
Print an access token.
Synopsis
Print an access token.
Can be used to authenticate with the Flowstate API.
Example:
inctl auth print-access-token --org=myorganization
Example (curl):
curl -s -X GET -H "Authorization: Bearer $(inctl auth print-access-token --org=myorganization)" https://flowstate.intrinsic.ai/api/v1/cloud-projects-orgs -H 'Content-Type: application/json'
inctl auth print-access-token [flags]
Options
--flowstate string Flowstate address. (default "flowstate.intrinsic.ai")
-h, --help help for print-access-token
--org string The Intrinsic organization to use. You can set the environment variable
INTRINSIC_ORG=organization to set a default organization.
-p, --project string The Google Cloud Project (GCP) project to use. You can set the environment variable
INTRINSIC_PROJECT=project_name to set a default project name.
Options inherited from parent commands
-o, --output string (optional) Output format. One of: (json, ndjson)
--print-trace Print the trace identifier when exiting.
SEE ALSO
- inctl auth - Manages user authorization