config

package
v0.0.3-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attestation

type Attestation struct {
	AllowAttestorSelfCA bool     `yaml:"allow-attestor-self-ca" json:"allow_attestor_self_ca" mapstructure:"allow-attestor-self-ca"`
	AllowOpenEnrollment bool     `yaml:"allow-open-enrollment" json:"allow-open-enrollment" mapstructure:"allow-open-enrollment"`
	AllowedVerifiers    []string `yaml:"allowed-verifiers" json:"allowed_verifiers" mapstructure:"allowed-verifiers"`
	InsecurePort        int      `yaml:"insecure-port" json:"insecure_port" mapstructure:"insecure-port"`
	InsecureSkipVerify  bool     `yaml:"insecure-skip-verify" json:"insecure_skip_verify" mapstructure:"insecure-skip-verify"`
	TLSPort             int      `yaml:"tls-port" json:"tls_port" mapstructure:"tls-port"`
	QuotePCRs           []int32  `yaml:"quote-pcrs" json:"quote-pcrs" mapstructure:"quote-pcrs"`
}

type Identity

type Identity struct {
	SANS    *ca.SubjectAlternativeNames `yaml:"sans" json:"sans" mapstructure:"sans"`
	Subject ca.Subject                  `yaml:"subject" json:"subject" mapstructure:"subject"`
	Valid   int                         `yaml:"valid" json:"valid" mapstructure:"valid"`
}

type JWT

type JWT struct {
	Expiration int64  `yaml:"expiration" json:"expiration" mapstructure:"expiration"`
	Issuer     string `yaml:"issuer" json:"issuer" mapstructure:"issuer"`
}

type WebAuthn

type WebAuthn struct {
	RPDisplayName string   `yaml:"display-name" json:"display_name" mapstructure:"display-name"`
	RPID          string   `yaml:"id" json:"id" mapstructure:"id"`
	RPOrigins     []string `yaml:"origins" json:"origins" mapstructure:"origins"`
}

type WebService

type WebService struct {
	Certificate Identity            `yaml:"certificate" json:"certificate" mapstructure:"certificate"`
	Home        string              `yaml:"home" json:"home" mapstructure:"home"`
	JWT         JWT                 `yaml:"jwt" json:"jwt" mapstructure:"jwt"`
	Key         *keystore.KeyConfig `yaml:"key" json:"key" mapstructure:"key"`
	Port        int                 `yaml:"port" json:"port" mapstructure:"port"`
	TLSPort     int                 `yaml:"tls-port" json:"tls_port" mapstructure:"tls-port"`
	WebAuthn    *WebAuthn           `yaml:"webauthn" json:"webauthn" mapstructure:"webauthn"`
}

Jump to

Keyboard shortcuts

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