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
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,26 +24,30 @@ Azure NetApp Files now supports two certificate workflows for Object REST API ac
24
24
1. Azure Key Vault–based certificates, which are created and selected by reference during bucket creation
25
25
1. Direct certificate upload, where PEM certificates are generated locally and uploaded at bucket creation time.
26
26
27
+
### Using Azure Key Vault as the certificate source
27
28
29
+
When creating the certificate, ensure:
30
+
31
+
* the **Content Type** is set to PKCS#12
32
+
* 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
+
* the **DNS Names** entry specifies the IP address or FQDN
34
+
35
+
### Upload the certificate manually
28
36
<!-- DNS? -->
29
37
30
-
### [Portal](#tab/portal)
38
+
####[Portal](#tab/portal)
31
39
32
40
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).
33
41
34
42
When creating the certificate, ensure:
35
43
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
-
44
+
* the **Content Type** is set to PEM
41
45
* 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>"`
42
46
* the **DNS Names** entry specifies the IP address or FQDN
43
47
44
48
:::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":::
45
49
46
-
### [Script](#tab/script)
50
+
####[Script](#tab/script)
47
51
48
52
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.
49
53
@@ -101,24 +105,20 @@ To enable object REST API, you must create a bucket.
101
105
102
106
Select Read or Read-Write.
103
107
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":::
105
-
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.
109
-
110
-
1. If the certificate was generated locally (PEM), upload the PEM file by providing the following information:
111
-
112
108
***Fully qualified domain name**
113
109
114
110
Enter the fully qualified domain name.
115
111
116
-
***Certificate source**
112
+
:::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":::
113
+
114
+
115
+
1. For the **Certificate source**, you can do one of the following:
117
116
118
-
Upload the appropriate certificate. Only PEM files are supported.
117
+
1. To use a certificate stored in the Azure Key Vault, select **Azure Key Vault** and use the PKCS#12certificate directly from the Azure Key Vault.
119
118
120
-
Select **Save**.
119
+
1. To upload the certificate manually, select **Upload Certificate** and upload the PEM) certificate.
121
120
121
+
122
122
1. Select **Create**.
123
123
124
124
After you create a bucket, you need to generate credentials to access the bucket.
0 commit comments