Skip to content

Commit d36a586

Browse files
committed
rewrite the azure credentials page
1 parent ccbdd59 commit d36a586

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

Diff for: modules/ROOT/partials/azb-credentials.adoc

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
1-
You need an Azure account, an Azure storage account and blob container.
2-
3-
We use the link:https://learn.microsoft.com/en-us/java/api/com.azure.identity.defaultazurecredential?view=azure-java-stable[default Azure credentials] to authenticate the neo4j or neo4j-admin process against Azure.
4-
You can check their documentation to see the different authentication methods supported.
5-
6-
The simplest method is to use the link:https://learn.microsoft.com/en-us/cli/azure/install-azure-cli[azure cli tool]
7-
8-
Execute this, and follow the steps to authenticate.
9-
1+
. Ensure you have a Azure account, an Azure storage account, and a blob container.
2+
.. You can create a storage account using the Azure portal. +
3+
For more information, see the Azure official documentation on link:https://learn.microsoft.com/en-us/azure/storage/common/storage-account-create?tabs=azure-portal[Create a storage account].
4+
.. Create a blob container in the Azure portal. +
5+
For more information, see the Azure official documentation on link:https://learn.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-portal[Quickstart: Upload, download, and list blobs with the Azure portal].
6+
. Install the Azure CLI by following the instructions in the Azure official documentation -- link:https://docs.microsoft.com/en-us/cli/azure/install-azure-cli[Azure official documentation].
7+
. Authenticate the neo4j or neo4j-admin process against Azure using the default Azure credentials. +
8+
See the Azure official documentation on link:https://learn.microsoft.com/en-us/java/api/com.azure.identity.defaultazurecredential?view=azure-java-stable[default Azure credentials] for more information. +
9+
Alternatively, you use another supported authentication method.
10+
See the Azure official documentation on link:https://learn.microsoft.com/en-us/cli/azure/authenticate-azure-cli[Authenticate with Azure CLI] for more information.
11+
+
1012
[source,shell]
1113
----
1214
az login
1315
----
16+
+
17+
Then you should be ready to use Azure URLs in either neo4j or neo4j-admin.
1418

15-
Then you should be ready to use azure urls in either neo4j or neo4j-admin (in the places it is supported off course).
16-
17-
If you want to validate that you have access to the container with your login credentials you can do:
18-
19+
. To validate that you have access to the container with your login credentials, run the following commands:
20+
+
1921
[source,shell]
2022
----
2123
# Upload a file:
@@ -27,5 +29,3 @@ az storage blob download --account-name accountName --container someContainer -
2729
# List container files
2830
az storage blob list --account-name someContainer --container someContainer --auth-mode login
2931
----
30-
31-

0 commit comments

Comments
 (0)