You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-netapp-files/object-rest-api-access-configure.md
+17-16Lines changed: 17 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,35 +19,34 @@ The object REST API feature in Azure NetApp Files is currently in preview. You m
19
19
20
20
## Create the self-signed certificate
21
21
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
+
23
27
24
28
<!-- DNS? -->
25
29
26
-
### [Azure Key Vault](#tab/AzureKeyVault)
30
+
### [Portal](#tab/portal)
27
31
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).
28
33
29
34
When creating the certificate, ensure:
30
35
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
+
32
41
* 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>"`
33
42
* the **DNS Names** entry specifies the IP address or FQDN
34
43
35
44
:::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":::
36
45
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)
46
47
47
48
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.
48
49
49
-
When you are creating the bucket, you should upload the file, that is, **server-cert.pem**.
50
-
51
50
Create and run the following script:
52
51
53
52
```bash
@@ -104,9 +103,11 @@ To enable object REST API, you must create a bucket.
104
103
105
104
:::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":::
106
105
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.
108
109
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:
0 commit comments