bm share ls
Syntax
The bm share ls command displays any unexpired presigned URLs generated
by bm share upload or bm share download
The bm share list command has equivalent functionality to bm 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.
The following command lists all upload and download presigned URLs
respectively for the mydata bucket on the mybuckit Buckit
deployment:
bm share ls upload mybuckit/mydata
bm share ls download mybuckit/mydata
The command has the following syntax:
bm [GLOBALFLAGS] share list \
[download | upload] \
ALIAS
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
- download
Required Lists all unexpired presigned download (
GET) URLs.Mutually exclusive with
bm share ls upload
- upload
Required Lists all unexpired presigned upload (
PUT) URLs.Mutually exclusive with
bm share ls download
- ALIAS
Required The alias of a Buckit deplyment 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 Generated Download and Upload URLs
Use bm 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:
bm share ls download ALIAS
Use bm 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:
bm share ls upload ALIAS
Behavior
S3 Compatibility
The bm commandline tool is built for compatibility with the AWS S3 API and is tested with Buckit and AWS S3 for expected functionality and behavior.
Buckit provides no guarantees for other S3-compatible services, as their S3 API implementation is unknown and therefore unsupported. While bm commands may work as documented, any such usage is at your own risk.