-
Notifications
You must be signed in to change notification settings - Fork 92
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
doesn't work with sso #43
Comments
hi, thank you for creating an issue. I will take a look at it in the next 2 weeks. |
hi, so hardeneks uses boto3 and kubernetes python api underneath. In your case boto3 should be able find the credentials using one of the methods below:
https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html. In your case would it be feasible to use one of the above methods? |
Hi Doruk ! I think a additional option to consider could be to add something like this:
|
Hi, I like the idea and it makes a lot of sense. I can review and can even implement this in couple weeks (after reinvent :) ) |
Once you have logged in to AWS Console, you can try to create AWS access key then use it for login using AWS CLI. |
We are using SSO in our organisation where hardenks can't find credentials and it fails
hardeneks --region us-east-1 --cluster XXX --context XXXX
You are operating at us-east-1
You context is XXXX
Your cluster name is XXXX
You are using /opt/homebrew/lib/python3.11/site-packages/hardeneks/config.yaml
as your config file
[bold][red]Unable to locate credentials
[bold][red]Unable to locate credentials
[bold][red]Unable to locate credentials
[bold][red]Unable to locate credentials
[bold][red]Unable to locate credentials
[bold][red]Unable to locate credentials
[bold][red]Unable to locate credentials
[bold][red]Unable to locate credentials
The text was updated successfully, but these errors were encountered: