[go: up one dir, main page]

sse

package
v7.0.45 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 1 Imported by: 54 modules, 47 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL