Closed dotNomad closed 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.
GET /api/configurations/$NAME/secrets
Part of #2305
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
http :9001/api/configurations/fastapi-simple-QSPH/secrets
http :9001/api/configurations/fastapi-simple-QSPH/secrets dir==fastapi-simple
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