Skip to content

Update Api Key Credential Provider

bedrockagentcorecontrol_update_api_key_credential_provider R Documentation

Updates an existing API key credential provider

Description

Updates an existing API key credential provider.

Usage

bedrockagentcorecontrol_update_api_key_credential_provider(name, apiKey)

Arguments

name

[required] The name of the API key credential provider to update.

apiKey

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

Value

A list with the following syntax:

list(
  apiKeySecretArn = list(
    secretArn = "string"
  ),
  name = "string",
  credentialProviderArn = "string",
  createdTime = as.POSIXct(
    "2015-01-01"
  ),
  lastUpdatedTime = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$update_api_key_credential_provider(
  name = "string",
  apiKey = "string"
)