-
Notifications
You must be signed in to change notification settings - Fork 18
feat(secrets): add Vault KV v2 backend behind secrets-vault #103
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
Open
mkoushni
wants to merge
7
commits into
praxis-proxy:main
Choose a base branch
from
mkoushni:feat/secrets-vault
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
99e9558
feat(secrets): add secret provider trait to PPE to support various ba…
terylt 417e714
feat(secrets): add Vault KV v2 backend behind secrets-vault
mkoushni 75610f9
Merge praxis-proxy/main into feat/secrets-vault
mkoushni 15b3342
docs(secrets-vault): stop linking rustdoc to the private provider type
mkoushni dfdfb39
fix(secrets-vault): pin zeroize to 1.9.0 in Cargo.toml
mkoushni 54674ce
fix(secrets-vault): stop applying X-Vault-Namespace twice on renew-self
mkoushni 441bb7b
ci: retrigger workflow after transient rustup download failure
mkoushni File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # Copyright (c) 2026 Praxis Contributors | ||
|
|
||
| # praxis-policy-secrets-vault — Vault KV v2 `SecretProvider`. | ||
| # | ||
| # Optional and feature-gated (`secrets-vault` on the facade). Absent from | ||
| # the default build: it is a network backend, and a deployment that hands | ||
| # secrets to the process through the platform (files, CSI, a Vault Agent | ||
| # sidecar) needs none of it. | ||
| # | ||
| # No Vault SDK, no generated client, no second HTTP stack. Every call | ||
| # goes through a host-supplied `HttpTransport`, so the process keeps one | ||
| # TLS trust store, one egress policy, and one retry/timeout budget. | ||
|
|
||
| [package] | ||
| name = "praxis-policy-secrets-vault" | ||
| description = "PPE secret provider — HashiCorp Vault KV v2." | ||
| version.workspace = true | ||
| edition.workspace = true | ||
| license.workspace = true | ||
| authors.workspace = true | ||
| repository.workspace = true | ||
| homepage.workspace = true | ||
| keywords.workspace = true | ||
| categories.workspace = true | ||
| rust-version.workspace = true | ||
|
|
||
| [dependencies] | ||
| praxis-policy-core = { workspace = true } | ||
| async-trait = { workspace = true } | ||
| serde = { workspace = true } | ||
| serde_yaml = { workspace = true } | ||
| serde_json = { workspace = true } | ||
| bytes = { workspace = true } | ||
| tracing = { workspace = true } | ||
| tokio = { workspace = true } | ||
| zeroize = { version = "1.9.0" } | ||
|
|
||
| [dev-dependencies] | ||
| # The `HttpTransport` test double. A dev-dependency so the feature is | ||
| # enabled for test builds only; resolver 3 keeps it out of the normal | ||
| # build of this crate. | ||
| praxis-policy-core = { workspace = true, features = ["test-util"] } | ||
| tokio = { workspace = true, features = ["macros", "rt", "rt-multi-thread"] } | ||
|
|
||
| [lints] | ||
| workspace = true | ||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.