mc table share token list
The mc table share token list command displays all access tokens for a Delta Sharing configuration.
The following command lists all tokens for the analytics-share on the myaistor MinIO AIStor cluster:
mc table share token list myaistor/analytics-shareThe command has the following syntax:
mc [GLOBALFLAGS] table share token list ALIAS/SHARE- 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
ALIAS
Required
The alias of a MinIO AIStor cluster.
SHARE
Required
The name of the share for which to list tokens.
Global flags
This command supports any of the global flags.
Examples
List all tokens for a share
Use mc table share token list to display tokens:
mc table share token list ALIAS/SHARE- Replace
ALIASwith the alias of the MinIO AIStor cluster. - Replace
SHAREwith the name of the share.
List tokens with JSON output
Use the --json global flag to output the results in JSON format:
mc table share token list myaistor/analytics-share --json