Cloud Key Management Service (KMS) V1 API - Class Google::Cloud::Kms::V1::SingleTenantHsmInstanceProposal::UpgradeKeyTrust (v1.15.0)

Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API class Google::Cloud::Kms::V1::SingleTenantHsmInstanceProposal::UpgradeKeyTrust.

Promotes a key with the AES_WRAPPING purpose to a trusted wrapping key. The key must be in the [ACTIVE][CryptoKeyVersion.CryptoKeyVersionState.ACTIVE] state to perform this operation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns

#name=

def name=(value) -> ::String
Parameter
Returns

#two_factor_public_key_pem

def two_factor_public_key_pem() -> ::String
Returns
  • (::String) — Required. The public key associated with the 2FA key that will sign the login nonce for this operation.

#two_factor_public_key_pem=

def two_factor_public_key_pem=(value) -> ::String
Parameter
  • value (::String) — Required. The public key associated with the 2FA key that will sign the login nonce for this operation.
Returns
  • (::String) — Required. The public key associated with the 2FA key that will sign the login nonce for this operation.