Skip to main content

astro deployment token rotate

astro only
This command is only available on Astro.

Rotate an Astro Deployment API Token.

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


astro deployment token rotate <token-id> --deployment-id=<deployment-id> [flags]


OptionDescriptionPossible Values
-c,--clean-outputPrint only the token as output. Use when writing scripts that run the command.N/A
-f, --forceRotate the Deployment API token without showing a warning.N/A
-t,--nameThe name of the token to be rotated. If the name contains a space, specify the entire name within quotes "".String


astro deployment token rotate --deployment-id=clukapi6r000008l58530cg8i --name "My token"

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.