Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCertKeyUsage ¶
func GetCertKeyUsage(secret string) []x509.ExtKeyUsage
GetKeyUsage looks up the expected usage for keys by name. Currently these are certs that in a legacy install may have been created with only Server ext key usage but now with linseed they they need to also have client for mTLS. This is a varaible so that we can override this for testing purposes.
func SetCertKeyUsage ¶
func SetCertKeyUsage(secretName string, usage []x509.ExtKeyUsage)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.