GenerateDataKeyResponse
public struct GenerateDataKeyResponse : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember] -
The encrypted copy of the data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
Declaration
Swift
public let ciphertextBlob: Data? -
The Amazon Resource Name (key ARN) of the CMK that encrypted the data key.
Declaration
Swift
public let keyId: String? -
The plaintext data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded. Use this data key to encrypt your data outside of KMS. Then, remove it from memory as soon as possible.
Declaration
Swift
public let plaintext: Data? -
Undocumented
Declaration
Swift
public init(ciphertextBlob: Data? = nil, keyId: String? = nil, plaintext: Data? = nil)
View on GitHub
GenerateDataKeyResponse Structure Reference