Command Line Options
-r, --region <REGION>
Specify the AWS region.
stu --region ap-northeast-1
-e, --endpoint-url <URL>
Specifies the AWS endpoint.
Use this if you are connecting to an S3-compatible service such as localstack, minio, or other external storage services.
stu --endpoint-url http://localhost:4566
-p, --profile <NAME>
Specifies the AWS profile name.
stu --profile foo
--ca-bundle <PATH>
Specifies a CA certificate bundle in PEM format for HTTPS connections, such as an S3-compatible endpoint using a private CA.
stu --endpoint-url https://s3.example.com --ca-bundle /path/to/ca.pem
The bundle can also be specified with the AWS_CA_BUNDLE environment variable or the ca_bundle setting in your AWS profile:
[profile custom]
ca_bundle = /path/to/ca.pem
stu --profile custom
The order of precedence is --ca-bundle, AWS_CA_BUNDLE, then the selected profile's ca_bundle setting.
The profile is selected with --profile or AWS_PROFILE, falling back to default.
The selected bundle replaces the default system CA certificates and is used for both S3 and credential provider connections. Include all CA certificates needed for those connections in the bundle. If no bundle is specified, the default certificate settings are used.
-b, --bucket <NAME>
Specify the bucket name.
This will not open the bucket list, but will open the object list directly. This is useful if you are only interested in or have permissions to a specific bucket.
stu --bucket bar-bucket
For an IAM policy example, see S3 Permissions.
-P, --prefix <PREFIX>
Specifies an object prefix.
This will open only objects under the specified prefix.
This option must be specified together with the --bucket option.
stu --bucket bar-bucket --prefix path/to/object/
--path-style <TYPE>
Specifies the address model for accessing S3-compatible services.
Possible values: auto, always, never
neveruses Virtual-Hosted Style, which is what AWS currently uses.https://bucket.s3.region.amazonaws.com/key
alwaysuses Path Style, which is used when using localstack, minio, etc.https://s3.region.amazonaws.com/bucket/key
autoautomatically determines which model to use, which is the default setting.
For other S3-compatible services, which one to use depends on the service.
stu --path-style auto
--no-sign-request
Disable request signing.
Credentials will not be loaded if this argument is provided. This option is useful when accessing public buckets that do not require authentication.
stu --no-sign-request
--debug
Enable debug logging.
Currently, the debug log only includes application-level events and logs from the AWS SDK.
-h, --help
Displays a help message.
-V, --version
Displays the version.