-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds option to use ambient creds to IC integration config #51013
base: master
Are you sure you want to change the base?
Conversation
Adds the option for the AWS Identity Center to draw its AWS client config (including credentials and roles to assume) from the Teleport processes' environment. This change only includes the modifications to the protobuf plugin settings. Actual functional changes are to follow.
// UseAmbientAwsCreds indicates that the integration should use the ambient | ||
// AWS credentials rather than | ||
bool use_ambient_aws_creds = 7; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use an existing method to distinguish credentials?
Can we consider reusing the approach introduced in the Entra ID integration, as defined in the following file:
Link to code
In this integration, credentials are distinguished by SOURCE_OIDC and SOURCE_SYSTEM_CREDENTIALS.
WDYT ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, makes sense the number of times we've had to shift from a boolean to an enum when other options turn up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good once https://github.com/gravitational/teleport/pull/51013/files#r1914712365 is addressed.
Adds the option for the AWS Identity Center to draw its AWS client
config (including credentials and roles to assume) from the Teleport
processes' environment.
This change only includes the modifications to the protobuf plugin
settings. Actual functional changes are to follow.