Skip to content

Set secrets via the API? #1201

Answered by fkorotkov
beckermr asked this question in Q&A
Jul 26, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hey @beckermr,

There is a way to create a new secret via API. You can check how we do it in the frontend.

But I think you might be interested in updateSecuredOwnerVariable mutation which allows to update secrets by name. Note that you'll need admin API rights to perform this mutation.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@beckermr
Comment options

@beckermr
Comment options

Answer selected by beckermr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants