Add GCP provider URI alias #1

Merged
kennysheridan merged 1 commit from gcp-support into main 2026-05-26 23:28:25 -07:00

Summary

  • Add gcp://PROJECT_ID as a short alias for the existing GCSM Secret Manager provider while preserving canonical gcsm://PROJECT_ID URIs.
  • Register both URI schemes in the provider registry and cover both forms with provider/unit tests.
  • Update GCSM provider docs, provider reference docs, and the changelog with the new alias.

Validation

  • rustfmt --edition 2024 --check secretspec/src/provider/gcsm.rs secretspec/src/provider/tests.rs
  • cargo test -p secretspec --no-default-features --features gcsm gcsm
  • cargo check -p secretspec --no-default-features --features cli,gcsm
  • Live GCP smoke test against andromeda-436714: set/read/check succeeded via gcp://andromeda-436714, verified the created Secret Manager resource, then deleted it.

Notes

  • Provider::uri() still canonicalizes to gcsm://PROJECT_ID; gcp:// is accepted as an input alias.
  • Default-feature test runs were not used because this environment is missing the system pkg-config/D-Bus dependency required by keyring/libdbus-sys.
## Summary - Add `gcp://PROJECT_ID` as a short alias for the existing GCSM Secret Manager provider while preserving canonical `gcsm://PROJECT_ID` URIs. - Register both URI schemes in the provider registry and cover both forms with provider/unit tests. - Update GCSM provider docs, provider reference docs, and the changelog with the new alias. ## Validation - `rustfmt --edition 2024 --check secretspec/src/provider/gcsm.rs secretspec/src/provider/tests.rs` - `cargo test -p secretspec --no-default-features --features gcsm gcsm` - `cargo check -p secretspec --no-default-features --features cli,gcsm` - Live GCP smoke test against `andromeda-436714`: set/read/check succeeded via `gcp://andromeda-436714`, verified the created Secret Manager resource, then deleted it. ## Notes - `Provider::uri()` still canonicalizes to `gcsm://PROJECT_ID`; `gcp://` is accepted as an input alias. - Default-feature test runs were not used because this environment is missing the system `pkg-config`/D-Bus dependency required by keyring/libdbus-sys.
Add GCP provider URI alias
Some checks failed
Test / tests (ubuntu-latest) (pull_request) Has been cancelled
Claude Code Review / claude-review (pull_request) Has been cancelled
Release / plan (pull_request) Has been cancelled
Test / tests (macos-latest) (pull_request) Has been cancelled
Release / build-global-artifacts (pull_request) Has been cancelled
Release / host (pull_request) Has been cancelled
Release / announce (pull_request) Has been cancelled
7ec44a96af
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kennysheridan/secretspec-fork!1
No description provided.