Skip to main content

astro deployment user

info

This command is available only if you're authenticated to an Astronomer Software installation.

Manage users in a Deployment on Astronomer Software.

Usage

This command has several subcommands. Read the following sections to learn how to use each subcommand.

astro deployment user add

Give an existing user in a Workspace access to a Deployment within that Workspace. You must be a Deployment Admin for the given Deployment to run this command.

Usage

astro deployment user add --email=<user-email-address> --deployment-id=<user-deployment-id> --role<user-role>

Options

OptionDescriptionPossible values
--deployment-id (Required)The ID for the Deployment that the user is added toAny valid Deployment ID
-e,--email (Required)The user's emailAny valid email address
--role (Required)The role assigned to the userPossible values are DEPLOYMENT_VIEWER, DEPLOYMENT_EDITOR, or DEPLOYMENT_ADMIN. The default value is DEPLOYMENT_VIEWER

astro deployment user remove

Remove access to a Deployment for an existing Workspace user. To grant that same user a different set of permissions instead, modify their existing Deployment-level role by running astro deployment user update. You must be a Deployment Admin to run this command.

Usage

astro deployment user remove --deployment-id=<deployment-id> --email=<user-email-address>

Options

OptionDescriptionPossible values
--email (Required)The user's emailAny valid email address
--deployment-id (Required)The Deployment from which to remove the userAny valid Deployment ID

astro deployment user list

View a list of all Workspace users who have access to a given Deployment.

Usage

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

Options

OptionDescriptionPossible values
--deployment-id (Required)The Deployment that you're searching inAny valid Deployment ID
--emailThe email for the user you're searching forAny valid email address
--nameThe name of the user to search forAny string

astro deployment user update

Update a user's role in a given Deployment.

Usage

astro deployment user update --deployment-id=<deployment-id>

Options

OptionDescriptionPossible values
--deployment-id (Required)The Deployment that you're searchingAny valid Deployment ID.
--roleThe role for the user.Possible values are DEPLOYMENT_VIEWER, DEPLOYMENT_EDITOR, or DEPLOYMENT_ADMIN. The default value is DEPLOYMENT_VIEWER.