2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-18 00:24:25 +00:00

Merge pull request #4684 from konidev20/fix-gh-4658-update-azure-documentation

Update azure storage account authentication documentation
This commit is contained in:
Michael Eischer 2024-02-04 20:13:18 +00:00 committed by GitHub
commit 0f09a8870c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -549,6 +549,14 @@ For authentication export one of the following variables:
# For SAS # For SAS
$ export AZURE_ACCOUNT_SAS=<SAS_TOKEN> $ export AZURE_ACCOUNT_SAS=<SAS_TOKEN>
For authentication using ``az login`` set the resource group name and ensure the user has
the minimum permissions of the role assignment ``Storage Blob Data Contributor`` on Azure RBAC.
.. code-block:: console
$ export AZURE_RESOURCE_GROUP=<RESOURCE_GROUP_NAME>
$ az login
Alternatively, if run on Azure, restic will automatically uses service accounts configured Alternatively, if run on Azure, restic will automatically uses service accounts configured
via the standard environment variables or Workload / Managed Identities. via the standard environment variables or Workload / Managed Identities.