Skip to content

feat: add Windows credential secret backend#136

Merged
rmanibus merged 1 commit into
mainfrom
feat/wincred-secretref-backend
Mar 17, 2026
Merged

feat: add Windows credential secret backend#136
rmanibus merged 1 commit into
mainfrom
feat/wincred-secretref-backend

Conversation

@rmanibus
Copy link
Copy Markdown
Contributor

Closes #90

Summary

  • add a wincred://<target> secretref backend backed by Windows Credential Manager
  • map missing credential and unavailable logon-session cases to distinct secretref error kinds with actionable messages
  • add unit and Windows-specific integration coverage, including clean skips when the backend is unavailable

Testing

  • go test ./internal/secretref
  • go test ./cmd/cloudstic ./internal/secretref
  • GOOS=windows GOARCH=amd64 go test -c ./internal/secretref

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 17, 2026

Codecov Report

❌ Patch coverage is 79.31034% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
internal/secretref/wincred_backend.go 84.61% 3 Missing and 1 partial ⚠️
internal/secretref/wincred_backend_stub.go 0.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@rmanibus rmanibus force-pushed the feat/wincred-secretref-backend branch from bd31023 to 2aea0a0 Compare March 17, 2026 19:46
@rmanibus rmanibus merged commit be81c95 into main Mar 17, 2026
7 checks passed
@rmanibus rmanibus deleted the feat/wincred-secretref-backend branch March 17, 2026 20:21
@rmanibus rmanibus added the enhancement New feature or request label Mar 17, 2026
@rmanibus rmanibus added this to the v1.13.0 milestone Mar 17, 2026
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: Implement Windows credential backend for profile secrets

1 participant