Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Add REST API endpoints for secrets #662

Merged
merged 10 commits into from
Oct 31, 2024
Merged

Add REST API endpoints for secrets #662

merged 10 commits into from
Oct 31, 2024

Conversation

eamansour
Copy link
Member

Why?

See galasa-dev/projectmanagement#1467

Changes

  • Added GET /secrets to get all secrets in the credentials store
  • Added GET /secrets/{secretName} to get an individual secret
  • Added POST /secrets to create a new secret
  • Added DELETE /secrets/{secretName} to delete an existing secret
  • Added PUT /secrets/{secretName} to update an existing secret, or create it if it does not exist

@techcobweb
Copy link
Contributor

techcobweb commented Oct 28, 2024

I think we said we needed a description for each credential ? I don't see that being stored away at all. I think that's necessary to explain what each secret is used for, where the source for it comes from...etc.

Can we return a last updated time in the secret also ? or is that a separate story ?
Seems that would be useful to know also. And who set it last perhaps

Much extra work to do or not ?

Copy link
Contributor

@techcobweb techcobweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

subject to comments being sorted out.

@eamansour eamansour force-pushed the iss1467-secrets-api branch from 36bf362 to 3447130 Compare October 29, 2024 15:00
@eamansour eamansour merged commit fcc9e58 into main Oct 31, 2024
6 checks passed
@eamansour eamansour deleted the iss1467-secrets-api branch October 31, 2024 10:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants