SkyWalking 权限认证

版本:7.0.0

描述

为了数据传输安全,确保网络连接是安全的。采用 Token 认证确保采集的应用数据是被信任的。
当前版本,仅支持简单的字符串 Token

配置

  1. 代理端配置文件agent.config设置

    Authentication active is based on backend setting, see application.yml for more details.

    agent.authentication = ${SW_AGENT_AUTHENTICATION:xxxx}

  2. 服务端application.yml里面,receiver-sharing-server下authentication

    receiver-sharing-server: default: authentication: ${SW_AUTHENTICATION:""}

验证

当agent端配置的Token和OapServer端配置的Token不匹配时,agent端将会打印如下日志:

org.apache.skywalking.apm.dependencies.io.grpc.StatusRuntimeException: PERMISSION_DENIED

评论

暂无评论