We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello I am trying to set the users policy when creating the user using SetUserReq
SetUserReq
here is an example of what I am trying to do
addOrUpdateUserReq := madmin.AddOrUpdateUserReq{ Policy: `readwrite`, Status: madmin.AccountEnabled, SecretKey: "passowrd123456", } if err := service.Client.SetUserReq(context, "exampleName", addOrUpdateUserReq); err != nil { logger.Error(err, "failed to create user") } ``` I've also tried providing it as ``` addOrUpdateUserReq := madmin.AddOrUpdateUserReq{ Policy: `["readwrite"]`, Status: madmin.AccountEnabled, SecretKey: "passowrd123456", } ``` still doesn't work thank you in advance
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello I am trying to set the users policy when creating the user using
SetUserReq
here is an example of what I am trying to do
The text was updated successfully, but these errors were encountered: