Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for roleARN (0.04 sec)

  1. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  2. cmd/warm-backend-s3.go

    		}
    		s3WebIdentityIAM := credentials.IAM{
    			Client: &http.Client{
    				Transport: NewHTTPTransport(),
    			},
    			EKSIdentity: struct {
    				TokenFile       string
    				RoleARN         string
    				RoleSessionName string
    			}{
    				conf.AWSRoleWebIdentityTokenFile,
    				conf.AWSRoleARN,
    				sessionName,
    			},
    		}
    		creds = credentials.New(&s3WebIdentityIAM)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top