Comments (7)
@synfinatic I am closing this issue as it has been resolved in version v2.0.0-beta1. Thank you for your time and effort on this project :)
from aws-sso-cli.
So sounds like you have one or more processes trying to use IAM credentials and you're using $AWS_PROFILE
to use them?
Options are:
- Don't run processes when you're about to put the computer to sleep.
- Use some other option other than
$AWS_PROFILE
which invokesaws-sso process
- Wait until aws-sso v2 is releases which won't do this: #611
from aws-sso-cli.
@synfinatic I appreciate your prompt response. Although I don't have any specific processes running, I have set up aliases in my ~/.zshrc file which use the aws --profile
flag. Typically, I keep the terminal application open without closing it.
Also, I have kube configs with profile flag
aws --profile 01234567890:AdministratorAccess eks update-kubeconfig --region ap-southeast-1 --name kube-cluster --alias development
Is it possible that this is the issue?
Anyway, Yes I can wait till V2.
Thank you very much for your time on this project :)
from aws-sso-cli.
Well, I'm just guessing on the issue. All I can say is that something is calling aws-sso
and so it is triggering the auto-login feature. I can't tell you what exactly is doing that on your system for obvious reasons.
As for is aws --profile 01234567890:AdministratorAccess eks ...
causing it... well maybe? Would have to look at the contents of you ~/.aws/config
file.
from aws-sso-cli.
@synfinatic Really sorry for the late reply. Please find the content of ~/.aws/config
below.
![278869163-b376a1e7-8a61-4d3d-9c88-223caf7924f4](https://private-user-images.githubusercontent.com/111726818/278869362-8bde452c-5b9f-4d09-977f-540a392e4180.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTUxNzc0ODIsIm5iZiI6MTcxNTE3NzE4MiwicGF0aCI6Ii8xMTE3MjY4MTgvMjc4ODY5MzYyLThiZGU0NTJjLTViOWYtNGQwOS05NzdmLTU0MGEzOTJlNDE4MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUwOFQxNDA2MjJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zMzc3ZWIzMWNmZWM4YzVhMmYzNjFkYjkzODI2MjE0YmJlNjZjNTg3NWYwZjY5MWNjNDY0Y2QxZmIyZWIwNWIyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.FDn2VckrrGf6WoK2Nxdwyni6zCz21eN-j9ZLlf85EUE)
from aws-sso-cli.
So does 01234567890:AdministratorAcces
from your aws
command match one of the profiles in your ~/.aws/config
? If so, then yes, that would cause it since as you can see that $AWS_PROFILE
is calling aws-sso
to fetch the credentials. If they are expired, then it will try to refresh them which causes the browser to open a tab.
from aws-sso-cli.
This issue is stale because it has been open for 14 days with no response
from the reporter. It will be automatically closed in 14 days from this message.
from aws-sso-cli.
Related Issues (20)
- Use desktop notifications for login user code HOT 2
- `--threads X` flag doesn't do anything
- `aws-sso cache` should report a diff of changes
- Remove deprecated features
- Update asciinema to show login/logout workflow HOT 1
- `FATAL AWS Config failure error="<nil>"` during setup wizard on 2.0.0beta1
- Multiple SSO's confuse aws-sso when authenticating HOT 2
- command argument of aws-sso exec is not parsed as expected HOT 1
- config-profiles crashes on duplicates account/profile names with multiple SSOs HOT 1
- Support exec / eval for non-sso profiles HOT 2
- Pre-built releases link against glibc and thus do not work on musl-based Linuxes HOT 4
- aws-sso crashes if user has access to 0 accounts
- Wizard should prompt between open or print
- v2.0.0-beta1 panic HOT 5
- Use official Mozilla FireFox container tabs? HOT 3
- Make profile list interactive, to save typing HOT 2
- Documentation update showing how to use multiple accounts HOT 13
- Unable to use in GitHub Codespaces HOT 16
- aws-sso-profile returns error HOT 3
- AWS_SSO_SESSION_DURATION should use RFC3339 format HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-sso-cli.