Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for UpdateServiceAccount (0.46 sec)

  1. 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, err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top