2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-24 13:47:42 +00:00

docs: update environment variables for az login to azure backend

This commit is contained in:
Srigovind Nayak 2024-02-04 16:33:00 +05:30
parent b63bfd2257
commit 5771c4ecfb

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.