Documentation ¶
Index ¶
- Variables
- type AppRole
- func (*AppRole) Descriptor() ([]byte, []int)deprecated
- func (x *AppRole) GetAuthMount() string
- func (x *AppRole) GetName() string
- func (x *AppRole) GetProvider() *VaultProvider
- func (*AppRole) ProtoMessage()
- func (x *AppRole) ProtoReflect() protoreflect.Message
- func (x *AppRole) Reset()
- func (x *AppRole) String() string
- type Certificate
- func (*Certificate) Descriptor() ([]byte, []int)deprecated
- func (x *Certificate) GetBaseDomain() string
- func (x *Certificate) GetIssuer() string
- func (x *Certificate) GetProvider() *VaultProvider
- func (*Certificate) ProtoMessage()
- func (x *Certificate) ProtoReflect() protoreflect.Message
- func (x *Certificate) Reset()
- func (x *Certificate) String() string
- type Credentials
- type TlsBundle
- type VaultProvider
- func (*VaultProvider) Descriptor() ([]byte, []int)deprecated
- func (x *VaultProvider) GetAddress() 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"` AuthMount string `protobuf:"bytes,2,opt,name=auth_mount,json=authMount,proto3" json:"auth_mount,omitempty"` Provider *VaultProvider `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
func (*AppRole) Descriptor
deprecated
added in
v0.0.360
func (*AppRole) GetAuthMount ¶ added in v0.0.360
func (*AppRole) GetProvider ¶ added in v0.0.360
func (x *AppRole) GetProvider() *VaultProvider
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 { BaseDomain string `protobuf:"bytes,1,opt,name=base_domain,json=baseDomain,proto3" json:"base_domain,omitempty"` Issuer string `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"` Provider *VaultProvider `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
func (*Certificate) Descriptor
deprecated
func (*Certificate) Descriptor() ([]byte, []int)
Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
func (*Certificate) GetBaseDomain ¶
func (x *Certificate) GetBaseDomain() string
func (*Certificate) GetIssuer ¶ added in v0.0.360
func (x *Certificate) GetIssuer() string
func (*Certificate) GetProvider ¶ added in v0.0.360
func (x *Certificate) GetProvider() *VaultProvider
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 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) Encode ¶ added in v0.0.360
func (c *Credentials) Encode() ([]byte, error)
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"` // 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) 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.