Security in Identity and Access Management

The IAM actions, which of them amount to administrator rights, what is recorded, and how credentials are kept.

Last updated 18 November 2026View as Markdown

IAM actions

IAM is not regional: its resource names leave the region empty, such as rn:ews::org-EXAMPLE1234:iam:user/<user id>, …:iam:group/<id>, …:iam:role/<id>, …:iam:policy/<id> and …:iam:access-key/<id>.

ActionAccessWhat it allows
iam:ListUsersReadList IAM users
iam:GetUserReadDescribe an IAM user
iam:CreateUserWriteCreate IAM users
iam:DeleteUserWrite · destructiveDelete IAM users
iam:AttachUserPolicyWriteAttach a policy directly to a user
iam:DetachUserPolicyWrite · destructiveDetach a policy from a user
iam:AssignUserRoleWriteAssign a role to a user
iam:RemoveUserRoleWrite · destructiveRemove a role from a user
iam:GetLoginProfileReadShow an IAM user's console access: on or off, last sign-in, locked until
iam:CreateLoginProfileWriteGive an IAM user a console password (sign-in with organization, user name, password)
iam:UpdateLoginProfileWrite · destructiveReset an IAM user's console password, unlock it, or turn console access off and on
iam:DeleteLoginProfileWrite · destructiveRemove an IAM user's console password and end their console sessions
iam:DeactivateMfaDeviceWrite · destructiveRemove an IAM user's second factors (authenticator app, recovery codes, passkeys), e.g. after a lost phone
iam:GetPasswordPolicyReadShow the organization's password policy for IAM-user console passwords
iam:UpdatePasswordPolicyWrite · destructiveSet the organization's password policy for IAM-user console passwords (length, lockout, session length, on/off)
iam:DeletePasswordPolicyWrite · destructiveReturn the organization's password policy to the defaults
iam:GetCliAuthPolicyReadShow the organization's CLI sign-in policy (Touch ID or passkey required, personal access key age) and what a change would affect
iam:UpdateCliAuthPolicyWrite · destructiveSet the organization's CLI sign-in policy: require Touch ID or a passkey for people's CLI sessions, and refuse people's access keys past an age
iam:ListGroupsReadList IAM groups
iam:GetGroupReadDescribe an IAM group
iam:CreateGroupWriteCreate IAM groups
iam:UpdateGroupWrite · destructiveUpdate an IAM group
iam:DeleteGroupWrite · destructiveDelete IAM groups
iam:AddUserToGroupWriteAdd a user to a group
iam:RemoveUserFromGroupWrite · destructiveRemove a user from a group
iam:AttachGroupPolicyWriteAttach a policy to a group
iam:DetachGroupPolicyWrite · destructiveDetach a policy from a group
iam:ListRolesReadList IAM roles
iam:GetRoleReadDescribe an IAM role
iam:CreateRoleWriteCreate IAM roles
iam:DeleteRoleWrite · destructiveDelete IAM roles
iam:AttachRolePolicyWriteAttach a policy to a role
iam:DetachRolePolicyWrite · destructiveDetach a policy from a role
iam:UpdateAssumeRolePolicyWrite · destructiveChange which federated workloads (e.g. GitHub Actions jobs) may assume a role
iam:RevokeRoleSessionsWrite · destructiveInvalidate every temporary credential issued for a role
iam:AssumeRoleWithWebIdentityWriteExchange an OIDC token for temporary credentials (decided by the role trust policy)
iam:AssumeRoleForInstanceWriteAn instance gets temporary credentials for its instance role (decided by its identity and iam:PassRole at launch)
iam:PassRoleWriteHand a role to a service that will act as it, such as a Kubernetes node group
iam:ListOpenIdConnectProvidersReadList OIDC identity providers
iam:GetOpenIdConnectProviderReadDescribe an OIDC identity provider
iam:CreateOpenIdConnectProviderWriteRegister an OIDC identity provider such as GitHub Actions
iam:UpdateOpenIdConnectProviderWrite · destructiveChange the accepted audiences of an OIDC identity provider
iam:DeleteOpenIdConnectProviderWrite · destructiveRemove an OIDC identity provider
iam:ListSsoConnectionsReadList single sign-on connections and their domains
iam:GetSsoConnectionReadDescribe a single sign-on connection
iam:CreateSsoConnectionWriteConnect an OIDC or SAML identity provider for console sign-in
iam:UpdateSsoConnectionWrite · destructiveChange a single sign-on connection: settings, enable, enforce, domains, default role
iam:DeleteSsoConnectionWrite · destructiveRemove a single sign-on connection
iam:VerifySsoDomainWriteCheck a domain's DNS record and mark it verified for single sign-on
iam:ListPoliciesReadList IAM policies
iam:GetPolicyReadDescribe an IAM policy
iam:CreatePolicyWriteCreate IAM policies
iam:UpdatePolicyWrite · destructiveUpdate an IAM policy
iam:DeletePolicyWrite · destructiveDelete IAM policies
iam:SimulatePrincipalPolicyReadTest whether a user or role may perform an action on a resource, and see which statement of which attached policy decides it
iam:SimulateCustomPolicyReadTest a policy document that is not saved or attached yet against an action and resource
iam:ListAccessKeysReadList access keys
iam:CreateAccessKeyWriteCreate access keys
iam:UpdateAccessKeyWrite · destructiveActivate or deactivate an access key
iam:DeleteAccessKeyWrite · destructiveDelete access keys
iam:UpdateOrganizationWrite · destructiveRename the organization
iam:UpdateOrganizationInfrastructureWriteChoose where the organization's servers are made: managed, or the customer's own cloud project
iam:UpdateOrganizationAuthPolicyWrite · destructiveRequire two-factor sign-in for the organization's members, or stop requiring it
iam:GetOrganizationDeletionReadView the closure request and what still blocks it
iam:RequestOrganizationDeletionWrite · destructiveStart the 30-day closure window for the organization
iam:CancelOrganizationDeletionWriteCancel a pending closure request and keep the organization
iam:DeleteOrganizationWrite · destructiveClose the organization once the window has passed and nothing is left running
iam:ListMembersReadList org members
iam:UpdateMemberWrite · destructiveChange an org member role
iam:RemoveMemberWrite · destructiveRemove an org member
iam:ListInvitationsReadList pending invitations
iam:InviteUserWriteInvite a user to the org
iam:GetInvitationLinkRead · sensitiveGet the join link of a pending invitation, to pass on by hand
iam:ResendInvitationWriteSend a pending invitation again and extend its expiry
iam:CancelInvitationWrite · destructiveCancel a pending invitation
iam:GetAuditLogsReadView, search, export and verify the audit log; read its signed digests and settings
iam:UpdateAuditLogSettingsWrite · destructiveChange how long audit log entries are kept (90 days to 10 years)
iam:ListAuditDestinationsReadList where the audit log is exported to and which alarms watch it
iam:CreateAuditDestinationWriteExport the audit log to S3, a webhook or syslog, or alarm by email on matches
iam:UpdateAuditDestinationWrite · destructiveChange, pause, resume or replay an audit log export or alarm
iam:DeleteAuditDestinationWrite · destructiveRemove an audit log export or alarm
iam:TestAuditDestinationWriteSend a test event to an audit log export or alarm
iam:ListUserSessionsReadList a member's console sessions: device, address, sign-in method
iam:RevokeUserSessionsWrite · destructiveSign a member out of the console everywhere (ends every session they have)
iam:BlockUserDeviceKeyWrite · destructiveBlock one of a member's CLI devices (Touch ID key) in this organization: it signs in here no more and its sessions here end
iam:UnblockUserDeviceKeyWriteLift this organization's block on one of a member's CLI devices
iam:ListScimTokensReadList the SCIM provisioning tokens of single sign-on connections
iam:CreateScimTokenWriteCreate a SCIM token so an identity provider can provision users and groups
iam:DeleteScimTokenWrite · destructiveRevoke a SCIM provisioning token
iam:ListAgentSessionsReadList the AI agent sessions of every member, with what they may do
iam:UpdateAgentSessionWriteAllow another member’s AI agent session to make changes, or approve one destructive call it planned
iam:EndAgentSessionWrite · destructiveEnd another member’s AI agent session or revoke its connection
iam:UpdateAgentSettingsWrite · destructiveChange the AI agent rate limits, or switch off changes by every AI agent

