- Network-policy SPIRE plugin extension - Governance event notification with merkle anchoring - Shellstream specs for consent channels + HFL embedded ABI - All 17 audit findings from AUDIT.md remediated - SSH credential composer + substrate key manager updates - Test coverage for config + sshcert packages Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
989 lines
40 KiB
Go
989 lines
40 KiB
Go
// Source of truth: guildhouse monorepo
|
|
// services/qm-proto/proto/quartermaster/v1/credentials.proto
|
|
// This file is a copy for Go code generation. Do not edit here.
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.31.0
|
|
// protoc v3.21.12
|
|
// source: quartermaster/v1/credentials.proto
|
|
|
|
package quartermasterv1
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type ProvisionDatabaseRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
|
|
ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
|
|
DatabaseName string `protobuf:"bytes,3,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
|
|
}
|
|
|
|
func (x *ProvisionDatabaseRequest) Reset() {
|
|
*x = ProvisionDatabaseRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ProvisionDatabaseRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionDatabaseRequest) ProtoMessage() {}
|
|
|
|
func (x *ProvisionDatabaseRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ProvisionDatabaseRequest.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionDatabaseRequest) Descriptor() ([]byte, []int) {
|
|
return file_quartermaster_v1_credentials_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ProvisionDatabaseRequest) GetClusterId() string {
|
|
if x != nil {
|
|
return x.ClusterId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionDatabaseRequest) GetServiceName() string {
|
|
if x != nil {
|
|
return x.ServiceName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionDatabaseRequest) GetDatabaseName() string {
|
|
if x != nil {
|
|
return x.DatabaseName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ProvisionDatabaseResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CredentialId string `protobuf:"bytes,1,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
|
|
SecretRef string `protobuf:"bytes,2,opt,name=secret_ref,json=secretRef,proto3" json:"secret_ref,omitempty"`
|
|
SecretNamespace string `protobuf:"bytes,3,opt,name=secret_namespace,json=secretNamespace,proto3" json:"secret_namespace,omitempty"`
|
|
IssuedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
|
|
MerkleLeaf []byte `protobuf:"bytes,5,opt,name=merkle_leaf,json=merkleLeaf,proto3" json:"merkle_leaf,omitempty"`
|
|
}
|
|
|
|
func (x *ProvisionDatabaseResponse) Reset() {
|
|
*x = ProvisionDatabaseResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ProvisionDatabaseResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProvisionDatabaseResponse) ProtoMessage() {}
|
|
|
|
func (x *ProvisionDatabaseResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ProvisionDatabaseResponse.ProtoReflect.Descriptor instead.
|
|
func (*ProvisionDatabaseResponse) Descriptor() ([]byte, []int) {
|
|
return file_quartermaster_v1_credentials_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ProvisionDatabaseResponse) GetCredentialId() string {
|
|
if x != nil {
|
|
return x.CredentialId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionDatabaseResponse) GetSecretRef() string {
|
|
if x != nil {
|
|
return x.SecretRef
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionDatabaseResponse) GetSecretNamespace() string {
|
|
if x != nil {
|
|
return x.SecretNamespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProvisionDatabaseResponse) GetIssuedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.IssuedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ProvisionDatabaseResponse) GetMerkleLeaf() []byte {
|
|
if x != nil {
|
|
return x.MerkleLeaf
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RotateCredentialRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CredentialId string `protobuf:"bytes,1,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
|
|
}
|
|
|
|
func (x *RotateCredentialRequest) Reset() {
|
|
*x = RotateCredentialRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RotateCredentialRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RotateCredentialRequest) ProtoMessage() {}
|
|
|
|
func (x *RotateCredentialRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RotateCredentialRequest.ProtoReflect.Descriptor instead.
|
|
func (*RotateCredentialRequest) Descriptor() ([]byte, []int) {
|
|
return file_quartermaster_v1_credentials_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *RotateCredentialRequest) GetCredentialId() string {
|
|
if x != nil {
|
|
return x.CredentialId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RotateCredentialResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
NewCredentialId string `protobuf:"bytes,1,opt,name=new_credential_id,json=newCredentialId,proto3" json:"new_credential_id,omitempty"`
|
|
SecretRef string `protobuf:"bytes,2,opt,name=secret_ref,json=secretRef,proto3" json:"secret_ref,omitempty"`
|
|
IssuedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
|
|
MerkleLeaf []byte `protobuf:"bytes,4,opt,name=merkle_leaf,json=merkleLeaf,proto3" json:"merkle_leaf,omitempty"`
|
|
}
|
|
|
|
func (x *RotateCredentialResponse) Reset() {
|
|
*x = RotateCredentialResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RotateCredentialResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RotateCredentialResponse) ProtoMessage() {}
|
|
|
|
func (x *RotateCredentialResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RotateCredentialResponse.ProtoReflect.Descriptor instead.
|
|
func (*RotateCredentialResponse) Descriptor() ([]byte, []int) {
|
|
return file_quartermaster_v1_credentials_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *RotateCredentialResponse) GetNewCredentialId() string {
|
|
if x != nil {
|
|
return x.NewCredentialId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RotateCredentialResponse) GetSecretRef() string {
|
|
if x != nil {
|
|
return x.SecretRef
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RotateCredentialResponse) GetIssuedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.IssuedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RotateCredentialResponse) GetMerkleLeaf() []byte {
|
|
if x != nil {
|
|
return x.MerkleLeaf
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RevokeCredentialRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CredentialId string `protobuf:"bytes,1,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
|
|
}
|
|
|
|
func (x *RevokeCredentialRequest) Reset() {
|
|
*x = RevokeCredentialRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RevokeCredentialRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RevokeCredentialRequest) ProtoMessage() {}
|
|
|
|
func (x *RevokeCredentialRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RevokeCredentialRequest.ProtoReflect.Descriptor instead.
|
|
func (*RevokeCredentialRequest) Descriptor() ([]byte, []int) {
|
|
return file_quartermaster_v1_credentials_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *RevokeCredentialRequest) GetCredentialId() string {
|
|
if x != nil {
|
|
return x.CredentialId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RevokeCredentialResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RevokedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=revoked_at,json=revokedAt,proto3" json:"revoked_at,omitempty"`
|
|
}
|
|
|
|
func (x *RevokeCredentialResponse) Reset() {
|
|
*x = RevokeCredentialResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RevokeCredentialResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RevokeCredentialResponse) ProtoMessage() {}
|
|
|
|
func (x *RevokeCredentialResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RevokeCredentialResponse.ProtoReflect.Descriptor instead.
|
|
func (*RevokeCredentialResponse) Descriptor() ([]byte, []int) {
|
|
return file_quartermaster_v1_credentials_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *RevokeCredentialResponse) GetRevokedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.RevokedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetCredentialRefRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CredentialId string `protobuf:"bytes,1,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
|
|
}
|
|
|
|
func (x *GetCredentialRefRequest) Reset() {
|
|
*x = GetCredentialRefRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetCredentialRefRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCredentialRefRequest) ProtoMessage() {}
|
|
|
|
func (x *GetCredentialRefRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetCredentialRefRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetCredentialRefRequest) Descriptor() ([]byte, []int) {
|
|
return file_quartermaster_v1_credentials_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *GetCredentialRefRequest) GetCredentialId() string {
|
|
if x != nil {
|
|
return x.CredentialId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetCredentialRefResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CredentialId string `protobuf:"bytes,1,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
|
|
ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
|
|
ServiceName string `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
|
|
CredentialType string `protobuf:"bytes,4,opt,name=credential_type,json=credentialType,proto3" json:"credential_type,omitempty"`
|
|
Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
|
|
DatabaseName string `protobuf:"bytes,6,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
|
|
SecretRef string `protobuf:"bytes,7,opt,name=secret_ref,json=secretRef,proto3" json:"secret_ref,omitempty"`
|
|
SecretNamespace string `protobuf:"bytes,8,opt,name=secret_namespace,json=secretNamespace,proto3" json:"secret_namespace,omitempty"`
|
|
IssuedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
|
|
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
|
|
Revoked bool `protobuf:"varint,11,opt,name=revoked,proto3" json:"revoked,omitempty"`
|
|
}
|
|
|
|
func (x *GetCredentialRefResponse) Reset() {
|
|
*x = GetCredentialRefResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetCredentialRefResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCredentialRefResponse) ProtoMessage() {}
|
|
|
|
func (x *GetCredentialRefResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetCredentialRefResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetCredentialRefResponse) Descriptor() ([]byte, []int) {
|
|
return file_quartermaster_v1_credentials_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *GetCredentialRefResponse) GetCredentialId() string {
|
|
if x != nil {
|
|
return x.CredentialId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCredentialRefResponse) GetClusterId() string {
|
|
if x != nil {
|
|
return x.ClusterId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCredentialRefResponse) GetServiceName() string {
|
|
if x != nil {
|
|
return x.ServiceName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCredentialRefResponse) GetCredentialType() string {
|
|
if x != nil {
|
|
return x.CredentialType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCredentialRefResponse) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCredentialRefResponse) GetDatabaseName() string {
|
|
if x != nil {
|
|
return x.DatabaseName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCredentialRefResponse) GetSecretRef() string {
|
|
if x != nil {
|
|
return x.SecretRef
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCredentialRefResponse) GetSecretNamespace() string {
|
|
if x != nil {
|
|
return x.SecretNamespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCredentialRefResponse) GetIssuedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.IssuedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetCredentialRefResponse) GetExpiresAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ExpiresAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetCredentialRefResponse) GetRevoked() bool {
|
|
if x != nil {
|
|
return x.Revoked
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ListCredentialsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
|
|
}
|
|
|
|
func (x *ListCredentialsRequest) Reset() {
|
|
*x = ListCredentialsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListCredentialsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListCredentialsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListCredentialsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListCredentialsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListCredentialsRequest) Descriptor() ([]byte, []int) {
|
|
return file_quartermaster_v1_credentials_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *ListCredentialsRequest) GetClusterId() string {
|
|
if x != nil {
|
|
return x.ClusterId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListCredentialsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Credentials []*GetCredentialRefResponse `protobuf:"bytes,1,rep,name=credentials,proto3" json:"credentials,omitempty"`
|
|
}
|
|
|
|
func (x *ListCredentialsResponse) Reset() {
|
|
*x = ListCredentialsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListCredentialsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListCredentialsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListCredentialsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_quartermaster_v1_credentials_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListCredentialsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListCredentialsResponse) Descriptor() ([]byte, []int) {
|
|
return file_quartermaster_v1_credentials_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *ListCredentialsResponse) GetCredentials() []*GetCredentialRefResponse {
|
|
if x != nil {
|
|
return x.Credentials
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_quartermaster_v1_credentials_proto protoreflect.FileDescriptor
|
|
|
|
var file_quartermaster_v1_credentials_proto_rawDesc = []byte{
|
|
0x0a, 0x22, 0x71, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2f,
|
|
0x76, 0x31, 0x2f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x71, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d, 0x61, 0x73,
|
|
0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
|
0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x01, 0x0a, 0x18, 0x50, 0x72, 0x6f, 0x76,
|
|
0x69, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f,
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
|
0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e,
|
|
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69,
|
|
0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,
|
|
0x73, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64,
|
|
0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xe4, 0x01, 0x0a, 0x19,
|
|
0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
|
|
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x72, 0x65,
|
|
0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x0c, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x1d,
|
|
0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x29, 0x0a,
|
|
0x10, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63,
|
|
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4e,
|
|
0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x37, 0x0a, 0x09, 0x69, 0x73, 0x73, 0x75,
|
|
0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
|
|
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x64, 0x41,
|
|
0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x5f, 0x6c, 0x65, 0x61, 0x66,
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x4c, 0x65,
|
|
0x61, 0x66, 0x22, 0x3e, 0x0a, 0x17, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x43, 0x72, 0x65, 0x64,
|
|
0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a,
|
|
0x0d, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c,
|
|
0x49, 0x64, 0x22, 0xbf, 0x01, 0x0a, 0x18, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x43, 0x72, 0x65,
|
|
0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x2a, 0x0a, 0x11, 0x6e, 0x65, 0x77, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61,
|
|
0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6e, 0x65, 0x77, 0x43,
|
|
0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73,
|
|
0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x37, 0x0a, 0x09, 0x69, 0x73,
|
|
0x73, 0x75, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
|
|
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
|
|
0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65,
|
|
0x64, 0x41, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x5f, 0x6c, 0x65,
|
|
0x61, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65,
|
|
0x4c, 0x65, 0x61, 0x66, 0x22, 0x3e, 0x0a, 0x17, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x43, 0x72,
|
|
0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
0x23, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
|
0x61, 0x6c, 0x49, 0x64, 0x22, 0x55, 0x0a, 0x18, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x43, 0x72,
|
|
0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x39, 0x0a, 0x0a, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
|
0x52, 0x09, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x41, 0x74, 0x22, 0x3e, 0x0a, 0x17, 0x47,
|
|
0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x66, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e,
|
|
0x74, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63,
|
|
0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x49, 0x64, 0x22, 0xc3, 0x03, 0x0a, 0x18,
|
|
0x47, 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x66,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x64,
|
|
0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0c, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x1d, 0x0a,
|
|
0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c,
|
|
0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
|
0x27, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x79,
|
|
0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e,
|
|
0x74, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72,
|
|
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72,
|
|
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
|
|
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x61, 0x74,
|
|
0x61, 0x62, 0x61, 0x73, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x63,
|
|
0x72, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73,
|
|
0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x65, 0x63, 0x72,
|
|
0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70,
|
|
0x61, 0x63, 0x65, 0x12, 0x37, 0x0a, 0x09, 0x69, 0x73, 0x73, 0x75, 0x65, 0x64, 0x5f, 0x61, 0x74,
|
|
0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
|
|
0x6d, 0x70, 0x52, 0x08, 0x69, 0x73, 0x73, 0x75, 0x65, 0x64, 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a,
|
|
0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x65, 0x78,
|
|
0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x6f, 0x6b,
|
|
0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65,
|
|
0x64, 0x22, 0x37, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74,
|
|
0x69, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63,
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x67, 0x0a, 0x17, 0x4c, 0x69,
|
|
0x73, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74,
|
|
0x69, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x71, 0x75, 0x61,
|
|
0x72, 0x74, 0x65, 0x72, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
|
|
0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x66, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
|
0x61, 0x6c, 0x73, 0x32, 0xb1, 0x04, 0x0a, 0x18, 0x51, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d,
|
|
0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73,
|
|
0x12, 0x6c, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74,
|
|
0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x2a, 0x2e, 0x71, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d,
|
|
0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69,
|
|
0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x1a, 0x2b, 0x2e, 0x71, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d, 0x61, 0x73, 0x74, 0x65,
|
|
0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x61,
|
|
0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69,
|
|
0x0a, 0x10, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
|
0x61, 0x6c, 0x12, 0x29, 0x2e, 0x71, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d, 0x61, 0x73, 0x74,
|
|
0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x43, 0x72, 0x65, 0x64,
|
|
0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e,
|
|
0x71, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31,
|
|
0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61,
|
|
0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x10, 0x52, 0x65, 0x76,
|
|
0x6f, 0x6b, 0x65, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x29, 0x2e,
|
|
0x71, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31,
|
|
0x2e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61,
|
|
0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x71, 0x75, 0x61, 0x72, 0x74,
|
|
0x65, 0x72, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x6f,
|
|
0x6b, 0x65, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65,
|
|
0x6e, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x66, 0x12, 0x29, 0x2e, 0x71, 0x75, 0x61, 0x72, 0x74,
|
|
0x65, 0x72, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43,
|
|
0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x66, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x71, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d, 0x61, 0x73,
|
|
0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e,
|
|
0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x66, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61,
|
|
0x6c, 0x73, 0x12, 0x28, 0x2e, 0x71, 0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d, 0x61, 0x73, 0x74,
|
|
0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e,
|
|
0x74, 0x69, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x71,
|
|
0x75, 0x61, 0x72, 0x74, 0x65, 0x72, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x4c, 0x69, 0x73, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x61, 0x5a, 0x5f, 0x67, 0x69, 0x74, 0x68, 0x75,
|
|
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x68, 0x6f, 0x75, 0x73, 0x65,
|
|
0x2d, 0x63, 0x6f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x2f, 0x67, 0x75, 0x69,
|
|
0x6c, 0x64, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2d, 0x73, 0x70, 0x69, 0x72, 0x65, 0x2d, 0x70, 0x6c,
|
|
0x75, 0x67, 0x69, 0x6e, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x71, 0x75, 0x61, 0x72, 0x74, 0x65,
|
|
0x72, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x71, 0x75, 0x61, 0x72, 0x74,
|
|
0x65, 0x72, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_quartermaster_v1_credentials_proto_rawDescOnce sync.Once
|
|
file_quartermaster_v1_credentials_proto_rawDescData = file_quartermaster_v1_credentials_proto_rawDesc
|
|
)
|
|
|
|
func file_quartermaster_v1_credentials_proto_rawDescGZIP() []byte {
|
|
file_quartermaster_v1_credentials_proto_rawDescOnce.Do(func() {
|
|
file_quartermaster_v1_credentials_proto_rawDescData = protoimpl.X.CompressGZIP(file_quartermaster_v1_credentials_proto_rawDescData)
|
|
})
|
|
return file_quartermaster_v1_credentials_proto_rawDescData
|
|
}
|
|
|
|
var file_quartermaster_v1_credentials_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
var file_quartermaster_v1_credentials_proto_goTypes = []interface{}{
|
|
(*ProvisionDatabaseRequest)(nil), // 0: quartermaster.v1.ProvisionDatabaseRequest
|
|
(*ProvisionDatabaseResponse)(nil), // 1: quartermaster.v1.ProvisionDatabaseResponse
|
|
(*RotateCredentialRequest)(nil), // 2: quartermaster.v1.RotateCredentialRequest
|
|
(*RotateCredentialResponse)(nil), // 3: quartermaster.v1.RotateCredentialResponse
|
|
(*RevokeCredentialRequest)(nil), // 4: quartermaster.v1.RevokeCredentialRequest
|
|
(*RevokeCredentialResponse)(nil), // 5: quartermaster.v1.RevokeCredentialResponse
|
|
(*GetCredentialRefRequest)(nil), // 6: quartermaster.v1.GetCredentialRefRequest
|
|
(*GetCredentialRefResponse)(nil), // 7: quartermaster.v1.GetCredentialRefResponse
|
|
(*ListCredentialsRequest)(nil), // 8: quartermaster.v1.ListCredentialsRequest
|
|
(*ListCredentialsResponse)(nil), // 9: quartermaster.v1.ListCredentialsResponse
|
|
(*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp
|
|
}
|
|
var file_quartermaster_v1_credentials_proto_depIdxs = []int32{
|
|
10, // 0: quartermaster.v1.ProvisionDatabaseResponse.issued_at:type_name -> google.protobuf.Timestamp
|
|
10, // 1: quartermaster.v1.RotateCredentialResponse.issued_at:type_name -> google.protobuf.Timestamp
|
|
10, // 2: quartermaster.v1.RevokeCredentialResponse.revoked_at:type_name -> google.protobuf.Timestamp
|
|
10, // 3: quartermaster.v1.GetCredentialRefResponse.issued_at:type_name -> google.protobuf.Timestamp
|
|
10, // 4: quartermaster.v1.GetCredentialRefResponse.expires_at:type_name -> google.protobuf.Timestamp
|
|
7, // 5: quartermaster.v1.ListCredentialsResponse.credentials:type_name -> quartermaster.v1.GetCredentialRefResponse
|
|
0, // 6: quartermaster.v1.QuartermasterCredentials.ProvisionDatabase:input_type -> quartermaster.v1.ProvisionDatabaseRequest
|
|
2, // 7: quartermaster.v1.QuartermasterCredentials.RotateCredential:input_type -> quartermaster.v1.RotateCredentialRequest
|
|
4, // 8: quartermaster.v1.QuartermasterCredentials.RevokeCredential:input_type -> quartermaster.v1.RevokeCredentialRequest
|
|
6, // 9: quartermaster.v1.QuartermasterCredentials.GetCredentialRef:input_type -> quartermaster.v1.GetCredentialRefRequest
|
|
8, // 10: quartermaster.v1.QuartermasterCredentials.ListCredentials:input_type -> quartermaster.v1.ListCredentialsRequest
|
|
1, // 11: quartermaster.v1.QuartermasterCredentials.ProvisionDatabase:output_type -> quartermaster.v1.ProvisionDatabaseResponse
|
|
3, // 12: quartermaster.v1.QuartermasterCredentials.RotateCredential:output_type -> quartermaster.v1.RotateCredentialResponse
|
|
5, // 13: quartermaster.v1.QuartermasterCredentials.RevokeCredential:output_type -> quartermaster.v1.RevokeCredentialResponse
|
|
7, // 14: quartermaster.v1.QuartermasterCredentials.GetCredentialRef:output_type -> quartermaster.v1.GetCredentialRefResponse
|
|
9, // 15: quartermaster.v1.QuartermasterCredentials.ListCredentials:output_type -> quartermaster.v1.ListCredentialsResponse
|
|
11, // [11:16] is the sub-list for method output_type
|
|
6, // [6:11] is the sub-list for method input_type
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
0, // [0:6] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_quartermaster_v1_credentials_proto_init() }
|
|
func file_quartermaster_v1_credentials_proto_init() {
|
|
if File_quartermaster_v1_credentials_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_quartermaster_v1_credentials_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ProvisionDatabaseRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_quartermaster_v1_credentials_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ProvisionDatabaseResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_quartermaster_v1_credentials_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RotateCredentialRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_quartermaster_v1_credentials_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RotateCredentialResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_quartermaster_v1_credentials_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RevokeCredentialRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_quartermaster_v1_credentials_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RevokeCredentialResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_quartermaster_v1_credentials_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetCredentialRefRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_quartermaster_v1_credentials_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetCredentialRefResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_quartermaster_v1_credentials_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListCredentialsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_quartermaster_v1_credentials_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListCredentialsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_quartermaster_v1_credentials_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 10,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_quartermaster_v1_credentials_proto_goTypes,
|
|
DependencyIndexes: file_quartermaster_v1_credentials_proto_depIdxs,
|
|
MessageInfos: file_quartermaster_v1_credentials_proto_msgTypes,
|
|
}.Build()
|
|
File_quartermaster_v1_credentials_proto = out.File
|
|
file_quartermaster_v1_credentials_proto_rawDesc = nil
|
|
file_quartermaster_v1_credentials_proto_goTypes = nil
|
|
file_quartermaster_v1_credentials_proto_depIdxs = nil
|
|
}
|