pki

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MPL-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTTP_UNAUTHORIZED = 401
	LEGACY_PEM        = "der"
)
View Source
const SecretCertsType = "pki"

SecretCertsType is the name used to identify this type

Variables

This section is empty.

Functions

func Backend

func Backend(conf *logical.BackendConfig) *backend

Backend returns a new Backend framework struct

func Factory

func Factory(ctx context.Context, conf *logical.BackendConfig) (logical.Backend, error)

Factory creates a new backend implementing the logical.Backend interface

Types

type ParsedCertificate added in v0.12.0

type ParsedCertificate struct {
	DecodedCertificate    *pem.Block
	ParsedX509Certificate *x509.Certificate
	Chain                 string
	SerialNumber          string
}

type RunContext

type RunContext struct {
	TPPurl              string
	TPPuser             string
	TPPPassword         string
	TPPZone             string
	CloudUrl            string
	CloudAPIkey         string
	CloudZone           string
	TokenUrl            string
	AccessToken         string
	TPPTestingEnabled   bool
	CloudTestingEnabled bool
	FakeTestingEnabled  bool
	TokenTestingEnabled bool
	TPPIssuerCN         string
	CloudIssuerCN       string
	FakeIssuerCN        string
	ClientId            string
}

func GetContext

func GetContext() *RunContext

type SyncedResponse added in v0.12.0

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

type VenafiCert

type VenafiCert struct {
	Certificate      string `json:"certificate"`
	CertificateChain string `json:"certificate_chain"`
	PrivateKey       string `json:"private_key"`
	SerialNumber     string `json:"serial_number"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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