You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: roles/vault_pki/README.md
+16-9Lines changed: 16 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,27 +13,34 @@ Role variables
13
13
--------------
14
14
15
15
* Vault Create Root
16
-
*`vault_pki_root_create`: Wether to create a RootCA certificate or not (default: `true`)
16
+
*`vault_pki_root_create`: whether to create a RootCA certificate or not (default: `true`)
17
17
* Mandatory if `vault_pki_root_create` equals `true`
18
18
*`vault_pki_root_ca_name`: The name of the RootCA to create (string)
19
19
*`vault_pki_root_ca_common_name`: The common name of the RootCA (default: vault_pki_root_ca_name)
20
-
*`vault_pki_write_root_ca_to_file`: Wether to write the root CA certificate to a file for importing into a systems trust store (default: `false`)
21
-
20
+
*`vault_pki_write_root_ca_to_file`: whether to write the root CA certificate to a file for importing into a systems trust store (default: `false`)
21
+
*`vault_pki_root_default_lease_ttl`: The default time in hours before expiry of the root CA certificate (default: "43830h")
22
+
*`vault_pki_root_max_lease_ttl`: The max time in hours that is allowed before expiry of the root CA certificate (default: "43830h")
23
+
*`vault_pki_root_ttl`: The time in hours before the root CA certificate expires (default: "43830h")
24
+
*`vault_pki_root_key_bits`: The key bits for the root RSA private key (default: "4096")
25
+
---
22
26
* Vault Create Intermediate
23
-
*`vault_pki_intermediate_create`: Wether to create an intermediate CA or not (default: `true`)
24
-
*`vault_pki_intermediate_import`: Wether to import a pre-existing intermediate pem bundle (default: `false`)
25
-
*`vault_pki_intermediate_export`: Wether to export the generated intermediate pem bundle (default: `false`)
26
-
27
+
*`vault_pki_intermediate_create`: whether to create an intermediate CA or not (default: `true`)
28
+
*`vault_pki_intermediate_import`: whether to import a pre-existing intermediate pem bundle (default: `false`)
29
+
*`vault_pki_intermediate_export`: whether to export the generated intermediate pem bundle (default: `false`)
27
30
* Mandatory if `vault_pki_intermediate_create` equals `true`
28
31
* `vault_pki_intermediate_ca_name`: The name of the Intermediate CA to create
29
32
* `vault_pki_intermediate_ca_common_name`: The common name of the RootCA (default: `vault_pki_intermediate_ca_name`)
30
33
* Mandatory if `vault_pki_intermediate_import`: equals `true`
31
34
*`vault_pki_intermediate_ca_bundle`: Concatenated certificate, intermediate and private key
35
+
*`vault_pki_intermediate_default_lease_ttl`: The default time in hours before expiry of the intermediate CA certificate (default: "43830h")
36
+
*`vault_pki_intermediate_max_lease_ttl`: The max time in hours that is allowed before expiry of the intermediate CA certificate (default: "43830h")
37
+
*`vault_pki_intermediate_ttl`: The time in hours before the intermediate CA certificate expires (default: "43830h")
38
+
*`vault_pki_intermediate_key_bits`: The key bits for the intermediate RSA private key (default: "4096")
32
39
*`vault_pki_intermediate_roles`: Certificate Roles to create for the intermediate CA. List of Dicts containing `{name: <role_name>, config: { <pki_option>: <value> ...}`
33
-
40
+
---
34
41
* Certificate Output
35
42
*`vault_pki_generate_certificates`: whether to generate leaf certificates or not (default: `false`)
36
43
*`vault_pki_write_certificates_host:` The host on which certificates will be written to. (default: "localhost")
37
44
*`vault_pki_certificates_directory`: directory to output certificate files to.
38
-
*`vault_pki_write_certificates`: wether to write generated certificates to a file or not (default: `false`)
45
+
*`vault_pki_write_certificates`: whether to write generated certificates to a file or not (default: `false`)
39
46
*`vault_pki_certificate_subject`: The certificate subject parameters e.g. `ttl``ip_sans`. List of Dicts containing `{role: <name of Certificate role>, common_name: <common name of certificate>, extra_params: {ttl: <value>, alt_sans: <value>, ip_sans: <value> }}`
0 commit comments