minio/pkg/auth
Anis Elleuch b4f4cd1d5d
admin: Return exported errors with invalid access secret keys (#12234)
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>
2021-05-05 14:44:54 -07:00
..
credentials.go admin: Return exported errors with invalid access secret keys (#12234) 2021-05-05 14:44:54 -07:00
credentials_test.go update license change for MinIO 2021-04-23 11:58:53 -07:00