Adding a member
You can add members to your organization using either the web UI or the CLI. The web UI is the recommended approach for most users.
Prerequisites
Ensure that you have the global admin
role assigned to your account. This feature is primarily gated by global admin privileges.
Method 1: Using the Web UI (Recommended)
-
Access Member Settings
- Log in to the AstroPulse Console
- Navigate to Settings → Members
-
Add a New Member
- Click the "Add Member" button
- Select the target organization from the dropdown
- Enter the user's ID (they can find this using
astroctl whoami
) - Choose the appropriate role:
viewer
,editor
, oradmin
- Click "Add Member"
-
Role Assignment
- viewer: Read-only access to organization resources
- editor: Can edit resources but has limited deployment permissions
- admin: Can manage all resources within the organization, including API keys and member management
Method 2: Using the CLI
-
Add User to Organization
astroctl org add-user --org-id [org-id] --user-id [user-id]
-
Generate API Keys Once the member is added, they must run the following command to generate API keys and access all the resources for that organization:
astroctl auth login --org-id [org-id]
Global Admin Role Required
To add members to organizations, you must have the global admin
role assigned to your account. This feature is primarily gated by global admin privileges.
Finding User IDs
Users can find their user ID by running astroctl whoami
in their terminal.