logo
pub struct KeySigningKey {
Show 16 fields pub created_date: Option<String>, pub dnskey_record: Option<String>, pub ds_record: Option<String>, pub digest_algorithm_mnemonic: Option<String>, pub digest_algorithm_type: Option<i64>, pub digest_value: Option<String>, pub flag: Option<i64>, pub key_tag: Option<i64>, pub kms_arn: Option<String>, pub last_modified_date: Option<String>, pub name: Option<String>, pub public_key: Option<String>, pub signing_algorithm_mnemonic: Option<String>, pub signing_algorithm_type: Option<i64>, pub status: Option<String>, pub status_message: Option<String>,
}
Expand description

A key-signing key (KSK) is a complex type that represents a public/private key pair. The private key is used to generate a digital signature for the zone signing key (ZSK). The public key is stored in the DNS and is used to authenticate the ZSK. A KSK is always associated with a hosted zone; it cannot exist by itself.

Fields

created_date: Option<String>

The date when the key-signing key (KSK) was created.

dnskey_record: Option<String>

A string that represents a DNSKEY record.

ds_record: Option<String>

A string that represents a delegation signer (DS) record.

digest_algorithm_mnemonic: Option<String>

A string used to represent the delegation signer digest algorithm. This value must follow the guidelines provided by RFC-8624 Section 3.3.

digest_algorithm_type: Option<i64>

An integer used to represent the delegation signer digest algorithm. This value must follow the guidelines provided by RFC-8624 Section 3.3.

digest_value: Option<String>

A cryptographic digest of a DNSKEY resource record (RR). DNSKEY records are used to publish the public key that resolvers can use to verify DNSSEC signatures that are used to secure certain kinds of information provided by the DNS system.

flag: Option<i64>

An integer that specifies how the key is used. For key-signing key (KSK), this value is always 257.

key_tag: Option<i64>

An integer used to identify the DNSSEC record for the domain name. The process used to calculate the value is described in RFC-4034 Appendix B.

kms_arn: Option<String>

The Amazon resource name (ARN) used to identify the customer managed customer master key (CMK) in AWS Key Management Service (AWS KMS). The KmsArn must be unique for each key-signing key (KSK) in a single hosted zone.

You must configure the CMK as follows:

Status

Enabled

Key spec

ECC_NIST_P256

Key usage

Sign and verify

Key policy

The key policy must give permission for the following actions:

  • DescribeKey

  • GetPublicKey

  • Sign

The key policy must also include the Amazon Route 53 service in the principal for your account. Specify the following:

  • "Service": "api-service.dnssec.route53.aws.internal"

For more information about working with the customer managed CMK in AWS KMS, see AWS Key Management Service concepts.

last_modified_date: Option<String>

The last time that the key-signing key (KSK) was changed.

name: Option<String>

A string used to identify a key-signing key (KSK). Name can include numbers, letters, and underscores (_). Name must be unique for each key-signing key in the same hosted zone.

public_key: Option<String>

The public key, represented as a Base64 encoding, as required by RFC-4034 Page 5.

signing_algorithm_mnemonic: Option<String>

A string used to represent the signing algorithm. This value must follow the guidelines provided by RFC-8624 Section 3.1.

signing_algorithm_type: Option<i64>

An integer used to represent the signing algorithm. This value must follow the guidelines provided by RFC-8624 Section 3.1.

status: Option<String>

A string that represents the current key-signing key (KSK) status.

Status can have one of the following values:

ACTIVE

The KSK is being used for signing.

INACTIVE

The KSK is not being used for signing.

DELETING

The KSK is in the process of being deleted.

ACTIONNEEDED

There is a problem with the KSK that requires you to take action to resolve. For example, the customer managed customer master key (CMK) might have been deleted, or the permissions for the customer managed CMK might have been changed.

INTERNALFAILURE

There was an error during a request. Before you can continue to work with DNSSEC signing, including actions that involve this KSK, you must correct the problem. For example, you may need to activate or deactivate the KSK.

status_message: Option<String>

The status message provided for the following key-signing key (KSK) statuses: ACTION_NEEDED or INTERNAL_FAILURE. The status message includes information about what the problem might be and steps that you can take to correct the issue.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more