vault: github.com/hashicorp/vault/builtin/credential/cert Index | Files

package cert

import "github.com/hashicorp/vault/builtin/credential/cert"

Index

Package Files

backend.go cli.go path_certs.go path_config.go path_crls.go path_login.go

func Backend Uses

func Backend() *backend

func Factory Uses

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

type CLIHandler Uses

type CLIHandler struct{}

func (*CLIHandler) Auth Uses

func (h *CLIHandler) Auth(c *api.Client, m map[string]string) (*api.Secret, error)

func (*CLIHandler) Help Uses

func (h *CLIHandler) Help() string

type CRLInfo Uses

type CRLInfo struct {
    Serials map[string]RevokedSerialInfo `json:"serials" structs:"serials" mapstructure:"serials"`
}

type CertEntry Uses

type CertEntry struct {
    tokenutil.TokenParams

    Name                       string
    Certificate                string
    DisplayName                string
    Policies                   []string
    TTL                        time.Duration
    MaxTTL                     time.Duration
    Period                     time.Duration
    AllowedNames               []string
    AllowedCommonNames         []string
    AllowedDNSSANs             []string
    AllowedEmailSANs           []string
    AllowedURISANs             []string
    AllowedOrganizationalUnits []string
    RequiredExtensions         []string
    BoundCIDRs                 []*sockaddr.SockAddrMarshaler
}

type ParsedCert Uses

type ParsedCert struct {
    Entry        *CertEntry
    Certificates []*x509.Certificate
}

ParsedCert is a certificate that has been configured as trusted

type RevokedSerialInfo Uses

type RevokedSerialInfo struct {
}

Package cert imports 25 packages (graph) and is imported by 29 packages. Updated 2019-07-23. Refresh now. Tools for package owners.