Managing superusers using an Amazon Redshift provisioned cluster
A superuser allows you to get complete access to Amazon Redshift, independently of all permission checks; this is used for administrative tasks. For example, you can create other users, execute diagnostic queries on system tables, and take action as needed. Superuser access has to be granted sparingly; do not use this for day-to-day work.
masteruser is a special type of superuser that you set up when launching the cluster.
Getting ready
To complete this recipe, you will need the following setup:
- An IAM user with access to Amazon Redshift
- An Amazon Redshift provisioned cluster deployed in the eu-west-1 AWS region
- Amazon Redshift provisioned cluster master user credentials
- Access to any SQL interface, such as a SQL client or the Amazon Redshift query editor V2
How to do it…
This recipe will illustrate how to create a superuser, use it to list all the active SQL...