package pb
import "github.com/hashicorp/vault/sdk/plugin/pb"
Index ¶
- Constants
- Variables
- func ErrToString(e error) string
- func ProtoAuthToLogicalAuth(a *Auth) (*logical.Auth, error)
- func ProtoCertificateChainToCertificateChain(cc *CertificateChain) ([]*x509.Certificate, error)
- func ProtoCertificateToX509Certificate(c *Certificate) (*x509.Certificate, error)
- func ProtoConnectionStateToTLSConnectionState(cs *ConnectionState) (*tls.ConnectionState, error)
- func ProtoConnectionToLogicalConnection(c *Connection) (*logical.Connection, error)
- func ProtoErrToErr(e *ProtoError) error
- func ProtoLeaseOptionsToLogicalLeaseOptions(l *LeaseOptions) (logical.LeaseOptions, error)
- func ProtoRequestToLogicalRequest(r *Request) (*logical.Request, error)
- func ProtoRequestWrapInfoToLogicalRequestWrapInfo(i *RequestWrapInfo) *logical.RequestWrapInfo
- func ProtoResponseToLogicalResponse(r *Response) (*logical.Response, error)
- func ProtoResponseWrapInfoToLogicalResponseWrapInfo(i *ResponseWrapInfo) (*wrapping.ResponseWrapInfo, error)
- func ProtoSecretToLogicalSecret(s *Secret) (*logical.Secret, error)
- func ProtoStorageEntryToLogicalStorageEntry(e *StorageEntry) *logical.StorageEntry
- func ProtoTokenEntryToLogicalTokenEntry(t *TokenEntry) (*logical.TokenEntry, error)
- func RegisterBackendServer(s grpc.ServiceRegistrar, srv BackendServer)
- func RegisterEventsServer(s grpc.ServiceRegistrar, srv EventsServer)
- func RegisterObservationsServer(s grpc.ServiceRegistrar, srv ObservationsServer)
- func RegisterStorageServer(s grpc.ServiceRegistrar, srv StorageServer)
- func RegisterSystemViewServer(s grpc.ServiceRegistrar, srv SystemViewServer)
- type Auth
- func LogicalAuthToProtoAuth(a *logical.Auth) (*Auth, error)
- func (*Auth) Descriptor() ([]byte, []int)
- func (x *Auth) GetAccessor() string
- func (x *Auth) GetAlias() *logical.Alias
- func (x *Auth) GetBoundCIDRs() []string
- func (x *Auth) GetClientToken() string
- func (x *Auth) GetDisplayName() string
- func (x *Auth) GetEntityID() string
- func (x *Auth) GetExplicitMaxTTL() int64
- func (x *Auth) GetGroupAliases() []*logical.Alias
- func (x *Auth) GetIdentityPolicies() []string
- func (x *Auth) GetInternalData() string
- func (x *Auth) GetLeaseOptions() *LeaseOptions
- func (x *Auth) GetMetadata() map[string]string
- func (x *Auth) GetNoDefaultPolicy() bool
- func (x *Auth) GetNumUses() int64
- func (x *Auth) GetPeriod() int64
- func (x *Auth) GetPolicies() []string
- func (x *Auth) GetTokenPolicies() []string
- func (x *Auth) GetTokenType() uint32
- func (*Auth) ProtoMessage()
- func (x *Auth) ProtoReflect() protoreflect.Message
- func (x *Auth) Reset()
- func (x *Auth) String() string
- type BackendClient
- type BackendServer
- type CachingDisabledReply
- func (*CachingDisabledReply) Descriptor() ([]byte, []int)
- func (x *CachingDisabledReply) GetDisabled() bool
- func (*CachingDisabledReply) ProtoMessage()
- func (x *CachingDisabledReply) ProtoReflect() protoreflect.Message
- func (x *CachingDisabledReply) Reset()
- func (x *CachingDisabledReply) String() string
- type Certificate
- func X509CertificateToProtoCertificate(cert *x509.Certificate) *Certificate
- func (*Certificate) Descriptor() ([]byte, []int)
- func (x *Certificate) GetAsn1Data() []byte
- func (*Certificate) ProtoMessage()
- func (x *Certificate) ProtoReflect() protoreflect.Message
- func (x *Certificate) Reset()
- func (x *Certificate) String() string
- type CertificateChain
- func CertificateChainToProtoCertificateChain(chain []*x509.Certificate) *CertificateChain
- func (*CertificateChain) Descriptor() ([]byte, []int)
- func (x *CertificateChain) GetCertificates() []*Certificate
- func (*CertificateChain) ProtoMessage()
- func (x *CertificateChain) ProtoReflect() protoreflect.Message
- func (x *CertificateChain) Reset()
- func (x *CertificateChain) String() string
- type ClusterInfoReply
- func (*ClusterInfoReply) Descriptor() ([]byte, []int)
- func (x *ClusterInfoReply) GetClusterID() string
- func (x *ClusterInfoReply) GetClusterName() string
- func (x *ClusterInfoReply) GetErr() string
- func (*ClusterInfoReply) ProtoMessage()
- func (x *ClusterInfoReply) ProtoReflect() protoreflect.Message
- func (x *ClusterInfoReply) Reset()
- func (x *ClusterInfoReply) String() string
- type Connection
- func LogicalConnectionToProtoConnection(c *logical.Connection) *Connection
- func (*Connection) Descriptor() ([]byte, []int)
- func (x *Connection) GetConnectionState() *ConnectionState
- func (x *Connection) GetRemoteAddr() string
- func (x *Connection) GetRemotePort() int32
- func (*Connection) ProtoMessage()
- func (x *Connection) ProtoReflect() protoreflect.Message
- func (x *Connection) Reset()
- func (x *Connection) String() string
- type ConnectionState
- func TLSConnectionStateToProtoConnectionState(connState *tls.ConnectionState) *ConnectionState
- func (*ConnectionState) Descriptor() ([]byte, []int)
- func (x *ConnectionState) GetCipherSuite() uint32
- func (x *ConnectionState) GetDidResume() bool
- func (x *ConnectionState) GetHandshakeComplete() bool
- func (x *ConnectionState) GetNegotiatedProtocol() string
- func (x *ConnectionState) GetNegotiatedProtocolIsMutual() bool
- func (x *ConnectionState) GetOcspResponse() []byte
- func (x *ConnectionState) GetPeerCertificates() *CertificateChain
- func (x *ConnectionState) GetServerName() string
- func (x *ConnectionState) GetSignedCertificateTimestamps() [][]byte
- func (x *ConnectionState) GetTlsUnique() []byte
- func (x *ConnectionState) GetVerifiedChains() []*CertificateChain
- func (x *ConnectionState) GetVersion() uint32
- func (*ConnectionState) ProtoMessage()
- func (x *ConnectionState) ProtoReflect() protoreflect.Message
- func (x *ConnectionState) Reset()
- func (x *ConnectionState) String() string
- type DeregisterRotationJobRequest
- func (*DeregisterRotationJobRequest) Descriptor() ([]byte, []int)
- func (x *DeregisterRotationJobRequest) GetReq() *DeregisterRotationRequestInput
- func (*DeregisterRotationJobRequest) ProtoMessage()
- func (x *DeregisterRotationJobRequest) ProtoReflect() protoreflect.Message
- func (x *DeregisterRotationJobRequest) Reset()
- func (x *DeregisterRotationJobRequest) String() string
- type DeregisterRotationRequestInput
- func (*DeregisterRotationRequestInput) Descriptor() ([]byte, []int)
- func (x *DeregisterRotationRequestInput) GetMountPoint() string
- func (x *DeregisterRotationRequestInput) GetReqPath() string
- func (*DeregisterRotationRequestInput) ProtoMessage()
- func (x *DeregisterRotationRequestInput) ProtoReflect() protoreflect.Message
- func (x *DeregisterRotationRequestInput) Reset()
- func (x *DeregisterRotationRequestInput) String() string
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (x *Empty) ProtoReflect() protoreflect.Message
- func (x *Empty) Reset()
- func (x *Empty) String() string
- type EntityInfoArgs
- func (*EntityInfoArgs) Descriptor() ([]byte, []int)
- func (x *EntityInfoArgs) GetEntityID() string
- func (*EntityInfoArgs) ProtoMessage()
- func (x *EntityInfoArgs) ProtoReflect() protoreflect.Message
- func (x *EntityInfoArgs) Reset()
- func (x *EntityInfoArgs) String() string
- type EntityInfoReply
- func (*EntityInfoReply) Descriptor() ([]byte, []int)
- func (x *EntityInfoReply) GetEntity() *logical.Entity
- func (x *EntityInfoReply) GetErr() string
- func (*EntityInfoReply) ProtoMessage()
- func (x *EntityInfoReply) ProtoReflect() protoreflect.Message
- func (x *EntityInfoReply) Reset()
- func (x *EntityInfoReply) String() string
- type EventsClient
- type EventsServer
- type GenerateIdentityTokenRequest
- func (*GenerateIdentityTokenRequest) Descriptor() ([]byte, []int)
- func (x *GenerateIdentityTokenRequest) GetAudience() string
- func (x *GenerateIdentityTokenRequest) GetTTL() int64
- func (*GenerateIdentityTokenRequest) ProtoMessage()
- func (x *GenerateIdentityTokenRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateIdentityTokenRequest) Reset()
- func (x *GenerateIdentityTokenRequest) String() string
- type GenerateIdentityTokenResponse
- func (*GenerateIdentityTokenResponse) Descriptor() ([]byte, []int)
- func (x *GenerateIdentityTokenResponse) GetTTL() int64
- func (x *GenerateIdentityTokenResponse) GetToken() string
- func (*GenerateIdentityTokenResponse) ProtoMessage()
- func (x *GenerateIdentityTokenResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateIdentityTokenResponse) Reset()
- func (x *GenerateIdentityTokenResponse) String() string
- type GeneratePasswordFromPolicyReply
- func (*GeneratePasswordFromPolicyReply) Descriptor() ([]byte, []int)
- func (x *GeneratePasswordFromPolicyReply) GetPassword() string
- func (*GeneratePasswordFromPolicyReply) ProtoMessage()
- func (x *GeneratePasswordFromPolicyReply) ProtoReflect() protoreflect.Message
- func (x *GeneratePasswordFromPolicyReply) Reset()
- func (x *GeneratePasswordFromPolicyReply) String() string
- type GeneratePasswordFromPolicyRequest
- func (*GeneratePasswordFromPolicyRequest) Descriptor() ([]byte, []int)
- func (x *GeneratePasswordFromPolicyRequest) GetPolicyName() string
- func (*GeneratePasswordFromPolicyRequest) ProtoMessage()
- func (x *GeneratePasswordFromPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *GeneratePasswordFromPolicyRequest) Reset()
- func (x *GeneratePasswordFromPolicyRequest) String() string
- type GroupsForEntityReply
- func (*GroupsForEntityReply) Descriptor() ([]byte, []int)
- func (x *GroupsForEntityReply) GetErr() string
- func (x *GroupsForEntityReply) GetGroups() []*logical.Group
- func (*GroupsForEntityReply) ProtoMessage()
- func (x *GroupsForEntityReply) ProtoReflect() protoreflect.Message
- func (x *GroupsForEntityReply) Reset()
- func (x *GroupsForEntityReply) String() string
- type HandleExistenceCheckArgs
- func (*HandleExistenceCheckArgs) Descriptor() ([]byte, []int)
- func (x *HandleExistenceCheckArgs) GetRequest() *Request
- func (x *HandleExistenceCheckArgs) GetStorageID() uint32
- func (*HandleExistenceCheckArgs) ProtoMessage()
- func (x *HandleExistenceCheckArgs) ProtoReflect() protoreflect.Message
- func (x *HandleExistenceCheckArgs) Reset()
- func (x *HandleExistenceCheckArgs) String() string
- type HandleExistenceCheckReply
- func (*HandleExistenceCheckReply) Descriptor() ([]byte, []int)
- func (x *HandleExistenceCheckReply) GetCheckFound() bool
- func (x *HandleExistenceCheckReply) GetErr() *ProtoError
- func (x *HandleExistenceCheckReply) GetExists() bool
- func (*HandleExistenceCheckReply) ProtoMessage()
- func (x *HandleExistenceCheckReply) ProtoReflect() protoreflect.Message
- func (x *HandleExistenceCheckReply) Reset()
- func (x *HandleExistenceCheckReply) String() string
- type HandleRequestArgs
- func (*HandleRequestArgs) Descriptor() ([]byte, []int)
- func (x *HandleRequestArgs) GetRequest() *Request
- func (x *HandleRequestArgs) GetStorageID() uint32
- func (*HandleRequestArgs) ProtoMessage()
- func (x *HandleRequestArgs) ProtoReflect() protoreflect.Message
- func (x *HandleRequestArgs) Reset()
- func (x *HandleRequestArgs) String() string
- type HandleRequestReply
- func (*HandleRequestReply) Descriptor() ([]byte, []int)
- func (x *HandleRequestReply) GetErr() *ProtoError
- func (x *HandleRequestReply) GetResponse() *Response
- func (*HandleRequestReply) ProtoMessage()
- func (x *HandleRequestReply) ProtoReflect() protoreflect.Message
- func (x *HandleRequestReply) Reset()
- func (x *HandleRequestReply) String() string
- type Header
- func (*Header) Descriptor() ([]byte, []int)
- func (x *Header) GetHeader() []string
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
- type InitializeArgs
- func (*InitializeArgs) Descriptor() ([]byte, []int)
- func (*InitializeArgs) ProtoMessage()
- func (x *InitializeArgs) ProtoReflect() protoreflect.Message
- func (x *InitializeArgs) Reset()
- func (x *InitializeArgs) String() string
- type InitializeReply
- func (*InitializeReply) Descriptor() ([]byte, []int)
- func (x *InitializeReply) GetErr() *ProtoError
- func (*InitializeReply) ProtoMessage()
- func (x *InitializeReply) ProtoReflect() protoreflect.Message
- func (x *InitializeReply) Reset()
- func (x *InitializeReply) String() string
- type InvalidateKeyArgs
- func (*InvalidateKeyArgs) Descriptor() ([]byte, []int)
- func (x *InvalidateKeyArgs) GetKey() string
- func (*InvalidateKeyArgs) ProtoMessage()
- func (x *InvalidateKeyArgs) ProtoReflect() protoreflect.Message
- func (x *InvalidateKeyArgs) Reset()
- func (x *InvalidateKeyArgs) String() string
- type LeaseOptions
- func LogicalLeaseOptionsToProtoLeaseOptions(l logical.LeaseOptions) (*LeaseOptions, error)
- func (*LeaseOptions) Descriptor() ([]byte, []int)
- func (x *LeaseOptions) GetIncrement() int64
- func (x *LeaseOptions) GetIssueTime() *timestamppb.Timestamp
- func (x *LeaseOptions) GetMaxTTL() int64
- func (x *LeaseOptions) GetRenewable() bool
- func (x *LeaseOptions) GetTTL() int64
- func (*LeaseOptions) ProtoMessage()
- func (x *LeaseOptions) ProtoReflect() protoreflect.Message
- func (x *LeaseOptions) Reset()
- func (x *LeaseOptions) String() string
- type LocalMountReply
- func (*LocalMountReply) Descriptor() ([]byte, []int)
- func (x *LocalMountReply) GetLocal() bool
- func (*LocalMountReply) ProtoMessage()
- func (x *LocalMountReply) ProtoReflect() protoreflect.Message
- func (x *LocalMountReply) Reset()
- func (x *LocalMountReply) String() string
- type MlockEnabledReply
- func (*MlockEnabledReply) Descriptor() ([]byte, []int)
- func (x *MlockEnabledReply) GetEnabled() bool
- func (*MlockEnabledReply) ProtoMessage()
- func (x *MlockEnabledReply) ProtoReflect() protoreflect.Message
- func (x *MlockEnabledReply) Reset()
- func (x *MlockEnabledReply) String() string
- type ObservationsClient
- type ObservationsServer
- type Paths
- func (*Paths) Descriptor() ([]byte, []int)
- func (x *Paths) GetAllowSnapshotRead() []string
- func (x *Paths) GetBinary() []string
- func (x *Paths) GetLimited() []string
- func (x *Paths) GetLocalStorage() []string
- func (x *Paths) GetRoot() []string
- func (x *Paths) GetSealWrapStorage() []string
- func (x *Paths) GetUnauthenticated() []string
- func (x *Paths) GetWriteForwardedStorage() []string
- func (*Paths) ProtoMessage()
- func (x *Paths) ProtoReflect() protoreflect.Message
- func (x *Paths) Reset()
- func (x *Paths) String() string
- type PluginEnvReply
- func (*PluginEnvReply) Descriptor() ([]byte, []int)
- func (x *PluginEnvReply) GetErr() string
- func (x *PluginEnvReply) GetPluginEnvironment() *logical.PluginEnvironment
- func (*PluginEnvReply) ProtoMessage()
- func (x *PluginEnvReply) ProtoReflect() protoreflect.Message
- func (x *PluginEnvReply) Reset()
- func (x *PluginEnvReply) String() string
- type ProtoError
- func ErrToProtoErr(e error) *ProtoError
- func (*ProtoError) Descriptor() ([]byte, []int)
- func (x *ProtoError) GetErrCode() int64
- func (x *ProtoError) GetErrMsg() string
- func (x *ProtoError) GetErrType() uint32
- func (*ProtoError) ProtoMessage()
- func (x *ProtoError) ProtoReflect() protoreflect.Message
- func (x *ProtoError) Reset()
- func (x *ProtoError) String() string
- type RecordObservationRequest
- func (*RecordObservationRequest) Descriptor() ([]byte, []int)
- func (x *RecordObservationRequest) GetData() *structpb.Struct
- func (x *RecordObservationRequest) GetObservationType() string
- func (*RecordObservationRequest) ProtoMessage()
- func (x *RecordObservationRequest) ProtoReflect() protoreflect.Message
- func (x *RecordObservationRequest) Reset()
- func (x *RecordObservationRequest) String() string
- type RegisterRotationJobRequest
- func (*RegisterRotationJobRequest) Descriptor() ([]byte, []int)
- func (x *RegisterRotationJobRequest) GetJob() *RotationJobInput
- func (*RegisterRotationJobRequest) ProtoMessage()
- func (x *RegisterRotationJobRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRotationJobRequest) Reset()
- func (x *RegisterRotationJobRequest) String() string
- type RegisterRotationJobResponse
- func (*RegisterRotationJobResponse) Descriptor() ([]byte, []int)
- func (x *RegisterRotationJobResponse) GetErr() string
- func (x *RegisterRotationJobResponse) GetRotationID() string
- func (*RegisterRotationJobResponse) ProtoMessage()
- func (x *RegisterRotationJobResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterRotationJobResponse) Reset()
- func (x *RegisterRotationJobResponse) String() string
- type ReplicationStateReply
- func (*ReplicationStateReply) Descriptor() ([]byte, []int)
- func (x *ReplicationStateReply) GetState() int32
- func (*ReplicationStateReply) ProtoMessage()
- func (x *ReplicationStateReply) ProtoReflect() protoreflect.Message
- func (x *ReplicationStateReply) Reset()
- func (x *ReplicationStateReply) String() string
- type Request
- func LogicalRequestToProtoRequest(r *logical.Request) (*Request, error)
- func (*Request) Descriptor() ([]byte, []int)
- func (x *Request) GetAuth() *Auth
- func (x *Request) GetClientToken() string
- func (x *Request) GetClientTokenAccessor() string
- func (x *Request) GetClientTokenRemainingUses() int64
- func (x *Request) GetConnection() *Connection
- func (x *Request) GetData() string
- func (x *Request) GetDisplayName() string
- func (x *Request) GetEntityID() string
- func (x *Request) GetHeaders() map[string]*Header
- func (x *Request) GetID() string
- func (x *Request) GetMountAccessor() string
- func (x *Request) GetMountPoint() string
- func (x *Request) GetMountType() string
- func (x *Request) GetOperation() string
- func (x *Request) GetPath() string
- func (x *Request) GetPolicyOverride() bool
- func (x *Request) GetReplicationCluster() string
- func (x *Request) GetRequiresSnapshotID() string
- func (x *Request) GetSecret() *Secret
- func (x *Request) GetUnauthenticated() bool
- func (x *Request) GetWrapInfo() *RequestWrapInfo
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type RequestWrapInfo
- func LogicalRequestWrapInfoToProtoRequestWrapInfo(i *logical.RequestWrapInfo) *RequestWrapInfo
- func (*RequestWrapInfo) Descriptor() ([]byte, []int)
- func (x *RequestWrapInfo) GetFormat() string
- func (x *RequestWrapInfo) GetSealWrap() bool
- func (x *RequestWrapInfo) GetTTL() int64
- func (*RequestWrapInfo) ProtoMessage()
- func (x *RequestWrapInfo) ProtoReflect() protoreflect.Message
- func (x *RequestWrapInfo) Reset()
- func (x *RequestWrapInfo) String() string
- type Response
- func LogicalResponseToProtoResponse(r *logical.Response) (*Response, error)
- func (*Response) Descriptor() ([]byte, []int)
- func (x *Response) GetAuth() *Auth
- func (x *Response) GetData() string
- func (x *Response) GetHeaders() map[string]*Header
- func (x *Response) GetMountType() string
- func (x *Response) GetRedirect() string
- func (x *Response) GetSecret() *Secret
- func (x *Response) GetWarnings() []string
- func (x *Response) GetWrapInfo() *ResponseWrapInfo
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type ResponseWrapDataArgs
- func (*ResponseWrapDataArgs) Descriptor() ([]byte, []int)
- func (x *ResponseWrapDataArgs) GetData() string
- func (x *ResponseWrapDataArgs) GetJWT() bool
- func (x *ResponseWrapDataArgs) GetTTL() int64
- func (*ResponseWrapDataArgs) ProtoMessage()
- func (x *ResponseWrapDataArgs) ProtoReflect() protoreflect.Message
- func (x *ResponseWrapDataArgs) Reset()
- func (x *ResponseWrapDataArgs) String() string
- type ResponseWrapDataReply
- func (*ResponseWrapDataReply) Descriptor() ([]byte, []int)
- func (x *ResponseWrapDataReply) GetErr() string
- func (x *ResponseWrapDataReply) GetWrapInfo() *ResponseWrapInfo
- func (*ResponseWrapDataReply) ProtoMessage()
- func (x *ResponseWrapDataReply) ProtoReflect() protoreflect.Message
- func (x *ResponseWrapDataReply) Reset()
- func (x *ResponseWrapDataReply) String() string
- type ResponseWrapInfo
- func LogicalResponseWrapInfoToProtoResponseWrapInfo(i *wrapping.ResponseWrapInfo) (*ResponseWrapInfo, error)
- func (*ResponseWrapInfo) Descriptor() ([]byte, []int)
- func (x *ResponseWrapInfo) GetAccessor() string
- func (x *ResponseWrapInfo) GetCreationPath() string
- func (x *ResponseWrapInfo) GetCreationTime() *timestamppb.Timestamp
- func (x *ResponseWrapInfo) GetFormat() string
- func (x *ResponseWrapInfo) GetSealWrap() bool
- func (x *ResponseWrapInfo) GetTTL() int64
- func (x *ResponseWrapInfo) GetToken() string
- func (x *ResponseWrapInfo) GetWrappedAccessor() string
- func (x *ResponseWrapInfo) GetWrappedEntityID() string
- func (*ResponseWrapInfo) ProtoMessage()
- func (x *ResponseWrapInfo) ProtoReflect() protoreflect.Message
- func (x *ResponseWrapInfo) Reset()
- func (x *ResponseWrapInfo) String() string
- type RotationJobInput
- func (*RotationJobInput) Descriptor() ([]byte, []int)
- func (x *RotationJobInput) GetMountPoint() string
- func (x *RotationJobInput) GetName() string
- func (x *RotationJobInput) GetPath() string
- func (x *RotationJobInput) GetRotationPeriod() int64
- func (x *RotationJobInput) GetRotationSchedule() string
- func (x *RotationJobInput) GetRotationWindow() int64
- func (*RotationJobInput) ProtoMessage()
- func (x *RotationJobInput) ProtoReflect() protoreflect.Message
- func (x *RotationJobInput) Reset()
- func (x *RotationJobInput) String() string
- type Secret
- func LogicalSecretToProtoSecret(s *logical.Secret) (*Secret, error)
- func (*Secret) Descriptor() ([]byte, []int)
- func (x *Secret) GetInternalData() string
- func (x *Secret) GetLeaseID() string
- func (x *Secret) GetLeaseOptions() *LeaseOptions
- func (*Secret) ProtoMessage()
- func (x *Secret) ProtoReflect() protoreflect.Message
- func (x *Secret) Reset()
- func (x *Secret) String() string
- type SendEventRequest
- func (*SendEventRequest) Descriptor() ([]byte, []int)
- func (x *SendEventRequest) GetEvent() *logical.EventData
- func (x *SendEventRequest) GetEventType() string
- func (*SendEventRequest) ProtoMessage()
- func (x *SendEventRequest) ProtoReflect() protoreflect.Message
- func (x *SendEventRequest) Reset()
- func (x *SendEventRequest) String() string
- type SetupArgs
- func (*SetupArgs) Descriptor() ([]byte, []int)
- func (x *SetupArgs) GetBackendUUID() string
- func (x *SetupArgs) GetBrokerID() uint32
- func (x *SetupArgs) GetConfig() map[string]string
- func (*SetupArgs) ProtoMessage()
- func (x *SetupArgs) ProtoReflect() protoreflect.Message
- func (x *SetupArgs) Reset()
- func (x *SetupArgs) String() string
- type SetupReply
- func (*SetupReply) Descriptor() ([]byte, []int)
- func (x *SetupReply) GetErr() string
- func (*SetupReply) ProtoMessage()
- func (x *SetupReply) ProtoReflect() protoreflect.Message
- func (x *SetupReply) Reset()
- func (x *SetupReply) String() string
- type SpecialPathsReply
- func (*SpecialPathsReply) Descriptor() ([]byte, []int)
- func (x *SpecialPathsReply) GetPaths() *Paths
- func (*SpecialPathsReply) ProtoMessage()
- func (x *SpecialPathsReply) ProtoReflect() protoreflect.Message
- func (x *SpecialPathsReply) Reset()
- func (x *SpecialPathsReply) String() string
- type StorageClient
- type StorageDeleteArgs
- func (*StorageDeleteArgs) Descriptor() ([]byte, []int)
- func (x *StorageDeleteArgs) GetKey() string
- func (*StorageDeleteArgs) ProtoMessage()
- func (x *StorageDeleteArgs) ProtoReflect() protoreflect.Message
- func (x *StorageDeleteArgs) Reset()
- func (x *StorageDeleteArgs) String() string
- type StorageDeleteReply
- func (*StorageDeleteReply) Descriptor() ([]byte, []int)
- func (x *StorageDeleteReply) GetErr() string
- func (*StorageDeleteReply) ProtoMessage()
- func (x *StorageDeleteReply) ProtoReflect() protoreflect.Message
- func (x *StorageDeleteReply) Reset()
- func (x *StorageDeleteReply) String() string
- type StorageEntry
- func LogicalStorageEntryToProtoStorageEntry(e *logical.StorageEntry) *StorageEntry
- func (*StorageEntry) Descriptor() ([]byte, []int)
- func (x *StorageEntry) GetKey() string
- func (x *StorageEntry) GetSealWrap() bool
- func (x *StorageEntry) GetValue() []byte
- func (*StorageEntry) ProtoMessage()
- func (x *StorageEntry) ProtoReflect() protoreflect.Message
- func (x *StorageEntry) Reset()
- func (x *StorageEntry) String() string
- type StorageGetArgs
- func (*StorageGetArgs) Descriptor() ([]byte, []int)
- func (x *StorageGetArgs) GetKey() string
- func (*StorageGetArgs) ProtoMessage()
- func (x *StorageGetArgs) ProtoReflect() protoreflect.Message
- func (x *StorageGetArgs) Reset()
- func (x *StorageGetArgs) String() string
- type StorageGetReply
- func (*StorageGetReply) Descriptor() ([]byte, []int)
- func (x *StorageGetReply) GetEntry() *StorageEntry
- func (x *StorageGetReply) GetErr() string
- func (*StorageGetReply) ProtoMessage()
- func (x *StorageGetReply) ProtoReflect() protoreflect.Message
- func (x *StorageGetReply) Reset()
- func (x *StorageGetReply) String() string
- type StorageListArgs
- func (*StorageListArgs) Descriptor() ([]byte, []int)
- func (x *StorageListArgs) GetPrefix() string
- func (*StorageListArgs) ProtoMessage()
- func (x *StorageListArgs) ProtoReflect() protoreflect.Message
- func (x *StorageListArgs) Reset()
- func (x *StorageListArgs) String() string
- type StorageListReply
- func (*StorageListReply) Descriptor() ([]byte, []int)
- func (x *StorageListReply) GetErr() string
- func (x *StorageListReply) GetKeys() []string
- func (*StorageListReply) ProtoMessage()
- func (x *StorageListReply) ProtoReflect() protoreflect.Message
- func (x *StorageListReply) Reset()
- func (x *StorageListReply) String() string
- type StoragePutArgs
- func (*StoragePutArgs) Descriptor() ([]byte, []int)
- func (x *StoragePutArgs) GetEntry() *StorageEntry
- func (*StoragePutArgs) ProtoMessage()
- func (x *StoragePutArgs) ProtoReflect() protoreflect.Message
- func (x *StoragePutArgs) Reset()
- func (x *StoragePutArgs) String() string
- type StoragePutReply
- func (*StoragePutReply) Descriptor() ([]byte, []int)
- func (x *StoragePutReply) GetErr() string
- func (*StoragePutReply) ProtoMessage()
- func (x *StoragePutReply) ProtoReflect() protoreflect.Message
- func (x *StoragePutReply) Reset()
- func (x *StoragePutReply) String() string
- type StorageServer
- type SystemViewClient
- type SystemViewServer
- type TTLReply
- func (*TTLReply) Descriptor() ([]byte, []int)
- func (x *TTLReply) GetTTL() int64
- func (*TTLReply) ProtoMessage()
- func (x *TTLReply) ProtoReflect() protoreflect.Message
- func (x *TTLReply) Reset()
- func (x *TTLReply) String() string
- type TaintedReply
- func (*TaintedReply) Descriptor() ([]byte, []int)
- func (x *TaintedReply) GetTainted() bool
- func (*TaintedReply) ProtoMessage()
- func (x *TaintedReply) ProtoReflect() protoreflect.Message
- func (x *TaintedReply) Reset()
- func (x *TaintedReply) String() string
- type TokenEntry
- func LogicalTokenEntryToProtoTokenEntry(t *logical.TokenEntry) *TokenEntry
- func (*TokenEntry) Descriptor() ([]byte, []int)
- func (x *TokenEntry) GetAccessor() string
- func (x *TokenEntry) GetBoundCIDRs() []string
- func (x *TokenEntry) GetCreationTime() int64
- func (x *TokenEntry) GetCubbyholeID() string
- func (x *TokenEntry) GetDisplayName() string
- func (x *TokenEntry) GetEntityID() string
- func (x *TokenEntry) GetExplicitMaxTTL() int64
- func (x *TokenEntry) GetExternalID() string
- func (x *TokenEntry) GetID() string
- func (x *TokenEntry) GetInlinePolicy() string
- func (x *TokenEntry) GetInternalMeta() map[string]string
- func (x *TokenEntry) GetMeta() map[string]string
- func (x *TokenEntry) GetNamespaceID() string
- func (x *TokenEntry) GetNoIdentityPolicies() bool
- func (x *TokenEntry) GetNumUses() int64
- func (x *TokenEntry) GetParent() string
- func (x *TokenEntry) GetPath() string
- func (x *TokenEntry) GetPeriod() int64
- func (x *TokenEntry) GetPolicies() []string
- func (x *TokenEntry) GetRole() string
- func (x *TokenEntry) GetTTL() int64
- func (x *TokenEntry) GetType() uint32
- func (*TokenEntry) ProtoMessage()
- func (x *TokenEntry) ProtoReflect() protoreflect.Message
- func (x *TokenEntry) Reset()
- func (x *TokenEntry) String() string
- type TypeReply
- func (*TypeReply) Descriptor() ([]byte, []int)
- func (x *TypeReply) GetType() uint32
- func (*TypeReply) ProtoMessage()
- func (x *TypeReply) ProtoReflect() protoreflect.Message
- func (x *TypeReply) Reset()
- func (x *TypeReply) String() string
- type UnimplementedBackendServer
- func (UnimplementedBackendServer) Cleanup(context.Context, *Empty) (*Empty, error)
- func (UnimplementedBackendServer) HandleExistenceCheck(context.Context, *HandleExistenceCheckArgs) (*HandleExistenceCheckReply, error)
- func (UnimplementedBackendServer) HandleRequest(context.Context, *HandleRequestArgs) (*HandleRequestReply, error)
- func (UnimplementedBackendServer) Initialize(context.Context, *InitializeArgs) (*InitializeReply, error)
- func (UnimplementedBackendServer) InvalidateKey(context.Context, *InvalidateKeyArgs) (*Empty, error)
- func (UnimplementedBackendServer) Setup(context.Context, *SetupArgs) (*SetupReply, error)
- func (UnimplementedBackendServer) SpecialPaths(context.Context, *Empty) (*SpecialPathsReply, error)
- func (UnimplementedBackendServer) Type(context.Context, *Empty) (*TypeReply, error)
- type UnimplementedEventsServer
- type UnimplementedObservationsServer
- type UnimplementedStorageServer
- func (UnimplementedStorageServer) Delete(context.Context, *StorageDeleteArgs) (*StorageDeleteReply, error)
- func (UnimplementedStorageServer) Get(context.Context, *StorageGetArgs) (*StorageGetReply, error)
- func (UnimplementedStorageServer) List(context.Context, *StorageListArgs) (*StorageListReply, error)
- func (UnimplementedStorageServer) Put(context.Context, *StoragePutArgs) (*StoragePutReply, error)
- type UnimplementedSystemViewServer
- func (UnimplementedSystemViewServer) CachingDisabled(context.Context, *Empty) (*CachingDisabledReply, error)
- func (UnimplementedSystemViewServer) ClusterInfo(context.Context, *Empty) (*ClusterInfoReply, error)
- func (UnimplementedSystemViewServer) DefaultLeaseTTL(context.Context, *Empty) (*TTLReply, error)
- func (UnimplementedSystemViewServer) DeregisterRotationJob(context.Context, *DeregisterRotationJobRequest) (*Empty, error)
- func (UnimplementedSystemViewServer) EntityInfo(context.Context, *EntityInfoArgs) (*EntityInfoReply, error)
- func (UnimplementedSystemViewServer) GenerateIdentityToken(context.Context, *GenerateIdentityTokenRequest) (*GenerateIdentityTokenResponse, error)
- func (UnimplementedSystemViewServer) GeneratePasswordFromPolicy(context.Context, *GeneratePasswordFromPolicyRequest) (*GeneratePasswordFromPolicyReply, error)
- func (UnimplementedSystemViewServer) GroupsForEntity(context.Context, *EntityInfoArgs) (*GroupsForEntityReply, error)
- func (UnimplementedSystemViewServer) LocalMount(context.Context, *Empty) (*LocalMountReply, error)
- func (UnimplementedSystemViewServer) MaxLeaseTTL(context.Context, *Empty) (*TTLReply, error)
- func (UnimplementedSystemViewServer) MlockEnabled(context.Context, *Empty) (*MlockEnabledReply, error)
- func (UnimplementedSystemViewServer) PluginEnv(context.Context, *Empty) (*PluginEnvReply, error)
- func (UnimplementedSystemViewServer) RegisterRotationJob(context.Context, *RegisterRotationJobRequest) (*RegisterRotationJobResponse, error)
- func (UnimplementedSystemViewServer) ReplicationState(context.Context, *Empty) (*ReplicationStateReply, error)
- func (UnimplementedSystemViewServer) ResponseWrapData(context.Context, *ResponseWrapDataArgs) (*ResponseWrapDataReply, error)
- func (UnimplementedSystemViewServer) Tainted(context.Context, *Empty) (*TaintedReply, error)
- type UnsafeBackendServer
- type UnsafeEventsServer
- type UnsafeObservationsServer
- type UnsafeStorageServer
- type UnsafeSystemViewServer
Constants ¶
const ( Backend_HandleRequest_FullMethodName = "/pb.Backend/HandleRequest" Backend_SpecialPaths_FullMethodName = "/pb.Backend/SpecialPaths" Backend_HandleExistenceCheck_FullMethodName = "/pb.Backend/HandleExistenceCheck" Backend_Cleanup_FullMethodName = "/pb.Backend/Cleanup" Backend_InvalidateKey_FullMethodName = "/pb.Backend/InvalidateKey" Backend_Setup_FullMethodName = "/pb.Backend/Setup" Backend_Initialize_FullMethodName = "/pb.Backend/Initialize" Backend_Type_FullMethodName = "/pb.Backend/Type" )
const ( Storage_List_FullMethodName = "/pb.Storage/List" Storage_Get_FullMethodName = "/pb.Storage/Get" Storage_Put_FullMethodName = "/pb.Storage/Put" Storage_Delete_FullMethodName = "/pb.Storage/Delete" )
const ( SystemView_DefaultLeaseTTL_FullMethodName = "/pb.SystemView/DefaultLeaseTTL" SystemView_MaxLeaseTTL_FullMethodName = "/pb.SystemView/MaxLeaseTTL" SystemView_Tainted_FullMethodName = "/pb.SystemView/Tainted" SystemView_CachingDisabled_FullMethodName = "/pb.SystemView/CachingDisabled" SystemView_ReplicationState_FullMethodName = "/pb.SystemView/ReplicationState" SystemView_ResponseWrapData_FullMethodName = "/pb.SystemView/ResponseWrapData" SystemView_MlockEnabled_FullMethodName = "/pb.SystemView/MlockEnabled" SystemView_LocalMount_FullMethodName = "/pb.SystemView/LocalMount" SystemView_EntityInfo_FullMethodName = "/pb.SystemView/EntityInfo" SystemView_PluginEnv_FullMethodName = "/pb.SystemView/PluginEnv" SystemView_GroupsForEntity_FullMethodName = "/pb.SystemView/GroupsForEntity" SystemView_GeneratePasswordFromPolicy_FullMethodName = "/pb.SystemView/GeneratePasswordFromPolicy" SystemView_ClusterInfo_FullMethodName = "/pb.SystemView/ClusterInfo" SystemView_GenerateIdentityToken_FullMethodName = "/pb.SystemView/GenerateIdentityToken" SystemView_RegisterRotationJob_FullMethodName = "/pb.SystemView/RegisterRotationJob" SystemView_DeregisterRotationJob_FullMethodName = "/pb.SystemView/DeregisterRotationJob" )
const ( ErrTypeUnknown uint32 = iota ErrTypeUserError ErrTypeInternalError ErrTypeCodedError ErrTypeStatusBadRequest ErrTypeUnsupportedOperation ErrTypeUnsupportedPath ErrTypeInvalidRequest ErrTypePermissionDenied ErrTypeMultiAuthzPending ErrTypeUnrecoverable )
const (
Events_SendEvent_FullMethodName = "/pb.Events/SendEvent"
)
const (
Observations_RecordObservation_FullMethodName = "/pb.Observations/RecordObservation"
)
Variables ¶
var Backend_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.Backend", HandlerType: (*BackendServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "HandleRequest", Handler: _Backend_HandleRequest_Handler, }, { MethodName: "SpecialPaths", Handler: _Backend_SpecialPaths_Handler, }, { MethodName: "HandleExistenceCheck", Handler: _Backend_HandleExistenceCheck_Handler, }, { MethodName: "Cleanup", Handler: _Backend_Cleanup_Handler, }, { MethodName: "InvalidateKey", Handler: _Backend_InvalidateKey_Handler, }, { MethodName: "Setup", Handler: _Backend_Setup_Handler, }, { MethodName: "Initialize", Handler: _Backend_Initialize_Handler, }, { MethodName: "Type", Handler: _Backend_Type_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sdk/plugin/pb/backend.proto", }
Backend_ServiceDesc is the grpc.ServiceDesc for Backend service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Events_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.Events", HandlerType: (*EventsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SendEvent", Handler: _Events_SendEvent_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sdk/plugin/pb/backend.proto", }
Events_ServiceDesc is the grpc.ServiceDesc for Events service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_sdk_plugin_pb_backend_proto protoreflect.FileDescriptor
var Observations_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.Observations", HandlerType: (*ObservationsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RecordObservation", Handler: _Observations_RecordObservation_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sdk/plugin/pb/backend.proto", }
Observations_ServiceDesc is the grpc.ServiceDesc for Observations service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Storage_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.Storage", HandlerType: (*StorageServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _Storage_List_Handler, }, { MethodName: "Get", Handler: _Storage_Get_Handler, }, { MethodName: "Put", Handler: _Storage_Put_Handler, }, { MethodName: "Delete", Handler: _Storage_Delete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sdk/plugin/pb/backend.proto", }
Storage_ServiceDesc is the grpc.ServiceDesc for Storage service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SystemView_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.SystemView", HandlerType: (*SystemViewServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DefaultLeaseTTL", Handler: _SystemView_DefaultLeaseTTL_Handler, }, { MethodName: "MaxLeaseTTL", Handler: _SystemView_MaxLeaseTTL_Handler, }, { MethodName: "Tainted", Handler: _SystemView_Tainted_Handler, }, { MethodName: "CachingDisabled", Handler: _SystemView_CachingDisabled_Handler, }, { MethodName: "ReplicationState", Handler: _SystemView_ReplicationState_Handler, }, { MethodName: "ResponseWrapData", Handler: _SystemView_ResponseWrapData_Handler, }, { MethodName: "MlockEnabled", Handler: _SystemView_MlockEnabled_Handler, }, { MethodName: "LocalMount", Handler: _SystemView_LocalMount_Handler, }, { MethodName: "EntityInfo", Handler: _SystemView_EntityInfo_Handler, }, { MethodName: "PluginEnv", Handler: _SystemView_PluginEnv_Handler, }, { MethodName: "GroupsForEntity", Handler: _SystemView_GroupsForEntity_Handler, }, { MethodName: "GeneratePasswordFromPolicy", Handler: _SystemView_GeneratePasswordFromPolicy_Handler, }, { MethodName: "ClusterInfo", Handler: _SystemView_ClusterInfo_Handler, }, { MethodName: "GenerateIdentityToken", Handler: _SystemView_GenerateIdentityToken_Handler, }, { MethodName: "RegisterRotationJob", Handler: _SystemView_RegisterRotationJob_Handler, }, { MethodName: "DeregisterRotationJob", Handler: _SystemView_DeregisterRotationJob_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sdk/plugin/pb/backend.proto", }
SystemView_ServiceDesc is the grpc.ServiceDesc for SystemView service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func ErrToString ¶
func ProtoAuthToLogicalAuth ¶
func ProtoCertificateChainToCertificateChain ¶
func ProtoCertificateChainToCertificateChain(cc *CertificateChain) ([]*x509.Certificate, error)
func ProtoCertificateToX509Certificate ¶
func ProtoCertificateToX509Certificate(c *Certificate) (*x509.Certificate, error)
func ProtoConnectionStateToTLSConnectionState ¶
func ProtoConnectionStateToTLSConnectionState(cs *ConnectionState) (*tls.ConnectionState, error)
func ProtoConnectionToLogicalConnection ¶
func ProtoConnectionToLogicalConnection(c *Connection) (*logical.Connection, error)
func ProtoErrToErr ¶
func ProtoErrToErr(e *ProtoError) error
func ProtoLeaseOptionsToLogicalLeaseOptions ¶
func ProtoLeaseOptionsToLogicalLeaseOptions(l *LeaseOptions) (logical.LeaseOptions, error)
func ProtoRequestToLogicalRequest ¶
func ProtoRequestWrapInfoToLogicalRequestWrapInfo ¶
func ProtoRequestWrapInfoToLogicalRequestWrapInfo(i *RequestWrapInfo) *logical.RequestWrapInfo
func ProtoResponseToLogicalResponse ¶
func ProtoResponseWrapInfoToLogicalResponseWrapInfo ¶
func ProtoResponseWrapInfoToLogicalResponseWrapInfo(i *ResponseWrapInfo) (*wrapping.ResponseWrapInfo, error)
func ProtoSecretToLogicalSecret ¶
func ProtoStorageEntryToLogicalStorageEntry ¶
func ProtoStorageEntryToLogicalStorageEntry(e *StorageEntry) *logical.StorageEntry
func ProtoTokenEntryToLogicalTokenEntry ¶
func ProtoTokenEntryToLogicalTokenEntry(t *TokenEntry) (*logical.TokenEntry, error)
func RegisterBackendServer ¶
func RegisterBackendServer(s grpc.ServiceRegistrar, srv BackendServer)
func RegisterEventsServer ¶
func RegisterEventsServer(s grpc.ServiceRegistrar, srv EventsServer)
func RegisterObservationsServer ¶
func RegisterObservationsServer(s grpc.ServiceRegistrar, srv ObservationsServer)
func RegisterStorageServer ¶
func RegisterStorageServer(s grpc.ServiceRegistrar, srv StorageServer)
func RegisterSystemViewServer ¶
func RegisterSystemViewServer(s grpc.ServiceRegistrar, srv SystemViewServer)
Types ¶
type Auth ¶
type Auth struct { LeaseOptions *LeaseOptions `protobuf:"bytes,1,opt,name=lease_options,json=leaseOptions,proto3" json:"lease_options,omitempty"` // InternalData is a JSON object that is stored with the auth struct. // This will be sent back during a Renew/Revoke for storing internal data // used for those operations. InternalData string `protobuf:"bytes,2,opt,name=internal_data,json=internalData,proto3" json:"internal_data,omitempty"` // DisplayName is a non-security sensitive identifier that is // applicable to this Auth. It is used for logging and prefixing // of dynamic secrets. For example, DisplayName may be "armon" for // the github credential backend. If the client token is used to // generate a SQL credential, the user may be "github-armon-uuid". // This is to help identify the source without using audit tables. DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Policies is the list of policies that the authenticated user // is associated with. Policies []string `protobuf:"bytes,4,rep,name=policies,proto3" json:"policies,omitempty"` // Metadata is used to attach arbitrary string-type metadata to // an authenticated user. This metadata will be outputted into the // audit log. Metadata map[string]string `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // ClientToken is the token that is generated for the authentication. // This will be filled in by Vault core when an auth structure is // returned. Setting this manually will have no effect. ClientToken string `protobuf:"bytes,6,opt,name=client_token,json=clientToken,proto3" json:"client_token,omitempty"` // Accessor is the identifier for the ClientToken. This can be used // to perform management functionalities (especially revocation) when // ClientToken in the audit logs are obfuscated. Accessor can be used // to revoke a ClientToken and to lookup the capabilities of the ClientToken, // both without actually knowing the ClientToken. Accessor string `protobuf:"bytes,7,opt,name=accessor,proto3" json:"accessor,omitempty"` // Period indicates that the token generated using this Auth object // should never expire. The token should be renewed within the duration // specified by this period. Period int64 `protobuf:"varint,8,opt,name=period,proto3" json:"period,omitempty"` // Number of allowed uses of the issued token NumUses int64 `protobuf:"varint,9,opt,name=num_uses,json=numUses,proto3" json:"num_uses,omitempty"` // EntityID is the identifier of the entity in identity store to which the // identity of the authenticating client belongs to. EntityID string `protobuf:"bytes,10,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` // Alias is the information about the authenticated client returned by // the auth backend Alias *logical.Alias `protobuf:"bytes,11,opt,name=alias,proto3" json:"alias,omitempty"` // GroupAliases are the informational mappings of external groups which an // authenticated user belongs to. This is used to check if there are // mappings groups for the group aliases in identity store. For all the // matching groups, the entity ID of the user will be added. GroupAliases []*logical.Alias `protobuf:"bytes,12,rep,name=group_aliases,json=groupAliases,proto3" json:"group_aliases,omitempty"` // If set, restricts usage of the certificates to client IPs falling within // the range of the specified CIDR(s). BoundCIDRs []string `protobuf:"bytes,13,rep,name=bound_cidrs,json=boundCidrs,proto3" json:"bound_cidrs,omitempty"` // TokenPolicies and IdentityPolicies break down the list in Policies to // help determine where a policy was sourced TokenPolicies []string `protobuf:"bytes,14,rep,name=token_policies,json=tokenPolicies,proto3" json:"token_policies,omitempty"` IdentityPolicies []string `protobuf:"bytes,15,rep,name=identity_policies,json=identityPolicies,proto3" json:"identity_policies,omitempty"` // Explicit maximum lifetime for the token. Unlike normal TTLs, the maximum // TTL is a hard limit and cannot be exceeded, also counts for periodic tokens. ExplicitMaxTTL int64 `protobuf:"varint,16,opt,name=explicit_max_ttl,json=explicitMaxTtl,proto3" json:"explicit_max_ttl,omitempty"` // TokenType is the type of token being requested TokenType uint32 `protobuf:"varint,17,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"` // Whether the default policy should be added automatically by core NoDefaultPolicy bool `protobuf:"varint,18,opt,name=no_default_policy,json=noDefaultPolicy,proto3" json:"no_default_policy,omitempty"` // contains filtered or unexported fields }
func LogicalAuthToProtoAuth ¶
func (*Auth) Descriptor ¶
Deprecated: Use Auth.ProtoReflect.Descriptor instead.
func (*Auth) GetAccessor ¶
func (*Auth) GetAlias ¶
func (*Auth) GetBoundCIDRs ¶
func (*Auth) GetClientToken ¶
func (*Auth) GetDisplayName ¶
func (*Auth) GetEntityID ¶
func (*Auth) GetExplicitMaxTTL ¶
func (*Auth) GetGroupAliases ¶
func (*Auth) GetIdentityPolicies ¶
func (*Auth) GetInternalData ¶
func (*Auth) GetLeaseOptions ¶
func (x *Auth) GetLeaseOptions() *LeaseOptions
func (*Auth) GetMetadata ¶
func (*Auth) GetNoDefaultPolicy ¶
func (*Auth) GetNumUses ¶
func (*Auth) GetPeriod ¶
func (*Auth) GetPolicies ¶
func (*Auth) GetTokenPolicies ¶
func (*Auth) GetTokenType ¶
func (*Auth) ProtoMessage ¶
func (*Auth) ProtoMessage()
func (*Auth) ProtoReflect ¶
func (x *Auth) ProtoReflect() protoreflect.Message
func (*Auth) Reset ¶
func (x *Auth) Reset()
func (*Auth) String ¶
type BackendClient ¶
type BackendClient interface { // HandleRequest is used to handle a request and generate a response. // The plugins must check the operation type and handle appropriately. HandleRequest(ctx context.Context, in *HandleRequestArgs, opts ...grpc.CallOption) (*HandleRequestReply, error) // SpecialPaths is a list of paths that are special in some way. // See PathType for the types of special paths. The key is the type // of the special path, and the value is a list of paths for this type. // This is not a regular expression but is an exact match. If the path // ends in '*' then it is a prefix-based match. The '*' can only appear // at the end. SpecialPaths(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*SpecialPathsReply, error) // HandleExistenceCheck is used to handle a request and generate a response // indicating whether the given path exists or not; this is used to // understand whether the request must have a Create or Update capability // ACL applied. The first bool indicates whether an existence check // function was found for the backend; the second indicates whether, if an // existence check function was found, the item exists or not. HandleExistenceCheck(ctx context.Context, in *HandleExistenceCheckArgs, opts ...grpc.CallOption) (*HandleExistenceCheckReply, error) // Cleanup is invoked during an unmount of a backend to allow it to // handle any cleanup like connection closing or releasing of file handles. // Cleanup is called right before Vault closes the plugin process. Cleanup(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) // InvalidateKey may be invoked when an object is modified that belongs // to the backend. The backend can use this to clear any caches or reset // internal state as needed. InvalidateKey(ctx context.Context, in *InvalidateKeyArgs, opts ...grpc.CallOption) (*Empty, error) // Setup is used to set up the backend based on the provided backend // configuration. The plugin's setup implementation should use the provided // broker_id to create a connection back to Vault for use with the Storage // and SystemView clients. Setup(ctx context.Context, in *SetupArgs, opts ...grpc.CallOption) (*SetupReply, error) // Initialize is invoked just after mounting a backend to allow it to // handle any initialization tasks that need to be performed. Initialize(ctx context.Context, in *InitializeArgs, opts ...grpc.CallOption) (*InitializeReply, error) // Type returns the BackendType for the particular backend Type(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TypeReply, error) }
BackendClient is the client API for Backend service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Backend is the interface that plugins must satisfy. The plugin should implement the server for this service. Requests will first run the HandleExistenceCheck rpc then run the HandleRequests rpc.
func NewBackendClient ¶
func NewBackendClient(cc grpc.ClientConnInterface) BackendClient
type BackendServer ¶
type BackendServer interface { // HandleRequest is used to handle a request and generate a response. // The plugins must check the operation type and handle appropriately. HandleRequest(context.Context, *HandleRequestArgs) (*HandleRequestReply, error) // SpecialPaths is a list of paths that are special in some way. // See PathType for the types of special paths. The key is the type // of the special path, and the value is a list of paths for this type. // This is not a regular expression but is an exact match. If the path // ends in '*' then it is a prefix-based match. The '*' can only appear // at the end. SpecialPaths(context.Context, *Empty) (*SpecialPathsReply, error) // HandleExistenceCheck is used to handle a request and generate a response // indicating whether the given path exists or not; this is used to // understand whether the request must have a Create or Update capability // ACL applied. The first bool indicates whether an existence check // function was found for the backend; the second indicates whether, if an // existence check function was found, the item exists or not. HandleExistenceCheck(context.Context, *HandleExistenceCheckArgs) (*HandleExistenceCheckReply, error) // Cleanup is invoked during an unmount of a backend to allow it to // handle any cleanup like connection closing or releasing of file handles. // Cleanup is called right before Vault closes the plugin process. Cleanup(context.Context, *Empty) (*Empty, error) // InvalidateKey may be invoked when an object is modified that belongs // to the backend. The backend can use this to clear any caches or reset // internal state as needed. InvalidateKey(context.Context, *InvalidateKeyArgs) (*Empty, error) // Setup is used to set up the backend based on the provided backend // configuration. The plugin's setup implementation should use the provided // broker_id to create a connection back to Vault for use with the Storage // and SystemView clients. Setup(context.Context, *SetupArgs) (*SetupReply, error) // Initialize is invoked just after mounting a backend to allow it to // handle any initialization tasks that need to be performed. Initialize(context.Context, *InitializeArgs) (*InitializeReply, error) // Type returns the BackendType for the particular backend Type(context.Context, *Empty) (*TypeReply, error) // contains filtered or unexported methods }
BackendServer is the server API for Backend service. All implementations must embed UnimplementedBackendServer for forward compatibility.
Backend is the interface that plugins must satisfy. The plugin should implement the server for this service. Requests will first run the HandleExistenceCheck rpc then run the HandleRequests rpc.
type CachingDisabledReply ¶
type CachingDisabledReply struct { Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` // contains filtered or unexported fields }
func (*CachingDisabledReply) Descriptor ¶
func (*CachingDisabledReply) Descriptor() ([]byte, []int)
Deprecated: Use CachingDisabledReply.ProtoReflect.Descriptor instead.
func (*CachingDisabledReply) GetDisabled ¶
func (x *CachingDisabledReply) GetDisabled() bool
func (*CachingDisabledReply) ProtoMessage ¶
func (*CachingDisabledReply) ProtoMessage()
func (*CachingDisabledReply) ProtoReflect ¶
func (x *CachingDisabledReply) ProtoReflect() protoreflect.Message
func (*CachingDisabledReply) Reset ¶
func (x *CachingDisabledReply) Reset()
func (*CachingDisabledReply) String ¶
func (x *CachingDisabledReply) String() string
type Certificate ¶
type Certificate struct { Asn1Data []byte `protobuf:"bytes,1,opt,name=asn1_data,json=asn1Data,proto3" json:"asn1_data,omitempty"` // contains filtered or unexported fields }
func X509CertificateToProtoCertificate ¶
func X509CertificateToProtoCertificate(cert *x509.Certificate) *Certificate
func (*Certificate) Descriptor ¶
func (*Certificate) Descriptor() ([]byte, []int)
Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
func (*Certificate) GetAsn1Data ¶
func (x *Certificate) GetAsn1Data() []byte
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 CertificateChain ¶
type CertificateChain struct { Certificates []*Certificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"` // contains filtered or unexported fields }
func CertificateChainToProtoCertificateChain ¶
func CertificateChainToProtoCertificateChain(chain []*x509.Certificate) *CertificateChain
func (*CertificateChain) Descriptor ¶
func (*CertificateChain) Descriptor() ([]byte, []int)
Deprecated: Use CertificateChain.ProtoReflect.Descriptor instead.
func (*CertificateChain) GetCertificates ¶
func (x *CertificateChain) GetCertificates() []*Certificate
func (*CertificateChain) ProtoMessage ¶
func (*CertificateChain) ProtoMessage()
func (*CertificateChain) ProtoReflect ¶
func (x *CertificateChain) ProtoReflect() protoreflect.Message
func (*CertificateChain) Reset ¶
func (x *CertificateChain) Reset()
func (*CertificateChain) String ¶
func (x *CertificateChain) String() string
type ClusterInfoReply ¶
type ClusterInfoReply struct { ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` ClusterID string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` Err string `protobuf:"bytes,3,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
func (*ClusterInfoReply) Descriptor ¶
func (*ClusterInfoReply) Descriptor() ([]byte, []int)
Deprecated: Use ClusterInfoReply.ProtoReflect.Descriptor instead.
func (*ClusterInfoReply) GetClusterID ¶
func (x *ClusterInfoReply) GetClusterID() string
func (*ClusterInfoReply) GetClusterName ¶
func (x *ClusterInfoReply) GetClusterName() string
func (*ClusterInfoReply) GetErr ¶
func (x *ClusterInfoReply) GetErr() string
func (*ClusterInfoReply) ProtoMessage ¶
func (*ClusterInfoReply) ProtoMessage()
func (*ClusterInfoReply) ProtoReflect ¶
func (x *ClusterInfoReply) ProtoReflect() protoreflect.Message
func (*ClusterInfoReply) Reset ¶
func (x *ClusterInfoReply) Reset()
func (*ClusterInfoReply) String ¶
func (x *ClusterInfoReply) String() string
type Connection ¶
type Connection struct { // RemoteAddr is the network address that sent the request. RemoteAddr string `protobuf:"bytes,1,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"` // RemotePort is the network port that sent the request. RemotePort int32 `protobuf:"varint,3,opt,name=remote_port,json=remotePort,proto3" json:"remote_port,omitempty"` // ConnectionState is the marshalled tls.ConnectionState from the original // request ConnectionState *ConnectionState `protobuf:"bytes,2,opt,name=connection_state,json=connectionState,proto3" json:"connection_state,omitempty"` // contains filtered or unexported fields }
func LogicalConnectionToProtoConnection ¶
func LogicalConnectionToProtoConnection(c *logical.Connection) *Connection
func (*Connection) Descriptor ¶
func (*Connection) Descriptor() ([]byte, []int)
Deprecated: Use Connection.ProtoReflect.Descriptor instead.
func (*Connection) GetConnectionState ¶
func (x *Connection) GetConnectionState() *ConnectionState
func (*Connection) GetRemoteAddr ¶
func (x *Connection) GetRemoteAddr() string
func (*Connection) GetRemotePort ¶
func (x *Connection) GetRemotePort() int32
func (*Connection) ProtoMessage ¶
func (*Connection) ProtoMessage()
func (*Connection) ProtoReflect ¶
func (x *Connection) ProtoReflect() protoreflect.Message
func (*Connection) Reset ¶
func (x *Connection) Reset()
func (*Connection) String ¶
func (x *Connection) String() string
type ConnectionState ¶
type ConnectionState struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` HandshakeComplete bool `protobuf:"varint,2,opt,name=handshake_complete,json=handshakeComplete,proto3" json:"handshake_complete,omitempty"` DidResume bool `protobuf:"varint,3,opt,name=did_resume,json=didResume,proto3" json:"did_resume,omitempty"` CipherSuite uint32 `protobuf:"varint,4,opt,name=cipher_suite,json=cipherSuite,proto3" json:"cipher_suite,omitempty"` NegotiatedProtocol string `protobuf:"bytes,5,opt,name=negotiated_protocol,json=negotiatedProtocol,proto3" json:"negotiated_protocol,omitempty"` NegotiatedProtocolIsMutual bool `protobuf:"varint,6,opt,name=negotiated_protocol_is_mutual,json=negotiatedProtocolIsMutual,proto3" json:"negotiated_protocol_is_mutual,omitempty"` ServerName string `protobuf:"bytes,7,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"` PeerCertificates *CertificateChain `protobuf:"bytes,8,opt,name=peer_certificates,json=peerCertificates,proto3" json:"peer_certificates,omitempty"` VerifiedChains []*CertificateChain `protobuf:"bytes,9,rep,name=verified_chains,json=verifiedChains,proto3" json:"verified_chains,omitempty"` SignedCertificateTimestamps [][]byte `protobuf:"bytes,10,rep,name=signed_certificate_timestamps,json=signedCertificateTimestamps,proto3" json:"signed_certificate_timestamps,omitempty"` OcspResponse []byte `protobuf:"bytes,11,opt,name=ocsp_response,json=ocspResponse,proto3" json:"ocsp_response,omitempty"` TlsUnique []byte `protobuf:"bytes,12,opt,name=tls_unique,json=tlsUnique,proto3" json:"tls_unique,omitempty"` // contains filtered or unexported fields }
func TLSConnectionStateToProtoConnectionState ¶
func TLSConnectionStateToProtoConnectionState(connState *tls.ConnectionState) *ConnectionState
func (*ConnectionState) Descriptor ¶
func (*ConnectionState) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionState.ProtoReflect.Descriptor instead.
func (*ConnectionState) GetCipherSuite ¶
func (x *ConnectionState) GetCipherSuite() uint32
func (*ConnectionState) GetDidResume ¶
func (x *ConnectionState) GetDidResume() bool
func (*ConnectionState) GetHandshakeComplete ¶
func (x *ConnectionState) GetHandshakeComplete() bool
func (*ConnectionState) GetNegotiatedProtocol ¶
func (x *ConnectionState) GetNegotiatedProtocol() string
func (*ConnectionState) GetNegotiatedProtocolIsMutual ¶
func (x *ConnectionState) GetNegotiatedProtocolIsMutual() bool
func (*ConnectionState) GetOcspResponse ¶
func (x *ConnectionState) GetOcspResponse() []byte
func (*ConnectionState) GetPeerCertificates ¶
func (x *ConnectionState) GetPeerCertificates() *CertificateChain
func (*ConnectionState) GetServerName ¶
func (x *ConnectionState) GetServerName() string
func (*ConnectionState) GetSignedCertificateTimestamps ¶
func (x *ConnectionState) GetSignedCertificateTimestamps() [][]byte
func (*ConnectionState) GetTlsUnique ¶
func (x *ConnectionState) GetTlsUnique() []byte
func (*ConnectionState) GetVerifiedChains ¶
func (x *ConnectionState) GetVerifiedChains() []*CertificateChain
func (*ConnectionState) GetVersion ¶
func (x *ConnectionState) GetVersion() uint32
func (*ConnectionState) ProtoMessage ¶
func (*ConnectionState) ProtoMessage()
func (*ConnectionState) ProtoReflect ¶
func (x *ConnectionState) ProtoReflect() protoreflect.Message
func (*ConnectionState) Reset ¶
func (x *ConnectionState) Reset()
func (*ConnectionState) String ¶
func (x *ConnectionState) String() string
type DeregisterRotationJobRequest ¶
type DeregisterRotationJobRequest struct { Req *DeregisterRotationRequestInput `protobuf:"bytes,1,opt,name=req,proto3" json:"req,omitempty"` // contains filtered or unexported fields }
func (*DeregisterRotationJobRequest) Descriptor ¶
func (*DeregisterRotationJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeregisterRotationJobRequest.ProtoReflect.Descriptor instead.
func (*DeregisterRotationJobRequest) GetReq ¶
func (x *DeregisterRotationJobRequest) GetReq() *DeregisterRotationRequestInput
func (*DeregisterRotationJobRequest) ProtoMessage ¶
func (*DeregisterRotationJobRequest) ProtoMessage()
func (*DeregisterRotationJobRequest) ProtoReflect ¶
func (x *DeregisterRotationJobRequest) ProtoReflect() protoreflect.Message
func (*DeregisterRotationJobRequest) Reset ¶
func (x *DeregisterRotationJobRequest) Reset()
func (*DeregisterRotationJobRequest) String ¶
func (x *DeregisterRotationJobRequest) String() string
type DeregisterRotationRequestInput ¶
type DeregisterRotationRequestInput struct { MountPoint string `protobuf:"bytes,1,opt,name=mount_point,json=mountPoint,proto3" json:"mount_point,omitempty"` ReqPath string `protobuf:"bytes,2,opt,name=req_path,json=reqPath,proto3" json:"req_path,omitempty"` // contains filtered or unexported fields }
func (*DeregisterRotationRequestInput) Descriptor ¶
func (*DeregisterRotationRequestInput) Descriptor() ([]byte, []int)
Deprecated: Use DeregisterRotationRequestInput.ProtoReflect.Descriptor instead.
func (*DeregisterRotationRequestInput) GetMountPoint ¶
func (x *DeregisterRotationRequestInput) GetMountPoint() string
func (*DeregisterRotationRequestInput) GetReqPath ¶
func (x *DeregisterRotationRequestInput) GetReqPath() string
func (*DeregisterRotationRequestInput) ProtoMessage ¶
func (*DeregisterRotationRequestInput) ProtoMessage()
func (*DeregisterRotationRequestInput) ProtoReflect ¶
func (x *DeregisterRotationRequestInput) ProtoReflect() protoreflect.Message
func (*DeregisterRotationRequestInput) Reset ¶
func (x *DeregisterRotationRequestInput) Reset()
func (*DeregisterRotationRequestInput) String ¶
func (x *DeregisterRotationRequestInput) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor ¶
Deprecated: Use Empty.ProtoReflect.Descriptor instead.
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
func (*Empty) Reset ¶
func (x *Empty) Reset()
func (*Empty) String ¶
type EntityInfoArgs ¶
type EntityInfoArgs struct { EntityID string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` // contains filtered or unexported fields }
func (*EntityInfoArgs) Descriptor ¶
func (*EntityInfoArgs) Descriptor() ([]byte, []int)
Deprecated: Use EntityInfoArgs.ProtoReflect.Descriptor instead.
func (*EntityInfoArgs) GetEntityID ¶
func (x *EntityInfoArgs) GetEntityID() string
func (*EntityInfoArgs) ProtoMessage ¶
func (*EntityInfoArgs) ProtoMessage()
func (*EntityInfoArgs) ProtoReflect ¶
func (x *EntityInfoArgs) ProtoReflect() protoreflect.Message
func (*EntityInfoArgs) Reset ¶
func (x *EntityInfoArgs) Reset()
func (*EntityInfoArgs) String ¶
func (x *EntityInfoArgs) String() string
type EntityInfoReply ¶
type EntityInfoReply struct { Entity *logical.Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
func (*EntityInfoReply) Descriptor ¶
func (*EntityInfoReply) Descriptor() ([]byte, []int)
Deprecated: Use EntityInfoReply.ProtoReflect.Descriptor instead.
func (*EntityInfoReply) GetEntity ¶
func (x *EntityInfoReply) GetEntity() *logical.Entity
func (*EntityInfoReply) GetErr ¶
func (x *EntityInfoReply) GetErr() string
func (*EntityInfoReply) ProtoMessage ¶
func (*EntityInfoReply) ProtoMessage()
func (*EntityInfoReply) ProtoReflect ¶
func (x *EntityInfoReply) ProtoReflect() protoreflect.Message
func (*EntityInfoReply) Reset ¶
func (x *EntityInfoReply) Reset()
func (*EntityInfoReply) String ¶
func (x *EntityInfoReply) String() string
type EventsClient ¶
type EventsClient interface { SendEvent(ctx context.Context, in *SendEventRequest, opts ...grpc.CallOption) (*Empty, error) }
EventsClient is the client API for Events service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewEventsClient ¶
func NewEventsClient(cc grpc.ClientConnInterface) EventsClient
type EventsServer ¶
type EventsServer interface { SendEvent(context.Context, *SendEventRequest) (*Empty, error) // contains filtered or unexported methods }
EventsServer is the server API for Events service. All implementations must embed UnimplementedEventsServer for forward compatibility.
type GenerateIdentityTokenRequest ¶
type GenerateIdentityTokenRequest struct { Audience string `protobuf:"bytes,1,opt,name=audience,proto3" json:"audience,omitempty"` TTL int64 `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"` // contains filtered or unexported fields }
func (*GenerateIdentityTokenRequest) Descriptor ¶
func (*GenerateIdentityTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateIdentityTokenRequest.ProtoReflect.Descriptor instead.
func (*GenerateIdentityTokenRequest) GetAudience ¶
func (x *GenerateIdentityTokenRequest) GetAudience() string
func (*GenerateIdentityTokenRequest) GetTTL ¶
func (x *GenerateIdentityTokenRequest) GetTTL() int64
func (*GenerateIdentityTokenRequest) ProtoMessage ¶
func (*GenerateIdentityTokenRequest) ProtoMessage()
func (*GenerateIdentityTokenRequest) ProtoReflect ¶
func (x *GenerateIdentityTokenRequest) ProtoReflect() protoreflect.Message
func (*GenerateIdentityTokenRequest) Reset ¶
func (x *GenerateIdentityTokenRequest) Reset()
func (*GenerateIdentityTokenRequest) String ¶
func (x *GenerateIdentityTokenRequest) String() string
type GenerateIdentityTokenResponse ¶
type GenerateIdentityTokenResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` TTL int64 `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"` // contains filtered or unexported fields }
func (*GenerateIdentityTokenResponse) Descriptor ¶
func (*GenerateIdentityTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateIdentityTokenResponse.ProtoReflect.Descriptor instead.
func (*GenerateIdentityTokenResponse) GetTTL ¶
func (x *GenerateIdentityTokenResponse) GetTTL() int64
func (*GenerateIdentityTokenResponse) GetToken ¶
func (x *GenerateIdentityTokenResponse) GetToken() string
func (*GenerateIdentityTokenResponse) ProtoMessage ¶
func (*GenerateIdentityTokenResponse) ProtoMessage()
func (*GenerateIdentityTokenResponse) ProtoReflect ¶
func (x *GenerateIdentityTokenResponse) ProtoReflect() protoreflect.Message
func (*GenerateIdentityTokenResponse) Reset ¶
func (x *GenerateIdentityTokenResponse) Reset()
func (*GenerateIdentityTokenResponse) String ¶
func (x *GenerateIdentityTokenResponse) String() string
type GeneratePasswordFromPolicyReply ¶
type GeneratePasswordFromPolicyReply struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*GeneratePasswordFromPolicyReply) Descriptor ¶
func (*GeneratePasswordFromPolicyReply) Descriptor() ([]byte, []int)
Deprecated: Use GeneratePasswordFromPolicyReply.ProtoReflect.Descriptor instead.
func (*GeneratePasswordFromPolicyReply) GetPassword ¶
func (x *GeneratePasswordFromPolicyReply) GetPassword() string
func (*GeneratePasswordFromPolicyReply) ProtoMessage ¶
func (*GeneratePasswordFromPolicyReply) ProtoMessage()
func (*GeneratePasswordFromPolicyReply) ProtoReflect ¶
func (x *GeneratePasswordFromPolicyReply) ProtoReflect() protoreflect.Message
func (*GeneratePasswordFromPolicyReply) Reset ¶
func (x *GeneratePasswordFromPolicyReply) Reset()
func (*GeneratePasswordFromPolicyReply) String ¶
func (x *GeneratePasswordFromPolicyReply) String() string
type GeneratePasswordFromPolicyRequest ¶
type GeneratePasswordFromPolicyRequest struct { PolicyName string `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"` // contains filtered or unexported fields }
func (*GeneratePasswordFromPolicyRequest) Descriptor ¶
func (*GeneratePasswordFromPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GeneratePasswordFromPolicyRequest.ProtoReflect.Descriptor instead.
func (*GeneratePasswordFromPolicyRequest) GetPolicyName ¶
func (x *GeneratePasswordFromPolicyRequest) GetPolicyName() string
func (*GeneratePasswordFromPolicyRequest) ProtoMessage ¶
func (*GeneratePasswordFromPolicyRequest) ProtoMessage()
func (*GeneratePasswordFromPolicyRequest) ProtoReflect ¶
func (x *GeneratePasswordFromPolicyRequest) ProtoReflect() protoreflect.Message
func (*GeneratePasswordFromPolicyRequest) Reset ¶
func (x *GeneratePasswordFromPolicyRequest) Reset()
func (*GeneratePasswordFromPolicyRequest) String ¶
func (x *GeneratePasswordFromPolicyRequest) String() string
type GroupsForEntityReply ¶
type GroupsForEntityReply struct { Groups []*logical.Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
func (*GroupsForEntityReply) Descriptor ¶
func (*GroupsForEntityReply) Descriptor() ([]byte, []int)
Deprecated: Use GroupsForEntityReply.ProtoReflect.Descriptor instead.
func (*GroupsForEntityReply) GetErr ¶
func (x *GroupsForEntityReply) GetErr() string
func (*GroupsForEntityReply) GetGroups ¶
func (x *GroupsForEntityReply) GetGroups() []*logical.Group
func (*GroupsForEntityReply) ProtoMessage ¶
func (*GroupsForEntityReply) ProtoMessage()
func (*GroupsForEntityReply) ProtoReflect ¶
func (x *GroupsForEntityReply) ProtoReflect() protoreflect.Message
func (*GroupsForEntityReply) Reset ¶
func (x *GroupsForEntityReply) Reset()
func (*GroupsForEntityReply) String ¶
func (x *GroupsForEntityReply) String() string
type HandleExistenceCheckArgs ¶
type HandleExistenceCheckArgs struct { StorageID uint32 `protobuf:"varint,1,opt,name=storage_id,json=storageId,proto3" json:"storage_id,omitempty"` Request *Request `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
HandleExistenceCheckArgs is the args for HandleExistenceCheck method.
func (*HandleExistenceCheckArgs) Descriptor ¶
func (*HandleExistenceCheckArgs) Descriptor() ([]byte, []int)
Deprecated: Use HandleExistenceCheckArgs.ProtoReflect.Descriptor instead.
func (*HandleExistenceCheckArgs) GetRequest ¶
func (x *HandleExistenceCheckArgs) GetRequest() *Request
func (*HandleExistenceCheckArgs) GetStorageID ¶
func (x *HandleExistenceCheckArgs) GetStorageID() uint32
func (*HandleExistenceCheckArgs) ProtoMessage ¶
func (*HandleExistenceCheckArgs) ProtoMessage()
func (*HandleExistenceCheckArgs) ProtoReflect ¶
func (x *HandleExistenceCheckArgs) ProtoReflect() protoreflect.Message
func (*HandleExistenceCheckArgs) Reset ¶
func (x *HandleExistenceCheckArgs) Reset()
func (*HandleExistenceCheckArgs) String ¶
func (x *HandleExistenceCheckArgs) String() string
type HandleExistenceCheckReply ¶
type HandleExistenceCheckReply struct { CheckFound bool `protobuf:"varint,1,opt,name=check_found,json=checkFound,proto3" json:"check_found,omitempty"` Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` Err *ProtoError `protobuf:"bytes,3,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
HandleExistenceCheckReply is the reply for HandleExistenceCheck method.
func (*HandleExistenceCheckReply) Descriptor ¶
func (*HandleExistenceCheckReply) Descriptor() ([]byte, []int)
Deprecated: Use HandleExistenceCheckReply.ProtoReflect.Descriptor instead.
func (*HandleExistenceCheckReply) GetCheckFound ¶
func (x *HandleExistenceCheckReply) GetCheckFound() bool
func (*HandleExistenceCheckReply) GetErr ¶
func (x *HandleExistenceCheckReply) GetErr() *ProtoError
func (*HandleExistenceCheckReply) GetExists ¶
func (x *HandleExistenceCheckReply) GetExists() bool
func (*HandleExistenceCheckReply) ProtoMessage ¶
func (*HandleExistenceCheckReply) ProtoMessage()
func (*HandleExistenceCheckReply) ProtoReflect ¶
func (x *HandleExistenceCheckReply) ProtoReflect() protoreflect.Message
func (*HandleExistenceCheckReply) Reset ¶
func (x *HandleExistenceCheckReply) Reset()
func (*HandleExistenceCheckReply) String ¶
func (x *HandleExistenceCheckReply) String() string
type HandleRequestArgs ¶
type HandleRequestArgs struct { StorageID uint32 `protobuf:"varint,1,opt,name=storage_id,json=storageId,proto3" json:"storage_id,omitempty"` Request *Request `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
HandleRequestArgs is the args for HandleRequest method.
func (*HandleRequestArgs) Descriptor ¶
func (*HandleRequestArgs) Descriptor() ([]byte, []int)
Deprecated: Use HandleRequestArgs.ProtoReflect.Descriptor instead.
func (*HandleRequestArgs) GetRequest ¶
func (x *HandleRequestArgs) GetRequest() *Request
func (*HandleRequestArgs) GetStorageID ¶
func (x *HandleRequestArgs) GetStorageID() uint32
func (*HandleRequestArgs) ProtoMessage ¶
func (*HandleRequestArgs) ProtoMessage()
func (*HandleRequestArgs) ProtoReflect ¶
func (x *HandleRequestArgs) ProtoReflect() protoreflect.Message
func (*HandleRequestArgs) Reset ¶
func (x *HandleRequestArgs) Reset()
func (*HandleRequestArgs) String ¶
func (x *HandleRequestArgs) String() string
type HandleRequestReply ¶
type HandleRequestReply struct { Response *Response `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` Err *ProtoError `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
HandleRequestReply is the reply for HandleRequest method.
func (*HandleRequestReply) Descriptor ¶
func (*HandleRequestReply) Descriptor() ([]byte, []int)
Deprecated: Use HandleRequestReply.ProtoReflect.Descriptor instead.
func (*HandleRequestReply) GetErr ¶
func (x *HandleRequestReply) GetErr() *ProtoError
func (*HandleRequestReply) GetResponse ¶
func (x *HandleRequestReply) GetResponse() *Response
func (*HandleRequestReply) ProtoMessage ¶
func (*HandleRequestReply) ProtoMessage()
func (*HandleRequestReply) ProtoReflect ¶
func (x *HandleRequestReply) ProtoReflect() protoreflect.Message
func (*HandleRequestReply) Reset ¶
func (x *HandleRequestReply) Reset()
func (*HandleRequestReply) String ¶
func (x *HandleRequestReply) String() string
type Header ¶
type Header struct { Header []string `protobuf:"bytes,1,rep,name=header,proto3" json:"header,omitempty"` // contains filtered or unexported fields }
func (*Header) Descriptor ¶
Deprecated: Use Header.ProtoReflect.Descriptor instead.
func (*Header) GetHeader ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
func (*Header) Reset ¶
func (x *Header) Reset()
func (*Header) String ¶
type InitializeArgs ¶
type InitializeArgs struct {
// contains filtered or unexported fields
}
InitializeArgs is the args for Initialize method.
func (*InitializeArgs) Descriptor ¶
func (*InitializeArgs) Descriptor() ([]byte, []int)
Deprecated: Use InitializeArgs.ProtoReflect.Descriptor instead.
func (*InitializeArgs) ProtoMessage ¶
func (*InitializeArgs) ProtoMessage()
func (*InitializeArgs) ProtoReflect ¶
func (x *InitializeArgs) ProtoReflect() protoreflect.Message
func (*InitializeArgs) Reset ¶
func (x *InitializeArgs) Reset()
func (*InitializeArgs) String ¶
func (x *InitializeArgs) String() string
type InitializeReply ¶
type InitializeReply struct { Err *ProtoError `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
InitializeReply is the reply for Initialize method.
func (*InitializeReply) Descriptor ¶
func (*InitializeReply) Descriptor() ([]byte, []int)
Deprecated: Use InitializeReply.ProtoReflect.Descriptor instead.
func (*InitializeReply) GetErr ¶
func (x *InitializeReply) GetErr() *ProtoError
func (*InitializeReply) ProtoMessage ¶
func (*InitializeReply) ProtoMessage()
func (*InitializeReply) ProtoReflect ¶
func (x *InitializeReply) ProtoReflect() protoreflect.Message
func (*InitializeReply) Reset ¶
func (x *InitializeReply) Reset()
func (*InitializeReply) String ¶
func (x *InitializeReply) String() string
type InvalidateKeyArgs ¶
type InvalidateKeyArgs struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*InvalidateKeyArgs) Descriptor ¶
func (*InvalidateKeyArgs) Descriptor() ([]byte, []int)
Deprecated: Use InvalidateKeyArgs.ProtoReflect.Descriptor instead.
func (*InvalidateKeyArgs) GetKey ¶
func (x *InvalidateKeyArgs) GetKey() string
func (*InvalidateKeyArgs) ProtoMessage ¶
func (*InvalidateKeyArgs) ProtoMessage()
func (*InvalidateKeyArgs) ProtoReflect ¶
func (x *InvalidateKeyArgs) ProtoReflect() protoreflect.Message
func (*InvalidateKeyArgs) Reset ¶
func (x *InvalidateKeyArgs) Reset()
func (*InvalidateKeyArgs) String ¶
func (x *InvalidateKeyArgs) String() string
type LeaseOptions ¶
type LeaseOptions struct { TTL int64 `protobuf:"varint,1,opt,name=TTL,proto3" json:"TTL,omitempty"` Renewable bool `protobuf:"varint,2,opt,name=renewable,proto3" json:"renewable,omitempty"` Increment int64 `protobuf:"varint,3,opt,name=increment,proto3" json:"increment,omitempty"` IssueTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=issue_time,json=issueTime,proto3" json:"issue_time,omitempty"` MaxTTL int64 `protobuf:"varint,5,opt,name=MaxTTL,proto3" json:"MaxTTL,omitempty"` // contains filtered or unexported fields }
func LogicalLeaseOptionsToProtoLeaseOptions ¶
func LogicalLeaseOptionsToProtoLeaseOptions(l logical.LeaseOptions) (*LeaseOptions, error)
func (*LeaseOptions) Descriptor ¶
func (*LeaseOptions) Descriptor() ([]byte, []int)
Deprecated: Use LeaseOptions.ProtoReflect.Descriptor instead.
func (*LeaseOptions) GetIncrement ¶
func (x *LeaseOptions) GetIncrement() int64
func (*LeaseOptions) GetIssueTime ¶
func (x *LeaseOptions) GetIssueTime() *timestamppb.Timestamp
func (*LeaseOptions) GetMaxTTL ¶
func (x *LeaseOptions) GetMaxTTL() int64
func (*LeaseOptions) GetRenewable ¶
func (x *LeaseOptions) GetRenewable() bool
func (*LeaseOptions) GetTTL ¶
func (x *LeaseOptions) GetTTL() int64
func (*LeaseOptions) ProtoMessage ¶
func (*LeaseOptions) ProtoMessage()
func (*LeaseOptions) ProtoReflect ¶
func (x *LeaseOptions) ProtoReflect() protoreflect.Message
func (*LeaseOptions) Reset ¶
func (x *LeaseOptions) Reset()
func (*LeaseOptions) String ¶
func (x *LeaseOptions) String() string
type LocalMountReply ¶
type LocalMountReply struct { Local bool `protobuf:"varint,1,opt,name=local,proto3" json:"local,omitempty"` // contains filtered or unexported fields }
func (*LocalMountReply) Descriptor ¶
func (*LocalMountReply) Descriptor() ([]byte, []int)
Deprecated: Use LocalMountReply.ProtoReflect.Descriptor instead.
func (*LocalMountReply) GetLocal ¶
func (x *LocalMountReply) GetLocal() bool
func (*LocalMountReply) ProtoMessage ¶
func (*LocalMountReply) ProtoMessage()
func (*LocalMountReply) ProtoReflect ¶
func (x *LocalMountReply) ProtoReflect() protoreflect.Message
func (*LocalMountReply) Reset ¶
func (x *LocalMountReply) Reset()
func (*LocalMountReply) String ¶
func (x *LocalMountReply) String() string
type MlockEnabledReply ¶
type MlockEnabledReply struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*MlockEnabledReply) Descriptor ¶
func (*MlockEnabledReply) Descriptor() ([]byte, []int)
Deprecated: Use MlockEnabledReply.ProtoReflect.Descriptor instead.
func (*MlockEnabledReply) GetEnabled ¶
func (x *MlockEnabledReply) GetEnabled() bool
func (*MlockEnabledReply) ProtoMessage ¶
func (*MlockEnabledReply) ProtoMessage()
func (*MlockEnabledReply) ProtoReflect ¶
func (x *MlockEnabledReply) ProtoReflect() protoreflect.Message
func (*MlockEnabledReply) Reset ¶
func (x *MlockEnabledReply) Reset()
func (*MlockEnabledReply) String ¶
func (x *MlockEnabledReply) String() string
type ObservationsClient ¶
type ObservationsClient interface { RecordObservation(ctx context.Context, in *RecordObservationRequest, opts ...grpc.CallOption) (*Empty, error) }
ObservationsClient is the client API for Observations service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewObservationsClient ¶
func NewObservationsClient(cc grpc.ClientConnInterface) ObservationsClient
type ObservationsServer ¶
type ObservationsServer interface { RecordObservation(context.Context, *RecordObservationRequest) (*Empty, error) // contains filtered or unexported methods }
ObservationsServer is the server API for Observations service. All implementations must embed UnimplementedObservationsServer for forward compatibility.
type Paths ¶
type Paths struct { // Root are the paths that require a root token to access Root []string `protobuf:"bytes,1,rep,name=root,proto3" json:"root,omitempty"` // Unauthenticated are the paths that can be accessed without any auth. Unauthenticated []string `protobuf:"bytes,2,rep,name=unauthenticated,proto3" json:"unauthenticated,omitempty"` // LocalStorage are paths (prefixes) that are local to this instance; this // indicates that these paths should not be replicated LocalStorage []string `protobuf:"bytes,3,rep,name=local_storage,json=localStorage,proto3" json:"local_storage,omitempty"` // SealWrapStorage are storage paths that, when using a capable seal, // should be seal wrapped with extra encryption. It is exact matching // unless it ends with '/' in which case it will be treated as a prefix. SealWrapStorage []string `protobuf:"bytes,4,rep,name=seal_wrap_storage,json=sealWrapStorage,proto3" json:"seal_wrap_storage,omitempty"` // WriteForwardedStorage are storage paths that, when running on a PR // Secondary cluster, cause a GRPC call up to the PR Primary cluster's // active node to handle storage.Put(...) and storage.Delete(...) events. // // See extended note in /sdk/logical/logical.go. WriteForwardedStorage []string `protobuf:"bytes,5,rep,name=write_forwarded_storage,json=writeForwardedStorage,proto3" json:"write_forwarded_storage,omitempty"` // Binary are paths whose request bodies are binary, not JSON // // See note in /sdk/logical/logical.go. Binary []string `protobuf:"bytes,6,rep,name=binary,proto3" json:"binary,omitempty"` // Limited paths are storage paths that require special-case request limiting. // // See note in /sdk/logical/logical.go. Limited []string `protobuf:"bytes,7,rep,name=limited,proto3" json:"limited,omitempty"` // AllowSnapshotRead paths are allowed to be read from a loaded snapshot // // See note in /sdk/logical/logical.go AllowSnapshotRead []string `protobuf:"bytes,8,rep,name=allow_snapshot_read,json=allowSnapshotRead,proto3" json:"allow_snapshot_read,omitempty"` // contains filtered or unexported fields }
Paths is the structure of special paths that is used for SpecialPaths.
func (*Paths) Descriptor ¶
Deprecated: Use Paths.ProtoReflect.Descriptor instead.
func (*Paths) GetAllowSnapshotRead ¶
func (*Paths) GetBinary ¶
func (*Paths) GetLimited ¶
func (*Paths) GetLocalStorage ¶
func (*Paths) GetRoot ¶
func (*Paths) GetSealWrapStorage ¶
func (*Paths) GetUnauthenticated ¶
func (*Paths) GetWriteForwardedStorage ¶
func (*Paths) ProtoMessage ¶
func (*Paths) ProtoMessage()
func (*Paths) ProtoReflect ¶
func (x *Paths) ProtoReflect() protoreflect.Message
func (*Paths) Reset ¶
func (x *Paths) Reset()
func (*Paths) String ¶
type PluginEnvReply ¶
type PluginEnvReply struct { PluginEnvironment *logical.PluginEnvironment `protobuf:"bytes,1,opt,name=plugin_environment,json=pluginEnvironment,proto3" json:"plugin_environment,omitempty"` Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
func (*PluginEnvReply) Descriptor ¶
func (*PluginEnvReply) Descriptor() ([]byte, []int)
Deprecated: Use PluginEnvReply.ProtoReflect.Descriptor instead.
func (*PluginEnvReply) GetErr ¶
func (x *PluginEnvReply) GetErr() string
func (*PluginEnvReply) GetPluginEnvironment ¶
func (x *PluginEnvReply) GetPluginEnvironment() *logical.PluginEnvironment
func (*PluginEnvReply) ProtoMessage ¶
func (*PluginEnvReply) ProtoMessage()
func (*PluginEnvReply) ProtoReflect ¶
func (x *PluginEnvReply) ProtoReflect() protoreflect.Message
func (*PluginEnvReply) Reset ¶
func (x *PluginEnvReply) Reset()
func (*PluginEnvReply) String ¶
func (x *PluginEnvReply) String() string
type ProtoError ¶
type ProtoError struct { // Error type can be one of: // ErrTypeUnknown uint32 = iota // ErrTypeUserError // ErrTypeInternalError // ErrTypeCodedError // ErrTypeStatusBadRequest // ErrTypeUnsupportedOperation // ErrTypeUnsupportedPath // ErrTypeInvalidRequest // ErrTypePermissionDenied // ErrTypeMultiAuthzPending // ErrTypeUnrecoverable ErrType uint32 `protobuf:"varint,1,opt,name=err_type,json=errType,proto3" json:"err_type,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"` ErrCode int64 `protobuf:"varint,3,opt,name=err_code,json=errCode,proto3" json:"err_code,omitempty"` // contains filtered or unexported fields }
func ErrToProtoErr ¶
func ErrToProtoErr(e error) *ProtoError
func (*ProtoError) Descriptor ¶
func (*ProtoError) Descriptor() ([]byte, []int)
Deprecated: Use ProtoError.ProtoReflect.Descriptor instead.
func (*ProtoError) GetErrCode ¶
func (x *ProtoError) GetErrCode() int64
func (*ProtoError) GetErrMsg ¶
func (x *ProtoError) GetErrMsg() string
func (*ProtoError) GetErrType ¶
func (x *ProtoError) GetErrType() uint32
func (*ProtoError) ProtoMessage ¶
func (*ProtoError) ProtoMessage()
func (*ProtoError) ProtoReflect ¶
func (x *ProtoError) ProtoReflect() protoreflect.Message
func (*ProtoError) Reset ¶
func (x *ProtoError) Reset()
func (*ProtoError) String ¶
func (x *ProtoError) String() string
type RecordObservationRequest ¶
type RecordObservationRequest struct { ObservationType string `protobuf:"bytes,1,opt,name=observation_type,json=observationType,proto3" json:"observation_type,omitempty"` Data *structpb.Struct `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*RecordObservationRequest) Descriptor ¶
func (*RecordObservationRequest) Descriptor() ([]byte, []int)
Deprecated: Use RecordObservationRequest.ProtoReflect.Descriptor instead.
func (*RecordObservationRequest) GetData ¶
func (x *RecordObservationRequest) GetData() *structpb.Struct
func (*RecordObservationRequest) GetObservationType ¶
func (x *RecordObservationRequest) GetObservationType() string
func (*RecordObservationRequest) ProtoMessage ¶
func (*RecordObservationRequest) ProtoMessage()
func (*RecordObservationRequest) ProtoReflect ¶
func (x *RecordObservationRequest) ProtoReflect() protoreflect.Message
func (*RecordObservationRequest) Reset ¶
func (x *RecordObservationRequest) Reset()
func (*RecordObservationRequest) String ¶
func (x *RecordObservationRequest) String() string
type RegisterRotationJobRequest ¶
type RegisterRotationJobRequest struct { Job *RotationJobInput `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` // contains filtered or unexported fields }
func (*RegisterRotationJobRequest) Descriptor ¶
func (*RegisterRotationJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRotationJobRequest.ProtoReflect.Descriptor instead.
func (*RegisterRotationJobRequest) GetJob ¶
func (x *RegisterRotationJobRequest) GetJob() *RotationJobInput
func (*RegisterRotationJobRequest) ProtoMessage ¶
func (*RegisterRotationJobRequest) ProtoMessage()
func (*RegisterRotationJobRequest) ProtoReflect ¶
func (x *RegisterRotationJobRequest) ProtoReflect() protoreflect.Message
func (*RegisterRotationJobRequest) Reset ¶
func (x *RegisterRotationJobRequest) Reset()
func (*RegisterRotationJobRequest) String ¶
func (x *RegisterRotationJobRequest) String() string
type RegisterRotationJobResponse ¶
type RegisterRotationJobResponse struct { RotationID string `protobuf:"bytes,1,opt,name=rotation_id,json=rotationId,proto3" json:"rotation_id,omitempty"` Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
func (*RegisterRotationJobResponse) Descriptor ¶
func (*RegisterRotationJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRotationJobResponse.ProtoReflect.Descriptor instead.
func (*RegisterRotationJobResponse) GetErr ¶
func (x *RegisterRotationJobResponse) GetErr() string
func (*RegisterRotationJobResponse) GetRotationID ¶
func (x *RegisterRotationJobResponse) GetRotationID() string
func (*RegisterRotationJobResponse) ProtoMessage ¶
func (*RegisterRotationJobResponse) ProtoMessage()
func (*RegisterRotationJobResponse) ProtoReflect ¶
func (x *RegisterRotationJobResponse) ProtoReflect() protoreflect.Message
func (*RegisterRotationJobResponse) Reset ¶
func (x *RegisterRotationJobResponse) Reset()
func (*RegisterRotationJobResponse) String ¶
func (x *RegisterRotationJobResponse) String() string
type ReplicationStateReply ¶
type ReplicationStateReply struct { State int32 `protobuf:"varint,1,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*ReplicationStateReply) Descriptor ¶
func (*ReplicationStateReply) Descriptor() ([]byte, []int)
Deprecated: Use ReplicationStateReply.ProtoReflect.Descriptor instead.
func (*ReplicationStateReply) GetState ¶
func (x *ReplicationStateReply) GetState() int32
func (*ReplicationStateReply) ProtoMessage ¶
func (*ReplicationStateReply) ProtoMessage()
func (*ReplicationStateReply) ProtoReflect ¶
func (x *ReplicationStateReply) ProtoReflect() protoreflect.Message
func (*ReplicationStateReply) Reset ¶
func (x *ReplicationStateReply) Reset()
func (*ReplicationStateReply) String ¶
func (x *ReplicationStateReply) String() string
type Request ¶
type Request struct { // ID is the uuid associated with each request ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // If set, the name given to the replication secondary where this request // originated ReplicationCluster string `protobuf:"bytes,2,opt,name=ReplicationCluster,proto3" json:"ReplicationCluster,omitempty"` // Operation is the requested operation type Operation string `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"` // Path is the part of the request path not consumed by the // routing. As an example, if the original request path is "prod/aws/foo" // and the AWS logical backend is mounted at "prod/aws/", then the // final path is "foo" since the mount prefix is trimmed. Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // Request data is a JSON object that must have keys with string type. Data string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // Secret will be non-nil only for Revoke and Renew operations // to represent the secret that was returned prior. Secret *Secret `protobuf:"bytes,6,opt,name=secret,proto3" json:"secret,omitempty"` // Auth will be non-nil only for Renew operations // to represent the auth that was returned prior. Auth *Auth `protobuf:"bytes,7,opt,name=auth,proto3" json:"auth,omitempty"` // Headers will contain the http headers from the request. This value will // be used in the audit broker to ensure we are auditing only the allowed // headers. Headers map[string]*Header `protobuf:"bytes,8,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // ClientToken is provided to the core so that the identity // can be verified and ACLs applied. This value is passed // through to the logical backends but after being salted and // hashed. ClientToken string `protobuf:"bytes,9,opt,name=client_token,json=clientToken,proto3" json:"client_token,omitempty"` // ClientTokenAccessor is provided to the core so that the it can get // logged as part of request audit logging. ClientTokenAccessor string `protobuf:"bytes,10,opt,name=client_token_accessor,json=clientTokenAccessor,proto3" json:"client_token_accessor,omitempty"` // DisplayName is provided to the logical backend to help associate // dynamic secrets with the source entity. This is not a sensitive // name, but is useful for operators. DisplayName string `protobuf:"bytes,11,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // MountPoint is provided so that a logical backend can generate // paths relative to itself. The `Path` is effectively the client // request path with the MountPoint trimmed off. MountPoint string `protobuf:"bytes,12,opt,name=mount_point,json=mountPoint,proto3" json:"mount_point,omitempty"` // MountType is provided so that a logical backend can make decisions // based on the specific mount type (e.g., if a mount type has different // aliases, generating different defaults depending on the alias) MountType string `protobuf:"bytes,13,opt,name=mount_type,json=mountType,proto3" json:"mount_type,omitempty"` // MountAccessor is provided so that identities returned by the authentication // backends can be tied to the mount it belongs to. MountAccessor string `protobuf:"bytes,14,opt,name=mount_accessor,json=mountAccessor,proto3" json:"mount_accessor,omitempty"` // WrapInfo contains requested response wrapping parameters WrapInfo *RequestWrapInfo `protobuf:"bytes,15,opt,name=wrap_info,json=wrapInfo,proto3" json:"wrap_info,omitempty"` // ClientTokenRemainingUses represents the allowed number of uses left on the // token supplied ClientTokenRemainingUses int64 `protobuf:"varint,16,opt,name=client_token_remaining_uses,json=clientTokenRemainingUses,proto3" json:"client_token_remaining_uses,omitempty"` // EntityID is the identity of the caller extracted out of the token used // to make this request EntityID string `protobuf:"bytes,17,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` // PolicyOverride indicates that the requestor wishes to override // soft-mandatory Sentinel policies PolicyOverride bool `protobuf:"varint,18,opt,name=policy_override,json=policyOverride,proto3" json:"policy_override,omitempty"` // Whether the request is unauthenticated, as in, had no client token // attached. Useful in some situations where the client token is not made // accessible. Unauthenticated bool `protobuf:"varint,19,opt,name=unauthenticated,proto3" json:"unauthenticated,omitempty"` // Connection will be non-nil only for credential providers to // inspect the connection information and potentially use it for // authentication/protection. Connection *Connection `protobuf:"bytes,20,opt,name=connection,proto3" json:"connection,omitempty"` // RequiresSnapshotID will be present when the request is a list, read, or // recover from snapshot operation RequiresSnapshotID string `protobuf:"bytes,21,opt,name=requires_snapshot_id,json=requiresSnapshotId,proto3" json:"requires_snapshot_id,omitempty"` // contains filtered or unexported fields }
func LogicalRequestToProtoRequest ¶
func (*Request) Descriptor ¶
Deprecated: Use Request.ProtoReflect.Descriptor instead.
func (*Request) GetAuth ¶
func (*Request) GetClientToken ¶
func (*Request) GetClientTokenAccessor ¶
func (*Request) GetClientTokenRemainingUses ¶
func (*Request) GetConnection ¶
func (x *Request) GetConnection() *Connection
func (*Request) GetData ¶
func (*Request) GetDisplayName ¶
func (*Request) GetEntityID ¶
func (*Request) GetHeaders ¶
func (*Request) GetID ¶
func (*Request) GetMountAccessor ¶
func (*Request) GetMountPoint ¶
func (*Request) GetMountType ¶
func (*Request) GetOperation ¶
func (*Request) GetPath ¶
func (*Request) GetPolicyOverride ¶
func (*Request) GetReplicationCluster ¶
func (*Request) GetRequiresSnapshotID ¶
func (*Request) GetSecret ¶
func (*Request) GetUnauthenticated ¶
func (*Request) GetWrapInfo ¶
func (x *Request) GetWrapInfo() *RequestWrapInfo
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
func (*Request) Reset ¶
func (x *Request) Reset()
func (*Request) String ¶
type RequestWrapInfo ¶
type RequestWrapInfo struct { // Setting to non-zero specifies that the response should be wrapped. // Specifies the desired TTL of the wrapping token. TTL int64 `protobuf:"varint,1,opt,name=TTL,proto3" json:"TTL,omitempty"` // The format to use for the wrapped response; if not specified it's a bare // token Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` // A flag to conforming backends that data for a given request should be // seal wrapped SealWrap bool `protobuf:"varint,3,opt,name=seal_wrap,json=sealWrap,proto3" json:"seal_wrap,omitempty"` // contains filtered or unexported fields }
func LogicalRequestWrapInfoToProtoRequestWrapInfo ¶
func LogicalRequestWrapInfoToProtoRequestWrapInfo(i *logical.RequestWrapInfo) *RequestWrapInfo
func (*RequestWrapInfo) Descriptor ¶
func (*RequestWrapInfo) Descriptor() ([]byte, []int)
Deprecated: Use RequestWrapInfo.ProtoReflect.Descriptor instead.
func (*RequestWrapInfo) GetFormat ¶
func (x *RequestWrapInfo) GetFormat() string
func (*RequestWrapInfo) GetSealWrap ¶
func (x *RequestWrapInfo) GetSealWrap() bool
func (*RequestWrapInfo) GetTTL ¶
func (x *RequestWrapInfo) GetTTL() int64
func (*RequestWrapInfo) ProtoMessage ¶
func (*RequestWrapInfo) ProtoMessage()
func (*RequestWrapInfo) ProtoReflect ¶
func (x *RequestWrapInfo) ProtoReflect() protoreflect.Message
func (*RequestWrapInfo) Reset ¶
func (x *RequestWrapInfo) Reset()
func (*RequestWrapInfo) String ¶
func (x *RequestWrapInfo) String() string
type Response ¶
type Response struct { // Secret, if not nil, denotes that this response represents a secret. Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // Auth, if not nil, contains the authentication information for // this response. This is only checked and means something for // credential backends. Auth *Auth `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"` // Response data is a JSON object that must have string keys. For // secrets, this data is sent down to the user as-is. To store internal // data that you don't want the user to see, store it in // Secret.InternalData. Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // Redirect is an HTTP URL to redirect to for further authentication. // This is only valid for credential backends. This will be blanked // for any logical backend and ignored. Redirect string `protobuf:"bytes,4,opt,name=redirect,proto3" json:"redirect,omitempty"` // Warnings allow operations or backends to return warnings in response // to user actions without failing the action outright. Warnings []string `protobuf:"bytes,5,rep,name=warnings,proto3" json:"warnings,omitempty"` // Information for wrapping the response in a cubbyhole WrapInfo *ResponseWrapInfo `protobuf:"bytes,6,opt,name=wrap_info,json=wrapInfo,proto3" json:"wrap_info,omitempty"` // Headers will contain the http headers from the response. This value will // be used in the audit broker to ensure we are auditing only the allowed // headers. Headers map[string]*Header `protobuf:"bytes,7,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // MountType, if non-empty, provides some information about what kind // of mount this secret came from. MountType string `protobuf:"bytes,8,opt,name=mount_type,json=mountType,proto3" json:"mount_type,omitempty"` // contains filtered or unexported fields }
func LogicalResponseToProtoResponse ¶
func (*Response) Descriptor ¶
Deprecated: Use Response.ProtoReflect.Descriptor instead.
func (*Response) GetAuth ¶
func (*Response) GetData ¶
func (*Response) GetHeaders ¶
func (*Response) GetMountType ¶
func (*Response) GetRedirect ¶
func (*Response) GetSecret ¶
func (*Response) GetWarnings ¶
func (*Response) GetWrapInfo ¶
func (x *Response) GetWrapInfo() *ResponseWrapInfo
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
func (*Response) Reset ¶
func (x *Response) Reset()
func (*Response) String ¶
type ResponseWrapDataArgs ¶
type ResponseWrapDataArgs struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` TTL int64 `protobuf:"varint,2,opt,name=TTL,proto3" json:"TTL,omitempty"` JWT bool `protobuf:"varint,3,opt,name=JWT,proto3" json:"JWT,omitempty"` // contains filtered or unexported fields }
func (*ResponseWrapDataArgs) Descriptor ¶
func (*ResponseWrapDataArgs) Descriptor() ([]byte, []int)
Deprecated: Use ResponseWrapDataArgs.ProtoReflect.Descriptor instead.
func (*ResponseWrapDataArgs) GetData ¶
func (x *ResponseWrapDataArgs) GetData() string
func (*ResponseWrapDataArgs) GetJWT ¶
func (x *ResponseWrapDataArgs) GetJWT() bool
func (*ResponseWrapDataArgs) GetTTL ¶
func (x *ResponseWrapDataArgs) GetTTL() int64
func (*ResponseWrapDataArgs) ProtoMessage ¶
func (*ResponseWrapDataArgs) ProtoMessage()
func (*ResponseWrapDataArgs) ProtoReflect ¶
func (x *ResponseWrapDataArgs) ProtoReflect() protoreflect.Message
func (*ResponseWrapDataArgs) Reset ¶
func (x *ResponseWrapDataArgs) Reset()
func (*ResponseWrapDataArgs) String ¶
func (x *ResponseWrapDataArgs) String() string
type ResponseWrapDataReply ¶
type ResponseWrapDataReply struct { WrapInfo *ResponseWrapInfo `protobuf:"bytes,1,opt,name=wrap_info,json=wrapInfo,proto3" json:"wrap_info,omitempty"` Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
func (*ResponseWrapDataReply) Descriptor ¶
func (*ResponseWrapDataReply) Descriptor() ([]byte, []int)
Deprecated: Use ResponseWrapDataReply.ProtoReflect.Descriptor instead.
func (*ResponseWrapDataReply) GetErr ¶
func (x *ResponseWrapDataReply) GetErr() string
func (*ResponseWrapDataReply) GetWrapInfo ¶
func (x *ResponseWrapDataReply) GetWrapInfo() *ResponseWrapInfo
func (*ResponseWrapDataReply) ProtoMessage ¶
func (*ResponseWrapDataReply) ProtoMessage()
func (*ResponseWrapDataReply) ProtoReflect ¶
func (x *ResponseWrapDataReply) ProtoReflect() protoreflect.Message
func (*ResponseWrapDataReply) Reset ¶
func (x *ResponseWrapDataReply) Reset()
func (*ResponseWrapDataReply) String ¶
func (x *ResponseWrapDataReply) String() string
type ResponseWrapInfo ¶
type ResponseWrapInfo struct { // Setting to non-zero specifies that the response should be wrapped. // Specifies the desired TTL of the wrapping token. TTL int64 `protobuf:"varint,1,opt,name=TTL,proto3" json:"TTL,omitempty"` // The token containing the wrapped response Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // The token accessor for the wrapped response token Accessor string `protobuf:"bytes,3,opt,name=accessor,proto3" json:"accessor,omitempty"` // The creation time. This can be used with the TTL to figure out an // expected expiration. CreationTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` // If the contained response is the output of a token creation call, the // created token's accessor will be accessible here WrappedAccessor string `protobuf:"bytes,5,opt,name=wrapped_accessor,json=wrappedAccessor,proto3" json:"wrapped_accessor,omitempty"` // WrappedEntityID is the entity identifier of the caller who initiated the // wrapping request WrappedEntityID string `protobuf:"bytes,6,opt,name=wrapped_entity_id,json=wrappedEntityID,proto3" json:"wrapped_entity_id,omitempty"` // The format to use. This doesn't get returned, it's only internal. Format string `protobuf:"bytes,7,opt,name=format,proto3" json:"format,omitempty"` // CreationPath is the original request path that was used to create // the wrapped response. CreationPath string `protobuf:"bytes,8,opt,name=creation_path,json=creationPath,proto3" json:"creation_path,omitempty"` // Controls seal wrapping behavior downstream for specific use cases SealWrap bool `protobuf:"varint,9,opt,name=seal_wrap,json=sealWrap,proto3" json:"seal_wrap,omitempty"` // contains filtered or unexported fields }
func LogicalResponseWrapInfoToProtoResponseWrapInfo ¶
func LogicalResponseWrapInfoToProtoResponseWrapInfo(i *wrapping.ResponseWrapInfo) (*ResponseWrapInfo, error)
func (*ResponseWrapInfo) Descriptor ¶
func (*ResponseWrapInfo) Descriptor() ([]byte, []int)
Deprecated: Use ResponseWrapInfo.ProtoReflect.Descriptor instead.
func (*ResponseWrapInfo) GetAccessor ¶
func (x *ResponseWrapInfo) GetAccessor() string
func (*ResponseWrapInfo) GetCreationPath ¶
func (x *ResponseWrapInfo) GetCreationPath() string
func (*ResponseWrapInfo) GetCreationTime ¶
func (x *ResponseWrapInfo) GetCreationTime() *timestamppb.Timestamp
func (*ResponseWrapInfo) GetFormat ¶
func (x *ResponseWrapInfo) GetFormat() string
func (*ResponseWrapInfo) GetSealWrap ¶
func (x *ResponseWrapInfo) GetSealWrap() bool
func (*ResponseWrapInfo) GetTTL ¶
func (x *ResponseWrapInfo) GetTTL() int64
func (*ResponseWrapInfo) GetToken ¶
func (x *ResponseWrapInfo) GetToken() string
func (*ResponseWrapInfo) GetWrappedAccessor ¶
func (x *ResponseWrapInfo) GetWrappedAccessor() string
func (*ResponseWrapInfo) GetWrappedEntityID ¶
func (x *ResponseWrapInfo) GetWrappedEntityID() string
func (*ResponseWrapInfo) ProtoMessage ¶
func (*ResponseWrapInfo) ProtoMessage()
func (*ResponseWrapInfo) ProtoReflect ¶
func (x *ResponseWrapInfo) ProtoReflect() protoreflect.Message
func (*ResponseWrapInfo) Reset ¶
func (x *ResponseWrapInfo) Reset()
func (*ResponseWrapInfo) String ¶
func (x *ResponseWrapInfo) String() string
type RotationJobInput ¶
type RotationJobInput struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` MountPoint string `protobuf:"bytes,2,opt,name=mount_point,json=mountPoint,proto3" json:"mount_point,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` RotationSchedule string `protobuf:"bytes,4,opt,name=rotation_schedule,json=rotationSchedule,proto3" json:"rotation_schedule,omitempty"` RotationWindow int64 `protobuf:"varint,5,opt,name=rotation_window,json=rotationWindow,proto3" json:"rotation_window,omitempty"` RotationPeriod int64 `protobuf:"varint,6,opt,name=rotation_period,json=rotationPeriod,proto3" json:"rotation_period,omitempty"` // contains filtered or unexported fields }
func (*RotationJobInput) Descriptor ¶
func (*RotationJobInput) Descriptor() ([]byte, []int)
Deprecated: Use RotationJobInput.ProtoReflect.Descriptor instead.
func (*RotationJobInput) GetMountPoint ¶
func (x *RotationJobInput) GetMountPoint() string
func (*RotationJobInput) GetName ¶
func (x *RotationJobInput) GetName() string
func (*RotationJobInput) GetPath ¶
func (x *RotationJobInput) GetPath() string
func (*RotationJobInput) GetRotationPeriod ¶
func (x *RotationJobInput) GetRotationPeriod() int64
func (*RotationJobInput) GetRotationSchedule ¶
func (x *RotationJobInput) GetRotationSchedule() string
func (*RotationJobInput) GetRotationWindow ¶
func (x *RotationJobInput) GetRotationWindow() int64
func (*RotationJobInput) ProtoMessage ¶
func (*RotationJobInput) ProtoMessage()
func (*RotationJobInput) ProtoReflect ¶
func (x *RotationJobInput) ProtoReflect() protoreflect.Message
func (*RotationJobInput) Reset ¶
func (x *RotationJobInput) Reset()
func (*RotationJobInput) String ¶
func (x *RotationJobInput) String() string
type Secret ¶
type Secret struct { LeaseOptions *LeaseOptions `protobuf:"bytes,1,opt,name=lease_options,json=leaseOptions,proto3" json:"lease_options,omitempty"` // InternalData is a JSON object that is stored with the secret. // This will be sent back during a Renew/Revoke for storing internal data // used for those operations. InternalData string `protobuf:"bytes,2,opt,name=internal_data,json=internalData,proto3" json:"internal_data,omitempty"` // LeaseID is the ID returned to the user to manage this secret. // This is generated by Vault core. Any set value will be ignored. // For requests, this will always be blank. LeaseID string `protobuf:"bytes,3,opt,name=lease_id,json=leaseId,proto3" json:"lease_id,omitempty"` // contains filtered or unexported fields }
func LogicalSecretToProtoSecret ¶
func (*Secret) Descriptor ¶
Deprecated: Use Secret.ProtoReflect.Descriptor instead.
func (*Secret) GetInternalData ¶
func (*Secret) GetLeaseID ¶
func (*Secret) GetLeaseOptions ¶
func (x *Secret) GetLeaseOptions() *LeaseOptions
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) ProtoReflect ¶
func (x *Secret) ProtoReflect() protoreflect.Message
func (*Secret) Reset ¶
func (x *Secret) Reset()
func (*Secret) String ¶
type SendEventRequest ¶
type SendEventRequest struct { EventType string `protobuf:"bytes,1,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` Event *logical.EventData `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` // contains filtered or unexported fields }
func (*SendEventRequest) Descriptor ¶
func (*SendEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendEventRequest.ProtoReflect.Descriptor instead.
func (*SendEventRequest) GetEvent ¶
func (x *SendEventRequest) GetEvent() *logical.EventData
func (*SendEventRequest) GetEventType ¶
func (x *SendEventRequest) GetEventType() string
func (*SendEventRequest) ProtoMessage ¶
func (*SendEventRequest) ProtoMessage()
func (*SendEventRequest) ProtoReflect ¶
func (x *SendEventRequest) ProtoReflect() protoreflect.Message
func (*SendEventRequest) Reset ¶
func (x *SendEventRequest) Reset()
func (*SendEventRequest) String ¶
func (x *SendEventRequest) String() string
type SetupArgs ¶
type SetupArgs struct { BrokerID uint32 `protobuf:"varint,1,opt,name=broker_id,json=brokerId,proto3" json:"broker_id,omitempty"` Config map[string]string `protobuf:"bytes,2,rep,name=Config,proto3" json:"Config,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` BackendUUID string `protobuf:"bytes,3,opt,name=backendUUID,proto3" json:"backendUUID,omitempty"` // contains filtered or unexported fields }
SetupArgs is the args for Setup method.
func (*SetupArgs) Descriptor ¶
Deprecated: Use SetupArgs.ProtoReflect.Descriptor instead.
func (*SetupArgs) GetBackendUUID ¶
func (*SetupArgs) GetBrokerID ¶
func (*SetupArgs) GetConfig ¶
func (*SetupArgs) ProtoMessage ¶
func (*SetupArgs) ProtoMessage()
func (*SetupArgs) ProtoReflect ¶
func (x *SetupArgs) ProtoReflect() protoreflect.Message
func (*SetupArgs) Reset ¶
func (x *SetupArgs) Reset()
func (*SetupArgs) String ¶
type SetupReply ¶
type SetupReply struct { Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
SetupReply is the reply for Setup method.
func (*SetupReply) Descriptor ¶
func (*SetupReply) Descriptor() ([]byte, []int)
Deprecated: Use SetupReply.ProtoReflect.Descriptor instead.
func (*SetupReply) GetErr ¶
func (x *SetupReply) GetErr() string
func (*SetupReply) ProtoMessage ¶
func (*SetupReply) ProtoMessage()
func (*SetupReply) ProtoReflect ¶
func (x *SetupReply) ProtoReflect() protoreflect.Message
func (*SetupReply) Reset ¶
func (x *SetupReply) Reset()
func (*SetupReply) String ¶
func (x *SetupReply) String() string
type SpecialPathsReply ¶
type SpecialPathsReply struct { Paths *Paths `protobuf:"bytes,1,opt,name=paths,proto3" json:"paths,omitempty"` // contains filtered or unexported fields }
SpecialPathsReply is the reply for SpecialPaths method.
func (*SpecialPathsReply) Descriptor ¶
func (*SpecialPathsReply) Descriptor() ([]byte, []int)
Deprecated: Use SpecialPathsReply.ProtoReflect.Descriptor instead.
func (*SpecialPathsReply) GetPaths ¶
func (x *SpecialPathsReply) GetPaths() *Paths
func (*SpecialPathsReply) ProtoMessage ¶
func (*SpecialPathsReply) ProtoMessage()
func (*SpecialPathsReply) ProtoReflect ¶
func (x *SpecialPathsReply) ProtoReflect() protoreflect.Message
func (*SpecialPathsReply) Reset ¶
func (x *SpecialPathsReply) Reset()
func (*SpecialPathsReply) String ¶
func (x *SpecialPathsReply) String() string
type StorageClient ¶
type StorageClient interface { List(ctx context.Context, in *StorageListArgs, opts ...grpc.CallOption) (*StorageListReply, error) Get(ctx context.Context, in *StorageGetArgs, opts ...grpc.CallOption) (*StorageGetReply, error) Put(ctx context.Context, in *StoragePutArgs, opts ...grpc.CallOption) (*StoragePutReply, error) Delete(ctx context.Context, in *StorageDeleteArgs, opts ...grpc.CallOption) (*StorageDeleteReply, error) }
StorageClient is the client API for Storage service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Storage is the way that plugins are able read/write data. Plugins should implement the client for this service.
func NewStorageClient ¶
func NewStorageClient(cc grpc.ClientConnInterface) StorageClient
type StorageDeleteArgs ¶
type StorageDeleteArgs struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*StorageDeleteArgs) Descriptor ¶
func (*StorageDeleteArgs) Descriptor() ([]byte, []int)
Deprecated: Use StorageDeleteArgs.ProtoReflect.Descriptor instead.
func (*StorageDeleteArgs) GetKey ¶
func (x *StorageDeleteArgs) GetKey() string
func (*StorageDeleteArgs) ProtoMessage ¶
func (*StorageDeleteArgs) ProtoMessage()
func (*StorageDeleteArgs) ProtoReflect ¶
func (x *StorageDeleteArgs) ProtoReflect() protoreflect.Message
func (*StorageDeleteArgs) Reset ¶
func (x *StorageDeleteArgs) Reset()
func (*StorageDeleteArgs) String ¶
func (x *StorageDeleteArgs) String() string
type StorageDeleteReply ¶
type StorageDeleteReply struct { Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
func (*StorageDeleteReply) Descriptor ¶
func (*StorageDeleteReply) Descriptor() ([]byte, []int)
Deprecated: Use StorageDeleteReply.ProtoReflect.Descriptor instead.
func (*StorageDeleteReply) GetErr ¶
func (x *StorageDeleteReply) GetErr() string
func (*StorageDeleteReply) ProtoMessage ¶
func (*StorageDeleteReply) ProtoMessage()
func (*StorageDeleteReply) ProtoReflect ¶
func (x *StorageDeleteReply) ProtoReflect() protoreflect.Message
func (*StorageDeleteReply) Reset ¶
func (x *StorageDeleteReply) Reset()
func (*StorageDeleteReply) String ¶
func (x *StorageDeleteReply) String() string
type StorageEntry ¶
type StorageEntry struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` SealWrap bool `protobuf:"varint,3,opt,name=seal_wrap,json=sealWrap,proto3" json:"seal_wrap,omitempty"` // contains filtered or unexported fields }
func LogicalStorageEntryToProtoStorageEntry ¶
func LogicalStorageEntryToProtoStorageEntry(e *logical.StorageEntry) *StorageEntry
func (*StorageEntry) Descriptor ¶
func (*StorageEntry) Descriptor() ([]byte, []int)
Deprecated: Use StorageEntry.ProtoReflect.Descriptor instead.
func (*StorageEntry) GetKey ¶
func (x *StorageEntry) GetKey() string
func (*StorageEntry) GetSealWrap ¶
func (x *StorageEntry) GetSealWrap() bool
func (*StorageEntry) GetValue ¶
func (x *StorageEntry) GetValue() []byte
func (*StorageEntry) ProtoMessage ¶
func (*StorageEntry) ProtoMessage()
func (*StorageEntry) ProtoReflect ¶
func (x *StorageEntry) ProtoReflect() protoreflect.Message
func (*StorageEntry) Reset ¶
func (x *StorageEntry) Reset()
func (*StorageEntry) String ¶
func (x *StorageEntry) String() string
type StorageGetArgs ¶
type StorageGetArgs struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*StorageGetArgs) Descriptor ¶
func (*StorageGetArgs) Descriptor() ([]byte, []int)
Deprecated: Use StorageGetArgs.ProtoReflect.Descriptor instead.
func (*StorageGetArgs) GetKey ¶
func (x *StorageGetArgs) GetKey() string
func (*StorageGetArgs) ProtoMessage ¶
func (*StorageGetArgs) ProtoMessage()
func (*StorageGetArgs) ProtoReflect ¶
func (x *StorageGetArgs) ProtoReflect() protoreflect.Message
func (*StorageGetArgs) Reset ¶
func (x *StorageGetArgs) Reset()
func (*StorageGetArgs) String ¶
func (x *StorageGetArgs) String() string
type StorageGetReply ¶
type StorageGetReply struct { Entry *StorageEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
func (*StorageGetReply) Descriptor ¶
func (*StorageGetReply) Descriptor() ([]byte, []int)
Deprecated: Use StorageGetReply.ProtoReflect.Descriptor instead.
func (*StorageGetReply) GetEntry ¶
func (x *StorageGetReply) GetEntry() *StorageEntry
func (*StorageGetReply) GetErr ¶
func (x *StorageGetReply) GetErr() string
func (*StorageGetReply) ProtoMessage ¶
func (*StorageGetReply) ProtoMessage()
func (*StorageGetReply) ProtoReflect ¶
func (x *StorageGetReply) ProtoReflect() protoreflect.Message
func (*StorageGetReply) Reset ¶
func (x *StorageGetReply) Reset()
func (*StorageGetReply) String ¶
func (x *StorageGetReply) String() string
type StorageListArgs ¶
type StorageListArgs struct { Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
func (*StorageListArgs) Descriptor ¶
func (*StorageListArgs) Descriptor() ([]byte, []int)
Deprecated: Use StorageListArgs.ProtoReflect.Descriptor instead.
func (*StorageListArgs) GetPrefix ¶
func (x *StorageListArgs) GetPrefix() string
func (*StorageListArgs) ProtoMessage ¶
func (*StorageListArgs) ProtoMessage()
func (*StorageListArgs) ProtoReflect ¶
func (x *StorageListArgs) ProtoReflect() protoreflect.Message
func (*StorageListArgs) Reset ¶
func (x *StorageListArgs) Reset()
func (*StorageListArgs) String ¶
func (x *StorageListArgs) String() string
type StorageListReply ¶
type StorageListReply struct { Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
func (*StorageListReply) Descriptor ¶
func (*StorageListReply) Descriptor() ([]byte, []int)
Deprecated: Use StorageListReply.ProtoReflect.Descriptor instead.
func (*StorageListReply) GetErr ¶
func (x *StorageListReply) GetErr() string
func (*StorageListReply) GetKeys ¶
func (x *StorageListReply) GetKeys() []string
func (*StorageListReply) ProtoMessage ¶
func (*StorageListReply) ProtoMessage()
func (*StorageListReply) ProtoReflect ¶
func (x *StorageListReply) ProtoReflect() protoreflect.Message
func (*StorageListReply) Reset ¶
func (x *StorageListReply) Reset()
func (*StorageListReply) String ¶
func (x *StorageListReply) String() string
type StoragePutArgs ¶
type StoragePutArgs struct { Entry *StorageEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` // contains filtered or unexported fields }
func (*StoragePutArgs) Descriptor ¶
func (*StoragePutArgs) Descriptor() ([]byte, []int)
Deprecated: Use StoragePutArgs.ProtoReflect.Descriptor instead.
func (*StoragePutArgs) GetEntry ¶
func (x *StoragePutArgs) GetEntry() *StorageEntry
func (*StoragePutArgs) ProtoMessage ¶
func (*StoragePutArgs) ProtoMessage()
func (*StoragePutArgs) ProtoReflect ¶
func (x *StoragePutArgs) ProtoReflect() protoreflect.Message
func (*StoragePutArgs) Reset ¶
func (x *StoragePutArgs) Reset()
func (*StoragePutArgs) String ¶
func (x *StoragePutArgs) String() string
type StoragePutReply ¶
type StoragePutReply struct { Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
func (*StoragePutReply) Descriptor ¶
func (*StoragePutReply) Descriptor() ([]byte, []int)
Deprecated: Use StoragePutReply.ProtoReflect.Descriptor instead.
func (*StoragePutReply) GetErr ¶
func (x *StoragePutReply) GetErr() string
func (*StoragePutReply) ProtoMessage ¶
func (*StoragePutReply) ProtoMessage()
func (*StoragePutReply) ProtoReflect ¶
func (x *StoragePutReply) ProtoReflect() protoreflect.Message
func (*StoragePutReply) Reset ¶
func (x *StoragePutReply) Reset()
func (*StoragePutReply) String ¶
func (x *StoragePutReply) String() string
type StorageServer ¶
type StorageServer interface { List(context.Context, *StorageListArgs) (*StorageListReply, error) Get(context.Context, *StorageGetArgs) (*StorageGetReply, error) Put(context.Context, *StoragePutArgs) (*StoragePutReply, error) Delete(context.Context, *StorageDeleteArgs) (*StorageDeleteReply, error) // contains filtered or unexported methods }
StorageServer is the server API for Storage service. All implementations must embed UnimplementedStorageServer for forward compatibility.
Storage is the way that plugins are able read/write data. Plugins should implement the client for this service.
type SystemViewClient ¶
type SystemViewClient interface { // DefaultLeaseTTL returns the default lease TTL set in Vault configuration DefaultLeaseTTL(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TTLReply, error) // MaxLeaseTTL returns the max lease TTL set in Vault configuration; backend // authors should take care not to issue credentials that last longer than // this value, as Vault will revoke them MaxLeaseTTL(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TTLReply, error) // Tainted, returns true if the mount is tainted. A mount is tainted if it is in the // process of being unmounted. This should only be used in special // circumstances; a primary use-case is as a guard in revocation functions. // If revocation of a backend's leases fails it can keep the unmounting // process from being successful. If the reason for this failure is not // relevant when the mount is tainted (for instance, saving a CRL to disk // when the stored CRL will be removed during the unmounting process // anyways), we can ignore the errors to allow unmounting to complete. Tainted(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TaintedReply, error) // CachingDisabled returns true if caching is disabled. If true, no caches // should be used, despite known slowdowns. CachingDisabled(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*CachingDisabledReply, error) // ReplicationState indicates the state of cluster replication ReplicationState(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ReplicationStateReply, error) // ResponseWrapData wraps the given data in a cubbyhole and returns the // token used to unwrap. ResponseWrapData(ctx context.Context, in *ResponseWrapDataArgs, opts ...grpc.CallOption) (*ResponseWrapDataReply, error) // MlockEnabled returns the configuration setting for enabling mlock on // plugins. MlockEnabled(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*MlockEnabledReply, error) // LocalMount, when run from a system view attached to a request, indicates // whether the request is affecting a local mount or not LocalMount(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*LocalMountReply, error) // EntityInfo returns the basic entity information for the given entity id EntityInfo(ctx context.Context, in *EntityInfoArgs, opts ...grpc.CallOption) (*EntityInfoReply, error) // PluginEnv returns Vault environment information used by plugins PluginEnv(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*PluginEnvReply, error) // GroupsForEntity returns the group membership information for the given // entity id GroupsForEntity(ctx context.Context, in *EntityInfoArgs, opts ...grpc.CallOption) (*GroupsForEntityReply, error) // GeneratePasswordFromPolicy generates a password from an existing password policy GeneratePasswordFromPolicy(ctx context.Context, in *GeneratePasswordFromPolicyRequest, opts ...grpc.CallOption) (*GeneratePasswordFromPolicyReply, error) // ClusterInfo returns the ClusterID information; may be reused if ClusterName is also exposed. ClusterInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ClusterInfoReply, error) // GenerateIdentityToken returns an identity token for the requesting plugin. GenerateIdentityToken(ctx context.Context, in *GenerateIdentityTokenRequest, opts ...grpc.CallOption) (*GenerateIdentityTokenResponse, error) // RegisterRotationJob returns a rotation ID for the requested plugin credential. RegisterRotationJob(ctx context.Context, in *RegisterRotationJobRequest, opts ...grpc.CallOption) (*RegisterRotationJobResponse, error) // DeregisterRotationJob returns any errors in de-registering a credential from the Rotation Manager. DeregisterRotationJob(ctx context.Context, in *DeregisterRotationJobRequest, opts ...grpc.CallOption) (*Empty, error) }
SystemViewClient is the client API for SystemView service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
SystemView exposes system configuration information in a safe way for plugins to consume. Plugins should implement the client for this service.
func NewSystemViewClient ¶
func NewSystemViewClient(cc grpc.ClientConnInterface) SystemViewClient
type SystemViewServer ¶
type SystemViewServer interface { // DefaultLeaseTTL returns the default lease TTL set in Vault configuration DefaultLeaseTTL(context.Context, *Empty) (*TTLReply, error) // MaxLeaseTTL returns the max lease TTL set in Vault configuration; backend // authors should take care not to issue credentials that last longer than // this value, as Vault will revoke them MaxLeaseTTL(context.Context, *Empty) (*TTLReply, error) // Tainted, returns true if the mount is tainted. A mount is tainted if it is in the // process of being unmounted. This should only be used in special // circumstances; a primary use-case is as a guard in revocation functions. // If revocation of a backend's leases fails it can keep the unmounting // process from being successful. If the reason for this failure is not // relevant when the mount is tainted (for instance, saving a CRL to disk // when the stored CRL will be removed during the unmounting process // anyways), we can ignore the errors to allow unmounting to complete. Tainted(context.Context, *Empty) (*TaintedReply, error) // CachingDisabled returns true if caching is disabled. If true, no caches // should be used, despite known slowdowns. CachingDisabled(context.Context, *Empty) (*CachingDisabledReply, error) // ReplicationState indicates the state of cluster replication ReplicationState(context.Context, *Empty) (*ReplicationStateReply, error) // ResponseWrapData wraps the given data in a cubbyhole and returns the // token used to unwrap. ResponseWrapData(context.Context, *ResponseWrapDataArgs) (*ResponseWrapDataReply, error) // MlockEnabled returns the configuration setting for enabling mlock on // plugins. MlockEnabled(context.Context, *Empty) (*MlockEnabledReply, error) // LocalMount, when run from a system view attached to a request, indicates // whether the request is affecting a local mount or not LocalMount(context.Context, *Empty) (*LocalMountReply, error) // EntityInfo returns the basic entity information for the given entity id EntityInfo(context.Context, *EntityInfoArgs) (*EntityInfoReply, error) // PluginEnv returns Vault environment information used by plugins PluginEnv(context.Context, *Empty) (*PluginEnvReply, error) // GroupsForEntity returns the group membership information for the given // entity id GroupsForEntity(context.Context, *EntityInfoArgs) (*GroupsForEntityReply, error) // GeneratePasswordFromPolicy generates a password from an existing password policy GeneratePasswordFromPolicy(context.Context, *GeneratePasswordFromPolicyRequest) (*GeneratePasswordFromPolicyReply, error) // ClusterInfo returns the ClusterID information; may be reused if ClusterName is also exposed. ClusterInfo(context.Context, *Empty) (*ClusterInfoReply, error) // GenerateIdentityToken returns an identity token for the requesting plugin. GenerateIdentityToken(context.Context, *GenerateIdentityTokenRequest) (*GenerateIdentityTokenResponse, error) // RegisterRotationJob returns a rotation ID for the requested plugin credential. RegisterRotationJob(context.Context, *RegisterRotationJobRequest) (*RegisterRotationJobResponse, error) // DeregisterRotationJob returns any errors in de-registering a credential from the Rotation Manager. DeregisterRotationJob(context.Context, *DeregisterRotationJobRequest) (*Empty, error) // contains filtered or unexported methods }
SystemViewServer is the server API for SystemView service. All implementations must embed UnimplementedSystemViewServer for forward compatibility.
SystemView exposes system configuration information in a safe way for plugins to consume. Plugins should implement the client for this service.
type TTLReply ¶
type TTLReply struct { TTL int64 `protobuf:"varint,1,opt,name=TTL,proto3" json:"TTL,omitempty"` // contains filtered or unexported fields }
func (*TTLReply) Descriptor ¶
Deprecated: Use TTLReply.ProtoReflect.Descriptor instead.
func (*TTLReply) GetTTL ¶
func (*TTLReply) ProtoMessage ¶
func (*TTLReply) ProtoMessage()
func (*TTLReply) ProtoReflect ¶
func (x *TTLReply) ProtoReflect() protoreflect.Message
func (*TTLReply) Reset ¶
func (x *TTLReply) Reset()
func (*TTLReply) String ¶
type TaintedReply ¶
type TaintedReply struct { Tainted bool `protobuf:"varint,1,opt,name=tainted,proto3" json:"tainted,omitempty"` // contains filtered or unexported fields }
func (*TaintedReply) Descriptor ¶
func (*TaintedReply) Descriptor() ([]byte, []int)
Deprecated: Use TaintedReply.ProtoReflect.Descriptor instead.
func (*TaintedReply) GetTainted ¶
func (x *TaintedReply) GetTainted() bool
func (*TaintedReply) ProtoMessage ¶
func (*TaintedReply) ProtoMessage()
func (*TaintedReply) ProtoReflect ¶
func (x *TaintedReply) ProtoReflect() protoreflect.Message
func (*TaintedReply) Reset ¶
func (x *TaintedReply) Reset()
func (*TaintedReply) String ¶
func (x *TaintedReply) String() string
type TokenEntry ¶
type TokenEntry struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Accessor string `protobuf:"bytes,2,opt,name=accessor,proto3" json:"accessor,omitempty"` Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"` Policies []string `protobuf:"bytes,4,rep,name=policies,proto3" json:"policies,omitempty"` Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` Meta map[string]string `protobuf:"bytes,6,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` NumUses int64 `protobuf:"varint,8,opt,name=num_uses,json=numUses,proto3" json:"num_uses,omitempty"` CreationTime int64 `protobuf:"varint,9,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` TTL int64 `protobuf:"varint,10,opt,name=ttl,proto3" json:"ttl,omitempty"` ExplicitMaxTTL int64 `protobuf:"varint,11,opt,name=explicit_max_ttl,json=explicitMaxTtl,proto3" json:"explicit_max_ttl,omitempty"` Role string `protobuf:"bytes,12,opt,name=role,proto3" json:"role,omitempty"` Period int64 `protobuf:"varint,13,opt,name=period,proto3" json:"period,omitempty"` EntityID string `protobuf:"bytes,14,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` BoundCIDRs []string `protobuf:"bytes,15,rep,name=bound_cidrs,json=boundCidrs,proto3" json:"bound_cidrs,omitempty"` NamespaceID string `protobuf:"bytes,16,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"` CubbyholeID string `protobuf:"bytes,17,opt,name=cubbyhole_id,json=cubbyholeId,proto3" json:"cubbyhole_id,omitempty"` Type uint32 `protobuf:"varint,18,opt,name=type,proto3" json:"type,omitempty"` InternalMeta map[string]string `protobuf:"bytes,19,rep,name=internal_meta,json=internalMeta,proto3" json:"internal_meta,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` InlinePolicy string `protobuf:"bytes,20,opt,name=inline_policy,json=inlinePolicy,proto3" json:"inline_policy,omitempty"` NoIdentityPolicies bool `protobuf:"varint,21,opt,name=no_identity_policies,json=noIdentityPolicies,proto3" json:"no_identity_policies,omitempty"` ExternalID string `protobuf:"bytes,22,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` // contains filtered or unexported fields }
func LogicalTokenEntryToProtoTokenEntry ¶
func LogicalTokenEntryToProtoTokenEntry(t *logical.TokenEntry) *TokenEntry
func (*TokenEntry) Descriptor ¶
func (*TokenEntry) Descriptor() ([]byte, []int)
Deprecated: Use TokenEntry.ProtoReflect.Descriptor instead.
func (*TokenEntry) GetAccessor ¶
func (x *TokenEntry) GetAccessor() string
func (*TokenEntry) GetBoundCIDRs ¶
func (x *TokenEntry) GetBoundCIDRs() []string
func (*TokenEntry) GetCreationTime ¶
func (x *TokenEntry) GetCreationTime() int64
func (*TokenEntry) GetCubbyholeID ¶
func (x *TokenEntry) GetCubbyholeID() string
func (*TokenEntry) GetDisplayName ¶
func (x *TokenEntry) GetDisplayName() string
func (*TokenEntry) GetEntityID ¶
func (x *TokenEntry) GetEntityID() string
func (*TokenEntry) GetExplicitMaxTTL ¶
func (x *TokenEntry) GetExplicitMaxTTL() int64
func (*TokenEntry) GetExternalID ¶
func (x *TokenEntry) GetExternalID() string
func (*TokenEntry) GetID ¶
func (x *TokenEntry) GetID() string
func (*TokenEntry) GetInlinePolicy ¶
func (x *TokenEntry) GetInlinePolicy() string
func (*TokenEntry) GetInternalMeta ¶
func (x *TokenEntry) GetInternalMeta() map[string]string
func (*TokenEntry) GetMeta ¶
func (x *TokenEntry) GetMeta() map[string]string
func (*TokenEntry) GetNamespaceID ¶
func (x *TokenEntry) GetNamespaceID() string
func (*TokenEntry) GetNoIdentityPolicies ¶
func (x *TokenEntry) GetNoIdentityPolicies() bool
func (*TokenEntry) GetNumUses ¶
func (x *TokenEntry) GetNumUses() int64
func (*TokenEntry) GetParent ¶
func (x *TokenEntry) GetParent() string
func (*TokenEntry) GetPath ¶
func (x *TokenEntry) GetPath() string
func (*TokenEntry) GetPeriod ¶
func (x *TokenEntry) GetPeriod() int64
func (*TokenEntry) GetPolicies ¶
func (x *TokenEntry) GetPolicies() []string
func (*TokenEntry) GetRole ¶
func (x *TokenEntry) GetRole() string
func (*TokenEntry) GetTTL ¶
func (x *TokenEntry) GetTTL() int64
func (*TokenEntry) GetType ¶
func (x *TokenEntry) GetType() uint32
func (*TokenEntry) ProtoMessage ¶
func (*TokenEntry) ProtoMessage()
func (*TokenEntry) ProtoReflect ¶
func (x *TokenEntry) ProtoReflect() protoreflect.Message
func (*TokenEntry) Reset ¶
func (x *TokenEntry) Reset()
func (*TokenEntry) String ¶
func (x *TokenEntry) String() string
type TypeReply ¶
type TypeReply struct { Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
TypeReply is the reply for the Type method.
func (*TypeReply) Descriptor ¶
Deprecated: Use TypeReply.ProtoReflect.Descriptor instead.
func (*TypeReply) GetType ¶
func (*TypeReply) ProtoMessage ¶
func (*TypeReply) ProtoMessage()
func (*TypeReply) ProtoReflect ¶
func (x *TypeReply) ProtoReflect() protoreflect.Message
func (*TypeReply) Reset ¶
func (x *TypeReply) Reset()
func (*TypeReply) String ¶
type UnimplementedBackendServer ¶
type UnimplementedBackendServer struct{}
UnimplementedBackendServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedBackendServer) Cleanup ¶
func (UnimplementedBackendServer) HandleExistenceCheck ¶
func (UnimplementedBackendServer) HandleExistenceCheck(context.Context, *HandleExistenceCheckArgs) (*HandleExistenceCheckReply, error)
func (UnimplementedBackendServer) HandleRequest ¶
func (UnimplementedBackendServer) HandleRequest(context.Context, *HandleRequestArgs) (*HandleRequestReply, error)
func (UnimplementedBackendServer) Initialize ¶
func (UnimplementedBackendServer) Initialize(context.Context, *InitializeArgs) (*InitializeReply, error)
func (UnimplementedBackendServer) InvalidateKey ¶
func (UnimplementedBackendServer) InvalidateKey(context.Context, *InvalidateKeyArgs) (*Empty, error)
func (UnimplementedBackendServer) Setup ¶
func (UnimplementedBackendServer) Setup(context.Context, *SetupArgs) (*SetupReply, error)
func (UnimplementedBackendServer) SpecialPaths ¶
func (UnimplementedBackendServer) SpecialPaths(context.Context, *Empty) (*SpecialPathsReply, error)
func (UnimplementedBackendServer) Type ¶
type UnimplementedEventsServer ¶
type UnimplementedEventsServer struct{}
UnimplementedEventsServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedEventsServer) SendEvent ¶
func (UnimplementedEventsServer) SendEvent(context.Context, *SendEventRequest) (*Empty, error)
type UnimplementedObservationsServer ¶
type UnimplementedObservationsServer struct{}
UnimplementedObservationsServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedObservationsServer) RecordObservation ¶
func (UnimplementedObservationsServer) RecordObservation(context.Context, *RecordObservationRequest) (*Empty, error)
type UnimplementedStorageServer ¶
type UnimplementedStorageServer struct{}
UnimplementedStorageServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedStorageServer) Delete ¶
func (UnimplementedStorageServer) Delete(context.Context, *StorageDeleteArgs) (*StorageDeleteReply, error)
func (UnimplementedStorageServer) Get ¶
func (UnimplementedStorageServer) Get(context.Context, *StorageGetArgs) (*StorageGetReply, error)
func (UnimplementedStorageServer) List ¶
func (UnimplementedStorageServer) List(context.Context, *StorageListArgs) (*StorageListReply, error)
func (UnimplementedStorageServer) Put ¶
func (UnimplementedStorageServer) Put(context.Context, *StoragePutArgs) (*StoragePutReply, error)
type UnimplementedSystemViewServer ¶
type UnimplementedSystemViewServer struct{}
UnimplementedSystemViewServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedSystemViewServer) CachingDisabled ¶
func (UnimplementedSystemViewServer) CachingDisabled(context.Context, *Empty) (*CachingDisabledReply, error)
func (UnimplementedSystemViewServer) ClusterInfo ¶
func (UnimplementedSystemViewServer) ClusterInfo(context.Context, *Empty) (*ClusterInfoReply, error)
func (UnimplementedSystemViewServer) DefaultLeaseTTL ¶
func (UnimplementedSystemViewServer) DeregisterRotationJob ¶
func (UnimplementedSystemViewServer) DeregisterRotationJob(context.Context, *DeregisterRotationJobRequest) (*Empty, error)
func (UnimplementedSystemViewServer) EntityInfo ¶
func (UnimplementedSystemViewServer) EntityInfo(context.Context, *EntityInfoArgs) (*EntityInfoReply, error)
func (UnimplementedSystemViewServer) GenerateIdentityToken ¶
func (UnimplementedSystemViewServer) GenerateIdentityToken(context.Context, *GenerateIdentityTokenRequest) (*GenerateIdentityTokenResponse, error)
func (UnimplementedSystemViewServer) GeneratePasswordFromPolicy ¶
func (UnimplementedSystemViewServer) GeneratePasswordFromPolicy(context.Context, *GeneratePasswordFromPolicyRequest) (*GeneratePasswordFromPolicyReply, error)
func (UnimplementedSystemViewServer) GroupsForEntity ¶
func (UnimplementedSystemViewServer) GroupsForEntity(context.Context, *EntityInfoArgs) (*GroupsForEntityReply, error)
func (UnimplementedSystemViewServer) LocalMount ¶
func (UnimplementedSystemViewServer) LocalMount(context.Context, *Empty) (*LocalMountReply, error)
func (UnimplementedSystemViewServer) MaxLeaseTTL ¶
func (UnimplementedSystemViewServer) MlockEnabled ¶
func (UnimplementedSystemViewServer) MlockEnabled(context.Context, *Empty) (*MlockEnabledReply, error)
func (UnimplementedSystemViewServer) PluginEnv ¶
func (UnimplementedSystemViewServer) PluginEnv(context.Context, *Empty) (*PluginEnvReply, error)
func (UnimplementedSystemViewServer) RegisterRotationJob ¶
func (UnimplementedSystemViewServer) RegisterRotationJob(context.Context, *RegisterRotationJobRequest) (*RegisterRotationJobResponse, error)
func (UnimplementedSystemViewServer) ReplicationState ¶
func (UnimplementedSystemViewServer) ReplicationState(context.Context, *Empty) (*ReplicationStateReply, error)
func (UnimplementedSystemViewServer) ResponseWrapData ¶
func (UnimplementedSystemViewServer) ResponseWrapData(context.Context, *ResponseWrapDataArgs) (*ResponseWrapDataReply, error)
func (UnimplementedSystemViewServer) Tainted ¶
func (UnimplementedSystemViewServer) Tainted(context.Context, *Empty) (*TaintedReply, error)
type UnsafeBackendServer ¶
type UnsafeBackendServer interface {
// contains filtered or unexported methods
}
UnsafeBackendServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BackendServer will result in compilation errors.
type UnsafeEventsServer ¶
type UnsafeEventsServer interface {
// contains filtered or unexported methods
}
UnsafeEventsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EventsServer will result in compilation errors.
type UnsafeObservationsServer ¶
type UnsafeObservationsServer interface {
// contains filtered or unexported methods
}
UnsafeObservationsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ObservationsServer will result in compilation errors.
type UnsafeStorageServer ¶
type UnsafeStorageServer interface {
// contains filtered or unexported methods
}
UnsafeStorageServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageServer will result in compilation errors.
type UnsafeSystemViewServer ¶
type UnsafeSystemViewServer interface {
// contains filtered or unexported methods
}
UnsafeSystemViewServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SystemViewServer will result in compilation errors.
Source Files ¶
backend.pb.go backend_grpc.pb.go translation.go
- Version
- v0.18.0 (latest)
- Published
- Jun 5, 2025
- Platform
- linux/amd64
- Imports
- 21 packages
- Last checked
- 1 month ago –
Tools for package owners.