- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for UpdateServiceAccount (0.09 sec)
-
cmd/admin-handlers-users_test.go
c.Fatalf("Err creating svcacct admin client: %v", err) } svcAdmClient.SetCustomTransport(s.TestSuiteCommon.client.Transport) // Attempt to update the policy on the service account. err = svcAdmClient.UpdateServiceAccount(ctx, cr.AccessKey, madmin.UpdateServiceAccountReq{ NewPolicy: fullS3PolicyBytes, }) if err == nil { c.Fatalf("service account should not be able to update policy on itself")
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Oct 15 17:00:45 UTC 2025 - 50.6K bytes - Viewed (0) -
cmd/iam.go
expiration *time.Time } // UpdateServiceAccount - edit a service account func (sys *IAMSys) UpdateServiceAccount(ctx context.Context, accessKey string, opts updateServiceAccountOpts) (updatedAt time.Time, err error) { if !sys.Initialized() { return updatedAt, errServerNotInitialized } updatedAt, err = sys.store.UpdateServiceAccount(ctx, accessKey, opts) if err != nil { return updatedAt, errRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Oct 15 17:00:45 UTC 2025 - 76.5K bytes - Viewed (0) -
cmd/admin-handlers-users.go
Status: auth.AccountOn, Expiration: createReq.Expiration, }, }, UpdatedAt: updatedAt, })) } } // UpdateServiceAccount - POST /minio/admin/v3/update-service-account func (a adminAPIHandlers) UpdateServiceAccount(w http.ResponseWriter, r *http.Request) { ctx := r.Context() // Get current object layer instance. objectAPI := newObjectLayerFn()Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 90.6K bytes - Viewed (0) -
cmd/iam-store.go
if err != nil { return updatedAt, err } cache.updateUserWithClaims(u.Credentials.AccessKey, u) return u.UpdatedAt, nil } // UpdateServiceAccount - updates a service account on storage. func (store *IAMStoreSys) UpdateServiceAccount(ctx context.Context, accessKey string, opts updateServiceAccountOpts) (updatedAt time.Time, err error) { cache := store.lock() defer store.unlock()Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 87.1K bytes - Viewed (0)