Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for kmskeyid (0.07 sec)

  1. cmd/batch-rotate_gen.go

    				err = z.Metadata[za0002].DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "Metadata", za0002)
    					return
    				}
    			}
    		case "KMSKeyID":
    			z.KMSKeyID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "KMSKeyID")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  2. cmd/batch-rotate.go

    	Tags          []BatchJobKV  `yaml:"tags,omitempty" json:"tags"`
    	Metadata      []BatchJobKV  `yaml:"metadata,omitempty" json:"metadata"`
    	KMSKeyID      string        `yaml:"kmskeyid" json:"kmskey"`
    }
    
    // BatchKeyRotateNotification success or failure notification endpoint for each job attempts
    type BatchKeyRotateNotification struct {
    	Endpoint string `yaml:"endpoint" json:"endpoint"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. cmd/encryption-v1.go

    	SSEDAREPackageMetaSize = 32 // 32 bytes
    
    )
    
    // KMSKeyID returns in AWS compatible KMS KeyID() format.
    func (o *ObjectInfo) KMSKeyID() string { return kmsKeyIDFromMetadata(o.UserDefined) }
    
    // KMSKeyID returns in AWS compatible KMS KeyID() format.
    func (o *MultipartInfo) KMSKeyID() string { return kmsKeyIDFromMetadata(o.UserDefined) }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle.go

    // Encryption specifies encryption setting on restored bucket
    type Encryption struct {
    	EncryptionType sse.Algorithm `xml:"EncryptionType"`
    	KMSContext     string        `xml:"KMSContext,omitempty"`
    	KMSKeyID       string        `xml:"KMSKeyId,omitempty"`
    }
    
    // MetadataEntry denotes name and value.
    type MetadataEntry struct {
    	Name  string `xml:"Name"`
    	Value string `xml:"Value"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  5. 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)
  6. cmd/object-multipart-handlers.go

    		switch kind {
    		case crypto.S3KMS:
    			w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionKMS)
    			w.Header().Set(xhttp.AmzServerSideEncryptionKmsID, mi.KMSKeyID())
    			if kmsCtx, ok := mi.UserDefined[crypto.MetaContext]; ok {
    				w.Header().Set(xhttp.AmzServerSideEncryptionKmsContext, kmsCtx)
    			}
    			if len(etag) >= 32 && strings.Count(etag, "-") != 1 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  7. 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)
  8. internal/crypto/sse-s3.go

    func (sses3) ParseMetadata(metadata map[string]string) (keyID string, kmsKey []byte, sealedKey SealedKey, err error) {
    	// Extract all required values from object metadata
    	b64IV, ok := metadata[MetaIV]
    	if !ok {
    		return keyID, kmsKey, sealedKey, errMissingInternalIV
    	}
    	algorithm, ok := metadata[MetaAlgorithm]
    	if !ok {
    		return keyID, kmsKey, sealedKey, errMissingInternalSealAlgorithm
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. internal/crypto/sse-kms.go

    func (ssekms) ParseMetadata(metadata map[string]string) (keyID string, kmsKey []byte, sealedKey SealedKey, ctx kms.Context, err error) {
    	// Extract all required values from object metadata
    	b64IV, ok := metadata[MetaIV]
    	if !ok {
    		return keyID, kmsKey, sealedKey, ctx, errMissingInternalIV
    	}
    	algorithm, ok := metadata[MetaAlgorithm]
    	if !ok {
    		return keyID, kmsKey, sealedKey, ctx, errMissingInternalSealAlgorithm
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. internal/config/crypto.go

    		return nil, sio.NotAuthentic
    	}
    	return stream.DecryptReader(ciphertext, metadata.Nonce, nil), nil
    }
    
    type encryptedObject struct {
    	KeyID  string `json:"keyid"`
    	KMSKey []byte `json:"kmskey"`
    
    	Algorithm sio.Algorithm `json:"algorithm"`
    	Nonce     []byte        `json:"nonce"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top