fix: reject service account access key same as root credentials (#19055)

This commit is contained in:
Harshavardhana
2024-02-14 10:37:12 -08:00
committed by GitHub
parent 6fd0b434e2
commit 134db72bb7
2 changed files with 6 additions and 1 deletions

View File

@@ -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: {