mc share list
The mc share ls
command displays any unexpired presigned URLs generated by mc share upload
or mc share download
.
The mc share list
command has equivalent functionality to mc share ls
.
Applications can perform a PUT
to retrieve the object from the URL.
For more information on shareable object URLs, see the Amazon S3 documentation on Pre-Signed URLs.
Syntax
Parameters
download
Required
Lists all unexpired presigned download (GET
) URLs.
Mutually exclusive with mc share ls upload
.
upload
Required Lists all unexpired presigned upload (PUT
) URLs.
Mutually exclusive with mc share ls download
.
ALIAS
Required
The alias of an AIStor deployment and the full path to the object for which to list unexpired presigned URLs.
Global flags
This command supports any of the global flags.
Examples
List active download presigned URLs
Use mc share ls download
to generate a URL that supports POST
requests for uploading a file to a specific object location on an S3-compatible host:
mc share ls download ALIAS
List active upload presigned URLs
Use mc share ls upload
to generate a URL that supports POST
requests for uploading a file to a specific object location on an S3-compatible host:
mc share ls upload ALIAS
Behavior
S3 compatibility
The mc
commandline tool is built for compatibility with the AWS S3 API and is tested with 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.