mirror of
https://github.com/minio/minio.git
synced 2024-12-26 23:25:54 -05:00
b4f4cd1d5d
To avoid returning 5xx error from MinIO server and show a better error message, we need to return ErrInvalidAccessKeyLength and ErrInvalidSecretKeyLength when attempting to create a new credentials with invalid access or secret keys. Signed-off-by: Anis Elleuch <anis@min.io> Co-authored-by: Anis Elleuch <anis@min.io> |
||
---|---|---|
.. | ||
credentials_test.go | ||
credentials.go |