Documentation
¶
Index ¶
- Variables
- type AppRole
- type Certificate
- func (*Certificate) Descriptor() ([]byte, []int)deprecated
- func (x *Certificate) GetCommonName() string
- func (x *Certificate) GetMount() string
- func (x *Certificate) GetRole() string
- func (x *Certificate) GetSans() []string
- func (*Certificate) ProtoMessage()
- func (x *Certificate) ProtoReflect() protoreflect.Message
- func (x *Certificate) Reset()
- func (x *Certificate) String() string
- type CertificateConfig
- func (*CertificateConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateConfig) GetBaseDomain() string
- func (*CertificateConfig) ProtoMessage()
- func (x *CertificateConfig) ProtoReflect() protoreflect.Message
- func (x *CertificateConfig) Reset()
- func (x *CertificateConfig) String() string
- type ClientHandle
- type Credentials
- type Provider
- type TlsBundle
- type VaultProvider
- func (*VaultProvider) Descriptor() ([]byte, []int)deprecated
- func (x *VaultProvider) GetAddress() string
- func (x *VaultProvider) GetAuthMethod() string
- func (x *VaultProvider) GetAuthMount() string
- func (x *VaultProvider) GetNamespace() string
- func (*VaultProvider) ProtoMessage()
- func (x *VaultProvider) ProtoReflect() protoreflect.Message
- func (x *VaultProvider) Reset()
- func (x *VaultProvider) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_universe_vault_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AppRole ¶ added in v0.0.360
type AppRole struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Mount string `protobuf:"bytes,4,opt,name=mount,proto3" json:"mount,omitempty"` // contains filtered or unexported fields }
func (*AppRole) Descriptor
deprecated
added in
v0.0.360
func (*AppRole) ProtoMessage ¶ added in v0.0.360
func (*AppRole) ProtoMessage()
func (*AppRole) ProtoReflect ¶ added in v0.0.360
func (x *AppRole) ProtoReflect() protoreflect.Message
type Certificate ¶
type Certificate struct { CommonName string `protobuf:"bytes,5,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"` Sans []string `protobuf:"bytes,6,rep,name=sans,proto3" json:"sans,omitempty"` Mount string `protobuf:"bytes,7,opt,name=mount,proto3" json:"mount,omitempty"` Role string `protobuf:"bytes,8,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*Certificate) Descriptor
deprecated
func (*Certificate) Descriptor() ([]byte, []int)
Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
func (*Certificate) GetCommonName ¶ added in v0.0.361
func (x *Certificate) GetCommonName() string
func (*Certificate) GetMount ¶ added in v0.0.361
func (x *Certificate) GetMount() string
func (*Certificate) GetRole ¶ added in v0.0.361
func (x *Certificate) GetRole() string
func (*Certificate) GetSans ¶ added in v0.0.361
func (x *Certificate) GetSans() []string
func (*Certificate) ProtoMessage ¶
func (*Certificate) ProtoMessage()
func (*Certificate) ProtoReflect ¶
func (x *Certificate) ProtoReflect() protoreflect.Message
func (*Certificate) Reset ¶
func (x *Certificate) Reset()
func (*Certificate) String ¶
func (x *Certificate) String() string
type CertificateConfig ¶ added in v0.0.362
type CertificateConfig struct { BaseDomain string `protobuf:"bytes,1,opt,name=base_domain,json=baseDomain,proto3" json:"base_domain,omitempty"` // contains filtered or unexported fields }
func (*CertificateConfig) Descriptor
deprecated
added in
v0.0.362
func (*CertificateConfig) Descriptor() ([]byte, []int)
Deprecated: Use CertificateConfig.ProtoReflect.Descriptor instead.
func (*CertificateConfig) GetBaseDomain ¶ added in v0.0.362
func (x *CertificateConfig) GetBaseDomain() string
func (*CertificateConfig) ProtoMessage ¶ added in v0.0.362
func (*CertificateConfig) ProtoMessage()
func (*CertificateConfig) ProtoReflect ¶ added in v0.0.362
func (x *CertificateConfig) ProtoReflect() protoreflect.Message
func (*CertificateConfig) Reset ¶ added in v0.0.362
func (x *CertificateConfig) Reset()
func (*CertificateConfig) String ¶ added in v0.0.362
func (x *CertificateConfig) String() string
type ClientHandle ¶ added in v0.0.361
type ClientHandle struct {
// contains filtered or unexported fields
}
type Credentials ¶ added in v0.0.360
type Credentials struct { RoleId string `json:"role_id"` SecretId string `json:"secret_id"` VaultAddress string `json:"vault_address"` VaultNamespace string `json:"vault_namespace"` }
func ParseCredentials ¶ added in v0.0.360
func ParseCredentials(data []byte) (*Credentials, error)
func ParseCredentialsFromEnv ¶ added in v0.0.360
func ParseCredentialsFromEnv(key string) (*Credentials, error)
func (*Credentials) ClientHandle ¶ added in v0.0.361
func (c *Credentials) ClientHandle(ctx context.Context, options ...vault.ClientOption) (*ClientHandle, error)
func (*Credentials) Encode ¶ added in v0.0.360
func (c *Credentials) Encode() ([]byte, error)
type Provider ¶ added in v0.0.363
type Provider struct {
// contains filtered or unexported fields
}
func ProviderFromEnv ¶ added in v0.0.363
type TlsBundle ¶ added in v0.0.359
type TlsBundle struct { PrivateKeyPem string `json:"private_key_pem"` CertificatePem string `json:"certificate_pem"` CaChainPem []string `json:"ca_chain_pem"` }
func ParseTlsBundle ¶ added in v0.0.360
func ParseTlsBundleFromEnv ¶ added in v0.0.360
func (TlsBundle) Certificate ¶ added in v0.0.359
func (tb TlsBundle) Certificate() (tls.Certificate, error)
func (TlsBundle) ClientConfig ¶ added in v0.0.359
type VaultProvider ¶ added in v0.0.360
type VaultProvider struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` AuthMount string `protobuf:"bytes,3,opt,name=auth_mount,json=authMount,proto3" json:"auth_mount,omitempty"` AuthMethod string `protobuf:"bytes,4,opt,name=auth_method,json=authMethod,proto3" json:"auth_method,omitempty"` // contains filtered or unexported fields }
func (*VaultProvider) Descriptor
deprecated
added in
v0.0.360
func (*VaultProvider) Descriptor() ([]byte, []int)
Deprecated: Use VaultProvider.ProtoReflect.Descriptor instead.
func (*VaultProvider) GetAddress ¶ added in v0.0.360
func (x *VaultProvider) GetAddress() string
func (*VaultProvider) GetAuthMethod ¶ added in v0.0.361
func (x *VaultProvider) GetAuthMethod() string
func (*VaultProvider) GetAuthMount ¶ added in v0.0.360
func (x *VaultProvider) GetAuthMount() string
func (*VaultProvider) GetNamespace ¶ added in v0.0.360
func (x *VaultProvider) GetNamespace() string
func (*VaultProvider) ProtoMessage ¶ added in v0.0.360
func (*VaultProvider) ProtoMessage()
func (*VaultProvider) ProtoReflect ¶ added in v0.0.360
func (x *VaultProvider) ProtoReflect() protoreflect.Message
func (*VaultProvider) Reset ¶ added in v0.0.360
func (x *VaultProvider) Reset()
func (*VaultProvider) String ¶ added in v0.0.360
func (x *VaultProvider) String() string
Click to show internal directories.
Click to hide internal directories.