1
0
mirror of https://github.com/minio/docs.git synced 2025-07-02 05:02:40 +03:00
Files
docs/source/reference/minio-mc/mc-share-list.rst
Ravind Kumar a6d554acdc DOCS-807, DOCS-846, Misc. Bug fixes (#861)
Closes #807 
Closes #846 


---------

Co-authored-by: Daryl White <53910321+djwfyi@users.noreply.github.com>
2023-05-23 17:29:48 -04:00

3.2 KiB

mc share ls

minio

Table of Contents

mc share list

mc share ls

Syntax

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 <AmazonS3/latest/dev/ShareObjectPreSignedURL.html>.

EXAMPLE

The following command lists all upload and download presigned URLs respectively for the mydata bucket on the myminio MinIO deployment:

mc share ls upload myminio/mydata
mc share ls download myminio/mydata

SYNTAX

The command has the following syntax:

mc [GLOBALFLAGS] share list           \
                 [download | upload]  \
                 ALIAS

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 <alias> of a MinIO deplyment and the full path to the object for which to list unexpired presigned URLs.

Global Flags

Examples

List Generated Download and Upload URLs

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
  • Replace ALIAS <mc share ls ALIAS> with the alias <alias> of the MinIO deployment.

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
  • Replace ALIAS <mc share upload ALIAS> with the alias <alias> of the MinIO deployment.

Behavior

S3 Compatibility