API add endpoint to list secrets #12788

Closed
opened 2025-11-02 10:21:03 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @uvulpos on GitHub (Apr 6, 2024).

Feature Description

I want to enhance the tea cli tool to be able to manage secrets. Therefore I need an EP to list all secrets (not expose them, just list the names). Currently it is just possible to put or delete secrets. Possibly this EP exists already but is not documented.

Screenshots

Screenshot 2024-04-06 at 23 44 11
Originally created by @uvulpos on GitHub (Apr 6, 2024). ### Feature Description I want to enhance the tea cli tool to be able to manage secrets. Therefore I need an EP to list all secrets (not expose them, just list the names). Currently it is just possible to put or delete secrets. Possibly this EP exists already but is not documented. ### Screenshots <img width="1439" alt="Screenshot 2024-04-06 at 23 44 11" src="https://github.com/go-gitea/gitea/assets/53957681/f1a26cae-1c34-490e-92fb-11d97565df3b">
GiteaMirror added the topic/gitea-actionstype/proposal labels 2025-11-02 10:21:03 -06:00
Author
Owner

@mattfysh commented on GitHub (Apr 11, 2024):

for now a workaround is to create a matching variable as a pointer to the secret

@mattfysh commented on GitHub (Apr 11, 2024): for now a workaround is to create a matching variable as a pointer to the secret
Author
Owner

@jtran commented on GitHub (May 23, 2024):

Does PR #30656 resolve this issue? It should be in Gitea 1.22.

@jtran commented on GitHub (May 23, 2024): Does PR #30656 resolve this issue? It should be in Gitea 1.22.
Author
Owner

@uvulpos commented on GitHub (May 23, 2024):

LGTM @jtran I think we are done here 🙂 👍🏻

@uvulpos commented on GitHub (May 23, 2024): LGTM @jtran I think we are done here 🙂 👍🏻
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12788