azure: add SAS authentication option

This commit is contained in:
Roger Gammans authored and Michael Eischer committed 2022-07-16 23:55:18 +02:00
1 parent 6cbeb4a9f9
commit 64a7ec5341
6 files changed
+55 -4

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
Enhancement: Allow use of SAS token to authenticate to Azure
Previously restic only supported AccountKeys to authenticate to Azure
storage accounts, which necessitates giving a significant amount of
access.
We added support for Azure SAS tokens which are a more fine-grained
and time-limited manner of granting access. Set the `AZURE_ACCOUNT_NAME`
and `AZURE_ACCOUNT_SAS` environment variables to use a SAS token for
authentication. Note that if `AZURE_ACCOUNT_KEY` is set, it will take
preference.
https://github.com/restic/restic/issues/2295
https://github.com/restic/restic/pull/3661