senf key [command] [options]¶
- List keys
Will provide a list of all profiles and their associated SSH keys.
You may optionally filter the output with senf key list --profile <profile-name>
- Create new key
Will add a new key to the default user profile. Public key must be provided as raw content or may be read from stdin.
You may optionally specify the profile with senf key add <name> <public-key> --profile <profile-name>
Note: At least one profile must exist. For more information, see creating a user profile
- Deleting a key
Will delete the key from the default user profile. Deleting a key will immediately remove all access and any machine using the SSH key will encounter 401 Unauthorized.
You may optionally specify the user profile with senf key delete <key-id> --profile <profile-name>