mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 19:46:17 +01:00
e75aef331d
Signed-off-by: Magic_RB <magic_rb@redalder.org>
67 lines
1.4 KiB
HCL
67 lines
1.4 KiB
HCL
path "auth/cert/certs/vault.toothpick" {
|
|
capabilities = [ "update" ]
|
|
allowed_parameters = {
|
|
ttl = [ "3600" ]
|
|
policies = [ "vault.toothpick" ]
|
|
display_name = [ "vault.toothpick" ]
|
|
certificate = []
|
|
}
|
|
}
|
|
|
|
path "pki_dynra/issue/vault.toothpick" {
|
|
capabilities = [ "update" ]
|
|
allowed_parameters = {
|
|
common_name = [ "vault.toothpick.dyn.redalder.org" ]
|
|
ttl = [ "24h" ]
|
|
alt_names = [ "localhost" ]
|
|
ip_sans = [ "127.0.0.1" ]
|
|
}
|
|
}
|
|
|
|
path "pki_dynra/issue/consul.toothpick" {
|
|
capabilities = [ "update" ]
|
|
allowed_parameters = {
|
|
common_name = [ "consul.toothpick.dyn.redalder.org" ]
|
|
ttl = [ "24h" ]
|
|
alt_names = [ "localhost" ]
|
|
ip_sans = [ "127.0.0.1" ]
|
|
}
|
|
}
|
|
|
|
path "pki_dynta/cert/ca" {
|
|
capabilities = [ "read" ]
|
|
allowed_parameters = {}
|
|
}
|
|
|
|
path "kv/data/systems/toothpick/nomad" {
|
|
capabilities = [ "read" ]
|
|
allowed_parameters = {}
|
|
}
|
|
|
|
path "kv/data/systems/toothpick/consul" {
|
|
capabilities = [ "read" ]
|
|
allowed_parameters = {}
|
|
}
|
|
|
|
|
|
# Consul Managed PKI Mounts
|
|
path "/sys/mounts" {
|
|
capabilities = [ "read" ]
|
|
}
|
|
|
|
path "/sys/mounts/connect_root" {
|
|
capabilities = [ "create", "read", "update", "delete", "list" ]
|
|
}
|
|
|
|
path "/sys/mounts/connect_inter" {
|
|
capabilities = [ "create", "read", "update", "delete", "list" ]
|
|
}
|
|
|
|
path "/connect_root/*" {
|
|
capabilities = [ "create", "read", "update", "delete", "list" ]
|
|
}
|
|
|
|
path "/connect_inter/*" {
|
|
capabilities = [ "create", "read", "update", "delete", "list" ]
|
|
}
|