Support secrets
Open
Nobody has claimed this yet.
enhancement
type/epic
- Dominant language
- Go
- Stars
- 9.5k
- Forks
- 696
- Avg merge
- 7d 19h
- Merged PRs (30d)
- 2
Description
Allow passing secrets to a model at boot time.
One use case:
- A model takes as input an audio URL
- That URL exists on Freesound, but in order to download it you need an API key
- The Cog model keeps the API key in memory and authenticates with Freesound to download the audio from the user's URL
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating how Cog boots a model and passes configuration, then determine how the requested secrets should be supplied and retained for the Freesound use case. Done should demonstrate that a model can receive a secret at boot time and use it to authenticate when downloading the user's audio URL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend, machine-learning, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100