You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good day,
When I configure an ES domain to use Amazon Cognito authentication for Kibana, ES adds an app client to the user pool. I need to retrieve the app client id, to be able to add role mapping. More specifically, I need to change the authenticated role selection to type token instead of the default option. In CDK, I can do that like this:
new CfnIdentityPoolRoleAttachment(this, 'RoleAttachment', {
...
roleMappings: {
'app client id here': {
type: 'Token',
ambiguousRoleResolution: 'AuthenticatedRole'
}
},
...
});
I saw some recommendations in these 2 articles: #7119 aws-samples
unfortunately, I can't use them, because we creating a few clusters in CDK and we have some other app clients,
and probably I can't rely on the app client index in the user pool
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Good day,
When I configure an ES domain to use Amazon Cognito authentication for Kibana, ES adds an app client to the user pool. I need to retrieve the app client id, to be able to add role mapping. More specifically, I need to change the authenticated role selection to type token instead of the default option. In CDK, I can do that like this:
I saw some recommendations in these 2 articles:
#7119
aws-samples
unfortunately, I can't use them, because we creating a few clusters in CDK and we have some other app clients,
and probably I can't rely on the app client index in the user pool
Is there another way how I can get it ?
Beta Was this translation helpful? Give feedback.
All reactions