diff --git a/src/azure-cli/azure/cli/command_modules/keyvault/_help.py b/src/azure-cli/azure/cli/command_modules/keyvault/_help.py index 7875c681487..31ff65d31a2 100644 --- a/src/azure-cli/azure/cli/command_modules/keyvault/_help.py +++ b/src/azure-cli/azure/cli/command_modules/keyvault/_help.py @@ -42,6 +42,15 @@ short-summary: Manage contacts for certificate management. """ +helps['keyvault certificate contact add'] = """ +type: command +short-summary: Add a contact to the specified vault to receive notifications of certificate operations. +examples: + - name: Add a certificate contact with the specified email to the Key Vault. (autogenerated) + text: | + az keyvault certificate contact add --vault-name cli-mock-kv-ct-co --email other@contoso.com +""" + helps['keyvault certificate create'] = """ type: command short-summary: Create a Key Vault certificate. @@ -189,11 +198,29 @@ short-summary: Manage certificate issuer information. """ +helps['keyvault certificate issuer create'] = """ +type: command +short-summary: Create a certificate issuer record. +examples: + - name: Create a certificate issuer in a Key Vault by specifying vault name, issuer name, and provider. (autogenerated) + text: | + az keyvault certificate issuer create --vault-name cli-mock-kv-ct-is --issuer-name issuer1 --provider Test +""" + helps['keyvault certificate issuer admin'] = """ type: group short-summary: Manage admin information for certificate issuers. """ +helps['keyvault certificate issuer admin add'] = """ +type: command +short-summary: Add admin details for a specified certificate issuer. +examples: + - name: Add a new certificate issuer administrator to a Key Vault by specifying the vault, issuer name, and admin email. (autogenerated) + text: | + az keyvault certificate issuer admin add --vault-name cli-mock-kv-ct-is --issuer-name issuer1 --email mock2@mock.com +""" + helps['keyvault certificate pending'] = """ type: group short-summary: Manage pending certificate creation operations. @@ -384,6 +411,10 @@ short-summary: Create a new key, stores it, then returns key parameters and attributes to the client. long-summary: The create key operation can be used to create any key type in Vault or HSM. If the named key already exists, Vault or HSM creates a new version of the key. It requires the keys/create permission. +examples: + - name: Create a key in a specified Key Vault with a given name. (autogenerated) + text: | + az keyvault key create --vault-name envault -n enkey """ helps['keyvault key download'] = """ @@ -528,6 +559,15 @@ short-summary: Manage vault network ACLs. """ +helps['keyvault network-rule add'] = """ +type: command +short-summary: Add a network rule to the network ACLs for a Key Vault. +examples: + - name: Add a specific IP address to the network access rules of a Key Vault in a specified resource group using this command. (autogenerated) + text: | + az keyvault network-rule add --ip-address 1.2.3.4 --name cli-mock-kv-nr --resource-group cli_mock_keyvault_network_rule +""" + helps['keyvault network-rule wait'] = """ type: command short-summary: Place the CLI in a waiting state until a condition of the vault is met. @@ -690,6 +730,15 @@ short-summary: Manage role assignments. """ +helps['keyvault role assignment create'] = """ +type: command +short-summary: Create a new role assignment for a user, group, or service principal. +examples: + - name: Create a role assignment for a specified assignee with a defined role and scope in a Managed HSM using its name. (autogenerated) + text: | + az keyvault role assignment create --assignee fb2f-ac10--a04f-8b0d786ea37d --hsm-name mock-mhsm --role "Managed HSM Crypto User" --scope "/" +""" + helps['keyvault role definition'] = """ type: group short-summary: Manage role definitions.