Minio settings file permanent access and download

1. 

docker pull minio/mc

 2. 

docker run - it -- entrypoint=/bin/sh minio/mc

 3. 

mc config host add <ALIAS> <YOUR-S3-ENDPOINT> <YOUR-ACCESS-KEY> <YOUR-SECRET-KEY> [--api API-SIGNATURE]

 mc ls minio

  • ALIAS: 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.
    • endpoint  
    • Access key, secret key must be known to everyone here.
  • API signature is optional parameter, by default it is set to "S3v4".

For example:

 4. Set the permanent download and permanent share respectively through the following commands

mc anonymous set download minio/file

 mc anonymous set public minio/file

 

For detailed instructions, refer to the following blog post:

Docker installs the latest Minio Client, and also comes with how to set up permanent access and permanent download links! ! (Detailed pictures) If there is a demand, it is worth collecting! ! ! ! - Nuggets (juejin.cn)

Guess you like

Origin blog.csdn.net/QRLYLETITBE/article/details/128137735