IAMCredentialBrokerFullAccess

Last Modified

Nov 30, 2026

November 30, 2026 at 01:03 AM UTC

Version

v1

Total Versions

1

Created

Nov 30, 2026

Actions

22

Risk

Medium

The same capabilities in a scoped form, resource policy writes, reads across all data, or full access to a whole service. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

  • Medium

    Full credentialbroker access on every resource

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

    credentialbroker:*

    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": "CredentialBrokerAccess",
          "Effect": "Allow",
          "Action": [
            "credentialbroker:*"
          ],
          "Resource": "*"
        },
        {
          "Sid": "CredentialBrokerManagedSecretsAccess",
          "Effect": "Allow",
          "Action": [
            "secretsmanager:CreateSecret",
            "secretsmanager:GetSecretValue",
            "secretsmanager:DescribeSecret",
            "secretsmanager:PutSecretValue",
            "secretsmanager:DeleteSecret"
          ],
          "Resource": "arn:aws:secretsmanager:*:*:secret:credentialbroker!*"
        },
        {
          "Sid": "SecretsListAccess",
          "Effect": "Allow",
          "Action": "secretsmanager:ListSecrets",
          "Resource": "*"
        },
        {
          "Sid": "KMSListAccess",
          "Effect": "Allow",
          "Action": "kms:ListAliases",
          "Resource": "*"
        },
        {
          "Sid": "KMSDescribeKeyAccess",
          "Effect": "Allow",
          "Action": "kms:DescribeKey",
          "Resource": "arn:aws:kms:*:*:key/*"
        },
        {
          "Sid": "KMSBranchKeyAccess",
          "Effect": "Allow",
          "Action": [
            "kms:Encrypt",
            "kms:Decrypt",
            "kms:GenerateDataKeyWithoutPlaintext",
            "kms:ReEncryptFrom",
            "kms:ReEncryptTo"
          ],
          "Resource": "arn:aws:kms:*:*:key/*",
          "Condition": {
            "ForAnyValue:StringEquals": {
              "aws:CalledVia": [
                "credentialbroker.amazonaws.com"
              ]
            },
            "StringLike": {
              "kms:EncryptionContext:aws-crypto-ec:aws:credentialbroker:credentialproviderpool-arn": "arn:aws:credentialbroker:*:*:credentialproviderpool/*"
            }
          }
        },
        {
          "Sid": "KMSGrantsAccess",
          "Effect": "Allow",
          "Action": "kms:CreateGrant",
          "Resource": "arn:aws:kms:*:*:key/*",
          "Condition": {
            "ForAnyValue:StringEquals": {
              "aws:CalledVia": [
                "credentialbroker.amazonaws.com"
              ]
            },
            "ForAllValues:StringEquals": {
              "kms:GrantOperations": [
                "GenerateDataKeyWithoutPlaintext",
                "ReEncryptFrom",
                "ReEncryptTo"
              ]
            },
            "StringEquals": {
              "kms:GrantConstraintType": "EncryptionContextSubset"
            },
            "ArnLike": {
              "kms:GrantConstraintSourceArn": "arn:aws:credentialbroker:*:*:credentialproviderpool/*"
            }
          }
        },
        {
          "Sid": "KMSIdentityCenterKeyAccess",
          "Effect": "Allow",
          "Action": "kms:Decrypt",
          "Resource": "arn:aws:kms:*:*:key/*",
          "Condition": {
            "ForAnyValue:StringEquals": {
              "aws:CalledVia": [
                "credentialbroker.amazonaws.com"
              ],
              "kms:EncryptionContextKeys": [
                "aws:sso:instance-arn",
                "aws:identitystore:identitystore-arn"
              ]
            },
            "StringLike": {
              "kms:ViaService": [
                "sso.*.amazonaws.com",
                "identitystore.*.amazonaws.com"
              ]
            }
          }
        },
        {
          "Sid": "IdentityCenterListInstances",
          "Effect": "Allow",
          "Action": "sso:ListInstances",
          "Resource": "*"
        },
        {
          "Sid": "IdentityCenterCreateApplication",
          "Effect": "Allow",
          "Action": "sso:CreateApplication",
          "Resource": [
            "arn:aws:sso:::instance/*",
            "arn:aws:sso::aws:applicationProvider/credentialbroker",
            "arn:aws:sso::*:application/*/*"
          ],
          "Condition": {
            "ForAnyValue:StringEquals": {
              "aws:CalledVia": [
                "credentialbroker.amazonaws.com"
              ]
            }
          }
        },
        {
          "Sid": "IdentityCenterManageApplication",
          "Effect": "Allow",
          "Action": [
            "sso:DeleteApplication",
            "sso:PutApplicationAuthenticationMethod",
            "sso:PutApplicationGrant",
            "sso:PutApplicationAssignmentConfiguration"
          ],
          "Resource": "arn:aws:sso::*:application/*/*",
          "Condition": {
            "ForAnyValue:StringEquals": {
              "aws:CalledVia": [
                "credentialbroker.amazonaws.com"
              ]
            },
            "StringEquals": {
              "sso:ApplicationAccount": "${aws:PrincipalAccount}"
            }
          }
        }
      ]
    },
    "VersionId": "v1",
    "IsDefaultVersion": true,
    "CreateDate": "2026-11-30T00:37:07+00:00"
  }
}

Version History (1 recorded)

Raw history
v1new policy

20 actions added

df315b7
Permissions management: kms:CreateGrant: kms:CreateGrant