AccountIdentityFederation
¶
Source code in docs_src/capo_redshift/types/account_identity_federation.py
mode
instance-attribute
¶
mode: NotRequired[IdentityFederationValue]
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 inFEDERATED. 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.