feat: add Azure Blob Storage support for backups - #137
Open
MaybeSam05 wants to merge 1 commit into
Open
Conversation
MaybeSam05
force-pushed
the
feat/azure-support
branch
3 times, most recently
from
August 12, 2026 20:29
b7af9cb to
23e7c29
Compare
Contributor
Author
|
Squashed into one commit and force-pushed for conventional-commit compliance. Also rebased onto latest main so the branch keeps upstream CreateStanza changes alongside the Azure work, the earlier squash had accidentally dropped those. Should be good for review now. |
Adds Azure Blob Storage as a backup destination alongside existing S3 support. Introduces azureCredentials configuration, command-builder flags, credential env injection, RBAC for Azure secrets, and Azurite e2e tests. Existing S3 configurations are unaffected. Signed-off-by: Samarth Verma <verma.samarth05@gmail.com>
MaybeSam05
force-pushed
the
feat/azure-support
branch
from
August 14, 2026 06:27
23e7c29 to
7a7141e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: add Azure Blob Storage support for backups
Adds Azure Blob Storage as a backup destination alongside the existing S3 support. The Azure path mirrors S3 end to end and existing S3 configurations are unaffected.
Changes
api/config.go): newazureCredentialsblock (account, key, key typeshared/sas,uriStyle); credential-presence check recognizes Azure.command/commandbuilder.go): emits Azure flags (type=azure, container, path, path-style addressing).credentials/credentials.go): reads the Azure account/key from the secret and exports them as env vars (never on the command line).operator/specs/secrets.go): allows the plugin to read the Azure secret.azureCredentials.Testing
go test ./internal/pgbackrest/{command,credentials,api}/).task e2e-external-kind).Compatibility
Additive only. Azure activates when
azureCredentialsis set; the S3 workflow is unchanged.