Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CitadelClient

type CitadelClient struct {
	// contains filtered or unexported fields
}

func NewCitadelClient

func NewCitadelClient(opts security.Options, tls bool, rootCert []byte) (*CitadelClient, error)

    NewCitadelClient create a CA client for Citadel.

    func (*CitadelClient) CSRSign

    func (c *CitadelClient) CSRSign(csrPEM []byte, certValidTTLInSec int64) ([]string, error)

      CSR Sign calls Citadel to sign a CSR.

      func (*CitadelClient) Close

      func (c *CitadelClient) Close()

      Source Files