AWS CLI Endpoint
This guide is so you can set Storj as the default endpoint so you can avoid having to repeatedly use the --endpoint option.
These features can be achieved by installing the awscli-plugin-endpoint
plugin.
Install plugin
Install
awscli-plugin-endpoint
plugin:Configure the path in your
~/.aws/config
file (replace thesite-packages-path
to your path from a previous step):Configure plugin in your
~/.aws/config
file:
The resulting file would look like:
You can now use the AWS CLI without specifying an endpoint:
s3api
To configure s3api
endpoint you can use this command:
Set a Storj profile
You can also use a different profile for Storj:
To use AWS CLI with a separate profile storj
: