{ "opencollection": "1.0.0", "info": { "name": "Redshift Data API Service #Action=AcceptReservedNodeExchange #Action=AcceptReservedNodeExchange #Action=GetClusterCredentials API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "#Action=GetClusterCredentials", "type": "folder" }, "items": [ { "info": { "name": "Amazon Redshift - G E T_ Get Cluster Credentials", "type": "http" }, "http": { "method": "GET", "url": "http://redshift-data.{region}.amazonaws.com/#Action=GetClusterCredentials", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "DbUser", "value": "", "type": "query", "description": "

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.

For more information, see CREATE USER in the Amazon Redshift Database Developer Guide.

Constraints:

" }, { "name": "DbName", "value": "", "type": "query", "description": "

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.

Constraints:

" }, { "name": "ClusterIdentifier", "value": "", "type": "query", "description": "The unique identifier of the cluster that contains the database for which you are requesting credentials. This parameter is case sensitive." }, { "name": "DurationSeconds", "value": "", "type": "query", "description": "

The number of seconds until the returned temporary password expires.

Constraint: minimum 900, maximum 3600.

Default: 900

" }, { "name": "AutoCreate", "value": "", "type": "query", "description": "Create a database user with the name specified for the user named in DbUser if one does not exist." }, { "name": "DbGroups", "value": "", "type": "query", "description": "

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.

Database group name constraints

" }, { "name": "Action", "value": "", "type": "query" }, { "name": "Version", "value": "", "type": "query" } ] }, "docs": "

Returns a database user name and temporary password with temporary authorization to log on to an Amazon Redshift database. The action returns the database user name prefixed with IAM: if AutoCreate is False or IAMA: if AutoCreate is True. You can optionally specify one or more database user groups that the user will join at log on. By default, the temporary credentials expire in 900 seconds. You can optionally speci" }, { "info": { "name": "Amazon Redshift - P O S T_ Get Cluster Credentials", "type": "http" }, "http": { "method": "POST", "url": "http://redshift-data.{region}.amazonaws.com/#Action=GetClusterCredentials", "headers": [ { "name": "X-Amz-Content-Sha256", "value": "" }, { "name": "X-Amz-Date", "value": "" }, { "name": "X-Amz-Algorithm", "value": "" }, { "name": "X-Amz-Credential", "value": "" }, { "name": "X-Amz-Security-Token", "value": "" }, { "name": "X-Amz-Signature", "value": "" }, { "name": "X-Amz-SignedHeaders", "value": "" } ], "params": [ { "name": "Action", "value": "", "type": "query" }, { "name": "Version", "value": "", "type": "query" } ] }, "docs": "

Returns a database user name and temporary password with temporary authorization to log on to an Amazon Redshift database. The action returns the database user name prefixed with IAM: if AutoCreate is False or IAMA: if AutoCreate is True. You can optionally specify one or more database user groups that the user will join at log on. By default, the temporary credentials expire in 900 seconds. You can optionally speci" } ] } ], "bundled": true }