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

refactor(ssh-keys): Update ssh-keys register, show and delete to egos… #639

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mlec1
Copy link

@mlec1 mlec1 commented Sep 20, 2024

Update ssh-keys register, show and delete to egoscale v3

Checklist

(For exoscale contributors)

  • Changelog updated (under Unreleased block)
  • Testing

Testing

root@65df3c390733:/cli# go run . compute ssh-key register test ./id_test.pub 
 ✔ Registering SSH key "test"... 0s
┼─────────────┼─────────────────────────────────────────────────┼
│   SSH KEY   │                                                 │
┼─────────────┼─────────────────────────────────────────────────┼
│ Name        │ test                                            │
│ Fingerprint │ 6c:e0:04:f9:0b:fd:38:d1:c2:96:14:f9:ed:99:ff:01 │
┼─────────────┼─────────────────────────────────────────────────┼
root@65df3c390733:/cli# go run . compute ssh-key show test
┼─────────────┼─────────────────────────────────────────────────┼
│   SSH KEY   │                                                 │
┼─────────────┼─────────────────────────────────────────────────┼
│ Name        │ test                                            │
│ Fingerprint │ 6c:e0:04:f9:0b:fd:38:d1:c2:96:14:f9:ed:99:ff:01 │
┼─────────────┼─────────────────────────────────────────────────┼
root@65df3c390733:/cli# go run . compute ssh-key delete test
[+] Are you sure you want to delete SSH key test? [yN]: y
 ✔ Deleting SSH key test... 0s

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 this pull request may close these issues.

1 participant