Google Anthos Multi Cloud V1 Client - Class AzureConfigEncryption (0.3.0)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AzureConfigEncryption.

Configuration related to config data encryption.

Azure VM bootstrap secret is envelope encrypted with the provided key vault key.

Generated from protobuf message google.cloud.gkemulticloud.v1.AzureConfigEncryption

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ key_id string

Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data. For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name>

↳ public_key string

Optional. RSA key of the Azure Key Vault public key to use for encrypting the data. This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280) in ASN.1 DER form. The string must be comprised of a single PEM block of type "PUBLIC KEY".

getKeyId

Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.

For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name>

Returns
TypeDescription
string

setKeyId

Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config data.

For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name>

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPublicKey

Optional. RSA key of the Azure Key Vault public key to use for encrypting the data.

This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280) in ASN.1 DER form. The string must be comprised of a single PEM block of type "PUBLIC KEY".

Returns
TypeDescription
string

setPublicKey

Optional. RSA key of the Azure Key Vault public key to use for encrypting the data.

This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280) in ASN.1 DER form. The string must be comprised of a single PEM block of type "PUBLIC KEY".

Parameter
NameDescription
var string
Returns
TypeDescription
$this