Skip to main content

astro deployment token list

astro only
This command is only available on Astro.

List all API tokens belonging to a Deployment.

To use an API token in an automated process, see Authenticate an automation tool.


astro deployment token list --deployment-id=<deployment-id>


OptionDescriptionPossible Values
--deployment-idThe Deployment to list tokens for.A valid Deployment ID
--verbosityThe log level.debug, info, warn, error, fatal, or panic. Default is warn.
--workspace-idThe Workspace ID for the Deployment.A valid Workspace ID


OutputDescriptionData Type
IDThe token ID.String
NAMEThe name of the token.String
DESCRIPTIONThe description of the API Token.String
SCOPEWhether the API Token is scoped to a Deployment, Workspace, or Organization.String
CREATEDHow long ago the token was created in days.String
CEATED BYThe name of the user entity who created the token.String


# List tokens for a single Deployment
astro deployment token list --deployment-id=clukapi6r000008l58530cg8i

Was this page helpful?

Sign up for Developer Updates

Get a summary of new Astro features once a month.

You can unsubscribe at any time.
By proceeding you agree to our Privacy Policy, our Website Terms and to receive emails from Astronomer.