Initial commit of Step Admin panel

This commit is contained in:
Chaos
2026-03-24 21:33:48 +08:00
commit 81045c5d57
45 changed files with 4327 additions and 0 deletions

17
.env.example Normal file
View File

@@ -0,0 +1,17 @@
APP_ADMIN_USERNAME=admin
APP_ADMIN_PASSWORD_HASH=
APP_SESSION_SECRET=change-me
# Path to the step CLI executable
STEP_BIN=/usr/bin/step
# The context/authority name used by step-ca
STEP_CONTEXT=internal-ca
# The URL of the step-ca server
STEP_CA_URL=https://ca.internal:8443
# Path to the root CA cert if required
STEP_ROOT_CA=/var/lib/step-ca/certs/root_ca.crt
# Directory to store generated certificates
STEP_OUTPUT_DIR=./data/certs
# Default valid hours for new certs (8760 = 1 year)
DEFAULT_CERT_HOURS=8760