Skip to content
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

Used aws sso for profile #41

Closed
wbattou opened this issue Sep 1, 2021 · 2 comments
Closed

Used aws sso for profile #41

wbattou opened this issue Sep 1, 2021 · 2 comments

Comments

@wbattou
Copy link

wbattou commented Sep 1, 2021

Hello,

Is it possible to add the aws sso option to be able to used it on the CLI.

Thank you in advance,
Best regards,
Walid

@jckuester
Copy link
Owner

Hi @wal13400,

maybe you want to have a look at this issue #27, where someone is using awsls with SSO by creating a profile. Or do you need anything else?

[profile example]
sso_start_url = https://d-1234567890.awsapps.com/start#/
sso_region = eu-west-1
sso_account_id = 123456789012
sso_role_name = AdministratorAccess
region = eu-west-1
output = json
I run any query using the profile:
$ awsls --profiles example --regions eu-west-1 "*"

@wbattou
Copy link
Author

wbattou commented Sep 6, 2021

Hi @jckuester ,

Thank you very much, I thought it was not possible but did not tried like this.

Thank you !!!

@wbattou wbattou closed this as completed Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants