mc admin accesskey diagnose
The mc admin accesskey diagnose command reports why a service account is denied access, so you can tell a policy problem from a credential problem.
Syntax
The command has the following syntax:
mc admin accesskey diagnose [FLAGS] TARGET ACCESSKEY
Global flags
This command supports any of the global flags.
Examples
Diagnose why a service account is getting 403 errors.
mc admin accesskey diagnose myminio AKXXXXXXXXXX
Diagnose with JSON output for programmatic consumption.
mc admin accesskey diagnose --json myminio AKXXXXXXXXXX
Behavior
S3 compatibility
This command uses a MinIO AIStor administrative API and does not work against other S3-compatible services.