Skip to content

Sets the customer master key (CMK) for a token vault

Description

Sets the customer master key (CMK) for a token vault.

Usage

bedrockagentcorecontrol_set_token_vault_cmk(tokenVaultId,
  kmsConfiguration)

Arguments

  • tokenVaultId

    The unique identifier of the token vault to update.

  • kmsConfiguration

    [required] The KMS configuration for the token vault, including the key type and KMS key ARN.

Value

A list with the following syntax:

list(
  tokenVaultId = "string",
  kmsConfiguration = list(
    keyType = "CustomerManagedKey"|"ServiceManagedKey",
    kmsKeyArn = "string"
  ),
  lastModifiedDate = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$set_token_vault_cmk(
  tokenVaultId = "string",
  kmsConfiguration = list(
    keyType = "CustomerManagedKey"|"ServiceManagedKey",
    kmsKeyArn = "string"
  )
)