Allow unsetting all secrets at once
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start from the flyctl secrets unset command and compare its current argument handling with flyctl secrets list --json, which the workaround uses to obtain secret names. The feature is complete when invoking unset without names, or with --all if that option is chosen, removes all application secrets and the behavior is covered by appropriate CLI tests.
Written by the indexing model from the issue text.
Description
Hey 👋
This is a feature request.
I'd like to be able to unset all the secrets of an application at once.
# No secrets names unsets all secrets
flyctl secrets unset
# Alternatively, using a --all flag
flyctl secrets unset --all
Either implementation could optionally prompt the user for confirmation in interactive sessions.
I'd be willing to contribute the feature, but just wanted to check if that's something you'd be open to.
Workaround
Currently, I'm using the following workaround:
flyctl secrets unset $(flyctl secrets list --json | jq -r '[.[].Name] | join(" ")')
- Dominant language
- Go
- Stars
- 1.7k
- Forks
- 311
- Avg merge
- 12h 50m
- Merged PRs (30d)
- 78
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from superfly/flyctl
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Similar issues
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
blinklabs-io/bursa#904 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 comments ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100