Skip to content

Commit 9fe4e15

Browse files
Incorporating changes
1 parent afcbdca commit 9fe4e15

1 file changed

Lines changed: 17 additions & 16 deletions

File tree

articles/azure-netapp-files/object-rest-api-access-configure.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,35 +19,34 @@ The object REST API feature in Azure NetApp Files is currently in preview. You m
1919

2020
## Create the self-signed certificate
2121

22-
You must provide a certificate to the bucket using Azure Key Vault or direct upload.
22+
Azure NetApp Files now supports two certificate workflows for Object REST API access:
23+
24+
1. Azure Key Vault–based certificates, which are created and selected by reference during bucket creation
25+
1. Direct certificate upload, where PEM certificates are generated locally and uploaded at bucket creation time.
26+
2327

2428
<!-- DNS? -->
2529

26-
### [Azure Key Vault](#tab/AzureKeyVault)
30+
### [Portal](#tab/portal)
2731

32+
See the [Azure Key Vault documentation for adding a certificate to Key Vault](/azure//key-vault/certificates/quick-create-portal#add-a-certificate-to-key-vault).
2833

2934
When creating the certificate, ensure:
3035

31-
* the **Content Type** is set to PKCS#12
36+
* the **Content Type** is set to PKCS#12
37+
38+
>NOTE
39+
>The PEM content type can still be used if the certificate is not stored in Azure Key Vault.
40+
3241
* the **Subject** field is set to the IP address or fully qualified domain name (FQDN) of your Azure NetApp Files endpoint using the format `"CN=<IP or FQDN>"`
3342
* the **DNS Names** entry specifies the IP address or FQDN
3443

3544
:::image type="content" source="./media/object-rest-api-access-configure/create-certificate.png" alt-text="Screenshot of create certificate options." lightbox="./media/object-rest-api-access-configure/create-certificate.png":::
3645

37-
See the [Azure Key Vault documentation for adding a certificate to Key Vault](/azure//key-vault/certificates/quick-create-portal#add-a-certificate-to-key-vault).
38-
39-
### [Direct upload](#tab/directupload)
40-
41-
When creating the certificate, ensure:
42-
43-
* the **Content Type** is set to PEM
44-
* the **Subject** field is set to the IP address or fully qualified domain name (FQDN) of your Azure NetApp Files endpoint using the format `"CN=<IP or FQDN>"`
45-
* the **DNS Names** entry specifies the IP address or FQDN
46+
### [Script](#tab/script)
4647

4748
This script creates a certificate locally. Set the computer name `CN=` to the IP address or fully qualified domain name (FQDN) of your object REST API-enabled endpoint. This script creates a folder that includes the necessary PEM file and private keys.
4849

49-
When you are creating the bucket, you should upload the file, that is, **server-cert.pem**.
50-
5150
Create and run the following script:
5251

5352
```bash
@@ -104,9 +103,11 @@ To enable object REST API, you must create a bucket.
104103

105104
:::image type="content" source="./media/object-rest-api-access-configure/create-bucket.png" alt-text="Screenshot of create a bucket menu." lightbox="./media/object-rest-api-access-configure/create-bucket.png":::
106105

107-
1. If you haven't provided a certificate, upload your PEM file.
106+
1. If you haven't provided a certificate, you can do one of the following:
107+
108+
1. If the certificate was generated and stored in Key Vault, use the PKCS#12 certificate directly from the Azure Key Vault.
108109

109-
To upload a certificate, provide the following information:
110+
1. If the certificate was generated locally (PEM), upload the PEM file by providing the following information:
110111

111112
* **Fully qualified domain name**
112113

0 commit comments

Comments
 (0)