mc quota info

The mc quota info command displays the current quota configuration for a bucket.

See Bucket Quotas for a complete overview of quota behavior and monitoring.

Syntax

Parameters

ALIAS

Required

The alias of the MinIO AIStor cluster, in the format ALIAS.

For example: myminio

BUCKET

Required

The name of the target bucket, in the format BUCKET.

For example: mybucket

Global flags

This command supports any of the global flags.

Examples

View the current quota

The following command displays the quota configuration for the mybucket bucket:

mc quota info myminio/mybucket

Permissions

The user or service account performing this operation must have the following admin permission:

Permission Description
admin:GetBucketQuota Required to view the current bucket quota.

The built-in consoleAdmin policy includes this permission.

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.