Skip to main content

astro workspace token rotate


This command is only available on Astro.

Rotate a Workspace API token in your current Workspace.


astro workspace token rotate <flags>


OptionDescriptionValid Values
--clean-outputPrint only the token as output. Use this flag in automated workflows.None
--forceRotate the token without showing a warningNone
--nameThe name for the token.Any string surrounded by quotations


astro workspace token rotate --name "My token" --force

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.