bedrock-agentcore:UpdateOauth2CredentialProvider

Write

bedrock-agentcore:UpdateOauth2CredentialProvider is a Write access-level action in the bedrock-agentcore service. Grants permission to update an existing OAuth2 Credential Provider

Resource types

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

arn:${Partition}:bedrock-agentcore:${Region}:${Account}:token-vault/${TokenVaultId}/oauth2credentialprovider/${Name}
oauth2credentialprovider
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:UpdateOauth2CredentialProvider.

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:UpdateOauth2CredentialProvider. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in bedrock-agentcore

View all bedrock-agentcore actions →