Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ListServiceAccounts (0.31 sec)

  1. docs/multi-user/admin/README.md

    #### 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
    
    - admin:SetBucketTarget
    - admin:GetBucketTarget
    
    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)
  2. cmd/admin-handlers-idp-ldap.go

    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    	if listType == "" || listType == "svcacc-only" {
    		serviceAccounts, err = globalIAMSys.ListServiceAccounts(ctx, targetAccount)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    
    	var serviceAccountList []madmin.ServiceAccountInfo
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  3. cmd/admin-router.go

    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/list-service-accounts").HandlerFunc(adminMiddleware(adminAPI.ListServiceAccounts))
    		adminRouter.Methods(http.MethodDelete).Path(adminVersion+"/delete-service-account").HandlerFunc(adminMiddleware(adminAPI.DeleteServiceAccount)).Queries("accessKey", "{accessKey:.*}")
    
    		// STS accounts ops
    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)
  4. cmd/iam.go

    	return updatedAt, nil
    }
    
    // ListServiceAccounts - lists all service accounts associated to a specific user
    func (sys *IAMSys) ListServiceAccounts(ctx context.Context, accessKey string) ([]auth.Credentials, error) {
    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    
    	select {
    	case <-sys.configLoaded:
    		return sys.store.ListServiceAccounts(ctx, accessKey)
    	case <-ctx.Done():
    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)
  5. cmd/admin-handlers-users.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, encryptedData)
    }
    
    // ListServiceAccounts - GET /minio/admin/v3/list-service-accounts
    func (a adminAPIHandlers) ListServiceAccounts(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)
  6. cmd/iam-store.go

    			}
    		}
    	}
    
    	if !userExists {
    		return nil, errNoSuchUser
    	}
    
    	return tempAccounts, nil
    }
    
    // ListServiceAccounts - lists only service accounts from the cache.
    func (store *IAMStoreSys) ListServiceAccounts(ctx context.Context, accessKey string) ([]auth.Credentials, error) {
    	cache := store.rlock()
    	defer store.runlock()
    
    	var serviceAccounts []auth.Credentials
    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/admin-handlers-users_test.go

    }
    
    func (c *check) assertSvcAccAppearsInListing(ctx context.Context, madmClient *madmin.AdminClient, parentAK, svcAK string) {
    	c.Helper()
    	listResp, err := madmClient.ListServiceAccounts(ctx, parentAK)
    	if err != nil {
    		c.Fatalf("unable to list svc accounts: %v", err)
    	}
    	var accessKeys []string
    	for _, item := range listResp.Accounts {
    		accessKeys = append(accessKeys, item.AccessKey)
    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)
Back to top