posit-dev / publisher

MIT License
6 stars 1 forks source link

Add GET configuration secrets endpoint #2311

Closed dotNomad closed 2 months ago

dotNomad commented 2 months ago

This PR adds a new API endpoint GET /api/configurations/$NAME/secrets that returns an array of Secrets in the named Configuration file.

Intent

Part of #2305

Type of Change

Directions for Reviewers

Test out the new endpoint testing in and out of multi-directory roots:

http :9001/api/configurations/fastapi-simple-QSPH/secrets http :9001/api/configurations/fastapi-simple-QSPH/secrets dir==fastapi-simple