简体   繁体   English

Spring 云配置库奇怪请求

[英]Spring Cloud Config Vault Strange Request

We are using Spring Cloud 2.2.6.RELEASE using vault for storage for our microservices and our Vault team has complained about number of request, they provided Splunk log access and I see many request with the following:我们正在使用 Spring Cloud 2.2.6.RELEASE 使用 vault 存储我们的微服务,我们的 Vault 团队抱怨请求数量,他们提供了 Splunk 日志访问,我看到许多请求如下:

{ [-]
auth: { [+]
policies: [ [+]
]
token_issue_time: 2020-10-16T16:28:12-05:00
token_policies: [ [+]
]
token_ttl: 34164000
token_type: service
}
request: { [-]
client_token: hmac-sha256:48482518080211c5392d4a28f00838a8e83c404a7b5587eeb19e7d0dc73f8206
client_token_accessor: hmac-sha256:c33c41206e025bfd02eb4b4293b9cdec29d4cfda3a5118f4dea28754888ce502
id: 96676538-fe03-1eaa-d25d-f0bd942072fc
mount_type: kv
namespace: { [+]
}
operation: read
path: secret/data/app
remote_address: 156.36.248.6
}
time: 2021-04-23T17:59:55.815091744Z
type: request
}

I do see the normal request for secret/data/application, etc, but why would there be a request for secret/data/app ?我确实看到了对 secret/data/application 等的正常请求,但为什么会有对secret/data/app的请求?

Any ideas on how or where this could be made?关于如何或在哪里可以做到这一点的任何想法?

Spring Cloud Vault adds the data/ context between the mount path and the actual context path. Spring Cloud Vault 在挂载路径和实际上下文路径之间添加数据/上下文。

https://cloud.spring.io/spring-cloud-vault/multi/multi_vault.config.backends.html https://cloud.spring.io/spring-cloud-vault/multi/multi_vault.config.backends.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM