Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/services/keyVaultManagement/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft
Copyright (c) 2019 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 2 additions & 1 deletion lib/services/keyVaultManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ export interface VaultProperties {
sku: Sku;
/**
* An array of 0 to 16 identities that have access to the key vault. All identities in the array
* must use the same tenant ID as the key vault's tenant ID.
* must use the same tenant ID as the key vault's tenant ID. When `createMode` is set to
* `recover`, access policies are not required. Otherwise, access policies are required.
*/
accessPolicies?: AccessPolicyEntry[];
/**
Expand Down
4 changes: 3 additions & 1 deletion lib/services/keyVaultManagement/lib/models/vault.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ class Vault extends models['Resource'] {
* 'standard', 'premium'
* @property {array} [properties.accessPolicies] An array of 0 to 16
* identities that have access to the key vault. All identities in the array
* must use the same tenant ID as the key vault's tenant ID.
* must use the same tenant ID as the key vault's tenant ID. When
* `createMode` is set to `recover`, access policies are not required.
* Otherwise, access policies are required.
* @property {string} [properties.vaultUri] The URI of the vault for
* performing operations on keys and secrets.
* @property {boolean} [properties.enabledForDeployment] Property to specify
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ class VaultCreateOrUpdateParameters extends models['BaseResource'] {
* 'standard', 'premium'
* @property {array} [properties.accessPolicies] An array of 0 to 16
* identities that have access to the key vault. All identities in the array
* must use the same tenant ID as the key vault's tenant ID.
* must use the same tenant ID as the key vault's tenant ID. When
* `createMode` is set to `recover`, access policies are not required.
* Otherwise, access policies are required.
* @property {string} [properties.vaultUri] The URI of the vault for
* performing operations on keys and secrets.
* @property {boolean} [properties.enabledForDeployment] Property to specify
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ class VaultProperties {
* 'premium'
* @property {array} [accessPolicies] An array of 0 to 16 identities that
* have access to the key vault. All identities in the array must use the
* same tenant ID as the key vault's tenant ID.
* same tenant ID as the key vault's tenant ID. When `createMode` is set to
* `recover`, access policies are not required. Otherwise, access policies
* are required.
* @property {string} [vaultUri] The URI of the vault for performing
* operations on keys and secrets.
* @property {boolean} [enabledForDeployment] Property to specify whether
Expand Down
16 changes: 12 additions & 4 deletions lib/services/keyVaultManagement/lib/operations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ export interface Vaults {
*
* @param {array} [parameters.properties.accessPolicies] An array of 0 to 16
* identities that have access to the key vault. All identities in the array
* must use the same tenant ID as the key vault's tenant ID.
* must use the same tenant ID as the key vault's tenant ID. When `createMode`
* is set to `recover`, access policies are not required. Otherwise, access
* policies are required.
*
* @param {string} [parameters.properties.vaultUri] The URI of the vault for
* performing operations on keys and secrets.
Expand Down Expand Up @@ -144,7 +146,9 @@ export interface Vaults {
*
* @param {array} [parameters.properties.accessPolicies] An array of 0 to 16
* identities that have access to the key vault. All identities in the array
* must use the same tenant ID as the key vault's tenant ID.
* must use the same tenant ID as the key vault's tenant ID. When `createMode`
* is set to `recover`, access policies are not required. Otherwise, access
* policies are required.
*
* @param {string} [parameters.properties.vaultUri] The URI of the vault for
* performing operations on keys and secrets.
Expand Down Expand Up @@ -1065,7 +1069,9 @@ export interface Vaults {
*
* @param {array} [parameters.properties.accessPolicies] An array of 0 to 16
* identities that have access to the key vault. All identities in the array
* must use the same tenant ID as the key vault's tenant ID.
* must use the same tenant ID as the key vault's tenant ID. When `createMode`
* is set to `recover`, access policies are not required. Otherwise, access
* policies are required.
*
* @param {string} [parameters.properties.vaultUri] The URI of the vault for
* performing operations on keys and secrets.
Expand Down Expand Up @@ -1159,7 +1165,9 @@ export interface Vaults {
*
* @param {array} [parameters.properties.accessPolicies] An array of 0 to 16
* identities that have access to the key vault. All identities in the array
* must use the same tenant ID as the key vault's tenant ID.
* must use the same tenant ID as the key vault's tenant ID. When `createMode`
* is set to `recover`, access policies are not required. Otherwise, access
* policies are required.
*
* @param {string} [parameters.properties.vaultUri] The URI of the vault for
* performing operations on keys and secrets.
Expand Down
24 changes: 18 additions & 6 deletions lib/services/keyVaultManagement/lib/operations/vaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ const WebResource = msRest.WebResource;
*
* @param {array} [parameters.properties.accessPolicies] An array of 0 to 16
* identities that have access to the key vault. All identities in the array
* must use the same tenant ID as the key vault's tenant ID.
* must use the same tenant ID as the key vault's tenant ID. When `createMode`
* is set to `recover`, access policies are not required. Otherwise, access
* policies are required.
*
* @param {string} [parameters.properties.vaultUri] The URI of the vault for
* performing operations on keys and secrets.
Expand Down Expand Up @@ -1871,7 +1873,9 @@ function _checkNameAvailability(vaultName, options, callback) {
*
* @param {array} [parameters.properties.accessPolicies] An array of 0 to 16
* identities that have access to the key vault. All identities in the array
* must use the same tenant ID as the key vault's tenant ID.
* must use the same tenant ID as the key vault's tenant ID. When `createMode`
* is set to `recover`, access policies are not required. Otherwise, access
* policies are required.
*
* @param {string} [parameters.properties.vaultUri] The URI of the vault for
* performing operations on keys and secrets.
Expand Down Expand Up @@ -2802,7 +2806,9 @@ class Vaults {
*
* @param {array} [parameters.properties.accessPolicies] An array of 0 to 16
* identities that have access to the key vault. All identities in the array
* must use the same tenant ID as the key vault's tenant ID.
* must use the same tenant ID as the key vault's tenant ID. When `createMode`
* is set to `recover`, access policies are not required. Otherwise, access
* policies are required.
*
* @param {string} [parameters.properties.vaultUri] The URI of the vault for
* performing operations on keys and secrets.
Expand Down Expand Up @@ -2908,7 +2914,9 @@ class Vaults {
*
* @param {array} [parameters.properties.accessPolicies] An array of 0 to 16
* identities that have access to the key vault. All identities in the array
* must use the same tenant ID as the key vault's tenant ID.
* must use the same tenant ID as the key vault's tenant ID. When `createMode`
* is set to `recover`, access policies are not required. Otherwise, access
* policies are required.
*
* @param {string} [parameters.properties.vaultUri] The URI of the vault for
* performing operations on keys and secrets.
Expand Down Expand Up @@ -4141,7 +4149,9 @@ class Vaults {
*
* @param {array} [parameters.properties.accessPolicies] An array of 0 to 16
* identities that have access to the key vault. All identities in the array
* must use the same tenant ID as the key vault's tenant ID.
* must use the same tenant ID as the key vault's tenant ID. When `createMode`
* is set to `recover`, access policies are not required. Otherwise, access
* policies are required.
*
* @param {string} [parameters.properties.vaultUri] The URI of the vault for
* performing operations on keys and secrets.
Expand Down Expand Up @@ -4247,7 +4257,9 @@ class Vaults {
*
* @param {array} [parameters.properties.accessPolicies] An array of 0 to 16
* identities that have access to the key vault. All identities in the array
* must use the same tenant ID as the key vault's tenant ID.
* must use the same tenant ID as the key vault's tenant ID. When `createMode`
* is set to `recover`, access policies are not required. Otherwise, access
* policies are required.
*
* @param {string} [parameters.properties.vaultUri] The URI of the vault for
* performing operations on keys and secrets.
Expand Down