constellation/internal/kms/config/config.go
Daniel Weiße 690b50b29d
dev-docs: Go package docs (#958)
* Remove unused package

* Add Go package docs to most packages

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
Co-authored-by: Fabian Kammel <fk@edgeless.systems>
2023-01-19 15:57:50 +01:00

29 lines
888 B
Go

/*
Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
// Package config provides configuration constants for the KeyService.
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"
)