Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/admin-handlers-users_test.go

    	policy := "mypolicy"
    	policyBytes := []byte(fmt.Sprintf(`{
     "Version": "2012-10-17",
     "Statement": [
      {
       "Effect": "Deny",
       "Action": [
         "admin:CreateServiceAccount",
         "admin:UpdateServiceAccount"
       ],
       "Condition": {"NumericGreaterThan": {"svc:DurationSeconds": "3600"}}
      },
      {
       "Effect": "Allow",
       "Action": [
        "s3:PutObject",
        "s3:GetObject",
        "s3:ListBucket"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  2. docs/multi-user/admin/README.md

    - admin:AttachUserOrGroupPolicy
    - admin:ListUserPolicies
    
    #### Heal management permissions
    
    - admin:Heal
    
    #### Service account management permissions
    
    - admin:CreateServiceAccount
    - admin:UpdateServiceAccount
    - admin:RemoveServiceAccount
    - admin:ListServiceAccounts
    
    #### Bucket quota management permissions
    
    - admin:SetBucketQuota
    - admin:GetBucketQuota
    
    #### Bucket target management permissions
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  3. 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
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  4. 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()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  5. cmd/admin-router.go

    		adminRouter.Methods(http.MethodPost).Path(adminVersion+"/update-service-account").HandlerFunc(adminMiddleware(adminAPI.UpdateServiceAccount)).Queries("accessKey", "{accessKey:.*}")
    		adminRouter.Methods(http.MethodGet).Path(adminVersion+"/info-service-account").HandlerFunc(adminMiddleware(adminAPI.InfoServiceAccount)).Queries("accessKey", "{accessKey:.*}")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  6. 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()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  7. cmd/site-replication.go

    			name:          change.Update.Name,
    			description:   change.Update.Description,
    			sessionPolicy: sp,
    			expiration:    change.Update.Expiration,
    		}
    
    		_, err = globalIAMSys.UpdateServiceAccount(ctx, change.Update.AccessKey, opts)
    		if err != nil {
    			return wrapSRErr(err)
    		}
    
    	case change.Delete != nil:
    		// skip overwrite of local update if peer sent stale info
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
Back to top