Help us shape the future of Go! Take the 2026 Go Developer Survey

certkeyusage

package
v1.30.5 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 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