Replies: 1 comment 1 reply
-
@edwio Single sign-on (SSO) with the AWS SDK for .NET provides guidance on how to load SSO credentials using .NET application only. As of now, there doesn't appear to a CmdLet that exposes this functionality. May be try re-writing the .NET logic in PowerShell script could help. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Due to security policy, connecting to AWS programmatically with PowerShell using a Access/Secret Key is not allowed at our organization anymore, and need to be replaced with AWS SSO. But I didn't find any clear documention about how to actually connect to AWS with PowerShell, using AWS SSO. On AWS page for PowerShell Cmdlets I can see a cmdlet named: Close-SSOSession, which is very straight forward about what is does. but which cmdlet is used to open the session in the first place? I would expect something like: Open-SSOSession. I also need to note, that we are not allowed to install the AWS CLI V2 on our Windows servers, As only the AWS PoweShel Module is approved to use by developers.
Beta Was this translation helpful? Give feedback.
All reactions