Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for InfoServiceAccount (0.18 sec)

  1. cmd/admin-router.go

    		adminRouter.Methods(http.MethodGet).Path(adminVersion+"/info-service-account").HandlerFunc(adminMiddleware(adminAPI.InfoServiceAccount)).Queries("accessKey", "{accessKey:.*}")
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/list-service-accounts").HandlerFunc(adminMiddleware(adminAPI.ListServiceAccounts))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    					Expiration:    updateReq.NewExpiration,
    				},
    			},
    			UpdatedAt: updatedAt,
    		}))
    	}
    
    	writeSuccessNoContent(w)
    }
    
    // InfoServiceAccount - GET /minio/admin/v3/info-service-account
    func (a adminAPIHandlers) InfoServiceAccount(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	// Get current object layer instance.
    	objectAPI := newObjectLayerFn()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users_test.go

    	}
    }
    
    func (c *check) assertSvcAccInfoQueryable(ctx context.Context, madmClient *madmin.AdminClient, parentAK, svcAK string, skipParentUserCheck bool) {
    	infoResp, err := madmClient.InfoServiceAccount(ctx, svcAK)
    	if err != nil {
    		c.Fatalf("unable to get svc acc info: %v", err)
    	}
    	if !skipParentUserCheck {
    		c.Assert(infoResp.ParentUser, parentAK)
    	}
    	c.Assert(infoResp.AccountStatus, "on")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

    			},
    		},
    	}
    
    	if !reflect.DeepEqual(expectedAccKeys, res) {
    		c.Fatalf("access keys mismatch: expected: %v, got: %v", expectedAccKeys, res)
    	}
    
    	accKeyInfo, err := s.adm.InfoServiceAccount(ctx, "u4ccRswj62HV3Ifwima7")
    	if err != nil {
    		c.Fatalf("Unable to get service account info: %v", err)
    	}
    	if accKeyInfo.ParentUser != "uid=svc.algorithm,ou=swengg,dc=min,dc=io" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
Back to top