Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for DeleteServiceAccount (0.22 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/iam.go

    	}
    
    	jwtClaims, err := extractJWTClaims(sa)
    	if err != nil {
    		return nil, err
    	}
    
    	return jwtClaims.Map(), nil
    }
    
    // DeleteServiceAccount - delete a service account
    func (sys *IAMSys) DeleteServiceAccount(ctx context.Context, accessKey string, notifyPeers bool) error {
    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    	sa, ok := sys.store.GetUser(accessKey)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  2. cmd/admin-handlers-users_test.go

    			AccessKey: "restricted",
    			SecretKey: "restricted123",
    		})
    		if err != nil {
    			c.Fatalf("could not create service account")
    		}
    		defer func() {
    			_ = s.adm.DeleteServiceAccount(ctx, "restricted")
    		}()
    	} else {
    		// Create a regular user and attach consoleAdmin policy
    		err := s.adm.AddUser(ctx, "foobar", "foobar123")
    		if err != nil {
    			c.Fatalf("could not create user")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 26.7K bytes
    - Click Count (0)
Back to Top