mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00:00
Add comment field to service accounts (#16380)
This commit is contained in:
1 parent
2146ed4033
commit
1ece3d1dfe
7 files changed
+22
-3
No files matched your search
@@ -2133,6 +2133,10 @@ func (store *IAMStoreSys) UpdateServiceAccount(ctx context.Context, accessKey st
|
||||
cr.SecretKey = opts.secretKey
|
||||
}
|
||||
|
||||
if opts.comment != "" {
|
||||
cr.Comment = opts.comment
|
||||
}
|
||||
|
||||
switch opts.status {
|
||||
// The caller did not ask to update status account, do nothing
|
||||
case "":
|
||||
|
||||
Reference in new issue
Block a user