Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for html (0.23 sec)

  1. cmd/signature-v4.go

    	return subtle.ConstantTimeCompare([]byte(sig1), []byte(sig2)) == 1
    }
    
    // doesPolicySignatureMatch - Verify query headers with post policy
    //   - http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-HTTPPOSTConstructPolicy.html
    //
    // returns ErrNone if the signature matches.
    func doesPolicySignatureV4Match(formValues http.Header) (auth.Credentials, APIErrorCode) {
    	// Server region.
    	region := globalSite.Region
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. cmd/sts-handlers.go

    	}
    	return secret, nil
    }
    
    // AssumeRole - implementation of AWS STS API AssumeRole to get temporary
    // credentials for regular users on Minio.
    // https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
    func (sts *stsAPIHandlers) AssumeRole(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "AssumeRole")
    
    	claims := make(map[string]interface{})
    	defer logger.AuditLog(ctx, w, r, claims)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  3. internal/bucket/object/lock/lock.go

    	}
    
    	*dr = DefaultRetention(retention)
    
    	return nil
    }
    
    // Config - object lock configuration specified in
    // https://docs.aws.amazon.com/AmazonS3/latest/API/Type_API_ObjectLockConfiguration.html
    type Config struct {
    	XMLNS             string   `xml:"xmlns,attr,omitempty"`
    	XMLName           xml.Name `xml:"ObjectLockConfiguration"`
    	ObjectLockEnabled string   `xml:"ObjectLockEnabled"`
    	Rule              *struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/lifecycle.go

    				// once delete markers are old enough to satisfy the age criteria.
    				// https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-configuration-examples.html
    				if expectedExpiry := ExpectedExpiryTime(obj.ModTime, int(rule.Expiration.Days)); now.IsZero() || now.After(expectedExpiry) {
    					events = append(events, Event{
    						Action: DeleteVersionAction,
    						RuleID: rule.ID,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  5. cmd/generic-handlers.go

    	// Maximum size for http headers - See: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html
    	maxHeaderSize = 8 * 1024
    
    	// Maximum size for user-defined metadata - See: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html
    	maxUserDataSize = 2 * 1024
    
    	// maxBuckets upto 500000 for any MinIO deployment.
    	maxBuckets = 500 * 1000
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  6. cmd/s3-zip-handlers.go

    		if getRequestAuthType(r) == authTypeAnonymous {
    			// As per "Permission" section in
    			// https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGET.html
    			// If the object you request does not exist,
    			// the error Amazon S3 returns depends on
    			// whether you also have the s3:ListBucket
    			// permission.
    			// * If you have the s3:ListBucket permission
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  7. cmd/bucket-object-lock.go

    					return ObjectLocked{}
    				}
    
    				if !ret.RetainUntilDate.Before(t) {
    					return ObjectLocked{}
    				}
    				return nil
    			}
    			// https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html#object-lock-retention-modes
    			// If you try to delete objects protected by governance mode and have s3:BypassGovernanceRetention, the operation will succeed.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  8. cmd/signature-v2.go

    }
    
    // Signature and API related constants.
    const (
    	signV2Algorithm = "AWS"
    )
    
    // AWS S3 Signature V2 calculation rule is give here:
    // http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html#RESTAuthenticationStringToSign
    func doesPolicySignatureV2Match(formValues http.Header) (auth.Credentials, APIErrorCode) {
    	accessKey := formValues.Get(xhttp.AmzAccessKeyID)
    
    	r := &http.Request{Header: formValues}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  9. schema/schema.go

    			default:
    				logger.Default.Warn(context.Background(), "Model %v don't match %vInterface, should be `%v(*gorm.DB) error`. Please see https://gorm.io/docs/hooks.html", schema, cbName, cbName)
    			}
    		}
    	}
    
    	// Cache the schema
    	if v, loaded := cacheStore.LoadOrStore(schemaCacheKey, schema); loaded {
    		s := v.(*Schema)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Oct 10 06:50:29 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  10. cmd/streaming-signature-v4.go

    	newSignature := getSignature(signingKey, stringToSign)
    
    	return newSignature
    }
    
    // calculateSeedSignature - Calculate seed signature in accordance with
    //   - http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-streaming.html
    //
    // returns signature, error otherwise if the signature mismatches or any other
    // error while parsing and validating.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
Back to top