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

SSO using instead of iam user and script is error out because of the check #72

Closed
sandeepbhootna opened this issue May 15, 2021 · 2 comments
Assignees

Comments

@sandeepbhootna
Copy link

sandeepbhootna commented May 15, 2021

Hi Team,

Is there any way to deploy cp4d using SSO instead of iam user. This is SSO user has full admin access right.
Here it is erroring out in libs_aws/iam_helper.py at
targetArn = self.__iam_resource.CurrentUser().arn
targetUser = targetArn.split('/')[-1]
return targetUser

calling at user_name = iam_helper.get_user_name() in aws_permission_validation.py

Is that cp4d-deployment design for iam user only, please confirm?
The AWS cloud we are trying.

@mlu-ibm
Copy link

mlu-ibm commented Aug 24, 2022

it is possible to support AWS SSO, need to add 'token' in addition to api_key and secret_key in aws settings. The api_key, secret_key and token can be obtained from assume-role-with-saml AWS CLI STS command.

@shankarpentyala07
Copy link
Member

Closing this issue hoping this is no longer an issue

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

No branches or pull requests

4 participants