feat: major restructuring in migration to terragrunt
- migrate from individual terraform files to config-driven terragrunt module structure - add vault_cluster module with config discovery system - replace individual .tf files with centralized config.hcl - restructure auth and secret backends as configurable modules - move auth roles and secret backends to yaml-based configuration - convert policies from .hcl to .yaml format, add rules/auth definition - add pre-commit hooks for yaml formatting and file cleanup - add terragrunt cache to gitignore - update makefile with terragrunt commands and format target
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# Allow administration of SSH CA roles
|
||||
---
|
||||
rules:
|
||||
- path: "sshca/roles/*"
|
||||
capabilities:
|
||||
- create
|
||||
- update
|
||||
- read
|
||||
- delete
|
||||
- list
|
||||
|
||||
auth:
|
||||
approle:
|
||||
- tf_vault
|
||||
@@ -0,0 +1,11 @@
|
||||
# Allow signing SSH host certificates
|
||||
---
|
||||
rules:
|
||||
- path: "sshca/sign/host"
|
||||
capabilities:
|
||||
- create
|
||||
- update
|
||||
|
||||
auth:
|
||||
approle:
|
||||
- sshsigner
|
||||
@@ -0,0 +1,11 @@
|
||||
# Allow signing SSH user certificates
|
||||
---
|
||||
rules:
|
||||
- path: "sshca/sign/user"
|
||||
capabilities:
|
||||
- create
|
||||
- update
|
||||
|
||||
auth:
|
||||
approle:
|
||||
- sshsigner
|
||||
@@ -1,3 +0,0 @@
|
||||
path "sshca/roles/*" {
|
||||
capabilities = ["create", "update", "read", "delete", "list"]
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
path "sshca/sign/host" {
|
||||
capabilities = ["create", "update"]
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
path "sshca/sign/user" {
|
||||
capabilities = ["create", "update"]
|
||||
}
|
||||
Reference in New Issue
Block a user