You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To support authentication to Redshift from 3rd party identity providers via IAM Identity Center, we need to add 2 authentication methods to dbt-redshift.
The first one is browser based, where we rely on the Redshift connector library to open up a browser session to get the proper creds: method: iam_idc_browser.
The second one is token based, where we expect the user to provide the required token, that we will relay to the Redshift connector library to establish the connection : method: iam_idc_token.
An AWS IAM Identity Center vended access token or an OpenID Connect (OIDC) JSON Web Token (JWT) provided by a web identity provider that's connected with AWS IAM Identity Center. Your application must generate this token by authenticating your application user with AWS IAM Identity Center or an identity provider connected with AWS IAM Identity Center.
The type of token used for IdpTokenAuthPlugin. Possible values are the following: ACCESS_TOKEN – Enter this if you use an AWS IAM Identity Center provided access token. EXT_JWT – Enter this if you use an OpenID Connect (OIDC) JSON Web Token (JWT) provided by a web-based identity provider that's connected with AWS IAM Identity Center.
We have shipped half of this -- browser based IDC authentication. Note the redshift team has yet to ship a caching mechanism so any user of this auth method can expect several authentications for a single dbt run of a single model, followed by 2 or 3 for every included model thereafter. We eagerly await Redshift shipping that caching function and our team will do what is needed (if anything) to integrate it.
To support authentication to Redshift from 3rd party identity providers via IAM Identity Center, we need to add 2 authentication methods to
dbt-redshift
.The first one is browser based, where we rely on the Redshift connector library to open up a browser session to get the proper creds:
method: iam_idc_browser
.The second one is token based, where we expect the user to provide the required token, that we will relay to the Redshift connector library to establish the connection :
method: iam_idc_token
.iam_idc_browser
: Browser based authenticationSee Authenticating with BrowserIdcAuthPlugin
Expected profile fields:
BrowserIdcAuthPlugin
Redshift connector call:
iam_idc_token
: Token based authenticationSee Authenticating with IdpTokenAuthPlugin
Expected profile fields:
IdpTokenAuthPlugin
Redshift connector call:
Prerequisites
Setting up AWS IAM Identity Center integration with Amazon Redshift
The text was updated successfully, but these errors were encountered: