Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for 17 (0.15 sec)

  1. docs/bucket/replication/setup_replication.sh

    # create a replication admin user : repladmin
    mc admin user add source repladmin repladmin123
    
    # create a replication policy for repladmin
    cat >repladmin-policy-source.json <<EOF
    {
        "Version": "2012-10-17",
        "Statement": [
        {
            "Action": [
                "admin:SetBucketTarget",
                "admin:GetBucketTarget"
            ],
            "Effect": "Allow",
            "Sid": ""
         }, 
         {
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users_test.go

    	// 1. Create a policy
    	policy1 := "deny-svc"
    	policy2 := "allow-svc"
    	policyBytes := []byte(`{
     "Version": "2012-10-17",
     "Statement": [
      {
       "Effect": "Deny",
       "Action": [
        "admin:CreateServiceAccount"
       ]
      }
     ]
    }`)
    
    	newPolicyBytes := []byte(`{
     "Version": "2012-10-17",
     "Statement": [
      {
       "Effect": "Allow",
       "Action": [
        "s3:ListBucket"
       ],
       "Resource": [
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  3. docs/distributed/rw.json

    {
      "Version": "2012-10-17",
      "Statement": [
       {
        "Effect": "Allow",
        "Action": [
         "s3:*"
        ],
        "Resource": [
         "arn:aws:s3:::*"
        ]
       }
      ]
    Json
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jul 04 21:02:54 GMT 2022
    - 166 bytes
    - Viewed (0)
  4. cmd/scannermetric_string.go

    	_ = x[scannerMetricHealAbandonedVersion-12]
    	_ = x[scannerMetricStartTrace-13]
    	_ = x[scannerMetricScanObject-14]
    	_ = x[scannerMetricHealAbandonedObject-15]
    	_ = x[scannerMetricLastRealtime-16]
    	_ = x[scannerMetricScanFolder-17]
    	_ = x[scannerMetricScanCycle-18]
    	_ = x[scannerMetricScanBucketDrive-19]
    	_ = x[scannerMetricCompactFolder-20]
    	_ = x[scannerMetricLast-21]
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users-race_test.go

    	if err != nil {
    		c.Fatalf("bucket creat error: %v", err)
    	}
    
    	// Create a policy policy
    	policy := "mypolicy"
    	policyBytes := []byte(fmt.Sprintf(`{
     "Version": "2012-10-17",
     "Statement": [
      {
       "Effect": "Allow",
       "Action": [
        "s3:PutObject",
        "s3:GetObject",
        "s3:ListBucket"
       ],
       "Resource": [
        "arn:aws:s3:::%s/*"
       ]
      }
     ]
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. docs/sts/dex.md

         -cscopes groups,openid,email,profile
    ```
    
    ```
    ~ mc admin policy create admin allaccess.json
    ```
    
    Contents of `allaccess.json`
    
    ```json
    {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": [
            "s3:*"
          ],
          "Resource": [
            "arn:aws:s3:::*"
          ]
        }
      ]
    }
    ```
    
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 3.8K bytes
    - Viewed (1)
  7. cmd/bucket-policy-handlers_test.go

    		t.Fatal(err)
    	}
    
    	// template for constructing HTTP request body for PUT bucket policy.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  8. docs/bucket/replication/README.md

    The following minimal permission policy is needed by admin user setting up replication on the `source`:
    
    ```
    {
     "Version": "2012-10-17",
     "Statement": [
      {
        "Action": [
            "admin:SetBucketTarget",
            "admin:GetBucketTarget"
        ],
        "Effect": "Allow",
        "Sid": ""
      },
      {
       "Effect": "Allow",
       "Action": [
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 24 23:46:33 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  9. cmd/erasure-metadata-utils_test.go

    		t.Fatal(err)
    	}
    	defer removeRoots(disks)
    	z := objLayer.(*erasureServerPools)
    	testShuffleDisks(t, z)
    }
    
    func Test_hashOrder(t *testing.T) {
    	for x := 1; x < 17; x++ {
    		t.Run(fmt.Sprintf("%d", x), func(t *testing.T) {
    			var first [17]int
    			rng := rand.New(rand.NewSource(0))
    			var tmp [16]byte
    			rng.Read(tmp[:])
    			prefix := hex.EncodeToString(tmp[:])
    			for i := 0; i < 10000; i++ {
    				rng.Read(tmp[:])
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. docs/multi-user/admin/README.md

    Create new canned policy file `adminManageUser.json`. This policy enables admin user to
    manage other users.
    
    ```json
    cat > adminManageUser.json << EOF
    {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Action": [
            "admin:CreateUser",
            "admin:DeleteUser",
            "admin:ConfigUpdate"
          ],
          "Effect": "Allow",
          "Sid": ""
        },
        {
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 4.5K bytes
    - Viewed (0)
Back to top