对dbserver和代理的arangodb API的身份验证失败

时间:2018-03-07 11:24:44

标签: api authentication arangodb

我使用arangodb(0.9.3)启动集群(当前版本3.2.1)。

在身份验证方面存在一些问题。

  1. query1使用基本身份验证发布到协调员(端口= 8529),回复200 curl -X GET \ http://xx.xx.xx.xx:8529/_db/KnowledgeGraph/_api/collection/CarInfo \ -H 'authorization: Basic cm9vdDptaHh6a2hs' \ -H 'cache-control: no-cache' \ -H 'postman-token: 897691e4-c4fc-5588-b217-0da53bc368ba'

  2. query2使用基本身份验证发布到代理商(port = 8531),回复401 curl -X GET \ http://xx.xx.xx.xx:8531/_api/agency/config \ -H 'authorization: Basic cm9vdDptaHh6a2hs' \ -H 'cache-control: no-cache' \ -H 'postman-token: 5160250f-4471-84aa-e377-bd0b99ba9926'

  3. 我想使用logger-follow来监控群集中的数据更改。 query3使用基本身份验证发送到 dbserver (端口= 8530),响应401.如果我的群集没有--auth.jwt-secret /my/path/to/jwt启动,则此类查询具有响应200 。 curl -X GET \ 'http://xx.xx.xx.xx:8530/_api/replication/logger-follow?from=0' \ -H 'authorization: Basic cm9vdDptaHh6a2hs' \ -H 'cache-control: no-cache' \ -H 'postman-token: 11b09c7f-85b1-4ed3-ca78-f28cf86c331b'

  4. 代理/ dbserver 协调员之间的身份验证是否存在差异? 或者 agency / dbserver 的身份验证是否有问题?

0 个答案:

没有答案