add auth support
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-04-17 13:19:08 +10:00
parent 9a561f3b07
commit ae3e2be89a
22 changed files with 2479 additions and 40 deletions
+15
View File
@@ -19,6 +19,21 @@ settings:
vcenter_insecure: false
# Legacy API endpoints are disabled by default.
enable_legacy_api: false
auth_enabled: false
auth_mode: "disabled" # disabled | optional | required
auth_jwt_signing_key: "" # base64-encoded key, required when auth_enabled=true
auth_token_lifespan_minutes: 120
auth_jwt_issuer: "vctp"
auth_jwt_audience: "vctp-api"
auth_clock_skew_seconds: 60
auth_group_role_mappings: {}
ldap_groups: []
ldap_bind_address: ""
ldap_base_dn: ""
ldap_trust_cert_file: ""
ldap_disable_validation: false
ldap_insecure: false
enable_pprof: false
# Deprecated (ignored): legacy event poller
vcenter_event_polling_seconds: 0
# Deprecated (ignored): legacy inventory poller