consts

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SecManagedByField          = "managed-by"
	SecManagedByValue          = "secretfromvaults-operator.xo.90poe.io"
	OperatorSecretsInVaultPath = "secret/vault-secrets-operator"
	TLSCachePath               = "secret/vault-secrets-operator/tls-cache"
	PKIDomain                  = "domain"
	PKIDefaultTTL              = "default_ttl"
	PKIPath                    = "pki_path"
	PKICachePath               = "pki_cache_path"
	PKIRole                    = "pki_role"
	VaultPKICleanupInHours     = 24
	VaultClientTimeoutSec      = 60
	VaultPlainValueKey         = "value"
	VaultBase64ValueKey        = "base64_value"
	URLCheckRegexpPattern      = `\b(([\w-]+://?|www[.])[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|/)))`
	PKIKeyAlgRSA2048           = "rsa2048"
	PKIKeyAlgRSA4096           = "rsa4096"
	PKIKeyAlgECPrime256        = "ec-Prime256-1"
	TLSSerialHumanSeparator    = ":"
	TLSSerialVaultSeparator    = "-"
	SecretsFinalizer           = "finalizer.secretfromvault.xo.90poe.io"
	ECDSACurvePattern          = `^(p224|p256|p384|p521)$`
	CertTypePattern            = `^(rsa|ec|ecdsa)$`
	// Error types for VaultCertificate
	// 2 types: RevocerableError and UnrecoverableError
	RecoverableError   = "RecoverableError"
	UnrecoverableError = "UnrecoverableError"
	SuccessReconcile   = "Ready"
	// Certificate Types
	CertTypeRSA   = "rsa"
	CertTypeEC    = "ec"
	CertTypeECDCA = "ecdsa"
	// CertCachePath points to cache dir path for certs in Vault
	CNParserRegexp = `^([a-z0-9][-a-z0-9]*[a-z0-9])?\.(.*)$`
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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