@azure/keyvault-certificates 4.9.1-alpha.20250108.1 → 4.9.1-alpha.20250110.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -12
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Azure Key Vault is a cloud service that provides secure storage and automated management of certificates used throughout a cloud application. Multiple certificates, and multiple versions of the same certificate, can be kept in the Azure Key Vault. Each certificate in the vault has a policy associated with it which controls the issuance and lifetime of the certificate, along with actions to be taken as certificates near expiry.
|
|
4
4
|
|
|
5
|
-
If you would like to know more about Azure Key Vault, you may want to review: [What is Azure Key Vault?](https://
|
|
5
|
+
If you would like to know more about Azure Key Vault, you may want to review: [What is Azure Key Vault?](https://learn.microsoft.com/azure/key-vault/key-vault-overview)
|
|
6
6
|
|
|
7
7
|
Use the client library for Azure Key Vault Certificates in your Node.js application to:
|
|
8
8
|
|
|
@@ -20,7 +20,7 @@ Key links:
|
|
|
20
20
|
|
|
21
21
|
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-certificates)
|
|
22
22
|
- [Package (npm)](https://www.npmjs.com/package/@azure/keyvault-certificates)
|
|
23
|
-
- [API Reference Documentation](https://
|
|
23
|
+
- [API Reference Documentation](https://learn.microsoft.com/javascript/api/@azure/keyvault-certificates)
|
|
24
24
|
- [Product documentation](https://azure.microsoft.com/services/key-vault/)
|
|
25
25
|
- [Samples](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples)
|
|
26
26
|
|
|
@@ -101,7 +101,7 @@ const client = new CertificateClient(url, credential);
|
|
|
101
101
|
query.
|
|
102
102
|
- **Soft delete** allows Key Vaults to support deletion and purging as two
|
|
103
103
|
separate steps, so deleted certificates are not immediately lost. This only happens if the Key Vault
|
|
104
|
-
has [soft-delete](https://
|
|
104
|
+
has [soft-delete](https://learn.microsoft.com/azure/key-vault/key-vault-ovw-soft-delete)
|
|
105
105
|
enabled.
|
|
106
106
|
- A **Certificate backup** can be generated from any created certificate. These backups come as
|
|
107
107
|
binary data, and can only be used to regenerate a previously deleted certificate.
|
|
@@ -311,11 +311,11 @@ async function main() {
|
|
|
311
311
|
console.log(`Latest version of the certificate ${certificateName}: `, latestCertificate);
|
|
312
312
|
const specificCertificate = await client.getCertificateVersion(
|
|
313
313
|
certificateName,
|
|
314
|
-
latestCertificate.properties.version
|
|
314
|
+
latestCertificate.properties.version,
|
|
315
315
|
);
|
|
316
316
|
console.log(
|
|
317
317
|
`The certificate ${certificateName} at the version ${latestCertificate.properties.version}: `,
|
|
318
|
-
specificCertificate
|
|
318
|
+
specificCertificate,
|
|
319
319
|
);
|
|
320
320
|
}
|
|
321
321
|
|
|
@@ -503,7 +503,7 @@ main();
|
|
|
503
503
|
The `beginDeleteCertificate` method sets a certificate up for deletion. This process will
|
|
504
504
|
happen in the background as soon as the necessary resources are available.
|
|
505
505
|
|
|
506
|
-
If [soft-delete](https://
|
|
506
|
+
If [soft-delete](https://learn.microsoft.com/azure/key-vault/key-vault-ovw-soft-delete)
|
|
507
507
|
is enabled for the Key Vault, this operation will only label the certificate as a
|
|
508
508
|
_deleted_ certificate. A deleted certificate can't be updated. They can only be either
|
|
509
509
|
read, recovered or purged.
|
|
@@ -586,7 +586,7 @@ async function main() {
|
|
|
586
586
|
console.log("Deleted certificate: ", deletedCertificate);
|
|
587
587
|
}
|
|
588
588
|
for await (let certificateProperties of client.listPropertiesOfCertificateVersions(
|
|
589
|
-
certificateName
|
|
589
|
+
certificateName,
|
|
590
590
|
)) {
|
|
591
591
|
console.log("Certificate properties: ", certificateProperties);
|
|
592
592
|
}
|
|
@@ -657,12 +657,12 @@ You can find more code samples through the following links:
|
|
|
657
657
|
|
|
658
658
|
If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.
|
|
659
659
|
|
|
660
|
-
[azure_keyvault]: https://
|
|
661
|
-
[azure_keyvault_cli]: https://
|
|
662
|
-
[azure_keyvault_portal]: https://
|
|
660
|
+
[azure_keyvault]: https://learn.microsoft.com/azure/key-vault/general/overview
|
|
661
|
+
[azure_keyvault_cli]: https://learn.microsoft.com/azure/key-vault/general/quick-create-cli
|
|
662
|
+
[azure_keyvault_portal]: https://learn.microsoft.com/azure/key-vault/general/quick-create-portal
|
|
663
663
|
[default_azure_credential]: https://learn.microsoft.com/javascript/api/@azure/identity/defaultazurecredential?view=azure-node-latest
|
|
664
|
-
[managed_identity]: https://
|
|
664
|
+
[managed_identity]: https://learn.microsoft.com/azure/active-directory/managed-identities-azure-resources/overview
|
|
665
665
|
[azure_identity]: https://learn.microsoft.com/javascript/api/overview/azure/identity-readme?view=azure-node-latest
|
|
666
|
-
[composition-of-a-certificate]: https://
|
|
666
|
+
[composition-of-a-certificate]: https://learn.microsoft.com/azure/key-vault/certificates/about-certificates#composition-of-a-certificate
|
|
667
667
|
|
|
668
668
|

|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@azure/keyvault-certificates",
|
|
3
3
|
"sdk-type": "client",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
|
-
"version": "4.9.1-alpha.
|
|
5
|
+
"version": "4.9.1-alpha.20250110.1",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"description": "Isomorphic client library for Azure KeyVault's certificates.",
|
|
8
8
|
"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/README.md",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"deleteAndRecover.js"
|
|
87
87
|
],
|
|
88
88
|
"requiredResources": {
|
|
89
|
-
"Azure Key Vault": "https://
|
|
89
|
+
"Azure Key Vault": "https://learn.microsoft.com/azure/key-vault/quick-create-portal"
|
|
90
90
|
},
|
|
91
91
|
"customSnippets": {
|
|
92
92
|
"prerequisites": "samples-dev/snippets/_prerequisites.md"
|