Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The AWS Command Line Interface is a tool that can be used to interact with Amazon Web Services in a command-line shell, but only the S3 commands are relevant to the USS S3 gateway.

The AWS CLI tool is available for Windows, macOS and Linux. The steps below show how the tool can be installed and used on CentOS Linux. Installation and usage instructions for other operating systems can be found:

Install awscli

Code Block
[user@localhost ~]$ sudo yum install awscli

Configure awscli

Code Block
[user@localhost ~]$ aws configure
AWS Access Key ID [None]: <username>
AWS Secret Access Key [None]: <password>
Default region name [None]: [Enter]
Default output format [None]: [Enter]

Run awscli

create a new bucket:

Code Block
[user@localhost ~]$ aws –endpoint-url <endpoint-url> s3 mb s3://<bucket-name>