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 messagegoogle.cloud.gkemulticloud.v1.AzureConfigEncryption
Namespace
Google \ Cloud \ GkeMultiCloud \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
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
Type
Description
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
Name
Description
var
string
Returns
Type
Description
$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
Type
Description
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".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Anthos Multi Cloud V1 Client - Class AzureConfigEncryption (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AzureConfigEncryption)\n- [1.2.1](/php/docs/reference/cloud-gke-multi-cloud/1.2.1/V1.AzureConfigEncryption)\n- [1.1.2](/php/docs/reference/cloud-gke-multi-cloud/1.1.2/V1.AzureConfigEncryption)\n- [1.0.0](/php/docs/reference/cloud-gke-multi-cloud/1.0.0/V1.AzureConfigEncryption)\n- [0.6.1](/php/docs/reference/cloud-gke-multi-cloud/0.6.1/V1.AzureConfigEncryption)\n- [0.5.4](/php/docs/reference/cloud-gke-multi-cloud/0.5.4/V1.AzureConfigEncryption)\n- [0.4.4](/php/docs/reference/cloud-gke-multi-cloud/0.4.4/V1.AzureConfigEncryption)\n- [0.3.0](/php/docs/reference/cloud-gke-multi-cloud/0.3.0/V1.AzureConfigEncryption)\n- [0.2.3](/php/docs/reference/cloud-gke-multi-cloud/0.2.3/V1.AzureConfigEncryption)\n- [0.1.4](/php/docs/reference/cloud-gke-multi-cloud/0.1.4/V1.AzureConfigEncryption) \nReference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AzureConfigEncryption.\n\nConfiguration related to config data encryption.\n\nAzure VM bootstrap secret is envelope encrypted with the provided key vault\nkey.\n\nGenerated from protobuf message `google.cloud.gkemulticloud.v1.AzureConfigEncryption`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeMultiCloud \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getKeyId\n\nRequired. The ARM ID of the Azure Key Vault key to encrypt / decrypt config\ndata.\n\nFor example:\n`/subscriptions/\u003csubscription-id\u003e/resourceGroups/\u003cresource-group-id\u003e/providers/Microsoft.KeyVault/vaults/\u003ckey-vault-id\u003e/keys/\u003ckey-name\u003e`\n\n### setKeyId\n\nRequired. The ARM ID of the Azure Key Vault key to encrypt / decrypt config\ndata.\n\nFor example:\n`/subscriptions/\u003csubscription-id\u003e/resourceGroups/\u003cresource-group-id\u003e/providers/Microsoft.KeyVault/vaults/\u003ckey-vault-id\u003e/keys/\u003ckey-name\u003e`\n\n### getPublicKey\n\nOptional. RSA key of the Azure Key Vault public key to use for encrypting\nthe data.\n\nThis key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)\nin ASN.1 DER form. The string must be comprised of a single PEM block of\ntype \"PUBLIC KEY\".\n\n### setPublicKey\n\nOptional. RSA key of the Azure Key Vault public key to use for encrypting\nthe data.\n\nThis key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)\nin ASN.1 DER form. The string must be comprised of a single PEM block of\ntype \"PUBLIC KEY\"."]]