NAME

Paws::KMS::CreateCustomKeyStore - Arguments for method CreateCustomKeyStore on Paws::KMS

DESCRIPTION

This class represents the parameters used for calling the method CreateCustomKeyStore on the AWS Key Management Service service. Use the attributes of this class as arguments to method CreateCustomKeyStore.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateCustomKeyStore.

SYNOPSIS

my $kms = Paws->service('KMS');
my $CreateCustomKeyStoreResponse = $kms->CreateCustomKeyStore(
  CloudHsmClusterId      => 'MyCloudHsmClusterIdType',
  CustomKeyStoreName     => 'MyCustomKeyStoreNameType',
  KeyStorePassword       => 'MyKeyStorePasswordType',
  TrustAnchorCertificate => 'MyTrustAnchorCertificateType',

);

# Results:
my $CustomKeyStoreId = $CreateCustomKeyStoreResponse->CustomKeyStoreId;

# Returns a L<Paws::KMS::CreateCustomKeyStoreResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/kms/CreateCustomKeyStore

ATTRIBUTES

REQUIRED CloudHsmClusterId => Str

Identifies the AWS CloudHSM cluster for the custom key store. Enter the cluster ID of any active AWS CloudHSM cluster that is not already associated with a custom key store. To find the cluster ID, use the DescribeClusters (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html) operation.

REQUIRED CustomKeyStoreName => Str

Specifies a friendly name for the custom key store. The name must be unique in your AWS account.

REQUIRED KeyStorePassword => Str

Enter the password of the kmsuser crypto user (CU) account (https://docs.aws.amazon.com/kms/latest/developerguide/key-store-concepts.html#concept-kmsuser) in the specified AWS CloudHSM cluster. AWS KMS logs into the cluster as this user to manage key material on your behalf.

The password must be a string of 7 to 32 characters. Its value is case sensitive.

This parameter tells AWS KMS the kmsuser account password; it does not change the password in the AWS CloudHSM cluster.

REQUIRED TrustAnchorCertificate => Str

Enter the content of the trust anchor certificate for the cluster. This is the content of the customerCA.crt file that you created when you initialized the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/initialize-cluster.html).

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateCustomKeyStore in Paws::KMS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues