| Crates.io | secrets-provider-tests |
| lib.rs | secrets-provider-tests |
| version | 0.4.14 |
| created_at | 2026-01-04 11:21:43.115649+00 |
| updated_at | 2026-01-18 18:05:55.532706+00 |
| description | Shared conformance test harness for Greentic secrets providers. |
| homepage | |
| repository | https://github.com/greentic-ai/greentic-secrets |
| max_upload_size | |
| id | 2021743 |
| size | 24,279 |
Shared conformance test harness for Greentic secrets providers. Intended for integration tests run by individual provider crates.
GREENTIC_TEST_PREFIX (optional): override the base prefix for all secrets. Defaults to:
ci/<provider>/<repo>/<run_id>/<attempt>/... when GitHub Actions env vars are present.local/<provider>/<timestamp>/<pid>/... otherwise.GREENTIC_TEST_CLEANUP: whether to delete secrets after the suite (default: true; set 0/false to skip).GREENTIC_TEST_KEEP: hard override to disable cleanup when set to a truthy value.Provider-specific environment variables should be documented alongside each provider’s conformance test.
Add a dev-dependency on secrets-provider-tests, gate your conformance test with #[cfg(feature = "integration")] and #[ignore], and call ConformanceSuite::new("provider-name", &client, Capabilities::default()).run().await.
retry_async is provided for eventual-consistency reads.