Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for kmskeyid (0.05 sec)

  1. cmd/object-handlers.go

    		w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionAES)
    	case crypto.S3KMS:
    		w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionKMS)
    		w.Header().Set(xhttp.AmzServerSideEncryptionKmsID, objInfo.KMSKeyID())
    		if kmsCtx, ok := objInfo.UserDefined[crypto.MetaContext]; ok {
    			w.Header().Set(xhttp.AmzServerSideEncryptionKmsContext, kmsCtx)
    		}
    	case crypto.SSEC:
    		// Validate the SSE-C Key set in the header.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    	}
    	if crypto.S3.IsEncrypted(objInfo.UserDefined) {
    		putOpts.ServerSideEncryption = encrypt.NewSSE()
    	}
    
    	if crypto.S3KMS.IsEncrypted(objInfo.UserDefined) {
    		sseEnc, err := encrypt.NewSSEKMS(objInfo.KMSKeyID(), nil)
    		if err != nil {
    			return putOpts, err
    		}
    		putOpts.ServerSideEncryption = sseEnc
    	}
    	return
    }
    
    type replicationAction string
    
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top