Documentation
¶
Index ¶
- func ParseCertificate(cert []byte) (*x509.Certificate, error)
- type AppRole
- type Aws
- type AwsSecretManager
- type AwsSecretManagerLogin
- type Azure
- type AzureCredentials
- type AzureKeyVault
- type Cache
- type Expiry
- type Fs
- type Gcp
- type GcpCredentials
- type GcpSecretManager
- type Gemalto
- type GemaltoCredentials
- type GemaltoKeySecure
- type GemaltoTLS
- type Identity
- type Keys
- type Log
- type Policy
- type ServerConfig
- type TLS
- type TLSProxy
- type TLSProxyHeader
- type Vault
- type VaultStatus
- type VaultTLS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseCertificate ¶
func ParseCertificate(cert []byte) (*x509.Certificate, error)
Types ¶
type Aws ¶
type Aws struct {
SecretsManager *AwsSecretManager `yaml:"secretsmanager,omitempty" json:"secretsmanager,omitempty"`
}
type AwsSecretManager ¶
type AwsSecretManager struct {
Endpoint string `yaml:"endpoint,omitempty" json:"endpoint,omitempty"`
Region string `yaml:"region,omitempty" json:"region,omitempty"`
KmsKey string `yaml:"kmskey,omitempty" json:"kmskey,omitempty"`
Login *AwsSecretManagerLogin `yaml:"credentials,omitempty" json:"credentials,omitempty"`
}
type AwsSecretManagerLogin ¶
type Azure ¶ added in v0.10.1
type Azure struct {
KeyVault *AzureKeyVault `yaml:"keyvault,omitempty" json:"keyvault,omitempty"`
}
type AzureCredentials ¶ added in v0.10.1
type AzureKeyVault ¶ added in v0.10.1
type AzureKeyVault struct {
Endpoint string `yaml:"endpoint,omitempty" json:"endpoint,omitempty"`
Credentials *AzureCredentials `yaml:"credentials,omitempty" json:"credentials,omitempty"`
}
type Gcp ¶ added in v0.6.0
type Gcp struct {
SecretManager *GcpSecretManager `yaml:"secretmanager,omitempty" json:"secretmanager,omitempty"`
}
type GcpCredentials ¶ added in v0.6.0
type GcpSecretManager ¶ added in v0.6.0
type GcpSecretManager struct {
ProjectID string `yaml:"project_id" json:"project_id"`
Endpoint string `yaml:"endpoint,omitempty" json:"endpoint,omitempty"`
Credentials *GcpCredentials `yaml:"credentials,omitempty" json:"credentials,omitempty"`
}
type Gemalto ¶
type Gemalto struct {
KeySecure *GemaltoKeySecure `yaml:"keysecure,omitempty" json:"keysecure,omitempty"`
}
type GemaltoCredentials ¶
type GemaltoKeySecure ¶
type GemaltoKeySecure struct {
Endpoint string `yaml:"endpoint,omitempty" json:"endpoint,omitempty"`
Credentials *GemaltoCredentials `yaml:"credentials,omitempty" json:"credentials,omitempty"`
TLS *GemaltoTLS `yaml:"tls,omitempty" json:"tls,omitempty"`
}
type GemaltoTLS ¶
type GemaltoTLS struct {
CAPath string `yaml:"ca,omitempty"`
}
type Keys ¶
type Keys struct {
Fs *Fs `yaml:"fs,omitempty" json:"fs,omitempty"`
Vault *Vault `yaml:"vault,omitempty" json:"vault,omitempty"`
Aws *Aws `yaml:"aws,omitempty" json:"aws,omitempty"`
Gemalto *Gemalto `yaml:"gemalto,omitempty" json:"gemalto,omitempty"`
Gcp *Gcp `yaml:"gcp,omitempty" json:"gcp,omitempty"`
Azure *Azure `yaml:"azure,omitempty" json:"azure,omitempty"`
}
type ServerConfig ¶
type ServerConfig struct {
Addr string `yaml:"address,omitempty" json:"address,omitempty"`
Root Identity `yaml:"root,omitempty" json:"root,omitempty"`
TLS TLS `yaml:"tls,omitempty" json:"tls,omitempty"`
Policies map[string]Policy `yaml:"policy,omitempty" json:"policy,omitempty"`
Cache Cache `yaml:"cache,omitempty" json:"cache,omitempty"`
Log Log `yaml:"log,omitempty" json:"log,omitempty"`
Keys Keys `yaml:"keys,omitempty" json:"keys,omitempty"`
}
type TLSProxy ¶
type TLSProxy struct {
Identities *[]Identity `yaml:"identities,omitempty" json:"identities,omitempty"`
Header *TLSProxyHeader `yaml:"header,omitempty" json:"header,omitempty"`
}
type TLSProxyHeader ¶
type TLSProxyHeader struct {
ClientCert string `yaml:"cert,omitempty"`
}
type Vault ¶
type Vault struct {
Endpoint string `yaml:"endpoint,omitempty" json:"endpoint,omitempty"`
EnginePath string `yaml:"engine,omitempty" json:"engine,omitempty"`
Namespace string `yaml:"namespace,omitempty" json:"namespace,omitempty"`
Prefix string `yaml:"prefix,omitempty" json:"prefix,omitempty"`
AppRole *AppRole `yaml:"approle,omitempty" json:"approle,omitempty"`
TLS *VaultTLS `yaml:"tls,omitempty" json:"tls,omitempty"`
Status *VaultStatus `yaml:"status,omitempty" json:"status,omitempty"`
}
type VaultStatus ¶
Click to show internal directories.
Click to hide internal directories.