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
- (::String) — Required. The name of the CryptoKeyVersion to promote.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Required. The name of the CryptoKeyVersion to promote.
Returns
- (::String) — Required. The name of the CryptoKeyVersion to promote.
#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.