aboutsummaryrefslogtreecommitdiff
path: root/REFERENCE.md
diff options
context:
space:
mode:
authormihaibuzgau <mihaibuzgau@users.noreply.github.com>2019-10-24 14:38:54 +0300
committerGitHub <noreply@github.com>2019-10-24 14:38:54 +0300
commitf78b81b829cb46dffe8fd93065d99d739f51cd46 (patch)
tree14325ebd9557118ca4d3215acbc57d050d54fbd6 /REFERENCE.md
parente3edf941df7b81d6f2abc32505247e0482c85dec (diff)
parentb2c153b6ff070d620d47c83265992f7226646ee8 (diff)
downloadpuppet-sshkeys_core-f78b81b829cb46dffe8fd93065d99d739f51cd46.tar.gz
puppet-sshkeys_core-f78b81b829cb46dffe8fd93065d99d739f51cd46.tar.bz2
Merge pull request #20 from GabrielNagy/MODULES-9578/create-file-as-root
(MODULES-9578) Create ssh_authorized_key in root path
Diffstat (limited to 'REFERENCE.md')
-rw-r--r--REFERENCE.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/REFERENCE.md b/REFERENCE.md
index 6f80106..1e6b933 100644
--- a/REFERENCE.md
+++ b/REFERENCE.md
@@ -85,7 +85,8 @@ will autorequire this user if it is being managed as a `user` resource.
The absolute filename in which to store the SSH key. This
property is optional and should be used only in cases where keys
are stored in a non-standard location, for instance when not in
-`~user/.ssh/authorized_keys`.
+`~user/.ssh/authorized_keys`. The parent directory must be present
+if the target is in a privileged path.
Default value: absent
@@ -119,6 +120,14 @@ Due to internal limitations, this must be unique across all user accounts;
if you want to specify one key for multiple users, you must use a different
comment for each instance.
+##### `drop_privileges`
+
+Whether to drop privileges when writing the key file. This is
+useful for creating files in paths not writable by the target user. Note
+the possible security implications of managing file ownership and
+permissions as a privileged user.
+
+Default value: `true`
### sshkey