Generated from the service’s IAM descriptor. Sensitive reads hand over secret material or source code and are recorded in the audit log like writes; destructive writes delete, overwrite or revoke.

Actions that amount to administrator rights

  • iam:CreatePolicy or iam:UpdatePolicy together with iam:AttachUserPolicy (or the group and role variants) lets a principal write any document and attach it, also to itself. Give them only to administrators.
  • A grant made on a resource's Access panel is checked against your own permissions: you cannot hand out an action you are not allowed yourself. Attaching a policy you wrote is not checked this way.
  • iam:AssignUserRole gives the user every policy of the role, and iam:AddUserToGroup every policy of the group.
  • iam:CreateAccessKey on another user creates a credential that acts as that user.

PowerUserAccess and DeveloperAccess include no IAM action, so neither can change anybody's permissions.

Audit

Every IAM write is recorded in the audit log with its outcome, allowed or refused, and so are sensitive reads such as iam:GetInvitationLink. A refused ordinary read that ends in 403 is recorded at most once a minute per principal and action. Sign-ins, sign-in failures, CLI sign-in approvals (auth:ApproveDeviceLogin), organization switches, single sign-on group changes (auth:SsoGroupSync) and token exchanges for a role that exists (iam:AssumeRoleWithWebIdentity, with the token's claims once the token is verified) are recorded too. See Monitoring.

Credentials

  • Access keys. The secret is shown once, at creation, and cannot be read again. A SHA-256 hash of it checks API requests; an encrypted copy lets S3 requests signed with it be checked. A key can be made inactive or deleted, and expires; see Manage access keys.
  • Console passwords of IAM users follow the organization's password policy and lock after wrong attempts; see Set the password policy.
  • Second factors. An authenticator app or a passkey, which an organization can require; see Turn on two-factor sign-in.
  • Single sign-on. An OIDC connection's client secret is stored encrypted and never returned. SCIM tokens are shown once and stored as a hash.
  • Role sessions. A token exchange mints a key that lasts at most one hour. Exchanges are limited to 30 a minute per client address and 60 a minute per role.

Isolation between organizations

A credential belongs to one organization, and every request acts in that organization. An organization id in a request body or path is never used to decide access. A grant or a simulation that names another organization's resource is refused.

Did this page help you?