Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UpdateServiceAccount (0.11 sec)

  1. cmd/admin-handlers-users_test.go

    		c.Fatalf("Err creating svcacct admin client: %v", err)
    	}
    	svcAdmClient.SetCustomTransport(s.TestSuiteCommon.client.Transport)
    
    	// Attempt to update the policy on the service account.
    	err = svcAdmClient.UpdateServiceAccount(ctx, cr.AccessKey,
    		madmin.UpdateServiceAccountReq{
    			NewPolicy: fullS3PolicyBytes,
    		})
    
    	if err == nil {
    		c.Fatalf("service account should not be able to update policy on itself")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  2. 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:.*}")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top