Skip to content

trilokgm/go-spiffe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-spiffe library GoDoc

Overview

The go-spiffe library provides functionality to parse and verify SPIFFE identities encoded in X.509 certificates as described in the SPIFFE Standards.

Installing it

go get -u -v github.com/spiffe/go-spiffe

Importing it in your Go code

See examples in examples_test.go or visit the GoDoc for more information

Installing the command line interface

The command line interface can be used to retrieve and view URIs stored in the SAN extension of certificates

go get -u -v github.com/spiffe/go-spiffe/cmd/spiffe
spiffe testdata/leaf.cert.pem $HOME/certs/proj.pem
Path:: #1: "testdata/leaf.cert.pem"
  URI #1: "spiffe://dev.acme.com/path/service"

About

Golang library to parse and verify SVIDs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.7%
  • Makefile 1.3%