@@ -124,27 +124,25 @@ In this code, the name of your key vault is used to create the key vault URI, in
124
124
125
125
## Code example
126
126
127
- These code samples demonstrate how to create a client, set a certificate, retrieve a certificate, and delete a certificate.
127
+ This code uses the following [ Key Vault Certificate classes and methods] ( /javascript/api/overview/azure/keyvault-certificates-readme ) :
128
+
129
+ * [ DefaultAzureCredential] ( /javascript/api/@azure/identity/#@azure-identity-getdefaultazurecredential )
130
+ * [ CertificateClient class] ( /javascript/api/@azure/keyvault-certificates/certificateclient )
131
+ * [ beginCreateCertificate] ( /javascript/api/@azure/keyvault-certificates/certificateclient#@azure-keyvault-certificates-certificateclient-begincreatecertificate )
132
+ * [ getCertificate] ( /javascript/api/@azure/keyvault-certificates/certificateclient#@azure-keyvault-certificates-certificateclient-getcertificate )
133
+ * [ getCertificateVersion] ( /javascript/api/@azure/keyvault-certificates/certificateclient#@azure-keyvault-certificates-certificateclient-getcertificateversion )
134
+ * [ updateCertificateProperties] ( /javascript/api/@azure/keyvault-certificates/certificateclient#@azure-keyvault-certificates-certificateclient-updatecertificateproperties )
135
+ * [ updateCertificatePolicy] ( /javascript/api/@azure/keyvault-certificates/certificateclient#@azure-keyvault-certificates-certificateclient-updatecertificateproperties )
136
+ * [ beginDeleteCertificate] ( /javascript/api/@azure/keyvault-certificates/certificateclient#@azure-keyvault-certificates-certificateclient-begindeletecertificate )
137
+ * [ PollerLike Interface] ( /javascript/api/@azure/core-lro/pollerlike )
138
+ * [ getResult] ( /javascript/api/@azure/core-lro/pollerlike#@azure-core-lro-pollerlike-getresult )
139
+ * [ pollUntilDone] ( /javascript/api/@azure/core-lro/pollerlike@azure-core-lro-pollerlike-polluntildone )
128
140
129
141
130
142
### Set up the app framework
131
143
132
144
1 . Create new text file and paste the following code into the ** index.js** file.
133
145
134
- This code uses the following [ Key Vault Certificate classes and methods] ( /javascript/api/overview/azure/keyvault-certificates-readme ) :
135
-
136
- * [ DefaultAzureCredential] ( /javascript/api/@azure/identity/#@azure-identity-getdefaultazurecredential )
137
- * [ CertificateClient class] ( /javascript/api/@azure/keyvault-certificates/certificateclient )
138
- * [ beginCreateCertificate] ( /javascript/api/@azure/keyvault-certificates/certificateclient#@azure-keyvault-certificates-certificateclient-begincreatecertificate )
139
- * [ getCertificate] ( /javascript/api/@azure/keyvault-certificates/certificateclient#@azure-keyvault-certificates-certificateclient-getcertificate )
140
- * [ getCertificateVersion] ( /javascript/api/@azure/keyvault-certificates/certificateclient#@azure-keyvault-certificates-certificateclient-getcertificateversion )
141
- * [ updateCertificateProperties] ( /javascript/api/@azure/keyvault-certificates/certificateclient#@azure-keyvault-certificates-certificateclient-updatecertificateproperties )
142
- * [ updateCertificatePolicy] ( /javascript/api/@azure/keyvault-certificates/certificateclient#@azure-keyvault-certificates-certificateclient-updatecertificateproperties )
143
- * [ beginDeleteCertificate] ( /javascript/api/@azure/keyvault-certificates/certificateclient#@azure-keyvault-certificates-certificateclient-begindeletecertificate )
144
- * [ PollerLike Interface] ( /javascript/api/@azure/core-lro/pollerlike )
145
- * [ getResult] ( /javascript/api/@azure/core-lro/pollerlike#@azure-core-lro-pollerlike-getresult )
146
- * [ pollUntilDone] ( /javascript/api/@azure/core-lro/pollerlike@azure-core-lro-pollerlike-polluntildone )
147
-
148
146
``` javascript
149
147
const { CertificateClient , DefaultCertificatePolicy } = require (" @azure/keyvault-certificates" );
150
148
const { DefaultAzureCredential } = require (" @azure/identity" );
0 commit comments