« blib/lib/Paws/Route53/HostedZoneSummary.pm
↑ Summary
blib/lib/Paws/Route53/ListHealthChecksResponse.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Route53::KeySigningKey; | ||
| 3 | use Moose; | ||
| 4 | has CreatedDate => (is => 'ro', isa => 'Str'); | ||
| 5 | has DigestAlgorithmMnemonic => (is => 'ro', isa => 'Str'); | ||
| 6 | has DigestAlgorithmType => (is => 'ro', isa => 'Int'); | ||
| 7 | has DigestValue => (is => 'ro', isa => 'Str'); | ||
| 8 | has DNSKEYRecord => (is => 'ro', isa => 'Str'); | ||
| 9 | has DSRecord => (is => 'ro', isa => 'Str'); | ||
| 10 | has Flag => (is => 'ro', isa => 'Int'); | ||
| 11 | has KeyTag => (is => 'ro', isa => 'Int'); | ||
| 12 | has KmsArn => (is => 'ro', isa => 'Str'); | ||
| 13 | has LastModifiedDate => (is => 'ro', isa => 'Str'); | ||
| 14 | has Name => (is => 'ro', isa => 'Str'); | ||
| 15 | has PublicKey => (is => 'ro', isa => 'Str'); | ||
| 16 | has SigningAlgorithmMnemonic => (is => 'ro', isa => 'Str'); | ||
| 17 | has SigningAlgorithmType => (is => 'ro', isa => 'Int'); | ||
| 18 | has Status => (is => 'ro', isa => 'Str'); | ||
| 19 | has StatusMessage => (is => 'ro', isa => 'Str'); | ||
| 20 | |||
| 21 | 1; | ||
| 22 | |||
| 23 | ### main pod documentation begin ### | ||
| 24 | |||
| 25 | =head1 NAME | ||
| 26 | |||
| 27 | Paws::Route53::KeySigningKey | ||
| 28 | |||
| 29 | =head1 USAGE | ||
| 30 | |||
| 31 | This class represents one of two things: | ||
| 32 | |||
| 33 | =head3 Arguments in a call to a service | ||
| 34 | |||
| 35 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 36 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 37 | |||
| 38 | As an example, if Att1 is expected to be a Paws::Route53::KeySigningKey object: | ||
| 39 | |||
| 40 | $service_obj->Method(Att1 => { CreatedDate => $value, ..., StatusMessage => $value }); | ||
| 41 | |||
| 42 | =head3 Results returned from an API call | ||
| 43 | |||
| 44 | Use accessors for each attribute. If Att1 is expected to be an Paws::Route53::KeySigningKey object: | ||
| 45 | |||
| 46 | $result = $service_obj->Method(...); | ||
| 47 | $result->Att1->CreatedDate | ||
| 48 | |||
| 49 | =head1 DESCRIPTION | ||
| 50 | |||
| 51 | A key-signing key (KSK) is a complex type that represents a | ||
| 52 | public/private key pair. The private key is used to generate a digital | ||
| 53 | signature for the zone signing key (ZSK). The public key is stored in | ||
| 54 | the DNS and is used to authenticate the ZSK. A KSK is always associated | ||
| 55 | with a hosted zone; it cannot exist by itself. | ||
| 56 | |||
| 57 | =head1 ATTRIBUTES | ||
| 58 | |||
| 59 | |||
| 60 | =head2 CreatedDate => Str | ||
| 61 | |||
| 62 | The date when the key-signing key (KSK) was created. | ||
| 63 | |||
| 64 | |||
| 65 | =head2 DigestAlgorithmMnemonic => Str | ||
| 66 | |||
| 67 | A string used to represent the delegation signer digest algorithm. This | ||
| 68 | value must follow the guidelines provided by RFC-8624 Section 3.3 | ||
| 69 | (https://tools.ietf.org/html/rfc8624#section-3.3). | ||
| 70 | |||
| 71 | |||
| 72 | =head2 DigestAlgorithmType => Int | ||
| 73 | |||
| 74 | An integer used to represent the delegation signer digest algorithm. | ||
| 75 | This value must follow the guidelines provided by RFC-8624 Section 3.3 | ||
| 76 | (https://tools.ietf.org/html/rfc8624#section-3.3). | ||
| 77 | |||
| 78 | |||
| 79 | =head2 DigestValue => Str | ||
| 80 | |||
| 81 | A cryptographic digest of a DNSKEY resource record (RR). DNSKEY records | ||
| 82 | are used to publish the public key that resolvers can use to verify | ||
| 83 | DNSSEC signatures that are used to secure certain kinds of information | ||
| 84 | provided by the DNS system. | ||
| 85 | |||
| 86 | |||
| 87 | =head2 DNSKEYRecord => Str | ||
| 88 | |||
| 89 | A string that represents a DNSKEY record. | ||
| 90 | |||
| 91 | |||
| 92 | =head2 DSRecord => Str | ||
| 93 | |||
| 94 | A string that represents a delegation signer (DS) record. | ||
| 95 | |||
| 96 | |||
| 97 | =head2 Flag => Int | ||
| 98 | |||
| 99 | An integer that specifies how the key is used. For key-signing key | ||
| 100 | (KSK), this value is always 257. | ||
| 101 | |||
| 102 | |||
| 103 | =head2 KeyTag => Int | ||
| 104 | |||
| 105 | An integer used to identify the DNSSEC record for the domain name. The | ||
| 106 | process used to calculate the value is described in RFC-4034 Appendix B | ||
| 107 | (https://tools.ietf.org/rfc/rfc4034.txt). | ||
| 108 | |||
| 109 | |||
| 110 | =head2 KmsArn => Str | ||
| 111 | |||
| 112 | The Amazon resource name (ARN) used to identify the customer managed | ||
| 113 | customer master key (CMK) in AWS Key Management Service (AWS KMS). The | ||
| 114 | C<KmsArn> must be unique for each key-signing key (KSK) in a single | ||
| 115 | hosted zone. | ||
| 116 | |||
| 117 | You must configure the CMK as follows: | ||
| 118 | |||
| 119 | =over | ||
| 120 | |||
| 121 | =item Status | ||
| 122 | |||
| 123 | Enabled | ||
| 124 | |||
| 125 | =item Key spec | ||
| 126 | |||
| 127 | ECC_NIST_P256 | ||
| 128 | |||
| 129 | =item Key usage | ||
| 130 | |||
| 131 | Sign and verify | ||
| 132 | |||
| 133 | =item Key policy | ||
| 134 | |||
| 135 | The key policy must give permission for the following actions: | ||
| 136 | |||
| 137 | =over | ||
| 138 | |||
| 139 | =item * | ||
| 140 | |||
| 141 | DescribeKey | ||
| 142 | |||
| 143 | =item * | ||
| 144 | |||
| 145 | GetPublicKey | ||
| 146 | |||
| 147 | =item * | ||
| 148 | |||
| 149 | Sign | ||
| 150 | |||
| 151 | =back | ||
| 152 | |||
| 153 | The key policy must also include the Amazon Route 53 service in the | ||
| 154 | principal for your account. Specify the following: | ||
| 155 | |||
| 156 | =over | ||
| 157 | |||
| 158 | =item * | ||
| 159 | |||
| 160 | C<"Service": "api-service.dnssec.route53.aws.internal"> | ||
| 161 | |||
| 162 | =back | ||
| 163 | |||
| 164 | =back | ||
| 165 | |||
| 166 | For more information about working with the customer managed CMK in AWS | ||
| 167 | KMS, see AWS Key Management Service concepts | ||
| 168 | (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html). | ||
| 169 | |||
| 170 | |||
| 171 | =head2 LastModifiedDate => Str | ||
| 172 | |||
| 173 | The last time that the key-signing key (KSK) was changed. | ||
| 174 | |||
| 175 | |||
| 176 | =head2 Name => Str | ||
| 177 | |||
| 178 | A string used to identify a key-signing key (KSK). C<Name> can include | ||
| 179 | numbers, letters, and underscores (_). C<Name> must be unique for each | ||
| 180 | key-signing key in the same hosted zone. | ||
| 181 | |||
| 182 | |||
| 183 | =head2 PublicKey => Str | ||
| 184 | |||
| 185 | The public key, represented as a Base64 encoding, as required by | ||
| 186 | RFC-4034 Page 5 (https://tools.ietf.org/rfc/rfc4034.txt). | ||
| 187 | |||
| 188 | |||
| 189 | =head2 SigningAlgorithmMnemonic => Str | ||
| 190 | |||
| 191 | A string used to represent the signing algorithm. This value must | ||
| 192 | follow the guidelines provided by RFC-8624 Section 3.1 | ||
| 193 | (https://tools.ietf.org/html/rfc8624#section-3.1). | ||
| 194 | |||
| 195 | |||
| 196 | =head2 SigningAlgorithmType => Int | ||
| 197 | |||
| 198 | An integer used to represent the signing algorithm. This value must | ||
| 199 | follow the guidelines provided by RFC-8624 Section 3.1 | ||
| 200 | (https://tools.ietf.org/html/rfc8624#section-3.1). | ||
| 201 | |||
| 202 | |||
| 203 | =head2 Status => Str | ||
| 204 | |||
| 205 | A string that represents the current key-signing key (KSK) status. | ||
| 206 | |||
| 207 | Status can have one of the following values: | ||
| 208 | |||
| 209 | =over | ||
| 210 | |||
| 211 | =item ACTIVE | ||
| 212 | |||
| 213 | The KSK is being used for signing. | ||
| 214 | |||
| 215 | =item INACTIVE | ||
| 216 | |||
| 217 | The KSK is not being used for signing. | ||
| 218 | |||
| 219 | =item DELETING | ||
| 220 | |||
| 221 | The KSK is in the process of being deleted. | ||
| 222 | |||
| 223 | =item ACTION_NEEDED | ||
| 224 | |||
| 225 | There is a problem with the KSK that requires you to take action to | ||
| 226 | resolve. For example, the customer managed customer master key (CMK) | ||
| 227 | might have been deleted, or the permissions for the customer managed | ||
| 228 | CMK might have been changed. | ||
| 229 | |||
| 230 | =item INTERNAL_FAILURE | ||
| 231 | |||
| 232 | There was an error during a request. Before you can continue to work | ||
| 233 | with DNSSEC signing, including actions that involve this KSK, you must | ||
| 234 | correct the problem. For example, you may need to activate or | ||
| 235 | deactivate the KSK. | ||
| 236 | |||
| 237 | =back | ||
| 238 | |||
| 239 | |||
| 240 | |||
| 241 | =head2 StatusMessage => Str | ||
| 242 | |||
| 243 | The status message provided for the following key-signing key (KSK) | ||
| 244 | statuses: C<ACTION_NEEDED> or C<INTERNAL_FAILURE>. The status message | ||
| 245 | includes information about what the problem might be and steps that you | ||
| 246 | can take to correct the issue. | ||
| 247 | |||
| 248 | |||
| 249 | |||
| 250 | =head1 SEE ALSO | ||
| 251 | |||
| 252 | This class forms part of L<Paws>, describing an object used in L<Paws::Route53> | ||
| 253 | |||
| 254 | =head1 BUGS and CONTRIBUTIONS | ||
| 255 | |||
| 256 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 257 | |||
| 258 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 259 | |||
| 260 | =cut | ||
| 261 |