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 Tools: Copy-S3Object script fails in 2.x with Error "Bucket does not exist"
- Login to AWS from AWS Tools for Powershell
- Import-Module AWSPowerShell taking 30 seconds on EC2 instance - how to reduce?
- Error passing property from object to Stop-EC2Instance cmdlet
- How to retrieve IAM Entities limits and current usage via Powershell
- CodeArtifact: download asset using PowerShell
- Why does AWS Tools for Powershell ignore -ErrorAction SilentlyContinue?
- How to pass a string from python to AWS Run Powershell script commands section using boto3
- Granting permission to ALL objects in a bucket via AWS Powershell Tools?
- WriteS3-Object Specified value has invalid CRLF characters
- Grant Use-STSRole (sts:AssumeRole) permission to any CodeBuild project
- How to access list value in Get-EC2Instance's RunningInstance method?
- Setup a default initialization of AWS Powershell for all local users
- How to create a new folder in S3 using AWS PowerShell
- AWS Windows Powershell ECR Login
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 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