Reputation: 581
I am trying to setup Identity Center authentication for my serverless Redshift workgroup.
Following the steps in https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-idp-connect.html, I created an application and added Users and Groups. My external IdP is EntraId.
I am able to connect to query editor v2 by authenticating with Identity Center, however I also want to connect from local machine with DBeaver. As described I am using the driver plugin com.amazon.redshift.plugin.IdpTokenAuthPlugin
. When setting token_type=EXT_JWT
I tried to create a token from my external identity provider which is connected in Identity Center. My external IdP is EntraId, so I tried to get the token via POST on https://login.microsoftonline.com/<tenant>/oauth2/v2.0/token
. However, setting the token in the plugin, I always get token is invalid or expired
.
How do I obtain a valid JWT token from EntraID?
Upvotes: 0
Views: 236
Reputation: 1050
What u want is not idp, the newer fresher better method is integrated native azure oauth. auto creates all your roles (not groups) based on your entra groups, then u can give specific roles scoped permissions.
Upvotes: 0