Comments (8)
I had this problem too. Until the previous version, I had setup a development profile in the plugin which got downloaded into my credentials file (along with the default one). Today, I downloaded a fresh credentials file and I can't see the development profile anymore, only default. To workaround this I have had to add 2 additional profiles, re-download the credentials file and update my config to point to the appropriate profile.
Is there any chance that the default profile IS the development profile?
from samltoawsstskeys.
@policarpo @aman-agrawal-coolblue Does this also happen when you set 'SessionDuration' to 'no' in the option panel?
If so, could any of you share the console output?
Go to Extensions, turn on 'Developer Mode', and then click 'Inspect views background/background.html' for this extension. This will give you a new window with the console open. Try to use the extension and please share whatever output is generated.
I tested at my end with two profiles. Both of them are added to the credentials file, along with the default at the top. I'm wondering if perhaps the additional role you are trying to assume is clashing with the requested SessionDuration from your SAML provider.
from samltoawsstskeys.
Just tested the above described scenario. I.e. where one of the extra roles has a max session duration which is lower than the requested session duration from the SAML provider. The extension will create all the profiles in the credentials file for the roles which where able to be assumed. Just not the profiles which gave an error 'requested DurationSeconds exceeds the MaxSessionDuration set for this role'.
from samltoawsstskeys.
@prolane sorry hadn't seen your reply. here is screenshot of the error i get
from samltoawsstskeys.
@policarpo Okay thanks. The error shows its indeed the duration of the session what is the issue. The Identity provider you login to (e.g. ADFS, Okta) is requesting a session duration longer than 1 hour. However, the IAM roles you are trying to assume do not allow this.
So either you change the configuration of your Identity provider or you change the settings of you IAM role.
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html#id_roles_use_view-role-max-session
Alternatively you can switch off this feature in the Chrome extension by going to the options panel and set the 'SessionDuration' setting to 'no' in order to opt out.
from samltoawsstskeys.
@prolane FYI, i did get that error when i had already changed the SessionDuration
to no
.
Not sure if that is intended... but I do see all my profiles then on the credentials file
from samltoawsstskeys.
@policarpo So if I understand you correctly, you have set SessionDuration to no, and it all works for you now (all profiles get valid keys in the credentials file), but you do see the error from your screenshot in the console logs? Did I get that right?
from samltoawsstskeys.
Nevermind. Apparently i changed it after. Just double checked it
from samltoawsstskeys.
Related Issues (20)
- Optionally to not pop up the save dialog
- Doesn't work for me HOT 9
- Filename ignored HOT 8
- Update firefox extension
- Selecting SessionDuration does not work HOT 1
- plugin didnot work if session duration is 1 hour HOT 2
- Access key ID is not recognized by AWS. HOT 1
- Blocked credentials file download on Chrome 83 and 84 HOT 1
- symlink Big Sur HOT 1
- Need to know what permissions the IAM role uses
- Support for China region HOT 1
- Violates Chrome Web store policy... HOT 4
- FireFox Support: Is current extension on Firefox extensions maintained by this repo/owner? HOT 1
- Credential file not downloading after v3.0 upgrade HOT 7
- Error getting non Default credentials after Manifest v3 change HOT 7
- Could not call AssumeRoleWithSAML: Error: HTTP error: 400 HOT 18
- Issue with sessionduration since latest v3.1. Extension is not working HOT 8
- Download option of credentials stopped working with new version. HOT 6
- Issue with the optional setting [OPTIONAL] Apply the SessionDuration requested by the SAML provider HOT 2
- Does not generate the file credentials. HOT 13
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 samltoawsstskeys.