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
48 changes: 30 additions & 18 deletions lib/services/keyvault/lib/lib/keyVaultClient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,9 @@ export default class KeyVaultClient extends AzureServiceClient {
*
* @param {string} [key.kid] Key identifier.
*
* @param {string} [key.kty] JsonWebKey key type (kty). Possible values
* include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
* @param {string} [key.kty] JsonWebKey Key Type (kty), as defined in
* https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. Possible
* values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {array} [key.keyOps]
*
Expand Down Expand Up @@ -269,8 +270,9 @@ export default class KeyVaultClient extends AzureServiceClient {
*
* @param {string} [key.kid] Key identifier.
*
* @param {string} [key.kty] JsonWebKey key type (kty). Possible values
* include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
* @param {string} [key.kty] JsonWebKey Key Type (kty), as defined in
* https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. Possible
* values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {array} [key.keyOps]
*
Expand Down Expand Up @@ -3514,8 +3516,9 @@ export default class KeyVaultClient extends AzureServiceClient {
* @param {boolean} [options.certificatePolicy.keyProperties.exportable]
* Indicates if the private key can be exported.
*
* @param {string} [options.certificatePolicy.keyProperties.keyType] The key
* type.
* @param {string} [options.certificatePolicy.keyProperties.kty] The type of
* key pair to be used for the certificate. Possible values include: 'EC',
* 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down Expand Up @@ -3631,8 +3634,9 @@ export default class KeyVaultClient extends AzureServiceClient {
* @param {boolean} [options.certificatePolicy.keyProperties.exportable]
* Indicates if the private key can be exported.
*
* @param {string} [options.certificatePolicy.keyProperties.keyType] The key
* type.
* @param {string} [options.certificatePolicy.keyProperties.kty] The type of
* key pair to be used for the certificate. Possible values include: 'EC',
* 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down Expand Up @@ -3777,8 +3781,9 @@ export default class KeyVaultClient extends AzureServiceClient {
* @param {boolean} [options.certificatePolicy.keyProperties.exportable]
* Indicates if the private key can be exported.
*
* @param {string} [options.certificatePolicy.keyProperties.keyType] The key
* type.
* @param {string} [options.certificatePolicy.keyProperties.kty] The type of
* key pair to be used for the certificate. Possible values include: 'EC',
* 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down Expand Up @@ -3904,8 +3909,9 @@ export default class KeyVaultClient extends AzureServiceClient {
* @param {boolean} [options.certificatePolicy.keyProperties.exportable]
* Indicates if the private key can be exported.
*
* @param {string} [options.certificatePolicy.keyProperties.keyType] The key
* type.
* @param {string} [options.certificatePolicy.keyProperties.kty] The type of
* key pair to be used for the certificate. Possible values include: 'EC',
* 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down Expand Up @@ -4184,7 +4190,9 @@ export default class KeyVaultClient extends AzureServiceClient {
* @param {boolean} [certificatePolicy.keyProperties.exportable] Indicates if
* the private key can be exported.
*
* @param {string} [certificatePolicy.keyProperties.keyType] The key type.
* @param {string} [certificatePolicy.keyProperties.kty] The type of key pair
* to be used for the certificate. Possible values include: 'EC', 'EC-HSM',
* 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [certificatePolicy.keyProperties.keySize] The key size in
* bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down Expand Up @@ -4291,7 +4299,9 @@ export default class KeyVaultClient extends AzureServiceClient {
* @param {boolean} [certificatePolicy.keyProperties.exportable] Indicates if
* the private key can be exported.
*
* @param {string} [certificatePolicy.keyProperties.keyType] The key type.
* @param {string} [certificatePolicy.keyProperties.kty] The type of key pair
* to be used for the certificate. Possible values include: 'EC', 'EC-HSM',
* 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [certificatePolicy.keyProperties.keySize] The key size in
* bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down Expand Up @@ -4424,8 +4434,9 @@ export default class KeyVaultClient extends AzureServiceClient {
* @param {boolean} [options.certificatePolicy.keyProperties.exportable]
* Indicates if the private key can be exported.
*
* @param {string} [options.certificatePolicy.keyProperties.keyType] The key
* type.
* @param {string} [options.certificatePolicy.keyProperties.kty] The type of
* key pair to be used for the certificate. Possible values include: 'EC',
* 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down Expand Up @@ -4546,8 +4557,9 @@ export default class KeyVaultClient extends AzureServiceClient {
* @param {boolean} [options.certificatePolicy.keyProperties.exportable]
* Indicates if the private key can be exported.
*
* @param {string} [options.certificatePolicy.keyProperties.keyType] The key
* type.
* @param {string} [options.certificatePolicy.keyProperties.kty] The type of
* key pair to be used for the certificate. Possible values include: 'EC',
* 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down
72 changes: 45 additions & 27 deletions lib/services/keyvault/lib/lib/keyVaultClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,9 @@ function _createKey(vaultBaseUrl, keyName, kty, options, callback) {
*
* @param {string} [key.kid] Key identifier.
*
* @param {string} [key.kty] JsonWebKey key type (kty). Possible values
* include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
* @param {string} [key.kty] JsonWebKey Key Type (kty), as defined in
* https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. Possible
* values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {array} [key.keyOps]
*
Expand Down Expand Up @@ -7021,8 +7022,9 @@ function _deleteCertificateIssuer(vaultBaseUrl, issuerName, options, callback) {
* @param {boolean} [options.certificatePolicy.keyProperties.exportable]
* Indicates if the private key can be exported.
*
* @param {string} [options.certificatePolicy.keyProperties.keyType] The key
* type.
* @param {string} [options.certificatePolicy.keyProperties.kty] The type of
* key pair to be used for the certificate. Possible values include: 'EC',
* 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down Expand Up @@ -7307,8 +7309,9 @@ function _createCertificate(vaultBaseUrl, certificateName, options, callback) {
* @param {boolean} [options.certificatePolicy.keyProperties.exportable]
* Indicates if the private key can be exported.
*
* @param {string} [options.certificatePolicy.keyProperties.keyType] The key
* type.
* @param {string} [options.certificatePolicy.keyProperties.kty] The type of
* key pair to be used for the certificate. Possible values include: 'EC',
* 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down Expand Up @@ -7905,7 +7908,9 @@ function _getCertificatePolicy(vaultBaseUrl, certificateName, options, callback)
* @param {boolean} [certificatePolicy.keyProperties.exportable] Indicates if
* the private key can be exported.
*
* @param {string} [certificatePolicy.keyProperties.keyType] The key type.
* @param {string} [certificatePolicy.keyProperties.kty] The type of key pair
* to be used for the certificate. Possible values include: 'EC', 'EC-HSM',
* 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [certificatePolicy.keyProperties.keySize] The key size in
* bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down Expand Up @@ -8158,8 +8163,9 @@ function _updateCertificatePolicy(vaultBaseUrl, certificateName, certificatePoli
* @param {boolean} [options.certificatePolicy.keyProperties.exportable]
* Indicates if the private key can be exported.
*
* @param {string} [options.certificatePolicy.keyProperties.keyType] The key
* type.
* @param {string} [options.certificatePolicy.keyProperties.kty] The type of
* key pair to be used for the certificate. Possible values include: 'EC',
* 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down Expand Up @@ -15732,8 +15738,9 @@ class KeyVaultClient extends ServiceClient {
*
* @param {string} [key.kid] Key identifier.
*
* @param {string} [key.kty] JsonWebKey key type (kty). Possible values
* include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
* @param {string} [key.kty] JsonWebKey Key Type (kty), as defined in
* https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. Possible
* values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {array} [key.keyOps]
*
Expand Down Expand Up @@ -15823,8 +15830,9 @@ class KeyVaultClient extends ServiceClient {
*
* @param {string} [key.kid] Key identifier.
*
* @param {string} [key.kty] JsonWebKey key type (kty). Possible values
* include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
* @param {string} [key.kty] JsonWebKey Key Type (kty), as defined in
* https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. Possible
* values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {array} [key.keyOps]
*
Expand Down Expand Up @@ -20136,8 +20144,9 @@ class KeyVaultClient extends ServiceClient {
* @param {boolean} [options.certificatePolicy.keyProperties.exportable]
* Indicates if the private key can be exported.
*
* @param {string} [options.certificatePolicy.keyProperties.keyType] The key
* type.
* @param {string} [options.certificatePolicy.keyProperties.kty] The type of
* key pair to be used for the certificate. Possible values include: 'EC',
* 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down Expand Up @@ -20265,8 +20274,9 @@ class KeyVaultClient extends ServiceClient {
* @param {boolean} [options.certificatePolicy.keyProperties.exportable]
* Indicates if the private key can be exported.
*
* @param {string} [options.certificatePolicy.keyProperties.keyType] The key
* type.
* @param {string} [options.certificatePolicy.keyProperties.kty] The type of
* key pair to be used for the certificate. Possible values include: 'EC',
* 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down Expand Up @@ -20426,8 +20436,9 @@ class KeyVaultClient extends ServiceClient {
* @param {boolean} [options.certificatePolicy.keyProperties.exportable]
* Indicates if the private key can be exported.
*
* @param {string} [options.certificatePolicy.keyProperties.keyType] The key
* type.
* @param {string} [options.certificatePolicy.keyProperties.kty] The type of
* key pair to be used for the certificate. Possible values include: 'EC',
* 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down Expand Up @@ -20565,8 +20576,9 @@ class KeyVaultClient extends ServiceClient {
* @param {boolean} [options.certificatePolicy.keyProperties.exportable]
* Indicates if the private key can be exported.
*
* @param {string} [options.certificatePolicy.keyProperties.keyType] The key
* type.
* @param {string} [options.certificatePolicy.keyProperties.kty] The type of
* key pair to be used for the certificate. Possible values include: 'EC',
* 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down Expand Up @@ -20914,7 +20926,9 @@ class KeyVaultClient extends ServiceClient {
* @param {boolean} [certificatePolicy.keyProperties.exportable] Indicates if
* the private key can be exported.
*
* @param {string} [certificatePolicy.keyProperties.keyType] The key type.
* @param {string} [certificatePolicy.keyProperties.kty] The type of key pair
* to be used for the certificate. Possible values include: 'EC', 'EC-HSM',
* 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [certificatePolicy.keyProperties.keySize] The key size in
* bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down Expand Up @@ -21033,7 +21047,9 @@ class KeyVaultClient extends ServiceClient {
* @param {boolean} [certificatePolicy.keyProperties.exportable] Indicates if
* the private key can be exported.
*
* @param {string} [certificatePolicy.keyProperties.keyType] The key type.
* @param {string} [certificatePolicy.keyProperties.kty] The type of key pair
* to be used for the certificate. Possible values include: 'EC', 'EC-HSM',
* 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [certificatePolicy.keyProperties.keySize] The key size in
* bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down Expand Up @@ -21181,8 +21197,9 @@ class KeyVaultClient extends ServiceClient {
* @param {boolean} [options.certificatePolicy.keyProperties.exportable]
* Indicates if the private key can be exported.
*
* @param {string} [options.certificatePolicy.keyProperties.keyType] The key
* type.
* @param {string} [options.certificatePolicy.keyProperties.kty] The type of
* key pair to be used for the certificate. Possible values include: 'EC',
* 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down Expand Up @@ -21315,8 +21332,9 @@ class KeyVaultClient extends ServiceClient {
* @param {boolean} [options.certificatePolicy.keyProperties.exportable]
* Indicates if the private key can be exported.
*
* @param {string} [options.certificatePolicy.keyProperties.keyType] The key
* type.
* @param {string} [options.certificatePolicy.keyProperties.kty] The type of
* key pair to be used for the certificate. Possible values include: 'EC',
* 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bits. For example: 2048, 3072, or 4096 for RSA.
Expand Down
4 changes: 3 additions & 1 deletion lib/services/keyvault/lib/lib/models/certificateBundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ class CertificateBundle {
* certificate.
* @member {boolean} [policy.keyProperties.exportable] Indicates if the
* private key can be exported.
* @member {string} [policy.keyProperties.keyType] The key type.
* @member {string} [policy.keyProperties.kty] The type of key pair to be
* used for the certificate. Possible values include: 'EC', 'EC-HSM', 'RSA',
* 'RSA-HSM', 'oct'
* @member {number} [policy.keyProperties.keySize] The key size in bits. For
* example: 2048, 3072, or 4096 for RSA.
* @member {boolean} [policy.keyProperties.reuseKey] Indicates if the same
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ class CertificateCreateParameters {
* backing a certificate.
* @member {boolean} [certificatePolicy.keyProperties.exportable] Indicates
* if the private key can be exported.
* @member {string} [certificatePolicy.keyProperties.keyType] The key type.
* @member {string} [certificatePolicy.keyProperties.kty] The type of key
* pair to be used for the certificate. Possible values include: 'EC',
* 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
* @member {number} [certificatePolicy.keyProperties.keySize] The key size in
* bits. For example: 2048, 3072, or 4096 for RSA.
* @member {boolean} [certificatePolicy.keyProperties.reuseKey] Indicates if
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ class CertificateImportParameters {
* backing a certificate.
* @member {boolean} [certificatePolicy.keyProperties.exportable] Indicates
* if the private key can be exported.
* @member {string} [certificatePolicy.keyProperties.keyType] The key type.
* @member {string} [certificatePolicy.keyProperties.kty] The type of key
* pair to be used for the certificate. Possible values include: 'EC',
* 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
* @member {number} [certificatePolicy.keyProperties.keySize] The key size in
* bits. For example: 2048, 3072, or 4096 for RSA.
* @member {boolean} [certificatePolicy.keyProperties.reuseKey] Indicates if
Expand Down
4 changes: 3 additions & 1 deletion lib/services/keyvault/lib/lib/models/certificatePolicy.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ class CertificatePolicy {
* certificate.
* @member {boolean} [keyProperties.exportable] Indicates if the private key
* can be exported.
* @member {string} [keyProperties.keyType] The key type.
* @member {string} [keyProperties.kty] The type of key pair to be used for
* the certificate. Possible values include: 'EC', 'EC-HSM', 'RSA',
* 'RSA-HSM', 'oct'
* @member {number} [keyProperties.keySize] The key size in bits. For
* example: 2048, 3072, or 4096 for RSA.
* @member {boolean} [keyProperties.reuseKey] Indicates if the same key pair
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ class CertificateUpdateParameters {
* backing a certificate.
* @member {boolean} [certificatePolicy.keyProperties.exportable] Indicates
* if the private key can be exported.
* @member {string} [certificatePolicy.keyProperties.keyType] The key type.
* @member {string} [certificatePolicy.keyProperties.kty] The type of key
* pair to be used for the certificate. Possible values include: 'EC',
* 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
* @member {number} [certificatePolicy.keyProperties.keySize] The key size in
* bits. For example: 2048, 3072, or 4096 for RSA.
* @member {boolean} [certificatePolicy.keyProperties.reuseKey] Indicates if
Expand Down
Loading