Note
Make sure that you download the binary somewhere that is in your $PATH
.
The MinIO Client (mc
) is a command-line tool that allows you to manage your Object Storage projects, providing a modern alternative to UNIX commands.
To complete the actions presented below, you must have:
mc
) for your OS.
Make sure that you download the binary somewhere that is in your $PATH
.
mc --help
to make sure it was properly installed.
mc alias set <ALIAS> <YOUR-S3-ENDPOINT> <YOUR-ACCESS-KEY> <YOUR-SECRET-KEY> --api <API-SIGNATURE>
nl-ams
region, you can use the following command (replace the two fields in pointy brackets with your access key and secret key):
mc alias set s3 https://s3.nl-ams.scw.cloud <YOUR-ACCESS-KEY> <YOUR-SECRET-KEY> --api S3v4
You can create an alias for each region in which you manage Object Storage resources.
List all your buckets at the endpoint you configured in the previous step, via:
mc ls s3
List all objects in a given bucket, via:
mc ls s3/<your-bucket-name>
Remove an object from a bucket, via:
mc rm s3/<your-bucket-name>/1.pdf
Access commands reference, via:
mc --help
Your opinion helps us make a better documentation.