Skip to content
Golang library to parse and verify SVIDs
Go Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci standard docs, codeowners, circleci config Aug 9, 2017
cmd/spiffe fix build and test Dec 10, 2018
internal Workload API client support (#20) Jul 17, 2019
proto/spiffe/workload Workload API client support (#20) Jul 17, 2019
spiffe
spiffetest
testdata Added GetUrisInSubjectAltName function Jul 25, 2017
tls gofmt Sep 7, 2017
uri fix build and test Dec 10, 2018
workload Workload API client support (#20) Jul 17, 2019
CODEOWNERS add codeowners Aug 9, 2017
LICENSE
Makefile
README.md
go.mod Workload API client support (#20) Jul 17, 2019
go.sum Workload API client support (#20) Jul 17, 2019

README.md

go-spiffe library GoDoc

Overview

The go-spiffe project provides two components:

  • a command-line utility to parse and verify SPIFFE identities encoded in X.509 certificates as described in the SPIFFE Standards.
  • a client library that provides an interface to the SPIFFE Workload API.

Installing it

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

Importing it in your Go code

See examples in the tests 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"
You can’t perform that action at this time.