Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is not being able to remove the current API key a desired behaviour? #403

Closed
fernando-villalba opened this issue Apr 26, 2024 · 1 comment

Comments

@fernando-villalba
Copy link
Contributor

Issue

You cannot delete the current API key

% civo apikey remove civo-admin
Warning: The API key "civo-admin" is the current one, please change it before removing it

But why? What if it's the only api key and you want to delete it for any reason? I know this can be done by deleting ~/.civo.json but the user has no way of knowing this, and I can totally see scenarios where you would want to delete all api keys.

Acceptance Criteria

  • Allow the user to delete current API key, or at least provide a flag that lets you do it.
@uzaxirr
Copy link
Member

uzaxirr commented May 17, 2024

Resolved via: #421

@uzaxirr uzaxirr closed this as completed May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants