Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetClaimsForSvcAcc (0.07 sec)

  1. cmd/iam.go

    	jwtClaims, err := extractJWTClaims(acc)
    	if err != nil {
    		return UserIdentity{}, nil, err
    	}
    
    	return acc, jwtClaims, nil
    }
    
    // GetClaimsForSvcAcc - gets the claims associated with the service account.
    func (sys *IAMSys) GetClaimsForSvcAcc(ctx context.Context, accessKey string) (map[string]any, error) {
    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    			if user == siteReplicatorSvcAcc {
    				// skip the site replicate svc account as it is
    				// already replicated.
    				continue
    			}
    
    			claims, err := globalIAMSys.GetClaimsForSvcAcc(ctx, acc.Credentials.AccessKey)
    			if err != nil {
    				return errSRBackendIssue(err)
    			}
    
    			_, policy, err := globalIAMSys.GetServiceAccount(ctx, acc.Credentials.AccessKey)
    			if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    			for user, acc := range serviceAccounts {
    				if user == siteReplicatorSvcAcc {
    					// skip site-replication service account.
    					continue
    				}
    				claims, err := globalIAMSys.GetClaimsForSvcAcc(ctx, acc.Credentials.AccessKey)
    				if err != nil {
    					writeErrorResponse(ctx, w, exportError(ctx, err, iamFile, ""), r.URL)
    					return
    				}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
Back to top