-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpki_variables.tf
55 lines (54 loc) · 1.75 KB
/
pki_variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
variable "pki_backend_maps" {
type = list(object({
path = string
default_lease_ttl_seconds = number
max_lease_ttl_seconds = number
seal_wrap = bool
local = bool
external_entropy_access = bool
pem_bundle = string
issuing_certificates = list(string)
crl_distribution_points = list(string)
ocsp_servers = list(string)
}))
default = []
description = "A list of PKI objects."
}
variable "pki_roles" {
type = list(object({
backend = string
role_name = string
allowed_domains = list(string)
allowed_uri_sans = list(string)
allow_localhost = bool
allow_bare_domains = bool
allow_subdomains = bool
allow_glob_domains = bool
allow_any_name = bool
enforce_hostnames = bool
allow_ip_sans = bool
server_flag = bool
client_flag = bool
code_signing_flag = bool
email_protection_flag = bool
key_type = string
key_bits = number
ext_key_usage = list(string)
key_usage = list(string)
use_csr_common_name = bool
use_csr_sans = bool
ou = list(string)
organization = list(string)
country = list(string)
locality = list(string)
province = list(string)
street_address = list(string)
postal_code = list(string)
generate_lease = bool
no_store = bool
require_cn = bool
policy_identifiers = list(string)
}))
default = []
description = "PKI role objects."
}