istio: istio.io/istio/pkg/spiffe Index | Files

package spiffe

import "istio.io/istio/pkg/spiffe"

Index

Package Files

spiffe.go

Constants

const (
    Scheme = "spiffe"

    URIPrefix = Scheme + "://"
)

func DetermineTrustDomain Uses

func DetermineTrustDomain(commandLineTrustDomain string, isKubernetes bool) string

func GenCustomSpiffe Uses

func GenCustomSpiffe(identity string) string

GenCustomSpiffe returns the spiffe string that can have a custom structure

func GenSpiffeURI Uses

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

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

func GetTrustDomain Uses

func GetTrustDomain() string

func MustGenSpiffeURI Uses

func MustGenSpiffeURI(ns, serviceAccount string) string

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

func SetTrustDomain Uses

func SetTrustDomain(value string)

Package spiffe imports 4 packages (graph) and is imported by 26 packages. Updated 2019-09-18. Refresh now. Tools for package owners.