| 1 | |||
| 2 | package Paws::KMS::CreateCustomKeyStore; | ||
| 3 | use Moose; | ||
| 4 | has CloudHsmClusterId => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has CustomKeyStoreName => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has KeyStorePassword => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has TrustAnchorCertificate => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateCustomKeyStore'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::KMS::CreateCustomKeyStoreResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::KMS::CreateCustomKeyStore - Arguments for method CreateCustomKeyStore on L<Paws::KMS> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method CreateCustomKeyStore on the | ||
| 25 | L<AWS Key Management Service|Paws::KMS> service. Use the attributes of this class | ||
| 26 | as arguments to method CreateCustomKeyStore. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateCustomKeyStore. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $kms = Paws->service('KMS'); | ||
| 33 | my $CreateCustomKeyStoreResponse = $kms->CreateCustomKeyStore( | ||
| 34 | CloudHsmClusterId => 'MyCloudHsmClusterIdType', | ||
| 35 | CustomKeyStoreName => 'MyCustomKeyStoreNameType', | ||
| 36 | KeyStorePassword => 'MyKeyStorePasswordType', | ||
| 37 | TrustAnchorCertificate => 'MyTrustAnchorCertificateType', | ||
| 38 | |||
| 39 | ); | ||
| 40 | |||
| 41 | # Results: | ||
| 42 | my $CustomKeyStoreId = $CreateCustomKeyStoreResponse->CustomKeyStoreId; | ||
| 43 | |||
| 44 | # Returns a L<Paws::KMS::CreateCustomKeyStoreResponse> object. | ||
| 45 | |||
| 46 | 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. | ||
| 47 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/kms/CreateCustomKeyStore> | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | |||
| 52 | =head2 B<REQUIRED> CloudHsmClusterId => Str | ||
| 53 | |||
| 54 | Identifies the AWS CloudHSM cluster for the custom key store. Enter the | ||
| 55 | cluster ID of any active AWS CloudHSM cluster that is not already | ||
| 56 | associated with a custom key store. To find the cluster ID, use the | ||
| 57 | DescribeClusters | ||
| 58 | (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html) | ||
| 59 | operation. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> CustomKeyStoreName => Str | ||
| 64 | |||
| 65 | Specifies a friendly name for the custom key store. The name must be | ||
| 66 | unique in your AWS account. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 B<REQUIRED> KeyStorePassword => Str | ||
| 71 | |||
| 72 | Enter the password of the C<kmsuser> crypto user (CU) account | ||
| 73 | (https://docs.aws.amazon.com/kms/latest/developerguide/key-store-concepts.html#concept-kmsuser) | ||
| 74 | in the specified AWS CloudHSM cluster. AWS KMS logs into the cluster as | ||
| 75 | this user to manage key material on your behalf. | ||
| 76 | |||
| 77 | The password must be a string of 7 to 32 characters. Its value is case | ||
| 78 | sensitive. | ||
| 79 | |||
| 80 | This parameter tells AWS KMS the C<kmsuser> account password; it does | ||
| 81 | not change the password in the AWS CloudHSM cluster. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | =head2 B<REQUIRED> TrustAnchorCertificate => Str | ||
| 86 | |||
| 87 | Enter the content of the trust anchor certificate for the cluster. This | ||
| 88 | is the content of the C<customerCA.crt> file that you created when you | ||
| 89 | initialized the cluster | ||
| 90 | (https://docs.aws.amazon.com/cloudhsm/latest/userguide/initialize-cluster.html). | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | =head1 SEE ALSO | ||
| 96 | |||
| 97 | This class forms part of L<Paws>, documenting arguments for method CreateCustomKeyStore in L<Paws::KMS> | ||
| 98 | |||
| 99 | =head1 BUGS and CONTRIBUTIONS | ||
| 100 | |||
| 101 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 102 | |||
| 103 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 104 | |||
| 105 | =cut | ||
| 106 |