identity

package
v0.4.0-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

README

QuicSec Identity Manager

Identity Manager provides pluggable integration with Identity Platforms.

The currently supported Identity Platform plugins are:

  • Cert-manager-CSI-SPIFFE (workload identity - SPIFFE)
  • Cert-manager (workload identity)

Contributing Plugins

ToDo - provide documentation here on how to contribute additional Identity plugins

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCert

func GetCert() (*tls.Certificate, error)

func GetCertPool

func GetCertPool() (*x509.CertPool, error)

func GetCurrentIdentity

func GetCurrentIdentity() (spiffeid.ID, error)

func IDFromCert

func IDFromCert(cert *x509.Certificate) (spiffeid.ID, error)

IDFromCert extracts the SPIFFE ID from the URI SAN of the provided certificate. It will return an an error if the certificate does not have exactly one URI SAN with a well-formed SPIFFE ID.

func VerifyIdentity

func VerifyIdentity(uri string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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