Get Cluster Credentials
GET {{aws_redshift_base_url}}/?ClusterIdentifier&DbUser&AutoCreate&DbGroups.DbGroup.N&DbName&DurationSeconds
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
ClusterIdentifier | null | The unique identifier of the cluster that contains the database for which your are requesting credentials. This parameter is case sensitive. | |
DbUser | null | The name of a database user. If a user name matching DbUser exists in the database, the temporary user credentials have the same permissions as the existing user. If DbUser doesn't exist in the database and Autocreate is True, a new user is created using the value for DbUser with PUBLIC permissions. If a database user matching the value for DbUser doesn't exist and Autocreate is False, then the command succeeds but the connection attempt will fail because the user doesn't exist in the database. | |
AutoCreate | null | Create a database user with the name specified for the user named in DbUser if one does not exist. | |
DbGroups.DbGroup.N | null | A list of the names of existing database groups that the user named in DbUser will join for the current session, in addition to any group memberships for an existing user. If not specified, a new user is added only to PUBLIC. | |
DbName | null | The name of a database that DbUser is authorized to log on to. If DbName is not specified, DbUser can log on to any existing database. | |
DurationSeconds | null | The number of seconds until the returned temporary password expires. |