Users
UserConfig — authentication accounts
This message is used in ServerConfig.users (UserConfig[]). It is also used in the users field of inbounds.
Schema definition: protos/proto/vx/user/user.proto.
UserConfig
idstring
User identifier (used for routing usernames)
secretstring
Password of arbitrary length
Example
{
"users": [
{
"id": "alice",
"userLevel": 0,
"secret": "00000000-0000-0000-0000-000000000001"
}
],
"inbounds": [
{
"tag": "vless",
"ports": [443],
"users": [
{
"id": "alice",
"userLevel": 0,
"secret": "00000000-0000-0000-0000-000000000001"
}
],
"protocol": {
"@type": "type.googleapis.com/vx.proxy.vless.VlessServerConfig"
}
}
]
}Inbound-level users are added to all proxy handlers on that inbound. Global users are added to all proxy handlers on every inbound.