Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sseKMS (0.06 sec)

  1. cmd/batch-rotate.go

    func (e BatchJobKeyRotateEncryption) Validate() error {
    	if e.Type != sses3 && e.Type != ssekms {
    		return errInvalidArgument
    	}
    	spaces := strings.HasPrefix(e.Key, " ") || strings.HasSuffix(e.Key, " ")
    	if e.Type == ssekms && spaces {
    		return crypto.ErrInvalidEncryptionKeyID
    	}
    
    	if e.Type == ssekms && GlobalKMS != nil {
    		ctx := kms.Context{}
    		if e.Context != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	sseC := crypto.SSEC.IsRequested(r.Header)
    	sseS3 := crypto.S3.IsRequested(r.Header)
    	sseKMS := crypto.S3KMS.IsRequested(r.Header)
    
    	isSourceEncrypted := sseCopyC || sseCopyS3 || sseCopyKMS
    	isTargetEncrypted := sseC || sseS3 || sseKMS
    
    	if sseC {
    		newKey, err = ParseSSECustomerRequest(r)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top