- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for addUser (0.03 sec)
-
cmd/iam-store.go
} accessKeys[i].Claims = claims.MapClaims } accessKeys[i].SessionToken = "" } return accessKeys, nil } // AddUser - adds/updates long term user account to storage. func (store *IAMStoreSys) AddUser(ctx context.Context, accessKey string, ureq madmin.AddOrUpdateUserReq) (updatedAt time.Time, err error) { cache := store.lock() defer store.unlock()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 86.7K bytes - Viewed (0) -
cmd/admin-handlers-users.go
IsDeleteReq: false, UserReq: &madmin.AddOrUpdateUserReq{ Status: madmin.AccountStatus(status), }, }, UpdatedAt: updatedAt, })) } // AddUser - PUT /minio/admin/v3/add-user?accessKey=<access_key> func (a adminAPIHandlers) AddUser(w http.ResponseWriter, r *http.Request) { ctx := r.Context() vars := mux.Vars(r) accessKey := vars["accessKey"] // Get current object layer instance.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 90.6K bytes - Viewed (0) -
cmd/iam.go
return updatedAt, auth.ErrContainsReservedChars } if !auth.IsSecretKeyValid(ureq.SecretKey) { return updatedAt, auth.ErrInvalidSecretKeyLength } updatedAt, err = sys.store.AddUser(ctx, accessKey, ureq) if err != nil { return updatedAt, err } sys.notifyForUser(ctx, accessKey, false) return updatedAt, nil } // SetUserSecretKey - sets user secret key
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 75.3K bytes - Viewed (0)