Skip to content

Bedrock Agentcore Control  >  Operations  >  set_token_vault_cmk

set_token_vault_cmk

Operation

set_token_vault_cmk async

set_token_vault_cmk(input: SetTokenVaultCMKInput, plugins: list[Plugin] | None = None) -> SetTokenVaultCMKOutput

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

Parameters:

Name Type Description Default
input SetTokenVaultCMKInput

An instance of SetTokenVaultCMKInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
SetTokenVaultCMKOutput

An instance of SetTokenVaultCMKOutput.

Input

SetTokenVaultCMKInput dataclass

Dataclass for SetTokenVaultCMKInput structure.

Attributes

kms_configuration class-attribute instance-attribute
kms_configuration: KmsConfiguration | None = None

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

token_vault_id class-attribute instance-attribute
token_vault_id: str | None = None

The unique identifier of the token vault to update.

Output

SetTokenVaultCMKOutput dataclass

Dataclass for SetTokenVaultCMKOutput structure.

Attributes

kms_configuration instance-attribute
kms_configuration: KmsConfiguration

The KMS configuration for the token vault.

last_modified_date instance-attribute
last_modified_date: datetime

The timestamp when the token vault was last modified.

token_vault_id instance-attribute
token_vault_id: str

The ID of the token vault.