Posted On July 5, 2019

Install AWS Command Line Interface on Windoze

kimconnect 0 comments
blog.KimConnect.com >> Codes , Virtualization >> Install AWS Command Line Interface on Windoze
Obtain AWS Access Key:

Log into AWS > click on your User Name > My Security Credentials > acknowledge any warnings > click on Access keys (access key ID and secret access key) > download key

Install AWS-CLI:

Assuming that Chocolatey is installed on the system:

choco install awscli -y
Configure AWS-CLI
& "C:\Program Files\Amazon\AWSCLI\bin\aws.exe" configure
Example output:
PS C:\Windows\system32> & "C:\Program Files\Amazon\AWSCLI\bin\aws.exe" configure
AWS Access Key ID [None]: AKIAHONDA_TOYOTA_BEST_BRANDS
AWS Secret Access Key [None]: VCLE_WASSUP_BRO_WERE_GOING_HI_TECH_NOW
Default region name [None]: us-west-1
Default output format [None]: json
Check Version
PS C:\Windows> & "C:\Program Files\Amazon\AWSCLI\bin\aws.exe" --version
aws-cli/1.16.193 Python/3.6.0 Windows/10 botocore/1.12.183
Add AWS-CLI into Environmental Path
$awsCliPath="C:\Program Files\Amazon\AWSCLI\bin"
$env:Path += ";$awsCliPath"

Leave a Reply

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

Related Post

Linux: How to Set Startup Script

In previous Linux versions, startup scripts can simply be enabled by linking a script into…

PowerShell: Get Available RAM Slots

# getRamSlotsAvailable.ps1 $computername=$env:computername function getRamSlotsAvailable{ param($computername=$env:computername) write-host "Computer name: $computerName" $slots = Get-WmiObject -Class "win32_PhysicalMemoryArray"…

PowerShell: Create New Hybrid On Prem Active Directory User with Office 365 Integration

# createNewHybridUser_v0.0.1.ps1# .Description: this script automates the creation of a user account in a hybrid…