A AuthMS API Wiki API Reference iam.tianv.com →

GET /bff/gateway/admin/env-vars

返回 .env/.env.local 中加载的所有环境变量,敏感变量值自动脱敏(仅限 super_admin 访问)

网关 - 运维 `bearerAuth` application/json

Responses

StatusDescriptionSchema
200环境变量列表dto.EnvVarsResult
400请求参数无效object
401未认证object
403权限不足object
500服务器内部错误object

Referenced Schemas

dto.EnvVarEntry

FieldTypeRequiredExampleConstraintsDescription
category string No
key string No
masked boolean No
source string No
value string No

dto.EnvVarsResult

FieldTypeRequiredExampleConstraintsDescription
total integer No
variables array of

See dto.EnvVarEntry

No