bedrock-agentcore:GetApiKeyCredentialProvider

Read

bedrock-agentcore:GetApiKeyCredentialProvider is a Read access-level action in the bedrock-agentcore service. Grants permission to fetch a registered API Key Credential Provider by its name

Resource types

ARNs that bedrock-agentcore:GetApiKeyCredentialProvider can be scoped to in an IAM policy.

arn:${Partition}:bedrock-agentcore:${Region}:${Account}:token-vault/${TokenVaultId}/apikeycredentialprovider/${Name}
apikeycredentialprovider
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:token-vault/${TokenVaultId}
token-vault

Condition keys

Keys you can use in the Condition block of a policy that grants bedrock-agentcore:GetApiKeyCredentialProvider.

aws:ResourceTag/${TagKey} String

Filters access by having actions based on the tag value associated with the resource

Example IAM policy

A minimal policy that allows bedrock-agentcore:GetApiKeyCredentialProvider. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowBedrockagentcoreGetApiKeyCredentialProvider",
      "Effect": "Allow",
      "Action": "bedrock-agentcore:GetApiKeyCredentialProvider",
      "Resource": "*"
    }
  ]
}

Related actions in bedrock-agentcore

View all bedrock-agentcore actions →