File tree 1 file changed +11
-4
lines changed
1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ Deploys SSH keys
16
16
17
17
### Users
18
18
19
- | Key | Type | Default | Description |
20
- | :------------------ | :---------- | :--------- | :-------------------------------------------------------------------- |
21
- | ` authorized_keys ` | Array | ` [] ` | Array of strings representing authorized SSH public keys |
22
- | ` authorized_users ` | Array | ` [] ` | Array of strings representing authorized users (found in the databag) |
19
+ | Key | Type | Default | Description |
20
+ | :------------------ | :---------- | :--------- | :-------------------------------------------------------------------------------- |
21
+ | ` authorized_keys ` | Array | ` [] ` | Array of strings representing authorized SSH public keys |
22
+ | ` authorized_users ` | Array | ` [] ` | Array of strings representing authorized users (found in the [ databag] ( #databag ) ) |
23
23
24
24
## LWRP
25
25
@@ -53,6 +53,13 @@ A keypais is described as follow:
53
53
54
54
## Usage
55
55
56
+ You can use this cookbook in tow ways:
57
+
58
+ * using the [ ` default ` ] ( #ssh-keys-default ) recipe and providing (attributes)[ #attributes]
59
+ * using the [ LWRP] ( #lwrp )
60
+
61
+ Both methods require you to define a [ databag] ( #databag ) to define SSH key pairs.
62
+
56
63
### ssh-keys::default
57
64
58
65
Include ` ssh-keys ` in your node's ` run_list ` :
You can’t perform that action at this time.
0 commit comments