-
Notifications
You must be signed in to change notification settings - Fork 1
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
[--save/--headless] powershell support #44
Conversation
You ask boostchicken delivers. I am happy to implement it, but you could probably do it quicker, I just ask that you attribute it in whatever way makes sense for you. |
@boostchicken thank you for the tip on #40 ! let me figure out the right way to wedge I'll probably clean this up and make I can cut a release for |
Cool thanks! |
Btw I think you just have to execute like you do any other command as a massive string. This because it is going scoped only to that process you spawn. It is possible to put it in Machine or Global scope but like I said that would Pwsh in a way I would rather not. |
@boostchicken I finally got it, I was looking for iex (saml-to assume the-role-name --headless)
aws sts get-caller-identity Is working like a charm in Powershell! Thank you for your guidance it helped me find what I was looking for. I'll be cutting a release of this now and awaiting your feedback! |
IEX is generally cnniusdered bad practice. You can very easily see how I could do some RCEs All I need you to do is get on my Wifi and I am just going to return the code I wanna run instead of AWSs response. Usually, I wouldn't really care so much, however I would hate for you or saml.to to be in a headline or one of customers get attacked internally by a bad actor |
https://docs.aws.amazon.com/cli/latest/userguide/sso-using-profile.html I think wyou should consider adoptin the CLI directly using Identity Center |
@boostchicken using However, it is possible to leverage AWS Profiles, you can do: Create a named profile:
☝️ in this scenario you can see your Alternatives to this are:
let me know if this resolves your concerns! cheers, |
sure does! Also do you plan on making a container? If not I will. I use containers for all my binaries (fzf, aws, zoxide, kdig) Makes it very easy to update and config. |
No description provided.