mirror of
https://github.com/octoleo/restic.git
synced 2024-12-18 08:34:20 +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:
commit
0f09a8870c
@ -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.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user