1. Packages
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. bedrockagentcore
  6. ApiKeyCredentialProvider

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.63.0
published on Monday, May 4, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.63.0
published on Monday, May 4, 2026 by Pulumi

    Resource Type definition for AWS::BedrockAgentCore::ApiKeyCredentialProvider

    Create ApiKeyCredentialProvider Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ApiKeyCredentialProvider(name: string, args?: ApiKeyCredentialProviderArgs, opts?: CustomResourceOptions);
    @overload
    def ApiKeyCredentialProvider(resource_name: str,
                                 args: Optional[ApiKeyCredentialProviderArgs] = None,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApiKeyCredentialProvider(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 api_key: Optional[str] = None,
                                 name: Optional[str] = None,
                                 tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewApiKeyCredentialProvider(ctx *Context, name string, args *ApiKeyCredentialProviderArgs, opts ...ResourceOption) (*ApiKeyCredentialProvider, error)
    public ApiKeyCredentialProvider(string name, ApiKeyCredentialProviderArgs? args = null, CustomResourceOptions? opts = null)
    public ApiKeyCredentialProvider(String name, ApiKeyCredentialProviderArgs args)
    public ApiKeyCredentialProvider(String name, ApiKeyCredentialProviderArgs args, CustomResourceOptions options)
    
    type: aws-native:bedrockagentcore:ApiKeyCredentialProvider
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ApiKeyCredentialProviderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ApiKeyCredentialProviderArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ApiKeyCredentialProviderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApiKeyCredentialProviderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApiKeyCredentialProviderArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ApiKeyCredentialProvider Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ApiKeyCredentialProvider resource accepts the following input properties:

    ApiKey string
    The API key to use for authentication
    Name string
    The name of the API key credential provider
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    Tags to assign to the API key credential provider
    ApiKey string
    The API key to use for authentication
    Name string
    The name of the API key credential provider
    Tags TagArgs
    Tags to assign to the API key credential provider
    apiKey String
    The API key to use for authentication
    name String
    The name of the API key credential provider
    tags List<Tag>
    Tags to assign to the API key credential provider
    apiKey string
    The API key to use for authentication
    name string
    The name of the API key credential provider
    tags Tag[]
    Tags to assign to the API key credential provider
    api_key str
    The API key to use for authentication
    name str
    The name of the API key credential provider
    tags Sequence[TagArgs]
    Tags to assign to the API key credential provider
    apiKey String
    The API key to use for authentication
    name String
    The name of the API key credential provider
    tags List<Property Map>
    Tags to assign to the API key credential provider

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ApiKeyCredentialProvider resource produces the following output properties:

    ApiKeySecretArn Pulumi.AwsNative.BedrockAgentCore.Outputs.ApiKeyCredentialProviderApiKeySecretArn
    The ARN of the API key secret in AWS Secrets Manager
    CreatedTime string
    The timestamp when the credential provider was created
    CredentialProviderArn string
    The Amazon Resource Name (ARN) of the API key credential provider
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedTime string
    The timestamp when the credential provider was last updated
    ApiKeySecretArn ApiKeyCredentialProviderApiKeySecretArn
    The ARN of the API key secret in AWS Secrets Manager
    CreatedTime string
    The timestamp when the credential provider was created
    CredentialProviderArn string
    The Amazon Resource Name (ARN) of the API key credential provider
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedTime string
    The timestamp when the credential provider was last updated
    apiKeySecretArn ApiKeyCredentialProviderApiKeySecretArn
    The ARN of the API key secret in AWS Secrets Manager
    createdTime String
    The timestamp when the credential provider was created
    credentialProviderArn String
    The Amazon Resource Name (ARN) of the API key credential provider
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime String
    The timestamp when the credential provider was last updated
    apiKeySecretArn ApiKeyCredentialProviderApiKeySecretArn
    The ARN of the API key secret in AWS Secrets Manager
    createdTime string
    The timestamp when the credential provider was created
    credentialProviderArn string
    The Amazon Resource Name (ARN) of the API key credential provider
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime string
    The timestamp when the credential provider was last updated
    api_key_secret_arn ApiKeyCredentialProviderApiKeySecretArn
    The ARN of the API key secret in AWS Secrets Manager
    created_time str
    The timestamp when the credential provider was created
    credential_provider_arn str
    The Amazon Resource Name (ARN) of the API key credential provider
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated_time str
    The timestamp when the credential provider was last updated
    apiKeySecretArn Property Map
    The ARN of the API key secret in AWS Secrets Manager
    createdTime String
    The timestamp when the credential provider was created
    credentialProviderArn String
    The Amazon Resource Name (ARN) of the API key credential provider
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime String
    The timestamp when the credential provider was last updated

    Supporting Types

    ApiKeyCredentialProviderApiKeySecretArn, ApiKeyCredentialProviderApiKeySecretArnArgs

    Contains information about the API key secret in AWS Secrets Manager
    SecretArn string
    The ARN of the secret in AWS Secrets Manager
    SecretArn string
    The ARN of the secret in AWS Secrets Manager
    secretArn String
    The ARN of the secret in AWS Secrets Manager
    secretArn string
    The ARN of the secret in AWS Secrets Manager
    secret_arn str
    The ARN of the secret in AWS Secrets Manager
    secretArn String
    The ARN of the secret in AWS Secrets Manager

    Tag, TagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.63.0
    published on Monday, May 4, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.