-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
48 lines (39 loc) · 2.04 KB
/
.env.example
File metadata and controls
48 lines (39 loc) · 2.04 KB
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
# Secutils.dev environment configuration
# Copy this file to .env and fill in the values.
# Log level for the Secutils API.
RUST_LOG=info
# Database connection string (used by sqlx for migrations and compile-time checks).
DATABASE_URL=postgres://postgres@localhost/secutils
# Use cached query metadata from .sqlx/ instead of connecting to the database at
# compile time. This lets you compile without running migrations first. The app
# still applies migrations automatically on startup.
# Set to `false` if you want live query validation during development (requires
# running `sqlx migrate run` first).
SQLX_OFFLINE=true
# Path to the TOML configuration file.
SECUTILS_CONFIG=${PWD}/secutils.toml
# Secret key used to sign and verify JSON Web Tokens for API access.
# Generate with: openssl rand -hex 16
SECUTILS_SECURITY__JWT_SECRET=<your-jwt-secret>
# SMTP configuration (optional, for sending emails).
# SECUTILS_SMTP__ADDRESS=smtp.example.com
# SECUTILS_SMTP__USERNAME=user@example.com
# SECUTILS_SMTP__PASSWORD=secret
# SECUTILS_SMTP__CATCH_ALL__RECIPIENT=dev@example.com
# Enable verbose HTTP client logging (optional).
# SECUTILS_HTTP__CLIENT__VERBOSE=true
# JWT tokens for Kratos webhook authentication.
# Generate with: cargo run -p secutils-jwt-tools -- generate --secret <your-jwt-secret> --sub @kratos --exp 1year
SELFSERVICE_FLOWS_REGISTRATION_AFTER_PASSWORD_HOOKS_0_CONFIG_AUTH_CONFIG_VALUE="Bearer <generated-kratos-jwt>"
SELFSERVICE_FLOWS_REGISTRATION_AFTER_WEBAUTHN_HOOKS_0_CONFIG_AUTH_CONFIG_VALUE="Bearer <generated-kratos-jwt>"
COURIER_HTTP_REQUEST_CONFIG_AUTH_CONFIG_VALUE="Bearer <generated-kratos-jwt>"
# HTML tool app deployment (dev/tools/)
# SECUTILS_HTML_APP_API_DOMAIN=https://secutils.dev
# SECUTILS_HTML_APP_API_KEY=su_ak_...
# SECUTILS_HTML_APP_RESPONDER_ID_INDEX=
# SECUTILS_HTML_APP_RESPONDER_ID_CALC=
# SECUTILS_HTML_APP_RESPONDER_ID_JWT_DEBUGGER=
# SECUTILS_HTML_APP_RESPONDER_ID_SAML_DECODER=
# SECUTILS_HTML_APP_RESPONDER_ID_MOCK_SAML_IDP=
# SECUTILS_HTML_APP_RESPONDER_ID_CERTIFICATE_DECODER=
# SECUTILS_HTML_APP_RESPONDER_ID_MARKDOWN_TO_HTML=