Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for roleArn (0.37 sec)

  1. docs/site-replication/gen-oidc-sts-cred.go

    	if err != nil {
    		log.Fatalf("Failed to generate OIDC token: %v", err)
    	}
    
    	roleARN := os.Getenv("ROLE_ARN")
    	webID := cr.STSWebIdentity{
    		Client:      &http.Client{},
    		STSEndpoint: endpoint,
    		GetWebIDTokenExpiry: func() (*cr.WebIdentityToken, error) {
    			return &cr.WebIdentityToken{
    				Token: oidcToken,
    			}, nil
    		},
    		RoleARN: roleARN,
    	}
    
    	value, err := webID.Retrieve()
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 29 01:27:09 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. docs/sts/custom-token-identity.go

    	flag.StringVar(&token, "t", "", "Token to use with AssumeRoleWithCustomToken STS API (required)")
    	flag.StringVar(&roleArn, "r", "", "RoleARN to use with the request (required)")
    	flag.BoolVar(&displayCreds, "d", false, "Only show generated credentials")
    	flag.DurationVar(&expiryDuration, "e", 0, "Request a duration of validity for the generated credential")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  3. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  5. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  6. docs/sts/custom-token-identity.md

    | Version         | String  | Yes      | Value must be `2011-06-15`                                           |
    | Token           | String  | Yes      | Token to be authenticated by identity plugin                         |
    | RoleArn         | String  | Yes      | Must match the Role ARN generated for the identity plugin            |
    | DurationSeconds | Integer | No       | Duration of validity of generated credentials. Must be at least 900. |
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 3K bytes
    - Viewed (0)
  7. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:38:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. docs/sts/web-identity.md

    defined in the server. In this situation, the server prints a role ARN at startup that must be specified as a `RoleArn` API request parameter in the STS AssumeRoleWithWebIdentity API call. When using Role Policies, multiple OpenID providers and/or client applications (with unique client IDs) may be configured with independent role policies. Each configuration is assigned a unique RoleARN by the MinIO server and this is used to select the policies to apply to temporary credentials generated in the...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top