- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AddServiceAccount (0.27 sec)
-
cmd/admin-handlers-users.go
if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } writeSuccessResponseJSON(w, encryptedData) } // AddServiceAccount - PUT /minio/admin/v3/add-service-account func (a adminAPIHandlers) AddServiceAccount(w http.ResponseWriter, r *http.Request) { ctx, cred, opts, createReq, targetUser, APIError := commonAddServiceAccount(r, false) if APIError.Code != "" {
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-store.go
} if err := cache.updateUserWithClaims(accessKey, uinfo); err != nil { return updatedAt, err } return uinfo.UpdatedAt, nil } // AddServiceAccount - add a new service account func (store *IAMStoreSys) AddServiceAccount(ctx context.Context, cred auth.Credentials) (updatedAt time.Time, err error) { cache := store.lock() defer store.unlock() accessKey := cred.AccessKey
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/iam.go
if err := validateSvcExpirationInUTC(expirationInUTC); err != nil { return auth.Credentials{}, time.Time{}, err } cred.Expiration = expirationInUTC } updatedAt, err := sys.store.AddServiceAccount(ctx, cred) if err != nil { return auth.Credentials{}, time.Time{}, err } sys.notifyForServiceAccount(ctx, cred.AccessKey) return cred, updatedAt, nil }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 75.3K bytes - Viewed (0)