Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Condition (0.42 sec)

  1. cmd/sts-handlers_test.go

          "Action":     "s3:GetObject",
          "Resource":    "arn:aws:s3:::%s/*",
          "Condition": {  "StringEquals": {"s3:ExistingObjectTag/security": "public" } }
        },
        {
          "Effect":     "Allow",
          "Action":     "s3:DeleteObjectTagging",
          "Resource":    "arn:aws:s3:::%s/*",
          "Condition": {  "StringEquals": {"s3:ExistingObjectTag/security": "public" } }
        },
        {
    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)
  2. cmd/api-errors.go

    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrPostPolicyConditionInvalidFormat: {
    		Code:           "PostPolicyInvalidKeyName",
    		Description:    "Invalid according to Policy: Policy Condition failed",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrInvalidChecksum: {
    		Code:           "InvalidArgument",
    		Description:    "Invalid checksum provided.",
    		HTTPStatusCode: http.StatusBadRequest,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  3. cmd/erasure-object.go

    		}
    	}
    
    	// Return all the metadata.
    	return metaFileInfos, errs
    }
    
    // Checking if an object is dangling costs some IOPS; hence implementing this function
    // which decides which condition it is useful to check if an object is dangling
    //
    //	  errs: errors from reading xl.meta in all disks
    //	   err: reduced errs
    //	bucket: the object name in question
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. internal/rest/client.go

    	if c.TraceOutput != nil && resp.StatusCode != http.StatusOK {
    		c.dumpHTTP(req, resp)
    	}
    
    	if resp.StatusCode != http.StatusOK {
    		// If server returns 412 pre-condition failed, it would
    		// mean that authentication succeeded, but another
    		// side-channel check has failed, we shall take
    		// the client offline in such situations.
    		// generally all implementations should simply return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  5. cmd/object-api-errors.go

    }
    
    // PreConditionFailed - Check if copy precondition failed
    type PreConditionFailed struct{}
    
    func (e PreConditionFailed) Error() string {
    	return "At least one of the pre-conditions you specified did not hold"
    }
    
    func isErrPreconditionFailed(err error) bool {
    	_, ok := err.(PreConditionFailed)
    	return ok
    }
    
    // isErrMethodNotAllowed - Check if error type is MethodNotAllowed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  6. helm/minio/values.yaml

    # - name: conditionsexample
    #   statements:
    #     - resources:
    #       - 'arn:aws:s3:::example/*'
    #       actions:
    #       - 's3:*'
    #       conditions:
    #         - StringEquals: '"aws:username": "johndoe"'
    #         - IpAddress: |
    #             "aws:SourceIp": [
    #               "10.0.0.0/8",
    #               "192.168.0.0/24"
    #             ]
    #
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 18.4K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    					return
    				}
    			}
    		}
    
    		if errors.Is(err, cache.ErrKeyMissing) {
    			update = true
    		}
    	}
    
    	// Validate pre-conditions if any.
    	opts.CheckPrecondFn = func(oi ObjectInfo) bool {
    		if _, err := DecryptObjectInfo(&oi, r); err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return true
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    		}
    		ctx = lkctx.Context()
    		nsUnlocker = func() { lock.RUnlock(lkctx) }
    		unlockOnDefer = true
    	}
    
    	checkPrecondFn := opts.CheckPrecondFn
    	opts.CheckPrecondFn = nil // do not need to apply pre-conditions at lower layer.
    	opts.NoLock = true        // no locks needed at lower levels for getObjectInfo()
    	objInfo, zIdx, err := z.getLatestObjectInfoWithIdx(ctx, bucket, object, opts)
    	if err != nil {
    		if objInfo.DeleteMarker {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  9. cmd/common-main.go

    		}
    		// Try to generate a data encryption key. Only try to create key if this fails.
    		// This implicitly checks that we can communicate to KES.
    		// We don't treat a policy error as failure condition since MinIO may not have the permission
    		// to create keys - just to generate/decrypt data encryption keys.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  10. cmd/bucket-replication.go

    		if resetID != "" && oi.ModTime.Before(resetBeforeDate) { // trigger replication if `mc replicate reset` requested
    			rd.Replicate = true
    			return
    		}
    		// For existing object reset - this condition is needed
    		rd.Replicate = tgtStatus == ""
    		return
    	}
    	if resetID == "" || resetBeforeDate.Equal(timeSentinel) { // no reset in progress
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
Back to top