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
24 changes: 12 additions & 12 deletions lib/services/keyvault/lib/keyVaultClient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ export default class KeyVaultClient extends AzureServiceClient {
*
* @param {object} [options] Optional Parameters.
*
* @param {number} [options.keySize] The key size in bytes. For example, 1024
* or 2048.
* @param {number} [options.keySize] The key size in bits. For example: 2048,
* 3072, or 4096 for RSA.
*
* @param {array} [options.keyOps]
*
Expand Down Expand Up @@ -122,8 +122,8 @@ export default class KeyVaultClient extends AzureServiceClient {
*
* @param {object} [options] Optional Parameters.
*
* @param {number} [options.keySize] The key size in bytes. For example, 1024
* or 2048.
* @param {number} [options.keySize] The key size in bits. For example: 2048,
* 3072, or 4096 for RSA.
*
* @param {array} [options.keyOps]
*
Expand Down Expand Up @@ -3512,7 +3512,7 @@ export default class KeyVaultClient extends AzureServiceClient {
* type.
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bytes. For example; 1024 or 2048.
* size in bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [options.certificatePolicy.keyProperties.reuseKey]
* Indicates if the same key pair will be used on certificate renewal.
Expand Down Expand Up @@ -3624,7 +3624,7 @@ export default class KeyVaultClient extends AzureServiceClient {
* type.
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bytes. For example; 1024 or 2048.
* size in bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [options.certificatePolicy.keyProperties.reuseKey]
* Indicates if the same key pair will be used on certificate renewal.
Expand Down Expand Up @@ -3765,7 +3765,7 @@ export default class KeyVaultClient extends AzureServiceClient {
* type.
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bytes. For example; 1024 or 2048.
* size in bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [options.certificatePolicy.keyProperties.reuseKey]
* Indicates if the same key pair will be used on certificate renewal.
Expand Down Expand Up @@ -3887,7 +3887,7 @@ export default class KeyVaultClient extends AzureServiceClient {
* type.
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bytes. For example; 1024 or 2048.
* size in bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [options.certificatePolicy.keyProperties.reuseKey]
* Indicates if the same key pair will be used on certificate renewal.
Expand Down Expand Up @@ -4161,7 +4161,7 @@ export default class KeyVaultClient extends AzureServiceClient {
* @param {string} [certificatePolicy.keyProperties.keyType] The key type.
*
* @param {number} [certificatePolicy.keyProperties.keySize] The key size in
* bytes. For example; 1024 or 2048.
* bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [certificatePolicy.keyProperties.reuseKey] Indicates if the
* same key pair will be used on certificate renewal.
Expand Down Expand Up @@ -4263,7 +4263,7 @@ export default class KeyVaultClient extends AzureServiceClient {
* @param {string} [certificatePolicy.keyProperties.keyType] The key type.
*
* @param {number} [certificatePolicy.keyProperties.keySize] The key size in
* bytes. For example; 1024 or 2048.
* bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [certificatePolicy.keyProperties.reuseKey] Indicates if the
* same key pair will be used on certificate renewal.
Expand Down Expand Up @@ -4392,7 +4392,7 @@ export default class KeyVaultClient extends AzureServiceClient {
* type.
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bytes. For example; 1024 or 2048.
* size in bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [options.certificatePolicy.keyProperties.reuseKey]
* Indicates if the same key pair will be used on certificate renewal.
Expand Down Expand Up @@ -4509,7 +4509,7 @@ export default class KeyVaultClient extends AzureServiceClient {
* type.
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bytes. For example; 1024 or 2048.
* size in bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [options.certificatePolicy.keyProperties.reuseKey]
* Indicates if the same key pair will be used on certificate renewal.
Expand Down
36 changes: 18 additions & 18 deletions lib/services/keyvault/lib/keyVaultClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ const models = require('./models');
*
* @param {object} [options] Optional Parameters.
*
* @param {number} [options.keySize] The key size in bytes. For example, 1024
* or 2048.
* @param {number} [options.keySize] The key size in bits. For example: 2048,
* 3072, or 4096 for RSA.
*
* @param {array} [options.keyOps]
*
Expand Down Expand Up @@ -7015,7 +7015,7 @@ function _deleteCertificateIssuer(vaultBaseUrl, issuerName, options, callback) {
* type.
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bytes. For example; 1024 or 2048.
* size in bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [options.certificatePolicy.keyProperties.reuseKey]
* Indicates if the same key pair will be used on certificate renewal.
Expand Down Expand Up @@ -7296,7 +7296,7 @@ function _createCertificate(vaultBaseUrl, certificateName, options, callback) {
* type.
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bytes. For example; 1024 or 2048.
* size in bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [options.certificatePolicy.keyProperties.reuseKey]
* Indicates if the same key pair will be used on certificate renewal.
Expand Down Expand Up @@ -7888,7 +7888,7 @@ function _getCertificatePolicy(vaultBaseUrl, certificateName, options, callback)
* @param {string} [certificatePolicy.keyProperties.keyType] The key type.
*
* @param {number} [certificatePolicy.keyProperties.keySize] The key size in
* bytes. For example; 1024 or 2048.
* bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [certificatePolicy.keyProperties.reuseKey] Indicates if the
* same key pair will be used on certificate renewal.
Expand Down Expand Up @@ -8137,7 +8137,7 @@ function _updateCertificatePolicy(vaultBaseUrl, certificateName, certificatePoli
* type.
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bytes. For example; 1024 or 2048.
* size in bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [options.certificatePolicy.keyProperties.reuseKey]
* Indicates if the same key pair will be used on certificate renewal.
Expand Down Expand Up @@ -13507,8 +13507,8 @@ class KeyVaultClient extends ServiceClient {
*
* @param {object} [options] Optional Parameters.
*
* @param {number} [options.keySize] The key size in bytes. For example, 1024
* or 2048.
* @param {number} [options.keySize] The key size in bits. For example: 2048,
* 3072, or 4096 for RSA.
*
* @param {array} [options.keyOps]
*
Expand Down Expand Up @@ -13571,8 +13571,8 @@ class KeyVaultClient extends ServiceClient {
*
* @param {object} [options] Optional Parameters.
*
* @param {number} [options.keySize] The key size in bytes. For example, 1024
* or 2048.
* @param {number} [options.keySize] The key size in bits. For example: 2048,
* 3072, or 4096 for RSA.
*
* @param {array} [options.keyOps]
*
Expand Down Expand Up @@ -18056,7 +18056,7 @@ class KeyVaultClient extends ServiceClient {
* type.
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bytes. For example; 1024 or 2048.
* size in bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [options.certificatePolicy.keyProperties.reuseKey]
* Indicates if the same key pair will be used on certificate renewal.
Expand Down Expand Up @@ -18180,7 +18180,7 @@ class KeyVaultClient extends ServiceClient {
* type.
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bytes. For example; 1024 or 2048.
* size in bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [options.certificatePolicy.keyProperties.reuseKey]
* Indicates if the same key pair will be used on certificate renewal.
Expand Down Expand Up @@ -18336,7 +18336,7 @@ class KeyVaultClient extends ServiceClient {
* type.
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bytes. For example; 1024 or 2048.
* size in bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [options.certificatePolicy.keyProperties.reuseKey]
* Indicates if the same key pair will be used on certificate renewal.
Expand Down Expand Up @@ -18470,7 +18470,7 @@ class KeyVaultClient extends ServiceClient {
* type.
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bytes. For example; 1024 or 2048.
* size in bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [options.certificatePolicy.keyProperties.reuseKey]
* Indicates if the same key pair will be used on certificate renewal.
Expand Down Expand Up @@ -18813,7 +18813,7 @@ class KeyVaultClient extends ServiceClient {
* @param {string} [certificatePolicy.keyProperties.keyType] The key type.
*
* @param {number} [certificatePolicy.keyProperties.keySize] The key size in
* bytes. For example; 1024 or 2048.
* bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [certificatePolicy.keyProperties.reuseKey] Indicates if the
* same key pair will be used on certificate renewal.
Expand Down Expand Up @@ -18927,7 +18927,7 @@ class KeyVaultClient extends ServiceClient {
* @param {string} [certificatePolicy.keyProperties.keyType] The key type.
*
* @param {number} [certificatePolicy.keyProperties.keySize] The key size in
* bytes. For example; 1024 or 2048.
* bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [certificatePolicy.keyProperties.reuseKey] Indicates if the
* same key pair will be used on certificate renewal.
Expand Down Expand Up @@ -19071,7 +19071,7 @@ class KeyVaultClient extends ServiceClient {
* type.
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bytes. For example; 1024 or 2048.
* size in bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [options.certificatePolicy.keyProperties.reuseKey]
* Indicates if the same key pair will be used on certificate renewal.
Expand Down Expand Up @@ -19200,7 +19200,7 @@ class KeyVaultClient extends ServiceClient {
* type.
*
* @param {number} [options.certificatePolicy.keyProperties.keySize] The key
* size in bytes. For example; 1024 or 2048.
* size in bits. For example: 2048, 3072, or 4096 for RSA.
*
* @param {boolean} [options.certificatePolicy.keyProperties.reuseKey]
* Indicates if the same key pair will be used on certificate renewal.
Expand Down
4 changes: 2 additions & 2 deletions lib/services/keyvault/lib/models/certificateBundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class CertificateBundle {
* @member {boolean} [policy.keyProperties.exportable] Indicates if the
* private key can be exported.
* @member {string} [policy.keyProperties.keyType] The key type.
* @member {number} [policy.keyProperties.keySize] The key size in bytes. For
* example; 1024 or 2048.
* @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
* key pair will be used on certificate renewal.
* @member {object} [policy.secretProperties] Properties of the secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class CertificateCreateParameters {
* if the private key can be exported.
* @member {string} [certificatePolicy.keyProperties.keyType] The key type.
* @member {number} [certificatePolicy.keyProperties.keySize] The key size in
* bytes. For example; 1024 or 2048.
* bits. For example: 2048, 3072, or 4096 for RSA.
* @member {boolean} [certificatePolicy.keyProperties.reuseKey] Indicates if
* the same key pair will be used on certificate renewal.
* @member {object} [certificatePolicy.secretProperties] Properties of the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class CertificateImportParameters {
* if the private key can be exported.
* @member {string} [certificatePolicy.keyProperties.keyType] The key type.
* @member {number} [certificatePolicy.keyProperties.keySize] The key size in
* bytes. For example; 1024 or 2048.
* bits. For example: 2048, 3072, or 4096 for RSA.
* @member {boolean} [certificatePolicy.keyProperties.reuseKey] Indicates if
* the same key pair will be used on certificate renewal.
* @member {object} [certificatePolicy.secretProperties] Properties of the
Expand Down
4 changes: 2 additions & 2 deletions lib/services/keyvault/lib/models/certificatePolicy.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ class CertificatePolicy {
* @member {boolean} [keyProperties.exportable] Indicates if the private key
* can be exported.
* @member {string} [keyProperties.keyType] The key type.
* @member {number} [keyProperties.keySize] The key size in bytes. For
* example; 1024 or 2048.
* @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
* will be used on certificate renewal.
* @member {object} [secretProperties] Properties of the secret backing a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class CertificateUpdateParameters {
* if the private key can be exported.
* @member {string} [certificatePolicy.keyProperties.keyType] The key type.
* @member {number} [certificatePolicy.keyProperties.keySize] The key size in
* bytes. For example; 1024 or 2048.
* bits. For example: 2048, 3072, or 4096 for RSA.
* @member {boolean} [certificatePolicy.keyProperties.reuseKey] Indicates if
* the same key pair will be used on certificate renewal.
* @member {object} [certificatePolicy.secretProperties] Properties of the
Expand Down
21 changes: 11 additions & 10 deletions lib/services/keyvault/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,8 @@ export interface CertificateIssuerItem {
*
* @member {boolean} [exportable] Indicates if the private key can be exported.
* @member {string} [keyType] The key type.
* @member {number} [keySize] The key size in bytes. For example; 1024 or
* 2048.
* @member {number} [keySize] The key size in bits. For example: 2048, 3072, or
* 4096 for RSA.
* @member {boolean} [reuseKey] Indicates if the same key pair will be used on
* certificate renewal.
*/
Expand Down Expand Up @@ -547,8 +547,8 @@ export interface IssuerParameters {
* @member {boolean} [keyProperties.exportable] Indicates if the private key
* can be exported.
* @member {string} [keyProperties.keyType] The key type.
* @member {number} [keyProperties.keySize] The key size in bytes. For example;
* 1024 or 2048.
* @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
* will be used on certificate renewal.
* @member {object} [secretProperties] Properties of the secret backing a
Expand Down Expand Up @@ -613,8 +613,8 @@ export interface CertificatePolicy {
* @member {boolean} [policy.keyProperties.exportable] Indicates if the private
* key can be exported.
* @member {string} [policy.keyProperties.keyType] The key type.
* @member {number} [policy.keyProperties.keySize] The key size in bytes. For
* example; 1024 or 2048.
* @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 key
* pair will be used on certificate renewal.
* @member {object} [policy.secretProperties] Properties of the secret backing
Expand Down Expand Up @@ -910,7 +910,8 @@ export interface Contacts {
* @member {string} kty The type of key to create. For valid values, see
* JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM',
* 'oct'
* @member {number} [keySize] The key size in bytes. For example, 1024 or 2048.
* @member {number} [keySize] The key size in bits. For example: 2048, 3072, or
* 4096 for RSA.
* @member {array} [keyOps]
* @member {object} [keyAttributes]
* @member {string} [keyAttributes.recoveryLevel] Reflects the deletion
Expand Down Expand Up @@ -1132,7 +1133,7 @@ export interface SecretUpdateParameters {
* the private key can be exported.
* @member {string} [certificatePolicy.keyProperties.keyType] The key type.
* @member {number} [certificatePolicy.keyProperties.keySize] The key size in
* bytes. For example; 1024 or 2048.
* bits. For example: 2048, 3072, or 4096 for RSA.
* @member {boolean} [certificatePolicy.keyProperties.reuseKey] Indicates if
* the same key pair will be used on certificate renewal.
* @member {object} [certificatePolicy.secretProperties] Properties of the
Expand Down Expand Up @@ -1216,7 +1217,7 @@ export interface CertificateCreateParameters {
* the private key can be exported.
* @member {string} [certificatePolicy.keyProperties.keyType] The key type.
* @member {number} [certificatePolicy.keyProperties.keySize] The key size in
* bytes. For example; 1024 or 2048.
* bits. For example: 2048, 3072, or 4096 for RSA.
* @member {boolean} [certificatePolicy.keyProperties.reuseKey] Indicates if
* the same key pair will be used on certificate renewal.
* @member {object} [certificatePolicy.secretProperties] Properties of the
Expand Down Expand Up @@ -1297,7 +1298,7 @@ export interface CertificateImportParameters {
* the private key can be exported.
* @member {string} [certificatePolicy.keyProperties.keyType] The key type.
* @member {number} [certificatePolicy.keyProperties.keySize] The key size in
* bytes. For example; 1024 or 2048.
* bits. For example: 2048, 3072, or 4096 for RSA.
* @member {boolean} [certificatePolicy.keyProperties.reuseKey] Indicates if
* the same key pair will be used on certificate renewal.
* @member {object} [certificatePolicy.secretProperties] Properties of the
Expand Down
4 changes: 2 additions & 2 deletions lib/services/keyvault/lib/models/keyCreateParameters.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ class KeyCreateParameters {
* @member {string} kty The type of key to create. For valid values, see
* JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM',
* 'oct'
* @member {number} [keySize] The key size in bytes. For example, 1024 or
* 2048.
* @member {number} [keySize] The key size in bits. For example: 2048, 3072,
* or 4096 for RSA.
* @member {array} [keyOps]
* @member {object} [keyAttributes]
* @member {string} [keyAttributes.recoveryLevel] Reflects the deletion
Expand Down
4 changes: 2 additions & 2 deletions lib/services/keyvault/lib/models/keyProperties.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class KeyProperties {
* @member {boolean} [exportable] Indicates if the private key can be
* exported.
* @member {string} [keyType] The key type.
* @member {number} [keySize] The key size in bytes. For example; 1024 or
* 2048.
* @member {number} [keySize] The key size in bits. For example: 2048, 3072,
* or 4096 for RSA.
* @member {boolean} [reuseKey] Indicates if the same key pair will be used
* on certificate renewal.
*/
Expand Down
7 changes: 5 additions & 2 deletions lib/services/keyvault/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
"description": "KeyVaultClient Library with typescript type definitions for node",
"version": "3.0.4-preview",
"dependencies": {
"ms-rest": "^2.3.2",
"ms-rest": "^2.3.3",
"ms-rest-azure": "^2.5.5"
},
"keywords": [ "node", "azure" ],
"keywords": [
"node",
"azure"
],
"license": "MIT",
"main": "./lib/keyVaultClient.js",
"types": "./lib/keyVaultClient.d.ts",
Expand Down