Due to security policy, connecting to AWS programmatically with PowerShell using an Access/Secret Key is not allowed at our organization anymore, and needs to be replaced with AWS SSO. But I didn't find any clear documentation on how to actually connect to AWS with PowerShell, using AWS SSO. On AWS official documentation 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 mention, that we are not allowed to install AWS CLI V2 on our Windows servers, as only the AWS PowerShell Module is approved to use by developers.
1
There are 1 best solutions below
Related Questions in AWS-POWERSHELL
- AWS LambdaPSCore creating package doesnt work
- Finding the most secure way to change IAM user passwords with AWSPowerShell
- AWS Powershell "Write-S3Object" fails, but "aws s3 cp" succeeds w/ Expires header
- How can i use the AWS commands for Powershell in Jenkins?
- Need to pass AWS secret (environment variable) from powershell to Native Javascript
- Why does AWS Tools for Powershell ignore -ErrorAction SilentlyContinue?
- CodeArtifact: download asset using PowerShell
- I have a json file and using that i need to logon to AWS , set my role, and then retrieve the password from the secret stored within AWS
- Creating id based backup for windows registry files and restore it using powershell
- How install and run latest Apache and PHP Server over EC2 user data PowerShell script for window instance
- Powershell Parameter set cannot be resolved, AWS SSM Automation Document Builder Bug?
- AWS SM Automation aws:executeScript PowerShell import module not loading in script but works on the EC2 instance locally
- How to send SES RawEmail with Attachment through PowerShell
- PowerShell error: Missing '=' operator after key in hash literal. The hash literal was incomplete
- Unable to authenticate when invoking AWS cmdlets with SSO profile in visual studio code
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You cannot login via SSO with the AWS Tools for PowerShell, but the team is actively working on a solution. Keep an eye open here https://aws.amazon.com/blogs