Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for arn (0.02 sec)

  1. cmd/iam.go

    }
    
    // GetRolePolicy - returns policies associated with a role ARN.
    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)
    	}
    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

    	// Validation code
    	switch {
    	case conf.AWSRoleWebIdentityTokenFile == "" && conf.AWSRoleARN != "" || conf.AWSRoleWebIdentityTokenFile != "" && conf.AWSRoleARN == "":
    		return nil, errors.New("both the token file and the role ARN are required")
    	case conf.AccessKey == "" && conf.SecretKey != "" || conf.AccessKey != "" && conf.SecretKey == "":
    		return nil, errors.New("both the access and secret keys are required")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. cmd/erasure-metadata.go

    		case strings.HasPrefix(k, ReservedMetadataPrefixLower+ReplicationReset):
    			arn := strings.TrimPrefix(k, fmt.Sprintf("%s-", ReservedMetadataPrefixLower+ReplicationReset))
    			if d.ResetStatusesMap == nil {
    				d.ResetStatusesMap = make(map[string]string, 1)
    			}
    			d.ResetStatusesMap[arn] = v
    		}
    	}
    	return d
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. cmd/data-scanner.go

    		return
    	}
    
    	if sizeS.replTargetStats == nil && len(roi.TargetStatuses) > 0 {
    		sizeS.replTargetStats = make(map[string]replTargetSizeSummary)
    	}
    
    	for arn, tgtStatus := range roi.TargetStatuses {
    		tgtSizeS, ok := sizeS.replTargetStats[arn]
    		if !ok {
    			tgtSizeS = replTargetSizeSummary{}
    		}
    		switch tgtStatus {
    		case replication.Pending:
    			tgtSizeS.pendingCount++
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle.go

    	obj := fmt.Sprintf("%s/%s/%s/%s", strconv.FormatUint(hash, 16), us[0:2], us[2:4], us)
    	return obj, nil
    }
    
    // transition object to target specified by the transition ARN. When an object is transitioned to another
    // storage specified by the transition ARN, the metadata is left behind on source cluster and original content
    // is moved to the transition tier. Note that in the case of encrypted objects, entire encrypted stream is moved
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
Back to top