Skip to content

Create Api Key Credential Provider

bedrockagentcorecontrol_create_api_key_credential_provider R Documentation

Creates a new API key credential provider

Description

Creates a new API key credential provider.

Usage

bedrockagentcorecontrol_create_api_key_credential_provider(name, apiKey,
  tags)

Arguments

name

[required] The name of the API key credential provider. The name must be unique within your account.

apiKey

[required] The API key to use for authentication. This value is encrypted and stored securely.

tags

A map of tag keys and values to assign to the API key credential provider. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.

Value

A list with the following syntax:

list(
  apiKeySecretArn = list(
    secretArn = "string"
  ),
  name = "string",
  credentialProviderArn = "string"
)

Request syntax

svc$create_api_key_credential_provider(
  name = "string",
  apiKey = "string",
  tags = list(
    "string"
  )
)