| CDIST-TYPE__SSH_AUTHORIZED_KEY(7) | cdist | CDIST-TYPE__SSH_AUTHORIZED_KEY(7) |
NAME
cdist-type__ssh_authorized_key - Manage a single ssh authorized key entry
DESCRIPTION
Manage a single authorized key entry in an authorized_key file. This type was created to be used by the __ssh_authorized_keys type.
REQUIRED PARAMETERS
OPTIONAL PARAMETERS
MESSAGES
- added to file (entry)
- The key entry (with optional comment) was added to file.
- removed from file (entry)
- The key entry (with optional comment) was removed from file.
EXAMPLES
__ssh_authorized_key some-id \
--file "/home/user/.ssh/autorized_keys" \
--key "$(cat ~/.ssh/id_rsa.pub)" __ssh_authorized_key some-id \
--file "/home/user/.ssh/autorized_keys" \
--key "$(cat ~/.ssh/id_rsa.pub)" \
--option 'command="/path/to/script"' \
--option 'environment="FOO=bar"' \
--comment 'one to rule them all'
SEE ALSO
AUTHORS
Steven Armstrong <steven-cdist--@--armstrong.cc>
COPYING
Copyright (C) 2014 Steven Armstrong. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
COPYRIGHT
ungleich GmbH 2021
| September 26, 2023 | 7.0.0 |