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

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

    Using getApiKeyCredentialProvider

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getApiKeyCredentialProvider(args: GetApiKeyCredentialProviderArgs, opts?: InvokeOptions): Promise<GetApiKeyCredentialProviderResult>
    function getApiKeyCredentialProviderOutput(args: GetApiKeyCredentialProviderOutputArgs, opts?: InvokeOptions): Output<GetApiKeyCredentialProviderResult>
    def get_api_key_credential_provider(credential_provider_arn: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetApiKeyCredentialProviderResult
    def get_api_key_credential_provider_output(credential_provider_arn: pulumi.Input[Optional[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetApiKeyCredentialProviderResult]
    func LookupApiKeyCredentialProvider(ctx *Context, args *LookupApiKeyCredentialProviderArgs, opts ...InvokeOption) (*LookupApiKeyCredentialProviderResult, error)
    func LookupApiKeyCredentialProviderOutput(ctx *Context, args *LookupApiKeyCredentialProviderOutputArgs, opts ...InvokeOption) LookupApiKeyCredentialProviderResultOutput

    > Note: This function is named LookupApiKeyCredentialProvider in the Go SDK.

    public static class GetApiKeyCredentialProvider 
    {
        public static Task<GetApiKeyCredentialProviderResult> InvokeAsync(GetApiKeyCredentialProviderArgs args, InvokeOptions? opts = null)
        public static Output<GetApiKeyCredentialProviderResult> Invoke(GetApiKeyCredentialProviderInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetApiKeyCredentialProviderResult> getApiKeyCredentialProvider(GetApiKeyCredentialProviderArgs args, InvokeOptions options)
    public static Output<GetApiKeyCredentialProviderResult> getApiKeyCredentialProvider(GetApiKeyCredentialProviderArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:bedrockagentcore:getApiKeyCredentialProvider
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CredentialProviderArn string
    The Amazon Resource Name (ARN) of the API key credential provider
    CredentialProviderArn string
    The Amazon Resource Name (ARN) of the API key credential provider
    credentialProviderArn String
    The Amazon Resource Name (ARN) of the API key credential provider
    credentialProviderArn string
    The Amazon Resource Name (ARN) of the API key credential provider
    credential_provider_arn str
    The Amazon Resource Name (ARN) of the API key credential provider
    credentialProviderArn String
    The Amazon Resource Name (ARN) of the API key credential provider

    getApiKeyCredentialProvider Result

    The following output properties are available:

    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
    LastUpdatedTime string
    The timestamp when the credential provider was last updated
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Tags to assign to the API key credential provider
    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
    LastUpdatedTime string
    The timestamp when the credential provider was last updated
    Tags Tag
    Tags to assign to the API key credential provider
    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
    lastUpdatedTime String
    The timestamp when the credential provider was last updated
    tags List<Tag>
    Tags to assign to the API key credential provider
    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
    lastUpdatedTime string
    The timestamp when the credential provider was last updated
    tags Tag[]
    Tags to assign to the API key credential provider
    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
    last_updated_time str
    The timestamp when the credential provider was last updated
    tags Sequence[root_Tag]
    Tags to assign to the API key credential provider
    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
    lastUpdatedTime String
    The timestamp when the credential provider was last updated
    tags List<Property Map>
    Tags to assign to the API key credential provider

    Supporting Types

    ApiKeyCredentialProviderApiKeySecretArn

    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

    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.