mirror of
https://github.com/pgsty/minio.git
synced 2026-07-18 11:40:21 +03:00
fix: reject service account access key same as root credentials (#19055)
This commit is contained in:
+1
-1
@@ -2021,7 +2021,7 @@ var errorCodes = errorCodeMap{
|
||||
},
|
||||
ErrAddUserInvalidArgument: {
|
||||
Code: "XMinioInvalidIAMCredentials",
|
||||
Description: "User is not allowed to be same as admin access key",
|
||||
Description: "Credential is not allowed to be same as admin access key",
|
||||
HTTPStatusCode: http.StatusForbidden,
|
||||
},
|
||||
ErrAdminResourceInvalidArgument: {
|
||||
|
||||
Reference in New Issue
Block a user