CryptoKeyVersionTemplateResponse

data class CryptoKeyVersionTemplateResponse(val algorithm: String, val protectionLevel: String)

A CryptoKeyVersionTemplate specifies the properties to use when creating a new CryptoKeyVersion, either manually with CreateCryptoKeyVersion or automatically as a result of auto-rotation.

Constructors

Link copied to clipboard
fun CryptoKeyVersionTemplateResponse(algorithm: String, protectionLevel: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Algorithm to use when creating a CryptoKeyVersion based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and CryptoKey.purpose is ENCRYPT_DECRYPT.

Link copied to clipboard

ProtectionLevel to use when creating a CryptoKeyVersion based on this template. Immutable. Defaults to SOFTWARE.