skywalking权限验证功能
版本:7.0.0
描述
为了数据传输安全,确保网络连接是安全的。采用 Token 认证确保采集的应用数据是被信任的。
当前版本,仅支持简单的字符串 Token
配置
- 代理端配置文件
agent.config设置
# Authentication active is based on backend setting, see application.yml for more details.
agent.authentication = ${SW_AGENT_AUTHENTICATION:xxxx}
- 服务端
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
posted on 2020-11-23 14:06 luzhouxiaoshuai 阅读(4079) 评论(0) 收藏 举报
浙公网安备 33010602011771号