SoSleepy

Troy Bowman

Connect to AWS PowerShell

Import-Module AWSPowerShell.NetCore -Force
$AccessKey = Read-Host "Enter your AccessKey"
$SecretKey = Read-Host "Enter your SecretKey"
Set-AWSCredential -AccessKey $AccessKey -SecretKey $SecretKey -StoreAs 'myCredentials'
Initialize-AWSDefaultConfiguration -ProfileName 'myCredentials' -Region us-east-1

Leave a Reply

Your email address will not be published. Required fields are marked *