certkeyusage

package
v1.34.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

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