Documentation
¶
Index ¶
Constants ¶
View Source
const ( APIName = "CMK" KMS = "KMS" BasePath = "/cmk/v1/{tenant}" )
View Source
const ( KeyTypeSystemManaged = "SYSTEM_MANAGED" KeyTypeBYOK = "BYOK" KeyTypeHYOK = "HYOK" DefaultKeyStore = "DEFAULT_KEYSTORE" HYOKKeyStore = "HYOK_KEYSTORE" )
View Source
const ( DefaultTop = 20 DefaultSkip = 0 )
View Source
const ( QueryMaxLengthSystem = 50 QueryMaxLengthName = 255 )
View Source
const ( //nolint:gosec AuthTypeSecret = "AUTH_TYPE_SECRET" AuthTypeCertificate = "AUTH_TYPE_CERTIFICATE" TenantAdminGroup string = "TenantAdministrator" TenantAuditorGroup string = "TenantAuditor" KeyAdminRole Role = "KEY_ADMINISTRATOR" TenantAdminRole Role = "TENANT_ADMINISTRATOR" TenantAuditorRole Role = "TENANT_AUDITOR" )
View Source
const ( DefaultConfigPath1 = "/etc/cmk" DefaultConfigPath2 = "$HOME/.cmk" )
View Source
const ( WorkflowConfigKey = "WORKFLOW_CONFIG" DefaultMinimumApprovalCount = 2 DefaultRetentionPeriodDays = 30 DefaultExpiryPeriodDays = 7 DefaultMaxExpiryPeriodDays = 30 WorkflowArtifactTypeSystem = "SYSTEM" WorkflowActionTypeLink = "LINK" WorkflowActionTypeUnlink = "UNLINK" WorkflowActionTypeSwitch = "SWITCH" )
View Source
const (
ClientData clientDataKey = "ClientData"
)
View Source
const KeyActionSetPrimary = "SET_PRIMARY_KEY"
Variables ¶
View Source
var SystemUser uuid.UUID = uuid.Max
SystemUser Do not add further internal users without blocklisting in the clientdata
Functions ¶
This section is empty.
Types ¶
type ContextClientData ¶
Click to show internal directories.
Click to hide internal directories.