2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-23 13:17:42 +00:00
restic/internal/backend/azure
Connor Findlay b434f560cc backend/azure: Add tests for both token types
Add two new test cases, TestBackendAzureAccountToken and
TestBackendAzureContainerToken, that ensure that the authorization using
both types of token works.

This introduces two new environment variables,
RESTIC_TEST_AZURE_ACCOUNT_SAS and RESTIC_TEST_AZURE_CONTAINER_SAS, that
contain the tokens to use when testing restic. If an environment
variable is missing, the related test is skipped.
2024-10-17 20:38:03 +02:00
..
azure_test.go backend/azure: Add tests for both token types 2024-10-17 20:38:03 +02:00
azure.go backend/azure: Handle Container SAS/SAT 2024-10-17 20:38:03 +02:00
config_test.go backend: fix linter warnings 2023-06-07 22:31:15 +02:00
config.go Azure: add option to force use of CLI credential 2024-05-18 22:15:54 +02:00