阿里云日志平台的 endpoint 在哪里查看?
发布于 5 年前 作者 Jeff-Tian 4047 次浏览 来自 问答

要接入 egg-sls,需要配置三个环境变量:

  // client: {
  //   endpoint: '',
  //   accessKeyId: '',
  //   accessKeySecret: '',
  // },

accessKeyId 和 accessKeySecret 可以在 https://usercenter.console.aliyun.com/ 看到,但是 endpoints 应该从哪里查呢?

1 回复

看到了,从这里查: https://help.aliyun.com/document_detail/29008.html?spm=5176.2020520112.108.2.591c34c0bB7NgJ。 如果区域在杭州,就是:<project_name>.cn-hangzhou.log.aliyuncs.com

回到顶部