Documentation ¶
Index ¶
- Constants
- Variables
- type AccessSecretVersionRequest
- func (*AccessSecretVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AccessSecretVersionRequest) GetSecretId() string
- func (x *AccessSecretVersionRequest) GetSecretVersionId() string
- func (*AccessSecretVersionRequest) ProtoMessage()
- func (x *AccessSecretVersionRequest) ProtoReflect() protoreflect.Message
- func (x *AccessSecretVersionRequest) Reset()
- func (x *AccessSecretVersionRequest) String() string
- type CreateSecretRequest
- func (*CreateSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSecretRequest) GetDescription() string
- func (x *CreateSecretRequest) GetKmsKeyId() string
- func (x *CreateSecretRequest) GetLabels() map[string]string
- func (x *CreateSecretRequest) GetName() string
- func (x *CreateSecretRequest) GetParentId() string
- func (x *CreateSecretRequest) GetPayload() *SecretPayload
- func (*CreateSecretRequest) ProtoMessage()
- func (x *CreateSecretRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSecretRequest) Reset()
- func (x *CreateSecretRequest) String() string
- type CreateSecretVersionRequest
- func (*CreateSecretVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSecretVersionRequest) GetPayload() *SecretPayload
- func (x *CreateSecretVersionRequest) GetSecretId() string
- func (*CreateSecretVersionRequest) ProtoMessage()
- func (x *CreateSecretVersionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSecretVersionRequest) Reset()
- func (x *CreateSecretVersionRequest) String() string
- type DestroySecretRequest
- func (*DestroySecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DestroySecretRequest) GetSecretId() string
- func (*DestroySecretRequest) ProtoMessage()
- func (x *DestroySecretRequest) ProtoReflect() protoreflect.Message
- func (x *DestroySecretRequest) Reset()
- func (x *DestroySecretRequest) String() string
- type DestroySecretVersionRequest
- func (*DestroySecretVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DestroySecretVersionRequest) GetSecretId() string
- func (x *DestroySecretVersionRequest) GetSecretVersionId() string
- func (*DestroySecretVersionRequest) ProtoMessage()
- func (x *DestroySecretVersionRequest) ProtoReflect() protoreflect.Message
- func (x *DestroySecretVersionRequest) Reset()
- func (x *DestroySecretVersionRequest) String() string
- type DisableSecretVersionRequest
- func (*DisableSecretVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisableSecretVersionRequest) GetSecretId() string
- func (x *DisableSecretVersionRequest) GetSecretVersionId() string
- func (*DisableSecretVersionRequest) ProtoMessage()
- func (x *DisableSecretVersionRequest) ProtoReflect() protoreflect.Message
- func (x *DisableSecretVersionRequest) Reset()
- func (x *DisableSecretVersionRequest) String() string
- type EnableSecretVersionRequest
- func (*EnableSecretVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnableSecretVersionRequest) GetSecretId() string
- func (x *EnableSecretVersionRequest) GetSecretVersionId() string
- func (*EnableSecretVersionRequest) ProtoMessage()
- func (x *EnableSecretVersionRequest) ProtoReflect() protoreflect.Message
- func (x *EnableSecretVersionRequest) Reset()
- func (x *EnableSecretVersionRequest) String() string
- type GetSecretRequest
- type GetSecretVersionRequest
- func (*GetSecretVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretVersionRequest) GetSecretId() string
- func (x *GetSecretVersionRequest) GetSecretVersionId() string
- func (*GetSecretVersionRequest) ProtoMessage()
- func (x *GetSecretVersionRequest) ProtoReflect() protoreflect.Message
- func (x *GetSecretVersionRequest) Reset()
- func (x *GetSecretVersionRequest) String() string
- type ListSecretVersionsRequest
- func (*ListSecretVersionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecretVersionsRequest) GetPage() *Page
- func (x *ListSecretVersionsRequest) GetSecretId() string
- func (*ListSecretVersionsRequest) ProtoMessage()
- func (x *ListSecretVersionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSecretVersionsRequest) Reset()
- func (x *ListSecretVersionsRequest) String() string
- type ListSecretVersionsResponse
- func (*ListSecretVersionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecretVersionsResponse) GetVersions() []*SecretVersion
- func (*ListSecretVersionsResponse) ProtoMessage()
- func (x *ListSecretVersionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSecretVersionsResponse) Reset()
- func (x *ListSecretVersionsResponse) String() string
- type ListSecretsRequest
- func (*ListSecretsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecretsRequest) GetExact() string
- func (x *ListSecretsRequest) GetLabels() map[string]string
- func (m *ListSecretsRequest) GetName() isListSecretsRequest_Name
- func (x *ListSecretsRequest) GetPage() *Page
- func (x *ListSecretsRequest) GetParentId() string
- func (x *ListSecretsRequest) GetRegex() string
- func (*ListSecretsRequest) ProtoMessage()
- func (x *ListSecretsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSecretsRequest) Reset()
- func (x *ListSecretsRequest) String() string
- type ListSecretsRequest_Exact
- type ListSecretsRequest_Regex
- type ListSecretsResponse
- func (*ListSecretsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecretsResponse) GetSecrets() []*Secret
- func (*ListSecretsResponse) ProtoMessage()
- func (x *ListSecretsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSecretsResponse) Reset()
- func (x *ListSecretsResponse) String() string
- type Page
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)deprecated
- func (x *Secret) GetCreatedAt() *timestamppb.Timestamp
- func (x *Secret) GetDescription() string
- func (x *Secret) GetId() string
- func (x *Secret) GetKmsKeyId() string
- func (x *Secret) GetLabels() map[string]string
- func (x *Secret) GetName() string
- func (x *Secret) GetOwner() string
- func (*Secret) ProtoMessage()
- func (x *Secret) ProtoReflect() protoreflect.Message
- func (x *Secret) Reset()
- func (x *Secret) String() string
- type SecretManagerServiceClient
- type SecretPayload
- type SecretVersion
- func (*SecretVersion) Descriptor() ([]byte, []int)deprecated
- func (x *SecretVersion) GetCreatedAt() *timestamppb.Timestamp
- func (x *SecretVersion) GetId() int32
- func (x *SecretVersion) GetSecretId() string
- func (x *SecretVersion) GetState() State
- func (*SecretVersion) ProtoMessage()
- func (x *SecretVersion) ProtoReflect() protoreflect.Message
- func (x *SecretVersion) Reset()
- func (x *SecretVersion) String() string
- type State
- type UpdateSecretRequest
- func (*UpdateSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSecretRequest) GetSecret() *Secret
- func (x *UpdateSecretRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateSecretRequest) ProtoMessage()
- func (x *UpdateSecretRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSecretRequest) Reset()
- func (x *UpdateSecretRequest) String() string
Constants ¶
const ( SecretManagerService_CreateSecret_FullMethodName = "/sbercloud.secretmanager.v1.SecretManagerService/CreateSecret" SecretManagerService_CreateSecretVersion_FullMethodName = "/sbercloud.secretmanager.v1.SecretManagerService/CreateSecretVersion" SecretManagerService_GetSecret_FullMethodName = "/sbercloud.secretmanager.v1.SecretManagerService/GetSecret" SecretManagerService_GetSecretVersion_FullMethodName = "/sbercloud.secretmanager.v1.SecretManagerService/GetSecretVersion" SecretManagerService_AccessSecretVersion_FullMethodName = "/sbercloud.secretmanager.v1.SecretManagerService/AccessSecretVersion" SecretManagerService_ListSecrets_FullMethodName = "/sbercloud.secretmanager.v1.SecretManagerService/ListSecrets" SecretManagerService_ListSecretVersions_FullMethodName = "/sbercloud.secretmanager.v1.SecretManagerService/ListSecretVersions" SecretManagerService_UpdateSecret_FullMethodName = "/sbercloud.secretmanager.v1.SecretManagerService/UpdateSecret" SecretManagerService_EnableSecretVersion_FullMethodName = "/sbercloud.secretmanager.v1.SecretManagerService/EnableSecretVersion" SecretManagerService_DisableSecretVersion_FullMethodName = "/sbercloud.secretmanager.v1.SecretManagerService/DisableSecretVersion" SecretManagerService_DestroySecret_FullMethodName = "/sbercloud.secretmanager.v1.SecretManagerService/DestroySecret" SecretManagerService_DestroySecretVersion_FullMethodName = "/sbercloud.secretmanager.v1.SecretManagerService/DestroySecretVersion" )
Variables ¶
var ( State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "ENABLED", 2: "DISABLED", 3: "DESTROYED", } State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "ENABLED": 1, "DISABLED": 2, "DESTROYED": 3, } )
Enum value maps for State.
var File_secret_manager_spec_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccessSecretVersionRequest ¶
type AccessSecretVersionRequest struct { // Обязательное поле. Идентификатор секрета. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // Обязательное поле. Идентификатор версии секрета. SecretVersionId string `protobuf:"bytes,2,opt,name=secret_version_id,json=secretVersionId,proto3" json:"secret_version_id,omitempty"` // contains filtered or unexported fields }
func (*AccessSecretVersionRequest) Descriptor
deprecated
func (*AccessSecretVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccessSecretVersionRequest.ProtoReflect.Descriptor instead.
func (*AccessSecretVersionRequest) GetSecretId ¶
func (x *AccessSecretVersionRequest) GetSecretId() string
func (*AccessSecretVersionRequest) GetSecretVersionId ¶
func (x *AccessSecretVersionRequest) GetSecretVersionId() string
func (*AccessSecretVersionRequest) ProtoMessage ¶
func (*AccessSecretVersionRequest) ProtoMessage()
func (*AccessSecretVersionRequest) ProtoReflect ¶
func (x *AccessSecretVersionRequest) ProtoReflect() protoreflect.Message
func (*AccessSecretVersionRequest) Reset ¶
func (x *AccessSecretVersionRequest) Reset()
func (*AccessSecretVersionRequest) String ¶
func (x *AccessSecretVersionRequest) String() string
type CreateSecretRequest ¶
type CreateSecretRequest struct { // Обязательное поле. Идентификатор родительского сервис инстанса. ParentId string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // Наименование секрета. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Описание секрета. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Лейблы секрета. Labels map[string]string `` /* 153-byte string literal not displayed */ // Идентификатор ключа шифрования. KmsKeyId string `protobuf:"bytes,5,opt,name=kms_key_id,json=kmsKeyId,proto3" json:"kms_key_id,omitempty"` // Секретные данные. Payload *SecretPayload `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*CreateSecretRequest) Descriptor
deprecated
func (*CreateSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSecretRequest.ProtoReflect.Descriptor instead.
func (*CreateSecretRequest) GetDescription ¶
func (x *CreateSecretRequest) GetDescription() string
func (*CreateSecretRequest) GetKmsKeyId ¶
func (x *CreateSecretRequest) GetKmsKeyId() string
func (*CreateSecretRequest) GetLabels ¶
func (x *CreateSecretRequest) GetLabels() map[string]string
func (*CreateSecretRequest) GetName ¶
func (x *CreateSecretRequest) GetName() string
func (*CreateSecretRequest) GetParentId ¶
func (x *CreateSecretRequest) GetParentId() string
func (*CreateSecretRequest) GetPayload ¶
func (x *CreateSecretRequest) GetPayload() *SecretPayload
func (*CreateSecretRequest) ProtoMessage ¶
func (*CreateSecretRequest) ProtoMessage()
func (*CreateSecretRequest) ProtoReflect ¶
func (x *CreateSecretRequest) ProtoReflect() protoreflect.Message
func (*CreateSecretRequest) Reset ¶
func (x *CreateSecretRequest) Reset()
func (*CreateSecretRequest) String ¶
func (x *CreateSecretRequest) String() string
type CreateSecretVersionRequest ¶
type CreateSecretVersionRequest struct { // Обязательное поле. Идентификатор секрета. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // Обязательное поле. Секретные данные. Payload *SecretPayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*CreateSecretVersionRequest) Descriptor
deprecated
func (*CreateSecretVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSecretVersionRequest.ProtoReflect.Descriptor instead.
func (*CreateSecretVersionRequest) GetPayload ¶
func (x *CreateSecretVersionRequest) GetPayload() *SecretPayload
func (*CreateSecretVersionRequest) GetSecretId ¶
func (x *CreateSecretVersionRequest) GetSecretId() string
func (*CreateSecretVersionRequest) ProtoMessage ¶
func (*CreateSecretVersionRequest) ProtoMessage()
func (*CreateSecretVersionRequest) ProtoReflect ¶
func (x *CreateSecretVersionRequest) ProtoReflect() protoreflect.Message
func (*CreateSecretVersionRequest) Reset ¶
func (x *CreateSecretVersionRequest) Reset()
func (*CreateSecretVersionRequest) String ¶
func (x *CreateSecretVersionRequest) String() string
type DestroySecretRequest ¶
type DestroySecretRequest struct { // Обязательное поле. Идентификатор секрета. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // contains filtered or unexported fields }
func (*DestroySecretRequest) Descriptor
deprecated
func (*DestroySecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use DestroySecretRequest.ProtoReflect.Descriptor instead.
func (*DestroySecretRequest) GetSecretId ¶
func (x *DestroySecretRequest) GetSecretId() string
func (*DestroySecretRequest) ProtoMessage ¶
func (*DestroySecretRequest) ProtoMessage()
func (*DestroySecretRequest) ProtoReflect ¶
func (x *DestroySecretRequest) ProtoReflect() protoreflect.Message
func (*DestroySecretRequest) Reset ¶
func (x *DestroySecretRequest) Reset()
func (*DestroySecretRequest) String ¶
func (x *DestroySecretRequest) String() string
type DestroySecretVersionRequest ¶
type DestroySecretVersionRequest struct { // Обязательное поле. Идентификатор секрета. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // Обязательное поле. Идентификатор версии секрета. SecretVersionId string `protobuf:"bytes,2,opt,name=secret_version_id,json=secretVersionId,proto3" json:"secret_version_id,omitempty"` // contains filtered or unexported fields }
func (*DestroySecretVersionRequest) Descriptor
deprecated
func (*DestroySecretVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DestroySecretVersionRequest.ProtoReflect.Descriptor instead.
func (*DestroySecretVersionRequest) GetSecretId ¶
func (x *DestroySecretVersionRequest) GetSecretId() string
func (*DestroySecretVersionRequest) GetSecretVersionId ¶
func (x *DestroySecretVersionRequest) GetSecretVersionId() string
func (*DestroySecretVersionRequest) ProtoMessage ¶
func (*DestroySecretVersionRequest) ProtoMessage()
func (*DestroySecretVersionRequest) ProtoReflect ¶
func (x *DestroySecretVersionRequest) ProtoReflect() protoreflect.Message
func (*DestroySecretVersionRequest) Reset ¶
func (x *DestroySecretVersionRequest) Reset()
func (*DestroySecretVersionRequest) String ¶
func (x *DestroySecretVersionRequest) String() string
type DisableSecretVersionRequest ¶
type DisableSecretVersionRequest struct { // Обязательное поле. Идентификатор секрета. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // Обязательное поле. Идентификатор версии секрета. SecretVersionId string `protobuf:"bytes,2,opt,name=secret_version_id,json=secretVersionId,proto3" json:"secret_version_id,omitempty"` // contains filtered or unexported fields }
func (*DisableSecretVersionRequest) Descriptor
deprecated
func (*DisableSecretVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisableSecretVersionRequest.ProtoReflect.Descriptor instead.
func (*DisableSecretVersionRequest) GetSecretId ¶
func (x *DisableSecretVersionRequest) GetSecretId() string
func (*DisableSecretVersionRequest) GetSecretVersionId ¶
func (x *DisableSecretVersionRequest) GetSecretVersionId() string
func (*DisableSecretVersionRequest) ProtoMessage ¶
func (*DisableSecretVersionRequest) ProtoMessage()
func (*DisableSecretVersionRequest) ProtoReflect ¶
func (x *DisableSecretVersionRequest) ProtoReflect() protoreflect.Message
func (*DisableSecretVersionRequest) Reset ¶
func (x *DisableSecretVersionRequest) Reset()
func (*DisableSecretVersionRequest) String ¶
func (x *DisableSecretVersionRequest) String() string
type EnableSecretVersionRequest ¶
type EnableSecretVersionRequest struct { // Обязательное поле. Идентификатор секрета. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // Обязательное поле. Идентификатор версии секрета. SecretVersionId string `protobuf:"bytes,2,opt,name=secret_version_id,json=secretVersionId,proto3" json:"secret_version_id,omitempty"` // contains filtered or unexported fields }
func (*EnableSecretVersionRequest) Descriptor
deprecated
func (*EnableSecretVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnableSecretVersionRequest.ProtoReflect.Descriptor instead.
func (*EnableSecretVersionRequest) GetSecretId ¶
func (x *EnableSecretVersionRequest) GetSecretId() string
func (*EnableSecretVersionRequest) GetSecretVersionId ¶
func (x *EnableSecretVersionRequest) GetSecretVersionId() string
func (*EnableSecretVersionRequest) ProtoMessage ¶
func (*EnableSecretVersionRequest) ProtoMessage()
func (*EnableSecretVersionRequest) ProtoReflect ¶
func (x *EnableSecretVersionRequest) ProtoReflect() protoreflect.Message
func (*EnableSecretVersionRequest) Reset ¶
func (x *EnableSecretVersionRequest) Reset()
func (*EnableSecretVersionRequest) String ¶
func (x *EnableSecretVersionRequest) String() string
type GetSecretRequest ¶
type GetSecretRequest struct { // Обязательное поле. Идентификатор секрета. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // contains filtered or unexported fields }
func (*GetSecretRequest) Descriptor
deprecated
func (*GetSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSecretRequest.ProtoReflect.Descriptor instead.
func (*GetSecretRequest) GetSecretId ¶
func (x *GetSecretRequest) GetSecretId() string
func (*GetSecretRequest) ProtoMessage ¶
func (*GetSecretRequest) ProtoMessage()
func (*GetSecretRequest) ProtoReflect ¶
func (x *GetSecretRequest) ProtoReflect() protoreflect.Message
func (*GetSecretRequest) Reset ¶
func (x *GetSecretRequest) Reset()
func (*GetSecretRequest) String ¶
func (x *GetSecretRequest) String() string
type GetSecretVersionRequest ¶
type GetSecretVersionRequest struct { // Обязательное поле. Идентификатор секрета. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // Обязательное поле. Идентификатор версии секрета. SecretVersionId string `protobuf:"bytes,2,opt,name=secret_version_id,json=secretVersionId,proto3" json:"secret_version_id,omitempty"` // contains filtered or unexported fields }
func (*GetSecretVersionRequest) Descriptor
deprecated
func (*GetSecretVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSecretVersionRequest.ProtoReflect.Descriptor instead.
func (*GetSecretVersionRequest) GetSecretId ¶
func (x *GetSecretVersionRequest) GetSecretId() string
func (*GetSecretVersionRequest) GetSecretVersionId ¶
func (x *GetSecretVersionRequest) GetSecretVersionId() string
func (*GetSecretVersionRequest) ProtoMessage ¶
func (*GetSecretVersionRequest) ProtoMessage()
func (*GetSecretVersionRequest) ProtoReflect ¶
func (x *GetSecretVersionRequest) ProtoReflect() protoreflect.Message
func (*GetSecretVersionRequest) Reset ¶
func (x *GetSecretVersionRequest) Reset()
func (*GetSecretVersionRequest) String ¶
func (x *GetSecretVersionRequest) String() string
type ListSecretVersionsRequest ¶
type ListSecretVersionsRequest struct { // Обязательное поле. Идентификатор секрета. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // Страница. Page *Page `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*ListSecretVersionsRequest) Descriptor
deprecated
func (*ListSecretVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSecretVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListSecretVersionsRequest) GetPage ¶
func (x *ListSecretVersionsRequest) GetPage() *Page
func (*ListSecretVersionsRequest) GetSecretId ¶
func (x *ListSecretVersionsRequest) GetSecretId() string
func (*ListSecretVersionsRequest) ProtoMessage ¶
func (*ListSecretVersionsRequest) ProtoMessage()
func (*ListSecretVersionsRequest) ProtoReflect ¶
func (x *ListSecretVersionsRequest) ProtoReflect() protoreflect.Message
func (*ListSecretVersionsRequest) Reset ¶
func (x *ListSecretVersionsRequest) Reset()
func (*ListSecretVersionsRequest) String ¶
func (x *ListSecretVersionsRequest) String() string
type ListSecretVersionsResponse ¶
type ListSecretVersionsResponse struct { // Версии секрета. Versions []*SecretVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` // contains filtered or unexported fields }
func (*ListSecretVersionsResponse) Descriptor
deprecated
func (*ListSecretVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSecretVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListSecretVersionsResponse) GetVersions ¶
func (x *ListSecretVersionsResponse) GetVersions() []*SecretVersion
func (*ListSecretVersionsResponse) ProtoMessage ¶
func (*ListSecretVersionsResponse) ProtoMessage()
func (*ListSecretVersionsResponse) ProtoReflect ¶
func (x *ListSecretVersionsResponse) ProtoReflect() protoreflect.Message
func (*ListSecretVersionsResponse) Reset ¶
func (x *ListSecretVersionsResponse) Reset()
func (*ListSecretVersionsResponse) String ¶
func (x *ListSecretVersionsResponse) String() string
type ListSecretsRequest ¶
type ListSecretsRequest struct { // Обязательное поле. Идентификатор родительского сервис инстанса. ParentId string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // Страница. Page *Page `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` // Фильтр по тегам секрета, вернет секреты, у которых есть все указанные теги. Labels map[string]string `` /* 154-byte string literal not displayed */ // Фильтр по наименованию секрета. // // Types that are assignable to Name: // // *ListSecretsRequest_Regex // *ListSecretsRequest_Exact Name isListSecretsRequest_Name `protobuf_oneof:"name"` // contains filtered or unexported fields }
func (*ListSecretsRequest) Descriptor
deprecated
func (*ListSecretsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSecretsRequest.ProtoReflect.Descriptor instead.
func (*ListSecretsRequest) GetExact ¶
func (x *ListSecretsRequest) GetExact() string
func (*ListSecretsRequest) GetLabels ¶
func (x *ListSecretsRequest) GetLabels() map[string]string
func (*ListSecretsRequest) GetName ¶
func (m *ListSecretsRequest) GetName() isListSecretsRequest_Name
func (*ListSecretsRequest) GetPage ¶
func (x *ListSecretsRequest) GetPage() *Page
func (*ListSecretsRequest) GetParentId ¶
func (x *ListSecretsRequest) GetParentId() string
func (*ListSecretsRequest) GetRegex ¶
func (x *ListSecretsRequest) GetRegex() string
func (*ListSecretsRequest) ProtoMessage ¶
func (*ListSecretsRequest) ProtoMessage()
func (*ListSecretsRequest) ProtoReflect ¶
func (x *ListSecretsRequest) ProtoReflect() protoreflect.Message
func (*ListSecretsRequest) Reset ¶
func (x *ListSecretsRequest) Reset()
func (*ListSecretsRequest) String ¶
func (x *ListSecretsRequest) String() string
type ListSecretsRequest_Exact ¶
type ListSecretsRequest_Exact struct {
Exact string `protobuf:"bytes,12,opt,name=exact,proto3,oneof"`
}
type ListSecretsRequest_Regex ¶
type ListSecretsRequest_Regex struct {
Regex string `protobuf:"bytes,11,opt,name=regex,proto3,oneof"`
}
type ListSecretsResponse ¶
type ListSecretsResponse struct { // Секреты. Secrets []*Secret `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"` // contains filtered or unexported fields }
func (*ListSecretsResponse) Descriptor
deprecated
func (*ListSecretsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSecretsResponse.ProtoReflect.Descriptor instead.
func (*ListSecretsResponse) GetSecrets ¶
func (x *ListSecretsResponse) GetSecrets() []*Secret
func (*ListSecretsResponse) ProtoMessage ¶
func (*ListSecretsResponse) ProtoMessage()
func (*ListSecretsResponse) ProtoReflect ¶
func (x *ListSecretsResponse) ProtoReflect() protoreflect.Message
func (*ListSecretsResponse) Reset ¶
func (x *ListSecretsResponse) Reset()
func (*ListSecretsResponse) String ¶
func (x *ListSecretsResponse) String() string
type Page ¶
type Page struct { // Обязательное поле. Максимальное кол-во записей в одном запросе. (Макс: 1000, по-умолчанию: 100). Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // Обязательное поле. Сдвиг записей. Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*Page) Descriptor
deprecated
func (*Page) ProtoMessage ¶
func (*Page) ProtoMessage()
func (*Page) ProtoReflect ¶
func (x *Page) ProtoReflect() protoreflect.Message
type Secret ¶
type Secret struct { // Идентификатор секрета. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Наименование секрета. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Описание секрета. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Лейблы секрета. Labels map[string]string `` /* 153-byte string literal not displayed */ // Идентификатор владельца секрета. Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"` // Идентификатор ключа шифрования. KmsKeyId string `protobuf:"bytes,6,opt,name=kms_key_id,json=kmsKeyId,proto3" json:"kms_key_id,omitempty"` // Дата создания секрета. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Secret) Descriptor
deprecated
func (*Secret) GetCreatedAt ¶
func (x *Secret) GetCreatedAt() *timestamppb.Timestamp
func (*Secret) GetDescription ¶
func (*Secret) GetKmsKeyId ¶
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) ProtoReflect ¶
func (x *Secret) ProtoReflect() protoreflect.Message
type SecretManagerServiceClient ¶
type SecretManagerServiceClient interface { CreateSecret(ctx context.Context, in *CreateSecretRequest, opts ...grpc.CallOption) (*Secret, error) CreateSecretVersion(ctx context.Context, in *CreateSecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error) GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*Secret, error) GetSecretVersion(ctx context.Context, in *GetSecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error) AccessSecretVersion(ctx context.Context, in *AccessSecretVersionRequest, opts ...grpc.CallOption) (*SecretPayload, error) ListSecrets(ctx context.Context, in *ListSecretsRequest, opts ...grpc.CallOption) (*ListSecretsResponse, error) ListSecretVersions(ctx context.Context, in *ListSecretVersionsRequest, opts ...grpc.CallOption) (*ListSecretVersionsResponse, error) UpdateSecret(ctx context.Context, in *UpdateSecretRequest, opts ...grpc.CallOption) (*Secret, error) EnableSecretVersion(ctx context.Context, in *EnableSecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error) DisableSecretVersion(ctx context.Context, in *DisableSecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error) DestroySecret(ctx context.Context, in *DestroySecretRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DestroySecretVersion(ctx context.Context, in *DestroySecretVersionRequest, opts ...grpc.CallOption) (*SecretVersion, error) }
SecretManagerServiceClient is the client API for SecretManagerService 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 NewSecretManagerServiceClient ¶
func NewSecretManagerServiceClient(cc grpc.ClientConnInterface) SecretManagerServiceClient
type SecretPayload ¶
type SecretPayload struct { // Секретные данные. Data *wrapperspb.BytesValue `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SecretPayload) Descriptor
deprecated
func (*SecretPayload) Descriptor() ([]byte, []int)
Deprecated: Use SecretPayload.ProtoReflect.Descriptor instead.
func (*SecretPayload) GetData ¶
func (x *SecretPayload) GetData() *wrapperspb.BytesValue
func (*SecretPayload) ProtoMessage ¶
func (*SecretPayload) ProtoMessage()
func (*SecretPayload) ProtoReflect ¶
func (x *SecretPayload) ProtoReflect() protoreflect.Message
func (*SecretPayload) Reset ¶
func (x *SecretPayload) Reset()
func (*SecretPayload) String ¶
func (x *SecretPayload) String() string
type SecretVersion ¶
type SecretVersion struct { // Идентификатор версии секрета. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Идентификатор секрета. SecretId string `protobuf:"bytes,2,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // Состояние версии секрета. State State `protobuf:"varint,3,opt,name=state,proto3,enum=sbercloud.secretmanager.v1.State" json:"state,omitempty"` // Дата создания версии секрета. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*SecretVersion) Descriptor
deprecated
func (*SecretVersion) Descriptor() ([]byte, []int)
Deprecated: Use SecretVersion.ProtoReflect.Descriptor instead.
func (*SecretVersion) GetCreatedAt ¶
func (x *SecretVersion) GetCreatedAt() *timestamppb.Timestamp
func (*SecretVersion) GetId ¶
func (x *SecretVersion) GetId() int32
func (*SecretVersion) GetSecretId ¶
func (x *SecretVersion) GetSecretId() string
func (*SecretVersion) GetState ¶
func (x *SecretVersion) GetState() State
func (*SecretVersion) ProtoMessage ¶
func (*SecretVersion) ProtoMessage()
func (*SecretVersion) ProtoReflect ¶
func (x *SecretVersion) ProtoReflect() protoreflect.Message
func (*SecretVersion) Reset ¶
func (x *SecretVersion) Reset()
func (*SecretVersion) String ¶
func (x *SecretVersion) String() string
type State ¶
type State int32
func (State) Descriptor ¶
func (State) Descriptor() protoreflect.EnumDescriptor
func (State) EnumDescriptor
deprecated
func (State) Number ¶
func (x State) Number() protoreflect.EnumNumber
func (State) Type ¶
func (State) Type() protoreflect.EnumType
type UpdateSecretRequest ¶
type UpdateSecretRequest struct { // Обязательное поле. Обновленный секрет. Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // Обязательное поле. Маска обновления ключа. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateSecretRequest) Descriptor
deprecated
func (*UpdateSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSecretRequest.ProtoReflect.Descriptor instead.
func (*UpdateSecretRequest) GetSecret ¶
func (x *UpdateSecretRequest) GetSecret() *Secret
func (*UpdateSecretRequest) GetUpdateMask ¶
func (x *UpdateSecretRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSecretRequest) ProtoMessage ¶
func (*UpdateSecretRequest) ProtoMessage()
func (*UpdateSecretRequest) ProtoReflect ¶
func (x *UpdateSecretRequest) ProtoReflect() protoreflect.Message
func (*UpdateSecretRequest) Reset ¶
func (x *UpdateSecretRequest) Reset()
func (*UpdateSecretRequest) String ¶
func (x *UpdateSecretRequest) String() string