mc anonymous links
Syntax
The following command lists all anonymous links for the mydata bucket on the myaistor MinIO AIStor deployment:
mc anonymous links myaistor/mydataThe command has the following syntax:
mc [GLOBALFLAGS] anonymous links TARGET- Brackets
[]indicate optional parameters. - Parameters sharing a line are mutually dependent.
- Parameters separated using the pipe
|operator are mutually exclusive.
Copy the example to a text editor and modify as-needed before running the command in the terminal/shell.
Parameters
TARGET
Required The full path to the bucket or bucket prefix for which to list anonymous links.
Specify the alias of the MinIO AIStor or other S3-compatible service and the full path to the bucket or bucket prefix. For example:
mc anonymous links myaistor/mybucketGlobal flags
This command supports any of the global flags.
Examples
List anonymous links for a bucket
Use mc anonymous links to list the anonymous links for a bucket:
mc anonymous links ALIAS/PATH- Replace
ALIASwith thealiasof a configured S3-compatible host. - Replace
PATHwith the destination bucket.
Behavior
S3 compatibility
The mc command-line tool is built for compatibility with the AWS S3 API and is tested with MinIO AIStor and AWS S3 for expected functionality and behavior.
MinIO provides no guarantees for other S3-compatible services, as their S3 API implementation is unknown and therefore unsupported.
While mc commands may work as documented, any such usage is at your own risk.