GetPublicKeyResult

data class GetPublicKeyResult(val arn: String, val customerMasterKeySpec: String, val encryptionAlgorithms: List<String>, val grantTokens: List<String>? = null, val id: String, val keyId: String, val keyUsage: String, val publicKey: String, val publicKeyPem: String, val signingAlgorithms: List<String>)

A collection of values returned by getPublicKey.

Constructors

Link copied to clipboard
constructor(arn: String, customerMasterKeySpec: String, encryptionAlgorithms: List<String>, grantTokens: List<String>? = null, id: String, keyId: String, keyUsage: String, publicKey: String, publicKeyPem: String, signingAlgorithms: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arn: String

Key ARN of the asymmetric CMK from which the public key was downloaded.

Link copied to clipboard

Type of the public key that was downloaded.

Link copied to clipboard

Encryption algorithms that AWS KMS supports for this key. Only set when the key_usage of the public key is ENCRYPT_DECRYPT.

Link copied to clipboard
val grantTokens: List<String>? = null
Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard
Link copied to clipboard

Permitted use of the public key. Valid values are ENCRYPT_DECRYPT or SIGN_VERIFY

Link copied to clipboard

Exported public key. The value is a DER-encoded X.509 public key, also known as SubjectPublicKeyInfo (SPKI), as defined in RFC 5280. The value is Base64-encoded.

Link copied to clipboard

Exported public key. The value is Privacy Enhanced Mail (PEM) encoded.

Link copied to clipboard

Signing algorithms that AWS KMS supports for this key. Only set when the key_usage of the public key is SIGN_VERIFY.