Skip to content

Support REST backend credentials from environment - #1933

Open
magrathean-uk wants to merge 1 commit into
rustic-rs:mainfrom
magrathean-uk:feat/1818-rest-env-auth
Open

magrathean-uk wants to merge 1 commit into
rustic-rs:mainfrom
magrathean-uk:feat/1818-rest-env-auth

Conversation

@magrathean-uk

@magrathean-uk magrathean-uk commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Allow the REST backend to use credentials supplied through environment variables for both primary and hot repositories. Explicit credentials in a REST URL retain precedence, and non-REST repositories are unchanged.

Fixes #1818.

Validation: the combined CLI suite passed 70 tests, including all three new REST credential unit cases; this patch applied to clean main, cargo fmt --check and git diff --check passed. Standalone cargo test --locked --lib rest_environment_tests passed (3/3) on this branch; no live REST server was used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support rest backend credentials from environment

1 participant