2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 10:58:55 +00:00

azure: Document additional auth options

This commit is contained in:
Michael Eischer 2023-07-09 20:56:21 +02:00
parent e990d3d483
commit c9f506925c

View File

@ -523,20 +523,24 @@ Microsoft Azure Blob Storage
****************************
You can also store backups on Microsoft Azure Blob Storage. Export the Azure
Blob Storage account name and key as follows:
Blob Storage account name:
.. code-block:: console
$ export AZURE_ACCOUNT_NAME=<ACCOUNT_NAME>
For authentication export one of the following variables:
.. code-block:: console
# For storage account key
$ export AZURE_ACCOUNT_KEY=<SECRET_KEY>
or
.. code-block:: console
$ export AZURE_ACCOUNT_NAME=<ACCOUNT_NAME>
# For SAS
$ export AZURE_ACCOUNT_SAS=<SAS_TOKEN>
Alternatively, if run on Azure, restic will automatically uses service accounts configured
via the standard environment variables or Workload / Managed Identities.
Restic will by default use Azure's global domain ``core.windows.net`` as endpoint suffix.
You can specify other suffixes as follows: