stacklok / stacklok/toolhive

Scoped secret store: factory helpers for ScopedProvider and UserProvider

Open
#4,225 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

authentication enhancement go
Dominant language
Go
Stars
2.2k
Forks
300
Avg merge
1d 15h
Merged PRs (30d)
184

Description

Summary

Phase 2 of the scoped secret store implementation (#4192).

Add factory convenience helpers so callers construct wrappers consistently without needing to know the layering order.

Work

  • CreateUserSecretProvider(providerType) (secrets.Provider, error) in factory.go — wraps CreateSecretProvider result in UserProvider
  • CreateScopedSecretProvider(providerType, scope string) (secrets.Provider, error) in factory.go — wraps CreateSecretProvider result in ScopedProvider

Dependencies

Depends on Phase 1 (#4192).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in factory.go and review Phase 1 (#4192), especially CreateSecretProvider and the ScopedProvider/UserProvider wrappers. Done when both named helpers return the corresponding wrapper around the CreateSecretProvider result.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
security
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.