Add API for getting actions secrets #12601

Open
opened 2025-11-02 10:15:44 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @psychonaut on GitHub (Mar 5, 2024).

Feature Description

From api/swagger, putting and updating secrets is possible. But I don't see the possibility of getting secret value. Probably it's intentional.

Use case: I am using the helmfile+vals https://github.com/helmfile/vals application to deploy our Kubernetes environments. It can get secrets from external sources like Vault or various public cloud secrets managers. But it also can get secrets from Gitlab because they are exposed by API, for example https://github.com/helmfile/vals?tab=readme-ov-file#gitlab-secrets. I am using Gitea for my projects and it would be nice to have the possibility to keep these secrets in one place.

Screenshots

No response

Originally created by @psychonaut on GitHub (Mar 5, 2024). ### Feature Description From api/swagger, putting and updating secrets is possible. But I don't see the possibility of getting secret value. Probably it's intentional. Use case: I am using the helmfile+vals https://github.com/helmfile/vals application to deploy our Kubernetes environments. It can get secrets from external sources like Vault or various public cloud secrets managers. But it also can get secrets from Gitlab because they are exposed by API, for example https://github.com/helmfile/vals?tab=readme-ov-file#gitlab-secrets. I am using Gitea for my projects and it would be nice to have the possibility to keep these secrets in one place. ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 10:15:45 -06:00
Author
Owner

@oderwat commented on GitHub (Aug 27, 2024):

I ended up here, because I wanted to use secrets stored inside Gitea with our docker builders. Now I realize that they are not available through the API and have a big question mark over my head. Is there a reason why are they not available? I thought this would be a given.

@oderwat commented on GitHub (Aug 27, 2024): I ended up here, because I wanted to use secrets stored inside Gitea with our docker builders. Now I realize that they are not available through the API and have a big question mark over my head. Is there a reason why are they not available? I thought this would be a given.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12601