Module: Google::Cloud::Kms::V1::CryptoKey::CryptoKeyPurpose

Defined in:
lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/resources.rb

Overview

CryptoKeyPurpose describes the cryptographic capabilities of a CryptoKey. A given key can only be used for the operations allowed by its purpose.

Constant Summary collapse

CRYPTO_KEY_PURPOSE_UNSPECIFIED =

Not specified.

0
ENCRYPT_DECRYPT =

CryptoKeys with this purpose may be used with Encrypt and Decrypt.

1
ASYMMETRIC_SIGN =

CryptoKeys with this purpose may be used with AsymmetricSign and GetPublicKey.

5
ASYMMETRIC_DECRYPT =

CryptoKeys with this purpose may be used with AsymmetricDecrypt and GetPublicKey.

6