AgentRegistryFullAccess

Last Modified

Aug 31, 2026

August 31, 2026 at 06:03 PM UTC

Version

v2

Total Versions

2

Created

Aug 31, 2026

Actions

20

Risk

High

An unrestricted escalation path, identity administration, secret reads or the power to switch off security monitoring. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

  • High

    Can read secrets

    Reads Secrets Manager secret values, on any resource with no condition.

    secretsmanager:GetSecretValue

    Use with caution: Where the holder needs only some secrets, write your own policy scoped to their ARNs or tags, and limit decryption in the KMS key policies.

  • Medium

    Full agent-registry access on every resource

    Uses agent-registry:* with Resource "*" and no condition, so every action AWS adds to that service later is granted too.

    agent-registry:*

    Use with caution: The grant grows every time the service does. For long-lived access, prefer a policy that lists the actions you actually need.

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "AgentRegistryFullAccess",
          "Effect": "Allow",
          "Action": "agent-registry:*",
          "Resource": "arn:aws:agent-registry:*:*:*"
        },
        {
          "Sid": "AgentRegistryPassRoleAccess",
          "Effect": "Allow",
          "Action": "iam:PassRole",
          "Resource": "arn:aws:iam::*:role/*",
          "Condition": {
            "StringEquals": {
              "iam:PassedToService": "agent-registry.amazonaws.com"
            }
          }
        },
        {
          "Sid": "AgentRegistryWorkloadIdentityAccess",
          "Effect": "Allow",
          "Action": [
            "bedrock-agentcore:CreateWorkloadIdentity",
            "bedrock-agentcore:DeleteWorkloadIdentity",
            "bedrock-agentcore:GetWorkloadAccessToken",
            "bedrock-agentcore:GetWorkloadIdentity"
          ],
          "Resource": "arn:aws:bedrock-agentcore:*:*:workload-identity-directory/*"
        },
        {
          "Sid": "AllowGetResourceOauth2TokenForOauthBasedSynchronization",
          "Effect": "Allow",
          "Action": [
            "bedrock-agentcore:GetResourceOauth2Token"
          ],
          "Resource": [
            "arn:aws:bedrock-agentcore:*:*:credential-provider/*",
            "arn:aws:bedrock-agentcore:*:*:workload-identity-directory/*",
            "arn:aws:bedrock-agentcore:*:*:token-vault/*/oauth2credentialprovider/*"
          ]
        },
        {
          "Sid": "AllowListOauth2CredentialsProvidersForConsolePicker",
          "Effect": "Allow",
          "Action": [
            "bedrock-agentcore:ListOauth2CredentialProviders"
          ],
          "Resource": "arn:aws:bedrock-agentcore:*:*:*"
        },
        {
          "Sid": "IAMListAccess",
          "Effect": "Allow",
          "Action": [
            "iam:ListRoles"
          ],
          "Resource": "arn:aws:iam::*:role/*"
        },
        {
          "Sid": "AgentRegistryKMSDecryptKeyForSynchronization",
          "Effect": "Allow",
          "Action": [
            "kms:Decrypt"
          ],
          "Resource": "arn:aws:kms:*:*:key/*",
          "Condition": {
            "ForAnyValue:StringEquals": {
              "aws:CalledVia": "bedrock-agentcore.amazonaws.com"
            }
          }
        },
        {
          "Sid": "AgentRegistryKMSDescribeKey",
          "Effect": "Allow",
          "Action": [
            "kms:DescribeKey"
          ],
          "Resource": "arn:aws:kms:*:*:key/*",
          "Condition": {
            "StringLike": {
              "kms:ViaService": "agent-registry.*.amazonaws.com"
            }
          }
        },
        {
          "Sid": "AgentRegistryKMSCryptoOps",
          "Effect": "Allow",
          "Action": [
            "kms:Decrypt",
            "kms:Encrypt",
            "kms:GenerateDataKey",
            "kms:GenerateDataKeyWithoutPlaintext",
            "kms:ReEncryptFrom",
            "kms:ReEncryptTo"
          ],
          "Resource": "arn:aws:kms:*:*:key/*",
          "Condition": {
            "StringLike": {
              "kms:ViaService": "agent-registry.*.amazonaws.com",
              "kms:EncryptionContext:aws:agent-registry:registry-arn": "arn:aws:agent-registry:*:*:registry/*"
            }
          }
        },
        {
          "Sid": "AgentRegistryKMSCreateGrant",
          "Effect": "Allow",
          "Action": "kms:CreateGrant",
          "Resource": "arn:aws:kms:*:*:key/*",
          "Condition": {
            "StringLike": {
              "kms:ViaService": "agent-registry.*.amazonaws.com"
            },
            "ForAllValues:StringEquals": {
              "kms:GrantOperations": [
                "Decrypt",
                "Encrypt",
                "GenerateDataKey",
                "GenerateDataKeyWithoutPlaintext",
                "ReEncryptFrom",
                "ReEncryptTo",
                "DescribeKey",
                "CreateGrant"
              ]
            },
            "Null": {
              "kms:GrantOperations": "false"
            }
          }
        },
        {
          "Sid": "AgentRegistrySecretsManagerAccess",
          "Effect": "Allow",
          "Action": [
            "secretsmanager:GetSecretValue"
          ],
          "Resource": "arn:aws:secretsmanager:*:*:secret:*"
        },
        {
          "Sid": "AgentRegistryServiceLinkedRoleAccess",
          "Effect": "Allow",
          "Action": "iam:CreateServiceLinkedRole",
          "Resource": "arn:aws:iam::*:role/aws-service-role/agent-registry.amazonaws.com/AWSServiceRoleForAgentRegistry",
          "Condition": {
            "StringLike": {
              "iam:AWSServiceName": "agent-registry.amazonaws.com"
            }
          }
        }
      ]
    },
    "VersionId": "v2",
    "IsDefaultVersion": true,
    "CreateDate": "2026-08-31T17:07:08+00:00"
  }
}

Version History (2 recorded)

Raw history
v2updated

7 actions added

6631360
Permissions management: kms:CreateGrant: kms:CreateGrant
v1new policy

11 actions added

e9769e1