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 | |
---|---|
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: |
↳ 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>
Generated from protobuf field string key_id = 2 [(.google.api.field_behavior) = REQUIRED];
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>
Generated from protobuf field string key_id = 2 [(.google.api.field_behavior) = REQUIRED];
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".
Generated from protobuf field string public_key = 3 [(.google.api.field_behavior) = OPTIONAL];
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".
Generated from protobuf field string public_key = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |