Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 109 for arn (0.12 sec)

  1. cmd/bucket-replication-stats.go

    			rs.set(ri.Arn, ri.Size, 0, status, ri.OpType, ri.endpoint, ri.secure, ri.Err)
    		}
    	case replication.Completed:
    		if ri.OpType.IsDataReplication() {
    			rs.set(ri.Arn, ri.Size, ri.Duration, status, ri.OpType, ri.endpoint, ri.secure, ri.Err)
    		}
    	case replication.Failed:
    		if ri.OpType.IsDataReplication() && prevStatus == replication.Pending {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  2. cmd/admin-bucket-handlers.go

    	if update {
    		ops = madmin.GetTargetUpdateOps(r.Form)
    	} else {
    		var exists bool // true if arn exists
    		target.Arn, exists = globalBucketTargetSys.getRemoteARN(bucket, &target, "")
    		if exists && target.Arn != "" { // return pre-existing ARN
    			data, err := json.Marshal(target.Arn)
    			if err != nil {
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  3. docs/bucket/replication/setup_3site_replication.sh

    ./mc mb -l sitec/olockbucket
    
    echo "adding replication rule for a -> b : ${remote_arn}"
    sleep 1
    ./mc replicate add sitea/bucket/ \
    	--remote-bucket http://minio:minio123@127.0.0.1:9004/bucket \
    	--replicate "existing-objects,delete,delete-marker,replica-metadata-sync"
    sleep 1
    
    echo "adding replication rule for b -> a : ${remote_arn}"
    ./mc replicate add siteb/bucket/ \
    	--remote-bucket http://minio:minio123@127.0.0.1:9001/bucket \
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. docs/multi-user/README.md

    variables in the *Resource* element and in string comparisons in the *Condition* element.
    
    You can use a policy variable in the Resource element, but only in the resource portion of the ARN. This portion of the ARN appears after the 5th colon (:). You can't use a variable to replace parts of the ARN before the 5th colon, such as the service or account. The following policy might be attached to a group. It gives each of the users in the group full programmatic access to a user-specific object...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 8K bytes
    - Viewed (0)
  5. 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)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  6. internal/config/lambda/event/targetlist.go

    // Lookup - checks whether target by target ID exists is valid or not.
    func (list *TargetList) Lookup(arnStr string) (Target, error) {
    	list.RLock()
    	defer list.RUnlock()
    
    	arn, err := ParseARN(arnStr)
    	if err != nil {
    		return nil, err
    	}
    
    	id, found := list.targets[arn.TargetID]
    	if !found {
    		return nil, &ErrARNNotFound{}
    	}
    	return id, nil
    }
    
    // TargetIDResult returns result of Remove/Send operation, sets err if
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. internal/config/lambda/event/targetid_test.go

    		tid         TargetID
    		region      string
    		expectedARN ARN
    	}{
    		{tid, "", ARN{TargetID: tid, region: ""}},
    		{tid, "us-east-1", ARN{TargetID: tid, region: "us-east-1"}},
    	}
    
    	for i, testCase := range testCases {
    		arn := testCase.tid.ToARN(testCase.region)
    
    		if arn != testCase.expectedARN {
    			t.Fatalf("test %v: ARN: expected: %v, got: %v", i+1, testCase.expectedARN, arn)
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  8. internal/config/identity/openid/providercfg.go

    	ClaimUserinfo      bool
    	RedirectURI        string
    	RedirectURIDynamic bool
    	DiscoveryDoc       DiscoveryDoc
    	ClientID           string
    	ClientSecret       string
    	RolePolicy         string
    
    	roleArn  arn.ARN
    	provider provider.Provider
    }
    
    func newProviderCfgFromConfig(getCfgVal func(cfgName string) string) providerCfg {
    	return providerCfg{
    		DisplayName:        getCfgVal(DisplayName),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. internal/bucket/encryption/bucket-sse-config_test.go

    		XMLNS: xmlNS,
    		XMLName: xml.Name{
    			Local: "ServerSideEncryptionConfiguration",
    		},
    		Rules: []Rule{
    			{
    				DefaultEncryptionAction: EncryptionAction{
    					Algorithm:   AWSKms,
    					MasterKeyID: "arn:aws:kms:my-minio-key",
    				},
    			},
    		},
    	}
    
    	testCases := []struct {
    		inputXML       string
    		keyID          string
    		expectedErr    error
    		shouldPass     bool
    		expectedConfig *BucketSSEConfig
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 16 18:28:30 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    		// Built-in user should be imported without errors even if LDAP is
    		// enabled.
    		allUsersFile: `{
      "foo": {
        "secretKey": "foobar123",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
Back to top