cortex
Search…
AWS

PowerShell CLI Tools

Installing

AWS have created a tools management utility, AWS.Tools.Installer, which allows you to Install, Update, and Manage the subsets of AWS tools. Any of the tools you can install using the installer, can also be installed from the PowerShell gallery using the tool name, in the format AWS.Tools.[name].
To install the AWS PowerShell CLI Tools Installer:
1
Install-Module AWS.Tools.Installer
Copied!
To install the common toolset:
1
Install-AWSToolsModule Common
Copied!
To install the S3 toolset:
1
Install-AWSToolsModule S3
Copied!

Configuring a Profile

To store credentials for later use, you can setup a profile. To use the profile in another command, call the -ProfileName paremeter, and supply the friendly name of your profile.
1
Set-AWSCredential `
2
-AccessKey [access key]
3
-SecretKey [secret access key]
4
-StoreAs [friendly name]
Copied!
Last modified 1mo ago