diff --git a/cmd/check.go b/cmd/check.go index ce918ea..0c5b606 100644 --- a/cmd/check.go +++ b/cmd/check.go @@ -31,15 +31,19 @@ const ( with the AWS_CONFIG_FILE environment variable. Credentials can also be specified with the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables. + + Note that for OpenStack Swift, the API username and key must be specified + with the SWIFT_API_USER and SWIFT_API_KEY environment variables, and the + endpoint URL is mandatory. ` // TODO: add Minio example(s) example = ` cos check https://s3-us-west-2.amazonaws.com/www.dmoles.net/images/fa/archive.svg cos check https://s3-us-west-2.amazonaws.com/www.dmoles.net/images/fa/archive.svg -x c99ad299fa53d5d9688909164cf25b386b33bea8d4247310d80f615be29978f5 - cos check https://s3-us-west-2.amazonaws.com/www.dmoles.net/images/fa/archive.svg -a md5 -x eac8a75e3b3023e98003f1c24137ebbd cos check s3://www.dmoles.net/images/fa/archive.svg -e https://s3.us-west-2.amazonaws.com/ -a md5 -x eac8a75e3b3023e98003f1c24137ebbd - cos check s3://mrt-test/inusitatum.png --endpoint http://127.0.0.1:9000/ --algorithm md5 --expected cadf871cd4135212419f488f42c62482` + cos check s3://mrt-test/inusitatum.png --endpoint http://127.0.0.1:9000/ --algorithm md5 --expected cadf871cd4135212419f488f42c62482 + SWIFT_API_USER= SWIFT_API_KEY= cos check 'swift://distrib.stage.9001.__c5e/ark:/99999/fk4kw5kc1z|1|producer/6GBZeroFile.txt' -e http://cloud.sdsc.edu/auth/v1.0` ) // ------------------------------------------------------------