feat(ssh_locker): implement ssh locker helper scripts and configuration for Duo API integration

This commit is contained in:
2025-05-22 22:55:27 +02:00
parent f6be1d5dbe
commit 071b4eea9e
13 changed files with 360 additions and 3 deletions
@@ -0,0 +1,55 @@
variable "duo_client_id" {
description = "Duo client ID"
type = string
sensitive = true
}
variable "duo_client_secret" {
description = "Duo client secret"
type = string
sensitive = true
}
variable "duo_api_host" {
description = "Duo API host"
type = string
}
variable "redirect_uri" {
description = "Redirect URI for Duo authentication"
type = string
}
variable "access_token" {
description = "Access token for Duo API"
type = string
sensitive = true
}
variable "socket_path" {
description = "Socket path for Duo API"
type = string
}
variable "user_id" {
description = "User for running the pod"
type = number
default = 1000
}
variable "group_id" {
description = "Group for running the pod"
type = number
default = 1000
}
variable "issuer" {
description = "The issuer for the certificate"
type = string
default = "internal-ca"
}
variable "tls_enabled" {
description = "Enable TLS for the SFTPGo server"
type = bool
default = true
}