-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
kOps doesn't correctly pick up AWS Identity Center Credentials #15308
Comments
I have more information to add to this issue: AWS IAM Identity Center (formerly known as AWS SSO) has two ways of being configured. I have been using the old legacy way with Using the legacy config:
Using the recommended configuration:
Redacted legacy config in ~/.aws/config:
Redacted recommended config in ~/.aws/confg:
|
Further to this, it seems The case above suggests that the newer Porting from the old to the new looks like it could be a lot of work. |
This release of |
FYI, I find https://github.com/synfinatic/aws-sso-cli much better than the native AWS SDK for dealing with AWS IAM Identity Center. |
/kind bug
1. What
kops
version are you running? The commandkops version
, will displaythis information.
1.25.3
2. What Kubernetes version are you running?
kubectl version
will print theversion if a cluster is running or provide the Kubernetes version specified as
a
kops
flag.n/a
3. What cloud provider are you using?
aws
4. What commands did you run? What is the simplest way to reproduce this issue?
Trying to follow kOps Getting Started:
5. What happened after the commands executed?
6. What did you expect to happen?
The cluster would be created.
7. Please provide your cluster manifest. Execute
kops get --name my.example.com -o yaml
to display your cluster manifest.You may want to remove your cluster name and other sensitive information.
n/a
8. Please run the commands with most verbose logging by adding the
-v 10
flag.Paste the logs into this report, or in a gist and provide the gist link here.
9. Anything else do we need to know?
I'm trying to test kOps with AWS Identity Center
AWS
.config
:I've exported the profile name with
export AWS_PROFILE=AdministratorAccess-xxxxxxxxxxxx
and have confirmed that the AWS CLI works as intended.This issue in aws-sdk-go seems related as
.aws/sso/cache
is where my stored credentials are.The text was updated successfully, but these errors were encountered: