Querying the Data Catalog on Redshift as a Federated User shows the IAM role as current_user

0

I've implemented the automatic mounting of the Glue catalog following this process: https://aws.amazon.com/blogs/big-data/simplify-external-object-access-in-amazon-redshift-using-automatic-mounting-of-the-aws-glue-data-catalog/

I'm able to access Redshift using a federated user from Azure AD but when I do a "select current_user" it shows the IAM role of the user instead of the user name.

Any thoughts on what could be the issue?

Thank you.

1개 답변
1

If this is what you see when you run the command eg IAMR:susan.jane@gmail.com. That is currently displaying the federated user name.You can also try this query on your redshift query editor SELECT role_name,role_owner,usename,role_id FROM svv_roles,pg_user WHERE role_owner = usename to view username and role name on Redshift. To learn more about managing users on Redshift Users-Amazon Redshift

AWS
답변함 6달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