feat:升级功能、密码卡框架、主密钥接口

This commit is contained in:
waner
2026-03-26 17:30:48 +08:00
parent c1e91e76b0
commit 11ed0b5edf
208 changed files with 16742 additions and 1156 deletions
+35
View File
@@ -6,8 +6,43 @@ server:
port: 8080
tms:
web:
cors:
enabled: true
allowed-origin-patterns:
- http://localhost:*
- http://127.0.0.1:*
allowed-methods:
- GET
- POST
- PUT
- DELETE
- OPTIONS
allowed-headers:
- Authorization
- Content-Type
- X-Requested-With
- X-Internal-Token
- X-App-Id
- X-Timestamp
- X-Nonce
- X-Signature
- X-Trace-Id
exposed-headers:
- X-Trace-Id
allow-credentials: true
max-age-seconds: 3600
upgrade:
staging-root-dir: /home/tmp/tms-upgrade-staging
log-dir: /home/tms/tmp/tms-upgrade-logs
signature-public-key-base64: change-me-base64-public-key-blob
security:
internal-token: change-me-internal-token
internal-auth:
enabled: true
debug-role-code: KEY_ADMIN
debug-auth-level: FULL
debug-session-token: DEBUG-BYPASS
openapi:
timestamp-skew-seconds: 300
clients: