Table of contents
- foreword
- 1. Download MinIO Client
- 2. Run MinIO Client
- 3. Add a cloud storage service
- 4. Verify
- 5.policy command - manage bucket policy
- Summarize
foreword
The link of minio shared files can be shared for up to seven days
The file link is permanently valid by managing the storage bucket policy through the MinIO client
1. Download MinIO Client
Install using Docker
Pull the Docker stable version image
1 |
|
2. Run MinIO Client
1 |
|
Tips for success
3. Add a cloud storage service
1 |
|
Example - MinIO Cloud Storage
Get URL, access key and secret key from MinIO service.
1 |
|
An alias is a short nickname for your cloud storage service. S3 endpoint, access key and secret key are provided by your cloud storage service. API signature is optional parameter, by default it is set to "S3v4".
4. Verify
Query all buckets
1 |
|
ps: The minio here is the alias just taken
5.policy command - manage bucket policy
Obtain all policy-related commands through the mc policy command
1 |
|
View bucket or path policies
1 |
|
Set bucket or path policy to download
1 |
|
download followed by bucket or path
The minio address + file path becomes a permanently accessible link. Note that if you copy the url directly in the console, the minio must be removed.
Note : It is strongly recommended to set the policy of the path to download so that the policy of the bucket it belongs to will become custom
. If you directly set the bucket to download, you can enter the minio client. Although you can only see the bucket with the corresponding policy set, but Anonymous people can create and delete files at will!