aws_okta_keyman icon indicating copy to clipboard operation
aws_okta_keyman copied to clipboard

Use friendly name instead of appid

Open wulftone opened this issue 5 years ago • 3 comments

It would be handy to use the "friendly name" instead of the app-id for logging in. Right now I have to do

aws_okta_keyman --appid xxxxxxxxxxxx/yyy

where it would be much nicer to be able to do

aws_okta_keyman --friendlyname staging-env

wulftone avatar Oct 06 '20 22:10 wulftone

Hi @wulftone. Have you tried using the tool without the appid sepecified? You'll get a list of AWS accounts to pick from that will have their friendly names (from Okta) displayed.

nathan-v avatar Oct 07 '20 02:10 nathan-v

Yes I saw that, I am looking for a noninteractive way to specify the choice, though. The appid works, but it is less good from a code maintenance perspective since it's not human-readable.

wulftone avatar Oct 07 '20 04:10 wulftone

Just wanted to mention I tried the --name option and it didn't work for this purpose. I was still prompted to pick an account. :(

wulftone avatar Feb 13 '21 00:02 wulftone