Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetServiceAccount (0.77 sec)

  1. cmd/admin-handlers-users.go

    	}
    
    	accessKey := mux.Vars(r)["accessKey"]
    	if accessKey == "" {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    	}
    
    	svcAccount, _, err := globalIAMSys.GetServiceAccount(ctx, accessKey)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	password := cred.SecretKey
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
  2. cmd/iam.go

    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // GetServiceAccount - wrapper method to get information about a service account
    func (sys *IAMSys) GetServiceAccount(ctx context.Context, accessKey string) (auth.Credentials, *policy.Policy, error) {
    	sa, embeddedPolicy, err := sys.getServiceAccount(ctx, accessKey)
    	if err != nil {
    		return auth.Credentials{}, nil, err
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
Back to top