:create
:delete
Name | Type | Default | Description | Allowed Values |
---|---|---|---|---|
cookbook |
String | user_ssh |
Cookbook to source authorized_keys file template from | |
template |
String | authorized_keys.erb |
Template to use to generate the authorized_keys file | |
user |
Integer, String | None | Owner of the generated authorized_keys file | |
group |
Integer, String | None | Group of the generated authorized_keys file | |
mode |
String | '0600' |
Filemode of the generated authorized_keys file | |
home |
String | User home directory | User home directory path | |
keytype |
String | 'ssh-rsa' |
SSH key type | 'ecdsa-sha2-nistp256' 'ecdsa-sha2-nistp384' 'ecdsa-sha2-nistp384' 'ecdsa-sha2-nistp521' 'ssh-ed25519' 'ssh-dss' 'ssh-rsa' |
key |
String | None | SSH public key as a base64 string | |
host |
String | None | Host to assign SSH public key |