This is feature is only available if you are on the Team tier or above. See Astro Plans and Pricing.
Team plans are limited to two Teams, but Business plans allow you to have unlimited Teams. See pricing.
Create a Team
- New Astro UI
- Legacy UI
- In the Astro UI, go to Settings, then in the Access Management section, click Teams.
- Click + New Team.
- In the New Team panel, enter a Team Name and Team Description, select an Organization Role, and optionally Add Users. If you can’t find a user, you might need to add them to your Organization first.
- Click Create Team.
Update existing Teams
- New Astro UI
- Legacy UI
- In the Astro UI, go to Settings, then in the Access Management section, click Teams.
- Click a Team to open its detail page. The Members tab is selected by default.
- To add a member, click + Add Member, use the Add Users dropdown to find the user, then click Add Members.
- To remove a member, hover over their row and click the trash icon.
Add a Team to a Workspace
- New Astro UI
- Legacy UI
- In the Astro UI, go to Settings > Workspaces.
- Select your Workspace, then go to Access Management > Teams.
- Click + Add Team.
- Select the Team you want to add and define their Workspace Role, which determines their Workspace user permissions.
Centralized access management for Organization OwnersOrganization Owners can also add or update a Team for a Workspace from your Organization’s access management settings:
- New Astro UI
- Legacy UI
- In the Astro UI, go to Settings, then in the Access Management section, click Teams.
- Select the Team.
- Click the Workspaces tab, then click + Add Workspace to add them to a Workspace, or Edit Role to change their role for an existing Workspace.
CLIYou can add a Team to multiple Workspaces programmatically using the Astro CLI. See
astro workspace team add for example output and commands.Add a Team to a Dag
You can assign a Team to specific Dags within a Deployment, giving all Team members the same Dag-level permissions. For complete instructions, see Assign Dag roles to Teams.Add a Team to multiple Workspaces using the Astro CLI
You can use the Astro CLI and a shell script to add a Team to multiple Workspaces at once. The shell script reads from a text file which contains Team information. You can generate a text file for each Team that needs to be assigned to Workspaces and run a script to process the file. You must have Organization Owner or Workspace Owner level permissions to add Teams to Workspaces.-
Create a text file named
teams.txt. -
Open the text file. On each line, add a Team ID, the Team’s role, and the Workspace ID delimited by spaces. Your text file should look similar to the following:
-
Create a file named
add-teams.shand add the following script to it:add-teams.sh -
(Optional) Log in to the Astro CLI using
astro login, then runastro workspace listto ensure that you have access to the Workspaces where you want to add the users. -
Run the following command to execute the shell script:
-
(Optional) To use this script as part of a CI/CD pipeline, create an Organization API token and specify the following environment variable in your CI/CD environment:
- Key:
ASTRO_API_TOKEN - Value:
<your-api-token>
- Key:
Teams and SCIM provisioning
To preserve a single source of truth for user group management, some Team management actions are limited when you set up SCIM provisioning. Specifically, when you set up SCIM provisioning:- You can’t create new Teams.
- You can’t add users to existing Teams.
- Update the Team’s permissions.
- Remove users from the Team.
- Delete the Team.