az servicebus namespace encryption
Manage servicebus namespace encryption properties.
Commands
| az servicebus namespace encryption add |
Add Encryption properties to a namespace. |
| az servicebus namespace encryption remove |
Remove one or more Encryption properties from a namespace. |
az servicebus namespace encryption add
Add Encryption properties to a namespace.
az servicebus namespace encryption add --encryption-config
--namespace-name
--resource-group
Examples
Set 2 different encryption properties for a namespace that has User Assigned Identity already enabled
az servicebus namespace encryption add --namespace-name mynamespace -g MyResourceGroup --encryption-config key-name=key1 key-vault-uri=https://mykeyvault.vault.azure.net/ user-assigned-identity=/subscriptions/{subscriptionId}}/resourceGroups/{resourcegroup}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MSIName --encryption-config key-name=key1 key-vault-uri=https://mykeyvault.vault.azure.net/ user-assigned-identity=/subscriptions/{subscriptionId}}/resourceGroups/{resourcegroup}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MSIName2
Required Parameters
List of KeyVaultProperties objects.
Name of the Namespace.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
az servicebus namespace encryption remove
Remove one or more Encryption properties from a namespace.
az servicebus namespace encryption remove --encryption-config
--namespace-name
--resource-group
Examples
Remove encryption properties for a namespace that has User Assigned Identity already enabled
az servicebus namespace encryption remove --namespace-name mynamespace -g MyResourceGroup --encryption-config key-name=key1 key-vault-uri=https://mykeyvault.vault.azure.net/ user-assigned-identity=/subscriptions/{subscriptionId}}/resourceGroups/{resourcegroup}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MSIName
Required Parameters
List of KeyVaultProperties objects.
Name of the Namespace.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
Feedback
Submit and view feedback for