AWS Fundamentals Logo
AWS Fundamentals
AWS::BedrockAgentCore::ApiKeyCredentialProvider

BedrockAgentCore ApiKeyCredentialProvider

Resource Type definition for AWS::BedrockAgentCore::ApiKeyCredentialProvider

Properties

3 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
Name
string
RequiredCreate-only
ApiKey
string
Write-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ApiKeySecretArnApiKeySecretArnThe ARN of the API key secret in AWS Secrets Manager
CreatedTimestringThe timestamp when the credential provider was created
CredentialProviderArnstringThe Amazon Resource Name (ARN) of the API key credential provider
LastUpdatedTimestringThe timestamp when the credential provider was last updated

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::BedrockAgentCore::ApiKeyCredentialProvider

Resources:
  MyResource:
    Type: AWS::BedrockAgentCore::ApiKeyCredentialProvider
    Properties:
      Name: "my-name"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

bedrock-agentcore:CreateApiKeyCredentialProviderbedrock-agentcore:GetApiKeyCredentialProviderbedrock-agentcore:CreateTokenVaultbedrock-agentcore:TagResourcesecretsmanager:CreateSecret

read

bedrock-agentcore:GetApiKeyCredentialProviderbedrock-agentcore:ListTagsForResource

update

bedrock-agentcore:UpdateApiKeyCredentialProviderbedrock-agentcore:GetApiKeyCredentialProviderbedrock-agentcore:TagResourcebedrock-agentcore:UntagResourcebedrock-agentcore:ListTagsForResourcesecretsmanager:PutSecretValue

delete

bedrock-agentcore:DeleteApiKeyCredentialProviderbedrock-agentcore:GetApiKeyCredentialProvidersecretsmanager:DeleteSecret

list

bedrock-agentcore:ListApiKeyCredentialProviders

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceBedrockAgentCore
Properties7
Required1
TaggingSupported
Primary IDCredentialProviderArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

Name

External Links