Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for roleARN (0.04 sec)

  1. internal/bucket/replication/replication.go

    			legacyArn = true
    		}
    		if c.RoleArn == "" && !r.Destination.TargetArn() {
    			return errDestinationArnMissing
    		}
    	}
    	// disallow combining old replication configuration which used RoleArn as target ARN with multiple
    	// destination replication
    	if c.RoleArn != "" && len(targetMap) > 1 {
    		return errRoleArnPresentForMultipleTargets
    	}
    	// validate RoleArn if destination used legacy ARN format.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. internal/config/identity/openid/openid.go

    				Type:    "openid",
    				Name:    cfg,
    				Enabled: false,
    			})
    		} else {
    			var roleARN string
    			if pcfg.RolePolicy != "" {
    				roleARN = pcfg.roleArn.String()
    			}
    			res = append(res, madmin.IDPListItem{
    				Type:    "openid",
    				Name:    cfg,
    				Enabled: r.Enabled,
    				RoleARN: roleARN,
    			})
    		}
    	}
    
    	return res, nil
    }
    
    // Enabled returns if configURL is enabled.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. cmd/sts-handlers.go

    			// If there *is* a claim-based provider configured, then
    			// treat an unrecognized roleArn the same as no roleArn
    			// at all.  This is to support clients like the AWS SDKs
    			// or CLI that will not allow an AssumeRoleWithWebIdentity
    			// call without a RoleARN parameter - for these cases the
    			// user can supply a dummy ARN, which Minio will ignore.
    			roleArn = openid.DummyRoleARN
    			isRolePolicyProvider = false
    		}
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  4. internal/config/identity/plugin/config.go

    // of claims.
    func (o *AuthNPlugin) Authenticate(roleArn arn.ARN, token string) (AuthNResponse, error) {
    	if o == nil {
    		return AuthNResponse{}, nil
    	}
    
    	if roleArn != o.args.RoleARN {
    		return AuthNResponse{}, fmt.Errorf("Invalid role ARN value: %s", roleArn.String())
    	}
    
    	u := url.URL(*o.args.URL)
    	q := u.Query()
    	q.Set("token", token)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  5. cmd/user-provider-utils.go

    	}
    }
    
    func getOpenIDCfgNameFromClaims(claims map[string]any) (string, bool) {
    	roleArn := claims[roleArnClaim]
    
    	s := globalServerConfig.Clone()
    	configs, err := globalIAMSys.OpenIDConfig.GetConfigList(s)
    	if err != nil {
    		return "", false
    	}
    	for _, cfg := range configs {
    		if cfg.RoleARN == roleArn {
    			return cfg.Name, true
    		}
    	}
    	return "", false
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. cmd/iam.go

    func (sys *IAMSys) GetRolePolicy(arnStr string) (arn.ARN, string, error) {
    	roleArn, err := arn.Parse(arnStr)
    	if err != nil {
    		return arn.ARN{}, "", fmt.Errorf("RoleARN parse err: %v", err)
    	}
    	rolePolicy, ok := sys.rolesMap[roleArn]
    	if !ok {
    		return arn.ARN{}, "", fmt.Errorf("RoleARN %s is not defined.", arnStr)
    	}
    	return roleArn, rolePolicy, nil
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 76.5K bytes
    - Viewed (0)
  7. internal/config/identity/openid/providercfg.go

    	RedirectURIDynamic bool
    	DiscoveryDoc       DiscoveryDoc
    	ClientID           string
    	ClientSecret       string
    	RolePolicy         string
    	UserReadableClaim  string
    	UserIDClaim        string
    
    	roleArn  arn.ARN
    	provider provider.Provider
    }
    
    func newProviderCfgFromConfig(getCfgVal func(cfgName string) string) providerCfg {
    	return providerCfg{
    		DisplayName:        getCfgVal(DisplayName),
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. cmd/admin-handlers-idp-openid.go

    		return
    	}
    	for _, config := range configs {
    		if !allConfigs && cfgName != config.Name {
    			continue
    		}
    		arn := dummyRoleARN
    		if config.RoleARN != "" {
    			arn = config.RoleARN
    		}
    		roleArnMap[arn] = config.Name
    		newResp := make(map[string]madmin.OpenIDUserAccessKeys)
    		cfgToUsersMap[config.Name] = newResp
    	}
    	if len(roleArnMap) == 0 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Sep 06 17:38:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. docs/distributed/samples/myminio-iam-info-openid.zip

    h":"fjGB4ldChsaf9vSFdZ1P","email":"******@****.***","email_verified":true,"groups":["projecta","projectb"],"iat":1726558680,"iss":"http://127.0.0.1:5556/dex","name":"Dillon Harper","parent":"oCnAoSQFtdVQtKwrB73j","preferred_username":"dillon","roleArn":"arn:minio:iam:::role/nOybJqMNzNmroqEKq5D0","sa-policy":"inherited-policy","sub":"Cit1aWQ9ZGlsbG9uLG91"},"sessionPolicy":null,"status":"on","name":"","description":"","expiration":"1970-01-01T00:00:00Z"},"dillon-svcacct-1":{"parent":"oCnAoSQFtdV...
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. cmd/data-usage.go

    			cfg, _ := getReplicationConfig(GlobalContext, bucket)
    			if cfg != nil && cfg.RoleArn != "" {
    				if dataUsageInfo.ReplicationInfo == nil {
    					dataUsageInfo.ReplicationInfo = make(map[string]BucketTargetUsageInfo)
    				}
    				dataUsageInfo.ReplicationInfo[cfg.RoleArn] = BucketTargetUsageInfo{
    					ReplicationFailedSize:   bui.ReplicationFailedSizeV1,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top