Skip to content
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

Add support for AWS SSO #246

Merged
merged 2 commits into from Nov 1, 2020
Merged

Add support for AWS SSO #246

merged 2 commits into from Nov 1, 2020

Conversation

ricoberger
Copy link
Member

This commit adds support for AWS SSO, were the user can add EKS clusters by using the AWS SSO flow. For that the user have to provide a start URL for the SSO flow, his account id, a role name and the AWS region. When the user has provided all of these details a new client will be created which the user has to verify. As last step he can use the new client to import all of his EKS clusters.

Closes #239.

This commit adds support for AWS SSO, were the user can add EKS clusters
by using the AWS SSO flow. For that the user have to provide a start URL
for the SSO flow, his account id, a role name and the AWS region. When
the user has provided all of these details a new client will be created
which the user has to verify. As last step he can use the new client to
import all of his EKS clusters.

Currently the returned access token is valid for around 8 hours, after
that time the user have to redo the complete authentication flow. For
that we should add a reauthentication method to the edit cluster page,
like it was done for Google and OIDC.
It is now possible to edit the AWS SSO credentials for a cluster and to
re-authenticate when the access token is expired. We are also supporting
AWS SSO when the SSO config and the Kubernetes cluster are using
different regions, for this the user must now provide the SSO region and
the cluster region during the setup.
@ricoberger ricoberger merged commit 70abf57 into master Nov 1, 2020
@ricoberger ricoberger deleted the aws-sso branch November 1, 2020 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AWS SSO authentication
1 participant