Creating an account
Workspace creates accounts atPOST /v1/accounts. The response includes the
new account and its bootstrap_role_id and bootstrap_role_crn.
Creation also creates an AccountAdministrator role in the account. It has
the system account Administrator policy and trusts only the creator’s
immutable identity. A human creator receives a role assignment automatically.
A machine creator still needs iam:AssumeRole in its source account policy
before it can assume the bootstrap role.
The bootstrap role is an ordinary custom role: review its trust, replace its
broad permissions with suitable roles, and delete it when it is no longer
needed. It does not give the account authority over the organization.
Assigning people to account roles
In the console, open Organization → Accounts, select the account, then open Settings. The Account access card lets you Assign role to a user or group. A group assignment applies to its user members. An assignment and the role’s trust policy are separate requirements:- The assignment authorizes the human to request
iam:AssumeRolefor that role. - The role’s trust policy must accept that user’s Workspace principal CRN.
- After assumption, account requests use the role’s permissions.
An assignment contains
principal_type (user or group), principal_id,
and role_id, all resolved within the organization and target account.
Service accounts use identity policies and trust, not human role assignments.
Selecting an account role
The console’s Account role menu chooses among your assigned roles. Organization owners can use Organization owner for direct bootstrap access or select an explicit role. Other users must select a role to use account services. The console keeps your personal organization session separate from the selected account role session. Organization pages use your personal session; account pages use the selected role. Changing account or organization clears the previous role context. Expired role sessions are renewed from your personal session, subject to current assignments and trust. For integrations, useGET /v1/account-roles to discover a human’s assignments,
then send the chosen role CRN to IAM’s POST /v1/assume-role. Verify the
returned account_id, account_handle, and role_id before using the token.
Changing X-Account-Id does not change a token’s account authority.