Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for iamPolicyClaimNameOpenID (0.08 sec)

  1. cmd/sts-handlers.go

    				return
    			} else if policyName == "" {
    				writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue,
    					fmt.Errorf("None of the given policies (`%s`) are defined, credentials will not be generated", policies))
    				return
    			}
    		}
    		claims[iamPolicyClaimNameOpenID()] = policyName
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  2. cmd/admin-handlers-idp-openid.go

    			continue // skip if not the type we want
    		}
    		arn, ok := accessKey.Claims[roleArnClaim].(string)
    		if !ok {
    			if _, ok := accessKey.Claims[iamPolicyClaimNameOpenID()]; !ok {
    				continue // skip if no roleArn and no policy claim
    			}
    			// claim-based provider is in the roleArnMap under dummy ARN
    			arn = dummyRoleARN
    		}
    		matchingCfgName, ok := roleArnMap[arn]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:38:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. cmd/iam.go

    			return false
    		}
    
    		// Finally, if there is no parent policy, check if a policy claim is
    		// present.
    		if len(svcPolicies) == 0 {
    			policySet, _ := policy.GetPoliciesFromClaims(args.Claims, iamPolicyClaimNameOpenID())
    			svcPolicies = policySet.ToSlice()
    		}
    	}
    
    	// Defensive code: Do not allow any operation if no policy is found.
    	if !isOwnerDerived && len(svcPolicies) == 0 {
    		return false
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  4. cmd/utils.go

    	case globalIsErasure:
    		return globalMinioModeErasure
    	case globalIsErasureSD:
    		return globalMinioModeErasureSD
    	default:
    		return globalMinioModeFS
    	}
    }
    
    func iamPolicyClaimNameOpenID() string {
    	return globalIAMSys.OpenIDConfig.GetIAMPolicyClaimName()
    }
    
    func iamPolicyClaimNameSA() string {
    	return "sa-policy"
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    		if len(policiesNames) == 0 {
    			policySet, _ := args.GetPolicies(iamPolicyClaimNameOpenID())
    			policiesNames = policySet.ToSlice()
    		}
    
    		stsAccountPolicy = globalIAMSys.GetCombinedPolicy(policiesNames...)
    	}
    
    	policyJSON, err := json.MarshalIndent(stsAccountPolicy, "", " ")
    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