k8s部署nacos2.2.3如何配置鉴权?

k8s部署nacos2.2.3如何配置鉴权?

展开
收起
夹心789 2024-06-05 08:47:23 254 分享 版权
1 条回答
写回答
取消 提交回答
  • 后台启动命令:sh startup.sh -m standalone

    开启鉴权之前,application.properties中的配置信息为:

    If turn on auth system:
    nacos.core.auth.enabled=false
    开启鉴权之后,application.properties中的配置信息为:

    If turn on auth system:
    nacos.core.auth.system.type=nacos
    nacos.core.auth.enabled=true
    image.png

    参考文档https://blog.csdn.net/wasdcsdn2017/article/details/131459666

    2024-06-07 08:50:45
    赞同 展开评论

为微服务建设降本增效,为微服务落地保驾护航。

还有其他疑问?
咨询AI助理