gpt4 book ai didi

amazon-web-services - 抱歉!在Kibana和Amazon Cognito之间进行身份验证期间出了点问题

转载 作者:行者123 更新时间:2023-12-04 21:03:05 26 4
gpt4 key购买 nike

我正在将AWS ElasticSearch与Cognito结合使用,尝试登录时遇到以下错误

Sorry!
Something went wrong during authentication between Kibana and Amazon Cognito.
What happened?
User: x:x:x::xx:x is not authorized to perform: es:ESHttpGet


我的AWS ES群集访问策略如下所示

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::xxxxxxxxx:role/service-role/CognitoAccessForAmazonES"
},
"Action": "es:ESHttp*",
"Resource": "arn:aws:es:xxxxxxx:xxxxxxx:domain/elastic-blah/*",
"Condition": {
"IpAddress": {
"aws:SourceIp": "xx.xx.xx.xx/32"
}
}
}
]
}

最佳答案

this链接中描述的可能问题。确保经过身份验证的角色具有访问您的ES域的适当权限。

Amazon Cognito身份验证角色需要域(/ *)的es:ESHttp *权限才能访问和使用Kibana。检查是否已添加“允许身份验证的角色”中指定的访问策略。

关于amazon-web-services - 抱歉!在Kibana和Amazon Cognito之间进行身份验证期间出了点问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54085475/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com