Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DeleteServiceAccount (0.31 sec)

  1. cmd/peer-rest-client.go

    	_, err = deleteUserRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTUser: accessKey,
    	}))
    	return err
    }
    
    // DeleteServiceAccount - delete a specific service account.
    func (client *peerRESTClient) DeleteServiceAccount(ctx context.Context, accessKey string) (err error) {
    	_, err = deleteSvcActRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTUser: accessKey,
    	}))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. cmd/notification.go

    				return errPeerNotReachable
    			}
    			return client.LoadGroup(ctx, group)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    // DeleteServiceAccount - deletes a specific service account across all peers
    func (sys *NotificationSys) DeleteServiceAccount(ctx context.Context, accessKey string) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients)).WithRetries(1)
    	for idx, client := range sys.peerClients {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  3. cmd/admin-router.go

    		adminRouter.Methods(http.MethodDelete).Path(adminVersion+"/delete-service-account").HandlerFunc(adminMiddleware(adminAPI.DeleteServiceAccount)).Queries("accessKey", "{accessKey:.*}")
    
    		// STS accounts ops
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users_test.go

    	if err != nil {
    		c.Fatalf("Unable to create svc acc: %v", err)
    	}
    	svcClient := s.getUserClient(c, cr.AccessKey, cr.SecretKey, "")
    	c.mustListObjects(ctx, svcClient, bucket)
    
    	err = madmClient.DeleteServiceAccount(ctx, svcAK)
    	if err != nil {
    		c.Fatalf("unable to delete svc acc: %v", err)
    	}
    	c.mustNotListObjects(ctx, svcClient, bucket)
    }
    
    func mustGenerateCredentials(c *check) (string, string) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
Back to top