Skip to content

Data Source: awsKmsCustomKeyStore

Use this data source to get the metadata KMS custom key store. By using this data source, you can reference KMS custom key store without having to hard code the ID as input.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsKmsCustomKeyStore.DataAwsKmsCustomKeyStore(this, "keystore", {
  customKeyStoreName: "my_cloudhsm",
});

Argument Reference

  • customKeyStoreId - (Optional) The ID for the custom key store.
  • customKeyStoreName - (Optional) The user-specified friendly name for the custom key store.

Attributes Reference

  • id - The ID for the custom key store.
  • cloudhsmClusterId - ID for the CloudHSM cluster that is associated with the custom key store.
  • connectionState - Indicates whether the custom key store is connected to its CloudHSM cluster.
  • creationDate - The date and time when the custom key store was created.
  • trustAnchorCertificate - The trust anchor certificate of the associated CloudHSM cluster.