Skip to content

feat: add profile secret reference schema and env resolver#105

Merged
rmanibus merged 3 commits into
mainfrom
feat/rfc0011-secretref-foundation
Mar 15, 2026
Merged

feat: add profile secret reference schema and env resolver#105
rmanibus merged 3 commits into
mainfrom
feat/rfc0011-secretref-foundation

Conversation

@rmanibus
Copy link
Copy Markdown
Contributor

Summary

  • Implement RFC 0011 issue RFC 0011: Add profile secret reference schema and env:// resolver #87 foundation work for profile credential secret references.
  • Add *_secret fields to profile store schema with YAML round-trip coverage.
  • Add internal/secretref parser/resolver abstraction with env:// backend and typed errors.
  • Validate secret references during profile load/save with actionable field-level error messages.

Files

  • internal/engine/profiles.go
  • internal/engine/profiles_test.go
  • internal/secretref/secretref.go
  • internal/secretref/secretref_test.go

Testing

  • go test ./internal/secretref ./internal/engine
  • go test ./...

Tracking

@rmanibus rmanibus added the enhancement New feature or request label Mar 15, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 15, 2026

Codecov Report

❌ Patch coverage is 70.83333% with 49 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cmd/cloudstic/cmd_store.go 71.05% 17 Missing and 5 partials ⚠️
internal/secretref/secretref.go 72.13% 15 Missing and 2 partials ⚠️
internal/engine/profiles.go 65.51% 5 Missing and 5 partials ⚠️

📢 Thoughts on this report? Let us know!

@rmanibus rmanibus merged commit afd512c into main Mar 15, 2026
4 checks passed
@rmanibus rmanibus deleted the feat/rfc0011-secretref-foundation branch March 15, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RFC 0011: Add profile secret reference schema and env:// resolver

1 participant