Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow SAS tokens to be used for Azure Blob backend #1016

Open
waza-ari opened this issue Oct 20, 2024 · 0 comments
Open

Allow SAS tokens to be used for Azure Blob backend #1016

waza-ari opened this issue Oct 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@waza-ari
Copy link

Summary

As a security-aware user,
I want to be able to use Azure SAS tokens
So that I can limit the required access to the storage account to a minimum

Context

Restic does support multiple ways of authenticating against Azure, two of which are likely to be relevant for K8up: AZURE_ACCOUNT_KEY or AZURE_ACCOUNT_SAS.

Using a SAS token is preferable, as it provides restricted access (scope wise and permission wise) to parts of the storage account (e.g. only the container used for backup), instead of providing all access to the entire storage account. Currently, the AzureSpec only exposes the accountKeySecretRef, it would be nice if something similar could be done for the SAS token.

Out of Scope

No response

Further links

https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html#microsoft-azure-blob-storage

Acceptance Criteria

No response

Implementation Ideas

No response

@waza-ari waza-ari added the enhancement New feature or request label Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant