constellation/kms/pkg/config/config.go
Leonard Cohnen 2d8fcd9bf4 monorepo
Co-authored-by: Malte Poll <mp@edgeless.systems>
Co-authored-by: katexochen <katexochen@users.noreply.github.com>
Co-authored-by: Daniel Weiße <dw@edgeless.systems>
Co-authored-by: Thomas Tendyck <tt@edgeless.systems>
Co-authored-by: Benedict Schlueter <bs@edgeless.systems>
Co-authored-by: leongross <leon.gross@rub.de>
Co-authored-by: Moritz Eckert <m1gh7ym0@gmail.com>
2022-03-22 16:09:39 +01:00

22 lines
734 B
Go

package config
const (
// SymmetricKeyLength is the length of symmetric encryption keys in bytes. We use AES256, therefore this is 32 Bytes.
SymmetricKeyLength = 32
)
var (
// KmsTags are the default tags for kms client created KMS solutions.
KmsTags = map[string]string{
"createdBy": "constellation-kms-client",
"component": "constellation-kek",
}
// StorageTags are the default tags for kms client created storage solutions.
StorageTags = map[string]string{
"createdBy": "constellation-kms-client",
"component": "constellation-dek-store",
}
// AWSS3Tag is the default tag string for kms client created AWS S3 storage solutions.
AWSS3Tag = "createdBy=constellation-kms-client&component=constellation-dek-store"
)