spiffe

package
v0.0.0-...-1a56975 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Scheme = "spiffe"

	URIPrefix = Scheme + "://"
)

Variables

This section is empty.

Functions

func DetermineTrustDomain

func DetermineTrustDomain(commandLineTrustDomain string, isKubernetes bool) string

func GenCustomSpiffe

func GenCustomSpiffe(identity string) string

GenCustomSpiffe returns the spiffe string that can have a custom structure

func GenSpiffeURI

func GenSpiffeURI(ns, serviceAccount string) (string, error)

GenSpiffeURI returns the formatted uri(SPIFFEE format for now) for the certificate.

func GetTrustDomain

func GetTrustDomain() string

func MustGenSpiffeURI

func MustGenSpiffeURI(ns, serviceAccount string) string

MustGenSpiffeURI returns the formatted uri(SPIFFEE format for now) for the certificate and logs if there was an error.

func SetTrustDomain

func SetTrustDomain(value string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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