Redshift interesting interview questions:
1) can we make the SSO user as super user in Redshift?
No,you cant make the SSO authenticated user as super user in Redshift Database.
alter user "user@ABC.COM" CREATEUSER; ==> not working
SQL Error [42601]: ERROR: Superusers cannot have disabled passwords
2)How to Lock the Redshift Database users?
we can disable the user based on the life cycle using super user.
alter user "user@ABC.COM" valid until '10-aug-2022';
This will make the user as disabled and wont be able to login to Redshift database.
No comments:
Post a Comment