Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplySSEByDefault ¶
type ApplySSEByDefault struct { KmsMasterKeyID string `xml:"KMSMasterKeyID,omitempty"` SSEAlgorithm string `xml:"SSEAlgorithm"` }
ApplySSEByDefault defines default encryption configuration, KMS or SSE. To activate KMS, SSEAlgoritm needs to be set to "aws:kms" Minio currently does not support Kms.
type Configuration ¶
type Configuration struct { XMLName xml.Name `xml:"ServerSideEncryptionConfiguration"` Rules []Rule `xml:"Rule"` }
Configuration is the default encryption configuration structure
func NewConfigurationSSEKMS ¶
func NewConfigurationSSEKMS(kmsMasterKey string) *Configuration
NewConfigurationSSEKMS initializes a new SSE-KMS configuration
func NewConfigurationSSES3 ¶
func NewConfigurationSSES3() *Configuration
NewConfigurationSSES3 initializes a new SSE-S3 configuration
type Rule ¶
type Rule struct {
Apply ApplySSEByDefault `xml:"ApplyServerSideEncryptionByDefault"`
}
Rule layer encapsulates default encryption configuration
Click to show internal directories.
Click to hide internal directories.