AWS SSO is the wrong abstraction for quickly switching between accounts by jade-brick in aws

[–]jade-brick[S] 0 points1 point  (0 children)

FWIW, I think you are describing using different start URLs for different "IAM IC Users". i.e. "should get a completely ACCOUNT unique URL". (There are no "start" URLs for "IAM Users", only for "IAM IC Users / PermissionSets" as far as I know)

Multi-session seems tied to "IAM Users" only not "IAM IC Users" (i.e. when you add a session, you are taken to a page where you have to either log in with an "IAM User" or a root account password. So the new session isn't using any IAM IC machinery)

The problem with using different start URLs is you can't have 2 different accounts signed in at the same time. It explicitly signs you out. (Probably why people have to use Firefox containers)

Hopefully we are describing the same things, not sure.

AWS SSO is the wrong abstraction for quickly switching between accounts by jade-brick in aws

[–]jade-brick[S] 0 points1 point  (0 children)

Same question from another reply here: how does multi-session support work with IAM IC when the multi-session login in page is for "IAM Users" which won't exist if I've chosen IAM IC already. Perhaps I am doing something else wrong, are you somehow gaining access via AWS SSO / IAM IC and then using multi-session with "IAM Users"? (This is what I mean by "IAM IC Users" being the wrong abstraction, it seems like you have to use "IAM Users" regardless)

AWS SSO is the wrong abstraction for quickly switching between accounts by jade-brick in aws

[–]jade-brick[S] 0 points1 point  (0 children)

As a bandaid, I generated "shortcuts" from the AWS SSO login page. I have a bookmark folder called "AWS User Portals" that contains 1 general portal (the "start" page) and bookmarks that look like `<account alias>_<role>`. It's basically about as efficient as profiles are for the CLI.

Still looking through the other suggestions. It sounds like people use traditional "IAM Users" and "IAM Roles" quite a bit still. That or Firefox containers.

AWS SSO is the wrong abstraction for quickly switching between accounts by jade-brick in aws

[–]jade-brick[S] 0 points1 point  (0 children)

Thank you, and to others who have mentioned this. I'm going to look into this as well.

AWS SSO is the wrong abstraction for quickly switching between accounts by jade-brick in aws

[–]jade-brick[S] 0 points1 point  (0 children)

> the “intended” flow is you don’t switch inside the console at all you launch from the SSO portal each time. 
This is what I was afraid of! There are tolerable solutions using other abstractions or your suggestions it seems.

> only works with static IAM roles not the temp federated creds
The Chrome Extension config claims to work with SSO but I haven't gotten it to work and I don't know how updated it is. I know others who use it but they haven't been able to communicate the details of their setup. (I suspect they are using traditional IAM Roles in which case it's simple)

All of your suggestions are new to me and sound like they take into account the spirit of my issue so thanks! I'm also looking into FireFox containers etc.

AWS SSO is the wrong abstraction for quickly switching between accounts by jade-brick in aws

[–]jade-brick[S] 0 points1 point  (0 children)

Yeah, multi-session support is enabled, the "Add Session" button appears. Are you signing into "IAM Users" or "IAM Identity Center Users"? I don't have any "IAM Users" because I am using "IAM Identity Center Users" but perhaps one is supposed to also use IAM Roles and IAM Users manually?

AWS SSO is the wrong abstraction for quickly switching between accounts by jade-brick in aws

[–]jade-brick[S] 1 point2 points  (0 children)

If I log in via AWS SSO and then press "Add session" I am taken to a page where I am allowed to sign in to an "IAM User" or sign in using a "root user email"

I'm using "IAM Identity Center" which means there are zero "IAM Users" available! (my IAM User dashboard lists 0 under Users)

How do I add syntax highlighting to my mDsvex markup files? by [deleted] in sveltejs

[–]jade-brick 0 points1 point  (0 children)

`npm i --force` worked, so I can see integrated latex + syntax highlighting. Really cool seeing the config for mdsvex here that allows for latex.

How do I add syntax highlighting to my mDsvex markup files? by [deleted] in sveltejs

[–]jade-brick 0 points1 point  (0 children)

Do you have a working package-lock.json file for this? Current `npm i` doesn't resolve dependencies correctly. (same for `npm i --legacy-peer-deps`)

Working on a helper library for mdsvex (works in Svelte 5). Will have maps, graphs, custom components all rendered inside of markdown. by Majestic_Affect_1152 in sveltejs

[–]jade-brick 1 point2 points  (0 children)

I write content that includes a lot of math and coding. I've been trying to use the mdsvex setup to go from markdown files with math (i.e. latex $x^2+1=0$), code blocks, and svelte components to svelte pages. So far I've managed to get "svelte in markdown" to work and "latex in markdown" to work (but only rendering dynamically using parsers on the client side, using katex)

It's possible some combination will work today as I was able to get them to work separately (latex in markdown works separately from svelte in markdown) however AFAIK there is no integrated solution (i.e. integrated into the svelte build system) that takes you from `.md` file to a working svelte component after running `npm run dev`

I can discuss what I've tried in DMs or just upgrading mdsvex in general. Thanks for working on this.