Skip to main content

astro organization token create


This command is only available on Astro.

Create an Organization API token.


astro organization token create


OptionDescriptionValid Values
--clean-outputPrint only the token as output. Use this flag in automated workflows.None.
--descriptionThe description for the token.Any string surrounded by quotations.
--expirationThe expiration date for the token. By default there is no expiration date.Any integer between 1 and 3650, used to represent days.
--nameThe name for the token.Any string surrounded by quotations.
--roleThe token's role in the Organization.Possible values are either ORGANIZATION_MEMBER, ORGANIZATION_BILLING_ADMIN, or ORGANIZATION_OWNER.


astro organization token create --name "My Org Owner API token" --role ORGANIZATION OWNER

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.