View a markdown version of this page

AccountIdentityFederation - Amazon Redshift

AccountIdentityFederation

The account-level identity federation setting for Amazon Redshift in the current AWS Region, which controls how a TIP for IAM federated user's login is handled. This is the default for provisioned clusters and Redshift Serverless namespaces in the Region that don't override it.

Contents

Note

In the following list, the required parameters are described first.

Mode

The identity federation mode for the account, which determines how a TIP for IAM federated user's login is handled. This is the default mode for provisioned clusters and Redshift Serverless namespaces in the Region that don't override it.

Default: DEFAULT

Valid values are:

  • DEFAULT – Preserves existing IAM role-based access and records the IAM federated user's subject in STL_CONNECTION_LOG. If the IAM role has no database user, the federated user logs in as the database user with the same name, which is created if it doesn't exist. The login fails if that database user exists but is not enabled for federation. Does not associate IdP groups with database roles.

  • FEDERATED – Logs the IAM federated user in as the database user with the same name, or creates that user if none exists. Does not associate IdP groups with database roles.

  • FEDERATED_WITH_GROUPS – Everything in FEDERATED. In addition, associates each IdP group with the existing database role with the same name. Associates a group with a system-defined role only if the system roles federation setting allows it.

Type: String

Valid Values: DEFAULT | FEDERATED | FEDERATED_WITH_GROUPS

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: