Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterPayloadServiceServer(s grpc.ServiceRegistrar, srv PayloadServiceServer)
- func RegisterSecretServiceServer(s grpc.ServiceRegistrar, srv SecretServiceServer)
- type ActivateSecretMetadata
- func (*ActivateSecretMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateSecretMetadata) GetSecretId() string
- func (*ActivateSecretMetadata) ProtoMessage()
- func (x *ActivateSecretMetadata) ProtoReflect() protoreflect.Message
- func (x *ActivateSecretMetadata) Reset()
- func (m *ActivateSecretMetadata) SetSecretId(v string)
- func (x *ActivateSecretMetadata) String() string
- type ActivateSecretRequest
- func (*ActivateSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateSecretRequest) GetSecretId() string
- func (*ActivateSecretRequest) ProtoMessage()
- func (x *ActivateSecretRequest) ProtoReflect() protoreflect.Message
- func (x *ActivateSecretRequest) Reset()
- func (m *ActivateSecretRequest) SetSecretId(v string)
- func (x *ActivateSecretRequest) String() string
- type AddVersionMetadata
- func (*AddVersionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *AddVersionMetadata) GetSecretId() string
- func (x *AddVersionMetadata) GetVersionId() string
- func (*AddVersionMetadata) ProtoMessage()
- func (x *AddVersionMetadata) ProtoReflect() protoreflect.Message
- func (x *AddVersionMetadata) Reset()
- func (m *AddVersionMetadata) SetSecretId(v string)
- func (m *AddVersionMetadata) SetVersionId(v string)
- func (x *AddVersionMetadata) String() string
- type AddVersionRequest
- func (*AddVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddVersionRequest) GetBaseVersionId() string
- func (x *AddVersionRequest) GetDescription() string
- func (x *AddVersionRequest) GetPayloadEntries() []*PayloadEntryChange
- func (x *AddVersionRequest) GetSecretId() string
- func (*AddVersionRequest) ProtoMessage()
- func (x *AddVersionRequest) ProtoReflect() protoreflect.Message
- func (x *AddVersionRequest) Reset()
- func (m *AddVersionRequest) SetBaseVersionId(v string)
- func (m *AddVersionRequest) SetDescription(v string)
- func (m *AddVersionRequest) SetPayloadEntries(v []*PayloadEntryChange)
- func (m *AddVersionRequest) SetSecretId(v string)
- func (x *AddVersionRequest) String() string
- type CancelVersionDestructionMetadata
- func (*CancelVersionDestructionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CancelVersionDestructionMetadata) GetSecretId() string
- func (x *CancelVersionDestructionMetadata) GetVersionId() string
- func (*CancelVersionDestructionMetadata) ProtoMessage()
- func (x *CancelVersionDestructionMetadata) ProtoReflect() protoreflect.Message
- func (x *CancelVersionDestructionMetadata) Reset()
- func (m *CancelVersionDestructionMetadata) SetSecretId(v string)
- func (m *CancelVersionDestructionMetadata) SetVersionId(v string)
- func (x *CancelVersionDestructionMetadata) String() string
- type CancelVersionDestructionRequest
- func (*CancelVersionDestructionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelVersionDestructionRequest) GetSecretId() string
- func (x *CancelVersionDestructionRequest) GetVersionId() string
- func (*CancelVersionDestructionRequest) ProtoMessage()
- func (x *CancelVersionDestructionRequest) ProtoReflect() protoreflect.Message
- func (x *CancelVersionDestructionRequest) Reset()
- func (m *CancelVersionDestructionRequest) SetSecretId(v string)
- func (m *CancelVersionDestructionRequest) SetVersionId(v string)
- func (x *CancelVersionDestructionRequest) String() string
- type CreateSecretMetadata
- func (*CreateSecretMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSecretMetadata) GetSecretId() string
- func (x *CreateSecretMetadata) GetVersionId() string
- func (*CreateSecretMetadata) ProtoMessage()
- func (x *CreateSecretMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateSecretMetadata) Reset()
- func (m *CreateSecretMetadata) SetSecretId(v string)
- func (m *CreateSecretMetadata) SetVersionId(v string)
- func (x *CreateSecretMetadata) String() string
- type CreateSecretRequest
- func (*CreateSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSecretRequest) GetCreateVersion() *wrapperspb.BoolValue
- func (x *CreateSecretRequest) GetDeletionProtection() bool
- func (x *CreateSecretRequest) GetDescription() string
- func (x *CreateSecretRequest) GetFolderId() string
- func (x *CreateSecretRequest) GetKmsKeyId() string
- func (x *CreateSecretRequest) GetLabels() map[string]string
- func (x *CreateSecretRequest) GetName() string
- func (x *CreateSecretRequest) GetPasswordPayloadSpecification() *PasswordPayloadSpecification
- func (m *CreateSecretRequest) GetPayloadSpecification() isCreateSecretRequest_PayloadSpecification
- func (x *CreateSecretRequest) GetVersionDescription() string
- func (x *CreateSecretRequest) GetVersionPayloadEntries() []*PayloadEntryChange
- func (*CreateSecretRequest) ProtoMessage()
- func (x *CreateSecretRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSecretRequest) Reset()
- func (m *CreateSecretRequest) SetCreateVersion(v *wrapperspb.BoolValue)
- func (m *CreateSecretRequest) SetDeletionProtection(v bool)
- func (m *CreateSecretRequest) SetDescription(v string)
- func (m *CreateSecretRequest) SetFolderId(v string)
- func (m *CreateSecretRequest) SetKmsKeyId(v string)
- func (m *CreateSecretRequest) SetLabels(v map[string]string)
- func (m *CreateSecretRequest) SetName(v string)
- func (m *CreateSecretRequest) SetPasswordPayloadSpecification(v *PasswordPayloadSpecification)
- func (m *CreateSecretRequest) SetPayloadSpecification(v CreateSecretRequest_PayloadSpecification)
- func (m *CreateSecretRequest) SetVersionDescription(v string)
- func (m *CreateSecretRequest) SetVersionPayloadEntries(v []*PayloadEntryChange)
- func (x *CreateSecretRequest) String() string
- type CreateSecretRequest_PasswordPayloadSpecification
- type CreateSecretRequest_PayloadSpecification
- type DeactivateSecretMetadata
- func (*DeactivateSecretMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeactivateSecretMetadata) GetSecretId() string
- func (*DeactivateSecretMetadata) ProtoMessage()
- func (x *DeactivateSecretMetadata) ProtoReflect() protoreflect.Message
- func (x *DeactivateSecretMetadata) Reset()
- func (m *DeactivateSecretMetadata) SetSecretId(v string)
- func (x *DeactivateSecretMetadata) String() string
- type DeactivateSecretRequest
- func (*DeactivateSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeactivateSecretRequest) GetSecretId() string
- func (*DeactivateSecretRequest) ProtoMessage()
- func (x *DeactivateSecretRequest) ProtoReflect() protoreflect.Message
- func (x *DeactivateSecretRequest) Reset()
- func (m *DeactivateSecretRequest) SetSecretId(v string)
- func (x *DeactivateSecretRequest) String() string
- type DeleteSecretMetadata
- func (*DeleteSecretMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSecretMetadata) GetSecretId() string
- func (*DeleteSecretMetadata) ProtoMessage()
- func (x *DeleteSecretMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteSecretMetadata) Reset()
- func (m *DeleteSecretMetadata) SetSecretId(v string)
- func (x *DeleteSecretMetadata) String() string
- type DeleteSecretRequest
- func (*DeleteSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSecretRequest) GetSecretId() string
- func (*DeleteSecretRequest) ProtoMessage()
- func (x *DeleteSecretRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSecretRequest) Reset()
- func (m *DeleteSecretRequest) SetSecretId(v string)
- func (x *DeleteSecretRequest) String() string
- type FolderAndName
- func (*FolderAndName) Descriptor() ([]byte, []int)deprecated
- func (x *FolderAndName) GetFolderId() string
- func (x *FolderAndName) GetSecretName() string
- func (*FolderAndName) ProtoMessage()
- func (x *FolderAndName) ProtoReflect() protoreflect.Message
- func (x *FolderAndName) Reset()
- func (m *FolderAndName) SetFolderId(v string)
- func (m *FolderAndName) SetSecretName(v string)
- func (x *FolderAndName) String() string
- type GetExRequest
- func (*GetExRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetExRequest) GetFolderAndName() *FolderAndName
- func (m *GetExRequest) GetIdentifier() isGetExRequest_Identifier
- func (x *GetExRequest) GetSecretId() string
- func (x *GetExRequest) GetVersionId() string
- func (*GetExRequest) ProtoMessage()
- func (x *GetExRequest) ProtoReflect() protoreflect.Message
- func (x *GetExRequest) Reset()
- func (m *GetExRequest) SetFolderAndName(v *FolderAndName)
- func (m *GetExRequest) SetIdentifier(v GetExRequest_Identifier)
- func (m *GetExRequest) SetSecretId(v string)
- func (m *GetExRequest) SetVersionId(v string)
- func (x *GetExRequest) String() string
- type GetExRequest_FolderAndName
- type GetExRequest_Identifier
- type GetExRequest_SecretId
- type GetExResponse
- func (*GetExResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetExResponse) GetEntries() map[string][]byte
- func (x *GetExResponse) GetSecretId() string
- func (x *GetExResponse) GetVersionId() string
- func (*GetExResponse) ProtoMessage()
- func (x *GetExResponse) ProtoReflect() protoreflect.Message
- func (x *GetExResponse) Reset()
- func (m *GetExResponse) SetEntries(v map[string][]byte)
- func (m *GetExResponse) SetSecretId(v string)
- func (m *GetExResponse) SetVersionId(v string)
- func (x *GetExResponse) String() string
- type GetPayloadRequest
- func (*GetPayloadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPayloadRequest) GetSecretId() string
- func (x *GetPayloadRequest) GetVersionId() string
- func (*GetPayloadRequest) ProtoMessage()
- func (x *GetPayloadRequest) ProtoReflect() protoreflect.Message
- func (x *GetPayloadRequest) Reset()
- func (m *GetPayloadRequest) SetSecretId(v string)
- func (m *GetPayloadRequest) SetVersionId(v string)
- func (x *GetPayloadRequest) String() string
- type GetSecretRequest
- func (*GetSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretRequest) GetSecretId() string
- func (*GetSecretRequest) ProtoMessage()
- func (x *GetSecretRequest) ProtoReflect() protoreflect.Message
- func (x *GetSecretRequest) Reset()
- func (m *GetSecretRequest) SetSecretId(v string)
- func (x *GetSecretRequest) String() string
- type ListSecretOperationsRequest
- func (*ListSecretOperationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecretOperationsRequest) GetPageSize() int64
- func (x *ListSecretOperationsRequest) GetPageToken() string
- func (x *ListSecretOperationsRequest) GetSecretId() string
- func (*ListSecretOperationsRequest) ProtoMessage()
- func (x *ListSecretOperationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSecretOperationsRequest) Reset()
- func (m *ListSecretOperationsRequest) SetPageSize(v int64)
- func (m *ListSecretOperationsRequest) SetPageToken(v string)
- func (m *ListSecretOperationsRequest) SetSecretId(v string)
- func (x *ListSecretOperationsRequest) String() string
- type ListSecretOperationsResponse
- func (*ListSecretOperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecretOperationsResponse) GetNextPageToken() string
- func (x *ListSecretOperationsResponse) GetOperations() []*operation.Operation
- func (*ListSecretOperationsResponse) ProtoMessage()
- func (x *ListSecretOperationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSecretOperationsResponse) Reset()
- func (m *ListSecretOperationsResponse) SetNextPageToken(v string)
- func (m *ListSecretOperationsResponse) SetOperations(v []*operation.Operation)
- func (x *ListSecretOperationsResponse) String() string
- type ListSecretsRequest
- func (*ListSecretsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecretsRequest) GetFolderId() string
- func (x *ListSecretsRequest) GetPageSize() int64
- func (x *ListSecretsRequest) GetPageToken() string
- func (*ListSecretsRequest) ProtoMessage()
- func (x *ListSecretsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSecretsRequest) Reset()
- func (m *ListSecretsRequest) SetFolderId(v string)
- func (m *ListSecretsRequest) SetPageSize(v int64)
- func (m *ListSecretsRequest) SetPageToken(v string)
- func (x *ListSecretsRequest) String() string
- type ListSecretsResponse
- func (*ListSecretsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecretsResponse) GetNextPageToken() string
- func (x *ListSecretsResponse) GetSecrets() []*Secret
- func (*ListSecretsResponse) ProtoMessage()
- func (x *ListSecretsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSecretsResponse) Reset()
- func (m *ListSecretsResponse) SetNextPageToken(v string)
- func (m *ListSecretsResponse) SetSecrets(v []*Secret)
- func (x *ListSecretsResponse) String() string
- type ListVersionsRequest
- func (*ListVersionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListVersionsRequest) GetPageSize() int64
- func (x *ListVersionsRequest) GetPageToken() string
- func (x *ListVersionsRequest) GetSecretId() string
- func (*ListVersionsRequest) ProtoMessage()
- func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListVersionsRequest) Reset()
- func (m *ListVersionsRequest) SetPageSize(v int64)
- func (m *ListVersionsRequest) SetPageToken(v string)
- func (m *ListVersionsRequest) SetSecretId(v string)
- func (x *ListVersionsRequest) String() string
- type ListVersionsResponse
- func (*ListVersionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListVersionsResponse) GetNextPageToken() string
- func (x *ListVersionsResponse) GetVersions() []*Version
- func (*ListVersionsResponse) ProtoMessage()
- func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListVersionsResponse) Reset()
- func (m *ListVersionsResponse) SetNextPageToken(v string)
- func (m *ListVersionsResponse) SetVersions(v []*Version)
- func (x *ListVersionsResponse) String() string
- type PasswordPayloadSpecification
- func (*PasswordPayloadSpecification) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordPayloadSpecification) GetExcludedPunctuation() string
- func (x *PasswordPayloadSpecification) GetIncludeDigits() *wrapperspb.BoolValue
- func (x *PasswordPayloadSpecification) GetIncludeLowercase() *wrapperspb.BoolValue
- func (x *PasswordPayloadSpecification) GetIncludePunctuation() *wrapperspb.BoolValue
- func (x *PasswordPayloadSpecification) GetIncludeUppercase() *wrapperspb.BoolValue
- func (x *PasswordPayloadSpecification) GetIncludedPunctuation() string
- func (x *PasswordPayloadSpecification) GetLength() int64
- func (x *PasswordPayloadSpecification) GetPasswordKey() string
- func (*PasswordPayloadSpecification) ProtoMessage()
- func (x *PasswordPayloadSpecification) ProtoReflect() protoreflect.Message
- func (x *PasswordPayloadSpecification) Reset()
- func (m *PasswordPayloadSpecification) SetExcludedPunctuation(v string)
- func (m *PasswordPayloadSpecification) SetIncludeDigits(v *wrapperspb.BoolValue)
- func (m *PasswordPayloadSpecification) SetIncludeLowercase(v *wrapperspb.BoolValue)
- func (m *PasswordPayloadSpecification) SetIncludePunctuation(v *wrapperspb.BoolValue)
- func (m *PasswordPayloadSpecification) SetIncludeUppercase(v *wrapperspb.BoolValue)
- func (m *PasswordPayloadSpecification) SetIncludedPunctuation(v string)
- func (m *PasswordPayloadSpecification) SetLength(v int64)
- func (m *PasswordPayloadSpecification) SetPasswordKey(v string)
- func (x *PasswordPayloadSpecification) String() string
- type Payload
- func (*Payload) Descriptor() ([]byte, []int)deprecated
- func (x *Payload) GetEntries() []*Payload_Entry
- func (x *Payload) GetVersionId() string
- func (*Payload) ProtoMessage()
- func (x *Payload) ProtoReflect() protoreflect.Message
- func (x *Payload) Reset()
- func (m *Payload) SetEntries(v []*Payload_Entry)
- func (m *Payload) SetVersionId(v string)
- func (x *Payload) String() string
- type PayloadEntryChange
- func (*PayloadEntryChange) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadEntryChange) GetBinaryValue() []byte
- func (x *PayloadEntryChange) GetKey() string
- func (x *PayloadEntryChange) GetTextValue() string
- func (m *PayloadEntryChange) GetValue() isPayloadEntryChange_Value
- func (*PayloadEntryChange) ProtoMessage()
- func (x *PayloadEntryChange) ProtoReflect() protoreflect.Message
- func (x *PayloadEntryChange) Reset()
- func (m *PayloadEntryChange) SetBinaryValue(v []byte)
- func (m *PayloadEntryChange) SetKey(v string)
- func (m *PayloadEntryChange) SetTextValue(v string)
- func (m *PayloadEntryChange) SetValue(v PayloadEntryChange_Value)
- func (x *PayloadEntryChange) String() string
- type PayloadEntryChange_BinaryValue
- type PayloadEntryChange_TextValue
- type PayloadEntryChange_Value
- type PayloadServiceClient
- type PayloadServiceServer
- type Payload_Entry
- func (*Payload_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *Payload_Entry) GetBinaryValue() []byte
- func (x *Payload_Entry) GetKey() string
- func (x *Payload_Entry) GetTextValue() string
- func (m *Payload_Entry) GetValue() isPayload_Entry_Value
- func (*Payload_Entry) ProtoMessage()
- func (x *Payload_Entry) ProtoReflect() protoreflect.Message
- func (x *Payload_Entry) Reset()
- func (m *Payload_Entry) SetBinaryValue(v []byte)
- func (m *Payload_Entry) SetKey(v string)
- func (m *Payload_Entry) SetTextValue(v string)
- func (m *Payload_Entry) SetValue(v Payload_Entry_Value)
- func (x *Payload_Entry) String() string
- type Payload_Entry_BinaryValue
- type Payload_Entry_TextValue
- type Payload_Entry_Value
- type ScheduleVersionDestructionMetadata
- func (*ScheduleVersionDestructionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleVersionDestructionMetadata) GetDestroyAt() *timestamppb.Timestamp
- func (x *ScheduleVersionDestructionMetadata) GetSecretId() string
- func (x *ScheduleVersionDestructionMetadata) GetVersionId() string
- func (*ScheduleVersionDestructionMetadata) ProtoMessage()
- func (x *ScheduleVersionDestructionMetadata) ProtoReflect() protoreflect.Message
- func (x *ScheduleVersionDestructionMetadata) Reset()
- func (m *ScheduleVersionDestructionMetadata) SetDestroyAt(v *timestamppb.Timestamp)
- func (m *ScheduleVersionDestructionMetadata) SetSecretId(v string)
- func (m *ScheduleVersionDestructionMetadata) SetVersionId(v string)
- func (x *ScheduleVersionDestructionMetadata) String() string
- type ScheduleVersionDestructionRequest
- func (*ScheduleVersionDestructionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleVersionDestructionRequest) GetPendingPeriod() *durationpb.Duration
- func (x *ScheduleVersionDestructionRequest) GetSecretId() string
- func (x *ScheduleVersionDestructionRequest) GetVersionId() string
- func (*ScheduleVersionDestructionRequest) ProtoMessage()
- func (x *ScheduleVersionDestructionRequest) ProtoReflect() protoreflect.Message
- func (x *ScheduleVersionDestructionRequest) Reset()
- func (m *ScheduleVersionDestructionRequest) SetPendingPeriod(v *durationpb.Duration)
- func (m *ScheduleVersionDestructionRequest) SetSecretId(v string)
- func (m *ScheduleVersionDestructionRequest) SetVersionId(v string)
- func (x *ScheduleVersionDestructionRequest) String() string
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)deprecated
- func (x *Secret) GetCreatedAt() *timestamppb.Timestamp
- func (x *Secret) GetCurrentVersion() *Version
- func (x *Secret) GetDeletionProtection() bool
- func (x *Secret) GetDescription() string
- func (x *Secret) GetFolderId() 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) GetPasswordPayloadSpecification() *PasswordPayloadSpecification
- func (m *Secret) GetPayloadSpecification() isSecret_PayloadSpecification
- func (x *Secret) GetStatus() Secret_Status
- func (*Secret) ProtoMessage()
- func (x *Secret) ProtoReflect() protoreflect.Message
- func (x *Secret) Reset()
- func (m *Secret) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Secret) SetCurrentVersion(v *Version)
- func (m *Secret) SetDeletionProtection(v bool)
- func (m *Secret) SetDescription(v string)
- func (m *Secret) SetFolderId(v string)
- func (m *Secret) SetId(v string)
- func (m *Secret) SetKmsKeyId(v string)
- func (m *Secret) SetLabels(v map[string]string)
- func (m *Secret) SetName(v string)
- func (m *Secret) SetPasswordPayloadSpecification(v *PasswordPayloadSpecification)
- func (m *Secret) SetPayloadSpecification(v Secret_PayloadSpecification)
- func (m *Secret) SetStatus(v Secret_Status)
- func (x *Secret) String() string
- type SecretServiceClient
- type SecretServiceServer
- type Secret_PasswordPayloadSpecification
- type Secret_PayloadSpecification
- type Secret_Status
- func (Secret_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Secret_Status) Enum() *Secret_Status
- func (Secret_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Secret_Status) Number() protoreflect.EnumNumber
- func (x Secret_Status) String() string
- func (Secret_Status) Type() protoreflect.EnumType
- type UnimplementedPayloadServiceServer
- type UnimplementedSecretServiceServer
- func (UnimplementedSecretServiceServer) Activate(context.Context, *ActivateSecretRequest) (*operation.Operation, error)
- func (UnimplementedSecretServiceServer) AddVersion(context.Context, *AddVersionRequest) (*operation.Operation, error)
- func (UnimplementedSecretServiceServer) CancelVersionDestruction(context.Context, *CancelVersionDestructionRequest) (*operation.Operation, error)
- func (UnimplementedSecretServiceServer) Create(context.Context, *CreateSecretRequest) (*operation.Operation, error)
- func (UnimplementedSecretServiceServer) Deactivate(context.Context, *DeactivateSecretRequest) (*operation.Operation, error)
- func (UnimplementedSecretServiceServer) Delete(context.Context, *DeleteSecretRequest) (*operation.Operation, error)
- func (UnimplementedSecretServiceServer) Get(context.Context, *GetSecretRequest) (*Secret, error)
- func (UnimplementedSecretServiceServer) List(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error)
- func (UnimplementedSecretServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
- func (UnimplementedSecretServiceServer) ListOperations(context.Context, *ListSecretOperationsRequest) (*ListSecretOperationsResponse, error)
- func (UnimplementedSecretServiceServer) ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
- func (UnimplementedSecretServiceServer) ScheduleVersionDestruction(context.Context, *ScheduleVersionDestructionRequest) (*operation.Operation, error)
- func (UnimplementedSecretServiceServer) SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
- func (UnimplementedSecretServiceServer) Update(context.Context, *UpdateSecretRequest) (*operation.Operation, error)
- func (UnimplementedSecretServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
- type UnsafePayloadServiceServer
- type UnsafeSecretServiceServer
- type UpdateSecretMetadata
- func (*UpdateSecretMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSecretMetadata) GetSecretId() string
- func (*UpdateSecretMetadata) ProtoMessage()
- func (x *UpdateSecretMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateSecretMetadata) Reset()
- func (m *UpdateSecretMetadata) SetSecretId(v string)
- func (x *UpdateSecretMetadata) String() string
- type UpdateSecretRequest
- func (*UpdateSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSecretRequest) GetDeletionProtection() bool
- func (x *UpdateSecretRequest) GetDescription() string
- func (x *UpdateSecretRequest) GetLabels() map[string]string
- func (x *UpdateSecretRequest) GetName() string
- func (x *UpdateSecretRequest) GetPasswordPayloadSpecification() *PasswordPayloadSpecification
- func (m *UpdateSecretRequest) GetPayloadSpecification() isUpdateSecretRequest_PayloadSpecification
- func (x *UpdateSecretRequest) GetSecretId() string
- func (x *UpdateSecretRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateSecretRequest) ProtoMessage()
- func (x *UpdateSecretRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSecretRequest) Reset()
- func (m *UpdateSecretRequest) SetDeletionProtection(v bool)
- func (m *UpdateSecretRequest) SetDescription(v string)
- func (m *UpdateSecretRequest) SetLabels(v map[string]string)
- func (m *UpdateSecretRequest) SetName(v string)
- func (m *UpdateSecretRequest) SetPasswordPayloadSpecification(v *PasswordPayloadSpecification)
- func (m *UpdateSecretRequest) SetPayloadSpecification(v UpdateSecretRequest_PayloadSpecification)
- func (m *UpdateSecretRequest) SetSecretId(v string)
- func (m *UpdateSecretRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateSecretRequest) String() string
- type UpdateSecretRequest_PasswordPayloadSpecification
- type UpdateSecretRequest_PayloadSpecification
- type Version
- func (*Version) Descriptor() ([]byte, []int)deprecated
- func (x *Version) GetCreatedAt() *timestamppb.Timestamp
- func (x *Version) GetDescription() string
- func (x *Version) GetDestroyAt() *timestamppb.Timestamp
- func (x *Version) GetId() string
- func (x *Version) GetPasswordPayloadSpecification() *PasswordPayloadSpecification
- func (x *Version) GetPayloadEntryKeys() []string
- func (m *Version) GetPayloadSpecification() isVersion_PayloadSpecification
- func (x *Version) GetSecretId() string
- func (x *Version) GetStatus() Version_Status
- func (*Version) ProtoMessage()
- func (x *Version) ProtoReflect() protoreflect.Message
- func (x *Version) Reset()
- func (m *Version) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Version) SetDescription(v string)
- func (m *Version) SetDestroyAt(v *timestamppb.Timestamp)
- func (m *Version) SetId(v string)
- func (m *Version) SetPasswordPayloadSpecification(v *PasswordPayloadSpecification)
- func (m *Version) SetPayloadEntryKeys(v []string)
- func (m *Version) SetPayloadSpecification(v Version_PayloadSpecification)
- func (m *Version) SetSecretId(v string)
- func (m *Version) SetStatus(v Version_Status)
- func (x *Version) String() string
- type Version_PasswordPayloadSpecification
- type Version_PayloadSpecification
- type Version_Status
- func (Version_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Version_Status) Enum() *Version_Status
- func (Version_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Version_Status) Number() protoreflect.EnumNumber
- func (x Version_Status) String() string
- func (Version_Status) Type() protoreflect.EnumType
Constants ¶
const ( PayloadService_Get_FullMethodName = "/yandex.cloud.lockbox.v1.PayloadService/Get" PayloadService_GetEx_FullMethodName = "/yandex.cloud.lockbox.v1.PayloadService/GetEx" )
const ( SecretService_Get_FullMethodName = "/yandex.cloud.lockbox.v1.SecretService/Get" SecretService_List_FullMethodName = "/yandex.cloud.lockbox.v1.SecretService/List" SecretService_Create_FullMethodName = "/yandex.cloud.lockbox.v1.SecretService/Create" SecretService_Update_FullMethodName = "/yandex.cloud.lockbox.v1.SecretService/Update" SecretService_Delete_FullMethodName = "/yandex.cloud.lockbox.v1.SecretService/Delete" SecretService_Activate_FullMethodName = "/yandex.cloud.lockbox.v1.SecretService/Activate" SecretService_Deactivate_FullMethodName = "/yandex.cloud.lockbox.v1.SecretService/Deactivate" SecretService_ListVersions_FullMethodName = "/yandex.cloud.lockbox.v1.SecretService/ListVersions" SecretService_AddVersion_FullMethodName = "/yandex.cloud.lockbox.v1.SecretService/AddVersion" SecretService_ScheduleVersionDestruction_FullMethodName = "/yandex.cloud.lockbox.v1.SecretService/ScheduleVersionDestruction" SecretService_CancelVersionDestruction_FullMethodName = "/yandex.cloud.lockbox.v1.SecretService/CancelVersionDestruction" SecretService_ListOperations_FullMethodName = "/yandex.cloud.lockbox.v1.SecretService/ListOperations" SecretService_ListAccessBindings_FullMethodName = "/yandex.cloud.lockbox.v1.SecretService/ListAccessBindings" SecretService_SetAccessBindings_FullMethodName = "/yandex.cloud.lockbox.v1.SecretService/SetAccessBindings" SecretService_UpdateAccessBindings_FullMethodName = "/yandex.cloud.lockbox.v1.SecretService/UpdateAccessBindings" )
Variables ¶
var ( Secret_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "INACTIVE", } Secret_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "INACTIVE": 3, } )
Enum value maps for Secret_Status.
var ( Version_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "ACTIVE", 2: "SCHEDULED_FOR_DESTRUCTION", 3: "DESTROYED", } Version_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "ACTIVE": 1, "SCHEDULED_FOR_DESTRUCTION": 2, "DESTROYED": 3, } )
Enum value maps for Version_Status.
var File_yandex_cloud_lockbox_v1_payload_proto protoreflect.FileDescriptor
var File_yandex_cloud_lockbox_v1_payload_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_lockbox_v1_secret_proto protoreflect.FileDescriptor
var File_yandex_cloud_lockbox_v1_secret_service_proto protoreflect.FileDescriptor
var PayloadService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.lockbox.v1.PayloadService", HandlerType: (*PayloadServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _PayloadService_Get_Handler, }, { MethodName: "GetEx", Handler: _PayloadService_GetEx_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/lockbox/v1/payload_service.proto", }
PayloadService_ServiceDesc is the grpc.ServiceDesc for PayloadService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SecretService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.lockbox.v1.SecretService", HandlerType: (*SecretServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _SecretService_Get_Handler, }, { MethodName: "List", Handler: _SecretService_List_Handler, }, { MethodName: "Create", Handler: _SecretService_Create_Handler, }, { MethodName: "Update", Handler: _SecretService_Update_Handler, }, { MethodName: "Delete", Handler: _SecretService_Delete_Handler, }, { MethodName: "Activate", Handler: _SecretService_Activate_Handler, }, { MethodName: "Deactivate", Handler: _SecretService_Deactivate_Handler, }, { MethodName: "ListVersions", Handler: _SecretService_ListVersions_Handler, }, { MethodName: "AddVersion", Handler: _SecretService_AddVersion_Handler, }, { MethodName: "ScheduleVersionDestruction", Handler: _SecretService_ScheduleVersionDestruction_Handler, }, { MethodName: "CancelVersionDestruction", Handler: _SecretService_CancelVersionDestruction_Handler, }, { MethodName: "ListOperations", Handler: _SecretService_ListOperations_Handler, }, { MethodName: "ListAccessBindings", Handler: _SecretService_ListAccessBindings_Handler, }, { MethodName: "SetAccessBindings", Handler: _SecretService_SetAccessBindings_Handler, }, { MethodName: "UpdateAccessBindings", Handler: _SecretService_UpdateAccessBindings_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/lockbox/v1/secret_service.proto", }
SecretService_ServiceDesc is the grpc.ServiceDesc for SecretService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPayloadServiceServer ¶
func RegisterPayloadServiceServer(s grpc.ServiceRegistrar, srv PayloadServiceServer)
func RegisterSecretServiceServer ¶
func RegisterSecretServiceServer(s grpc.ServiceRegistrar, srv SecretServiceServer)
Types ¶
type ActivateSecretMetadata ¶
type ActivateSecretMetadata struct { // ID of the secret being activated. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // contains filtered or unexported fields }
func (*ActivateSecretMetadata) Descriptor
deprecated
func (*ActivateSecretMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ActivateSecretMetadata.ProtoReflect.Descriptor instead.
func (*ActivateSecretMetadata) GetSecretId ¶
func (x *ActivateSecretMetadata) GetSecretId() string
func (*ActivateSecretMetadata) ProtoMessage ¶
func (*ActivateSecretMetadata) ProtoMessage()
func (*ActivateSecretMetadata) ProtoReflect ¶
func (x *ActivateSecretMetadata) ProtoReflect() protoreflect.Message
func (*ActivateSecretMetadata) Reset ¶
func (x *ActivateSecretMetadata) Reset()
func (*ActivateSecretMetadata) SetSecretId ¶
func (m *ActivateSecretMetadata) SetSecretId(v string)
func (*ActivateSecretMetadata) String ¶
func (x *ActivateSecretMetadata) String() string
type ActivateSecretRequest ¶
type ActivateSecretRequest struct { // ID of the secret to be activated. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // contains filtered or unexported fields }
func (*ActivateSecretRequest) Descriptor
deprecated
func (*ActivateSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use ActivateSecretRequest.ProtoReflect.Descriptor instead.
func (*ActivateSecretRequest) GetSecretId ¶
func (x *ActivateSecretRequest) GetSecretId() string
func (*ActivateSecretRequest) ProtoMessage ¶
func (*ActivateSecretRequest) ProtoMessage()
func (*ActivateSecretRequest) ProtoReflect ¶
func (x *ActivateSecretRequest) ProtoReflect() protoreflect.Message
func (*ActivateSecretRequest) Reset ¶
func (x *ActivateSecretRequest) Reset()
func (*ActivateSecretRequest) SetSecretId ¶
func (m *ActivateSecretRequest) SetSecretId(v string)
func (*ActivateSecretRequest) String ¶
func (x *ActivateSecretRequest) String() string
type AddVersionMetadata ¶
type AddVersionMetadata struct { // ID of the secret. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // ID of the added version. VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // contains filtered or unexported fields }
func (*AddVersionMetadata) Descriptor
deprecated
func (*AddVersionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AddVersionMetadata.ProtoReflect.Descriptor instead.
func (*AddVersionMetadata) GetSecretId ¶
func (x *AddVersionMetadata) GetSecretId() string
func (*AddVersionMetadata) GetVersionId ¶
func (x *AddVersionMetadata) GetVersionId() string
func (*AddVersionMetadata) ProtoMessage ¶
func (*AddVersionMetadata) ProtoMessage()
func (*AddVersionMetadata) ProtoReflect ¶
func (x *AddVersionMetadata) ProtoReflect() protoreflect.Message
func (*AddVersionMetadata) Reset ¶
func (x *AddVersionMetadata) Reset()
func (*AddVersionMetadata) SetSecretId ¶
func (m *AddVersionMetadata) SetSecretId(v string)
func (*AddVersionMetadata) SetVersionId ¶
func (m *AddVersionMetadata) SetVersionId(v string)
func (*AddVersionMetadata) String ¶
func (x *AddVersionMetadata) String() string
type AddVersionRequest ¶
type AddVersionRequest struct { // ID of the secret. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // Description of the version. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Describe how payload entries of the base version change in the added version. PayloadEntries []*PayloadEntryChange `protobuf:"bytes,3,rep,name=payload_entries,json=payloadEntries,proto3" json:"payload_entries,omitempty"` // Optional base version id. Defaults to the current version if not specified BaseVersionId string `protobuf:"bytes,4,opt,name=base_version_id,json=baseVersionId,proto3" json:"base_version_id,omitempty"` // contains filtered or unexported fields }
func (*AddVersionRequest) Descriptor
deprecated
func (*AddVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddVersionRequest.ProtoReflect.Descriptor instead.
func (*AddVersionRequest) GetBaseVersionId ¶
func (x *AddVersionRequest) GetBaseVersionId() string
func (*AddVersionRequest) GetDescription ¶
func (x *AddVersionRequest) GetDescription() string
func (*AddVersionRequest) GetPayloadEntries ¶
func (x *AddVersionRequest) GetPayloadEntries() []*PayloadEntryChange
func (*AddVersionRequest) GetSecretId ¶
func (x *AddVersionRequest) GetSecretId() string
func (*AddVersionRequest) ProtoMessage ¶
func (*AddVersionRequest) ProtoMessage()
func (*AddVersionRequest) ProtoReflect ¶
func (x *AddVersionRequest) ProtoReflect() protoreflect.Message
func (*AddVersionRequest) Reset ¶
func (x *AddVersionRequest) Reset()
func (*AddVersionRequest) SetBaseVersionId ¶
func (m *AddVersionRequest) SetBaseVersionId(v string)
func (*AddVersionRequest) SetDescription ¶
func (m *AddVersionRequest) SetDescription(v string)
func (*AddVersionRequest) SetPayloadEntries ¶
func (m *AddVersionRequest) SetPayloadEntries(v []*PayloadEntryChange)
func (*AddVersionRequest) SetSecretId ¶
func (m *AddVersionRequest) SetSecretId(v string)
func (*AddVersionRequest) String ¶
func (x *AddVersionRequest) String() string
type CancelVersionDestructionMetadata ¶
type CancelVersionDestructionMetadata struct { // ID of the secret whose version's destruction is being cancelled. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // ID of the version whose scheduled destruction is being cancelled. VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // contains filtered or unexported fields }
func (*CancelVersionDestructionMetadata) Descriptor
deprecated
func (*CancelVersionDestructionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CancelVersionDestructionMetadata.ProtoReflect.Descriptor instead.
func (*CancelVersionDestructionMetadata) GetSecretId ¶
func (x *CancelVersionDestructionMetadata) GetSecretId() string
func (*CancelVersionDestructionMetadata) GetVersionId ¶
func (x *CancelVersionDestructionMetadata) GetVersionId() string
func (*CancelVersionDestructionMetadata) ProtoMessage ¶
func (*CancelVersionDestructionMetadata) ProtoMessage()
func (*CancelVersionDestructionMetadata) ProtoReflect ¶
func (x *CancelVersionDestructionMetadata) ProtoReflect() protoreflect.Message
func (*CancelVersionDestructionMetadata) Reset ¶
func (x *CancelVersionDestructionMetadata) Reset()
func (*CancelVersionDestructionMetadata) SetSecretId ¶
func (m *CancelVersionDestructionMetadata) SetSecretId(v string)
func (*CancelVersionDestructionMetadata) SetVersionId ¶
func (m *CancelVersionDestructionMetadata) SetVersionId(v string)
func (*CancelVersionDestructionMetadata) String ¶
func (x *CancelVersionDestructionMetadata) String() string
type CancelVersionDestructionRequest ¶
type CancelVersionDestructionRequest struct { // ID of the secret to cancel a version's destruction for. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // ID of the secret whose scheduled destruction should be cancelled. VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // contains filtered or unexported fields }
func (*CancelVersionDestructionRequest) Descriptor
deprecated
func (*CancelVersionDestructionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelVersionDestructionRequest.ProtoReflect.Descriptor instead.
func (*CancelVersionDestructionRequest) GetSecretId ¶
func (x *CancelVersionDestructionRequest) GetSecretId() string
func (*CancelVersionDestructionRequest) GetVersionId ¶
func (x *CancelVersionDestructionRequest) GetVersionId() string
func (*CancelVersionDestructionRequest) ProtoMessage ¶
func (*CancelVersionDestructionRequest) ProtoMessage()
func (*CancelVersionDestructionRequest) ProtoReflect ¶
func (x *CancelVersionDestructionRequest) ProtoReflect() protoreflect.Message
func (*CancelVersionDestructionRequest) Reset ¶
func (x *CancelVersionDestructionRequest) Reset()
func (*CancelVersionDestructionRequest) SetSecretId ¶
func (m *CancelVersionDestructionRequest) SetSecretId(v string)
func (*CancelVersionDestructionRequest) SetVersionId ¶
func (m *CancelVersionDestructionRequest) SetVersionId(v string)
func (*CancelVersionDestructionRequest) String ¶
func (x *CancelVersionDestructionRequest) String() string
type CreateSecretMetadata ¶
type CreateSecretMetadata struct { // ID of the secret being created. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // ID of the current version of the secret being created. VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // contains filtered or unexported fields }
func (*CreateSecretMetadata) Descriptor
deprecated
func (*CreateSecretMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateSecretMetadata.ProtoReflect.Descriptor instead.
func (*CreateSecretMetadata) GetSecretId ¶
func (x *CreateSecretMetadata) GetSecretId() string
func (*CreateSecretMetadata) GetVersionId ¶
func (x *CreateSecretMetadata) GetVersionId() string
func (*CreateSecretMetadata) ProtoMessage ¶
func (*CreateSecretMetadata) ProtoMessage()
func (*CreateSecretMetadata) ProtoReflect ¶
func (x *CreateSecretMetadata) ProtoReflect() protoreflect.Message
func (*CreateSecretMetadata) Reset ¶
func (x *CreateSecretMetadata) Reset()
func (*CreateSecretMetadata) SetSecretId ¶
func (m *CreateSecretMetadata) SetSecretId(v string)
func (*CreateSecretMetadata) SetVersionId ¶
func (m *CreateSecretMetadata) SetVersionId(v string)
func (*CreateSecretMetadata) String ¶
func (x *CreateSecretMetadata) String() string
type CreateSecretRequest ¶
type CreateSecretRequest struct { // ID of the folder to create a secret in. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Name of the secret. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description of the secret. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Custom labels for the secret as `key:value` pairs. Maximum 64 per key. // For example, `"project": "mvp"` or `"source": "dictionary"`. Labels map[string]string `` /* 153-byte string literal not displayed */ // Optional ID of the KMS key will be used to encrypt and decrypt the secret. KmsKeyId string `protobuf:"bytes,5,opt,name=kms_key_id,json=kmsKeyId,proto3" json:"kms_key_id,omitempty"` // Description of the first version. VersionDescription string `protobuf:"bytes,6,opt,name=version_description,json=versionDescription,proto3" json:"version_description,omitempty"` // Payload entries added to the first version. VersionPayloadEntries []*PayloadEntryChange `` /* 126-byte string literal not displayed */ // Flag that inhibits deletion of the secret. DeletionProtection bool `protobuf:"varint,8,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"` // Types that are assignable to PayloadSpecification: // // *CreateSecretRequest_PasswordPayloadSpecification PayloadSpecification isCreateSecretRequest_PayloadSpecification `protobuf_oneof:"payload_specification"` // If true: a version will be created with either version_payload_entries or password_payload_specification (one is required). // If false: a version is NOT created, no matter version_payload_entries or password_payload_specification. // Default: a version is created IF either version_payload_entries or password_payload_specification are specified. // It's never allowed to set both version_payload_entries and password_payload_specification. CreateVersion *wrapperspb.BoolValue `protobuf:"bytes,10,opt,name=create_version,json=createVersion,proto3" json:"create_version,omitempty"` // contains filtered or unexported fields }
func (*CreateSecretRequest) Descriptor
deprecated
func (*CreateSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSecretRequest.ProtoReflect.Descriptor instead.
func (*CreateSecretRequest) GetCreateVersion ¶
func (x *CreateSecretRequest) GetCreateVersion() *wrapperspb.BoolValue
func (*CreateSecretRequest) GetDeletionProtection ¶
func (x *CreateSecretRequest) GetDeletionProtection() bool
func (*CreateSecretRequest) GetDescription ¶
func (x *CreateSecretRequest) GetDescription() string
func (*CreateSecretRequest) GetFolderId ¶
func (x *CreateSecretRequest) GetFolderId() 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) GetPasswordPayloadSpecification ¶
func (x *CreateSecretRequest) GetPasswordPayloadSpecification() *PasswordPayloadSpecification
func (*CreateSecretRequest) GetPayloadSpecification ¶
func (m *CreateSecretRequest) GetPayloadSpecification() isCreateSecretRequest_PayloadSpecification
func (*CreateSecretRequest) GetVersionDescription ¶
func (x *CreateSecretRequest) GetVersionDescription() string
func (*CreateSecretRequest) GetVersionPayloadEntries ¶
func (x *CreateSecretRequest) GetVersionPayloadEntries() []*PayloadEntryChange
func (*CreateSecretRequest) ProtoMessage ¶
func (*CreateSecretRequest) ProtoMessage()
func (*CreateSecretRequest) ProtoReflect ¶
func (x *CreateSecretRequest) ProtoReflect() protoreflect.Message
func (*CreateSecretRequest) Reset ¶
func (x *CreateSecretRequest) Reset()
func (*CreateSecretRequest) SetCreateVersion ¶
func (m *CreateSecretRequest) SetCreateVersion(v *wrapperspb.BoolValue)
func (*CreateSecretRequest) SetDeletionProtection ¶
func (m *CreateSecretRequest) SetDeletionProtection(v bool)
func (*CreateSecretRequest) SetDescription ¶
func (m *CreateSecretRequest) SetDescription(v string)
func (*CreateSecretRequest) SetFolderId ¶
func (m *CreateSecretRequest) SetFolderId(v string)
func (*CreateSecretRequest) SetKmsKeyId ¶
func (m *CreateSecretRequest) SetKmsKeyId(v string)
func (*CreateSecretRequest) SetLabels ¶
func (m *CreateSecretRequest) SetLabels(v map[string]string)
func (*CreateSecretRequest) SetName ¶
func (m *CreateSecretRequest) SetName(v string)
func (*CreateSecretRequest) SetPasswordPayloadSpecification ¶
func (m *CreateSecretRequest) SetPasswordPayloadSpecification(v *PasswordPayloadSpecification)
func (*CreateSecretRequest) SetPayloadSpecification ¶
func (m *CreateSecretRequest) SetPayloadSpecification(v CreateSecretRequest_PayloadSpecification)
func (*CreateSecretRequest) SetVersionDescription ¶
func (m *CreateSecretRequest) SetVersionDescription(v string)
func (*CreateSecretRequest) SetVersionPayloadEntries ¶
func (m *CreateSecretRequest) SetVersionPayloadEntries(v []*PayloadEntryChange)
func (*CreateSecretRequest) String ¶
func (x *CreateSecretRequest) String() string
type CreateSecretRequest_PasswordPayloadSpecification ¶
type CreateSecretRequest_PasswordPayloadSpecification struct {
PasswordPayloadSpecification *PasswordPayloadSpecification `protobuf:"bytes,9,opt,name=password_payload_specification,json=passwordPayloadSpecification,proto3,oneof"`
}
type CreateSecretRequest_PayloadSpecification ¶
type CreateSecretRequest_PayloadSpecification = isCreateSecretRequest_PayloadSpecification
type DeactivateSecretMetadata ¶
type DeactivateSecretMetadata struct { // ID of the secret being deactivated. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // contains filtered or unexported fields }
func (*DeactivateSecretMetadata) Descriptor
deprecated
func (*DeactivateSecretMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeactivateSecretMetadata.ProtoReflect.Descriptor instead.
func (*DeactivateSecretMetadata) GetSecretId ¶
func (x *DeactivateSecretMetadata) GetSecretId() string
func (*DeactivateSecretMetadata) ProtoMessage ¶
func (*DeactivateSecretMetadata) ProtoMessage()
func (*DeactivateSecretMetadata) ProtoReflect ¶
func (x *DeactivateSecretMetadata) ProtoReflect() protoreflect.Message
func (*DeactivateSecretMetadata) Reset ¶
func (x *DeactivateSecretMetadata) Reset()
func (*DeactivateSecretMetadata) SetSecretId ¶
func (m *DeactivateSecretMetadata) SetSecretId(v string)
func (*DeactivateSecretMetadata) String ¶
func (x *DeactivateSecretMetadata) String() string
type DeactivateSecretRequest ¶
type DeactivateSecretRequest struct { // ID of the secret to be deactivated. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // contains filtered or unexported fields }
func (*DeactivateSecretRequest) Descriptor
deprecated
func (*DeactivateSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeactivateSecretRequest.ProtoReflect.Descriptor instead.
func (*DeactivateSecretRequest) GetSecretId ¶
func (x *DeactivateSecretRequest) GetSecretId() string
func (*DeactivateSecretRequest) ProtoMessage ¶
func (*DeactivateSecretRequest) ProtoMessage()
func (*DeactivateSecretRequest) ProtoReflect ¶
func (x *DeactivateSecretRequest) ProtoReflect() protoreflect.Message
func (*DeactivateSecretRequest) Reset ¶
func (x *DeactivateSecretRequest) Reset()
func (*DeactivateSecretRequest) SetSecretId ¶
func (m *DeactivateSecretRequest) SetSecretId(v string)
func (*DeactivateSecretRequest) String ¶
func (x *DeactivateSecretRequest) String() string
type DeleteSecretMetadata ¶
type DeleteSecretMetadata struct { // ID of the secret being deleted. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteSecretMetadata) Descriptor
deprecated
func (*DeleteSecretMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSecretMetadata.ProtoReflect.Descriptor instead.
func (*DeleteSecretMetadata) GetSecretId ¶
func (x *DeleteSecretMetadata) GetSecretId() string
func (*DeleteSecretMetadata) ProtoMessage ¶
func (*DeleteSecretMetadata) ProtoMessage()
func (*DeleteSecretMetadata) ProtoReflect ¶
func (x *DeleteSecretMetadata) ProtoReflect() protoreflect.Message
func (*DeleteSecretMetadata) Reset ¶
func (x *DeleteSecretMetadata) Reset()
func (*DeleteSecretMetadata) SetSecretId ¶
func (m *DeleteSecretMetadata) SetSecretId(v string)
func (*DeleteSecretMetadata) String ¶
func (x *DeleteSecretMetadata) String() string
type DeleteSecretRequest ¶
type DeleteSecretRequest struct { // ID of the secret to be deleted. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteSecretRequest) Descriptor
deprecated
func (*DeleteSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSecretRequest.ProtoReflect.Descriptor instead.
func (*DeleteSecretRequest) GetSecretId ¶
func (x *DeleteSecretRequest) GetSecretId() string
func (*DeleteSecretRequest) ProtoMessage ¶
func (*DeleteSecretRequest) ProtoMessage()
func (*DeleteSecretRequest) ProtoReflect ¶
func (x *DeleteSecretRequest) ProtoReflect() protoreflect.Message
func (*DeleteSecretRequest) Reset ¶
func (x *DeleteSecretRequest) Reset()
func (*DeleteSecretRequest) SetSecretId ¶
func (m *DeleteSecretRequest) SetSecretId(v string)
func (*DeleteSecretRequest) String ¶
func (x *DeleteSecretRequest) String() string
type FolderAndName ¶
type FolderAndName struct { FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` SecretName string `protobuf:"bytes,2,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"` // contains filtered or unexported fields }
func (*FolderAndName) Descriptor
deprecated
func (*FolderAndName) Descriptor() ([]byte, []int)
Deprecated: Use FolderAndName.ProtoReflect.Descriptor instead.
func (*FolderAndName) GetFolderId ¶
func (x *FolderAndName) GetFolderId() string
func (*FolderAndName) GetSecretName ¶
func (x *FolderAndName) GetSecretName() string
func (*FolderAndName) ProtoMessage ¶
func (*FolderAndName) ProtoMessage()
func (*FolderAndName) ProtoReflect ¶
func (x *FolderAndName) ProtoReflect() protoreflect.Message
func (*FolderAndName) Reset ¶
func (x *FolderAndName) Reset()
func (*FolderAndName) SetFolderId ¶
func (m *FolderAndName) SetFolderId(v string)
func (*FolderAndName) SetSecretName ¶
func (m *FolderAndName) SetSecretName(v string)
func (*FolderAndName) String ¶
func (x *FolderAndName) String() string
type GetExRequest ¶
type GetExRequest struct { // Types that are assignable to Identifier: // // *GetExRequest_SecretId // *GetExRequest_FolderAndName Identifier isGetExRequest_Identifier `protobuf_oneof:"identifier"` VersionId string `protobuf:"bytes,21,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // contains filtered or unexported fields }
func (*GetExRequest) Descriptor
deprecated
func (*GetExRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetExRequest.ProtoReflect.Descriptor instead.
func (*GetExRequest) GetFolderAndName ¶
func (x *GetExRequest) GetFolderAndName() *FolderAndName
func (*GetExRequest) GetIdentifier ¶
func (m *GetExRequest) GetIdentifier() isGetExRequest_Identifier
func (*GetExRequest) GetSecretId ¶
func (x *GetExRequest) GetSecretId() string
func (*GetExRequest) GetVersionId ¶
func (x *GetExRequest) GetVersionId() string
func (*GetExRequest) ProtoMessage ¶
func (*GetExRequest) ProtoMessage()
func (*GetExRequest) ProtoReflect ¶
func (x *GetExRequest) ProtoReflect() protoreflect.Message
func (*GetExRequest) Reset ¶
func (x *GetExRequest) Reset()
func (*GetExRequest) SetFolderAndName ¶
func (m *GetExRequest) SetFolderAndName(v *FolderAndName)
func (*GetExRequest) SetIdentifier ¶
func (m *GetExRequest) SetIdentifier(v GetExRequest_Identifier)
func (*GetExRequest) SetSecretId ¶
func (m *GetExRequest) SetSecretId(v string)
func (*GetExRequest) SetVersionId ¶
func (m *GetExRequest) SetVersionId(v string)
func (*GetExRequest) String ¶
func (x *GetExRequest) String() string
type GetExRequest_FolderAndName ¶
type GetExRequest_FolderAndName struct {
FolderAndName *FolderAndName `protobuf:"bytes,2,opt,name=folder_and_name,json=folderAndName,proto3,oneof"`
}
type GetExRequest_Identifier ¶
type GetExRequest_Identifier = isGetExRequest_Identifier
type GetExRequest_SecretId ¶
type GetExRequest_SecretId struct {
SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3,oneof"`
}
type GetExResponse ¶
type GetExResponse struct { SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` Entries map[string][]byte `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetExResponse) Descriptor
deprecated
func (*GetExResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetExResponse.ProtoReflect.Descriptor instead.
func (*GetExResponse) GetEntries ¶
func (x *GetExResponse) GetEntries() map[string][]byte
func (*GetExResponse) GetSecretId ¶
func (x *GetExResponse) GetSecretId() string
func (*GetExResponse) GetVersionId ¶
func (x *GetExResponse) GetVersionId() string
func (*GetExResponse) ProtoMessage ¶
func (*GetExResponse) ProtoMessage()
func (*GetExResponse) ProtoReflect ¶
func (x *GetExResponse) ProtoReflect() protoreflect.Message
func (*GetExResponse) Reset ¶
func (x *GetExResponse) Reset()
func (*GetExResponse) SetEntries ¶
func (m *GetExResponse) SetEntries(v map[string][]byte)
func (*GetExResponse) SetSecretId ¶
func (m *GetExResponse) SetSecretId(v string)
func (*GetExResponse) SetVersionId ¶
func (m *GetExResponse) SetVersionId(v string)
func (*GetExResponse) String ¶
func (x *GetExResponse) String() string
type GetPayloadRequest ¶
type GetPayloadRequest struct { // ID of the secret. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // Optional ID of the version. VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // contains filtered or unexported fields }
func (*GetPayloadRequest) Descriptor
deprecated
func (*GetPayloadRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPayloadRequest.ProtoReflect.Descriptor instead.
func (*GetPayloadRequest) GetSecretId ¶
func (x *GetPayloadRequest) GetSecretId() string
func (*GetPayloadRequest) GetVersionId ¶
func (x *GetPayloadRequest) GetVersionId() string
func (*GetPayloadRequest) ProtoMessage ¶
func (*GetPayloadRequest) ProtoMessage()
func (*GetPayloadRequest) ProtoReflect ¶
func (x *GetPayloadRequest) ProtoReflect() protoreflect.Message
func (*GetPayloadRequest) Reset ¶
func (x *GetPayloadRequest) Reset()
func (*GetPayloadRequest) SetSecretId ¶
func (m *GetPayloadRequest) SetSecretId(v string)
func (*GetPayloadRequest) SetVersionId ¶
func (m *GetPayloadRequest) SetVersionId(v string)
func (*GetPayloadRequest) String ¶
func (x *GetPayloadRequest) String() string
type GetSecretRequest ¶
type GetSecretRequest struct { // ID of the secret to return. // // To get a secret ID make a [List] request. 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) SetSecretId ¶
func (m *GetSecretRequest) SetSecretId(v string)
func (*GetSecretRequest) String ¶
func (x *GetSecretRequest) String() string
type ListSecretOperationsRequest ¶
type ListSecretOperationsRequest struct { // ID of the secret to get operations for. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // The maximum number of results per page that should be returned. If the number of available // results is larger than `page_size`, the service returns a [ListSecretOperationsRequest.next_page_token] // that can be used to get the next page of results in subsequent list requests. // Default value: 100. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set `page_token` to the // [ListSecretOperationsRequest.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListSecretOperationsRequest) Descriptor
deprecated
func (*ListSecretOperationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSecretOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListSecretOperationsRequest) GetPageSize ¶
func (x *ListSecretOperationsRequest) GetPageSize() int64
func (*ListSecretOperationsRequest) GetPageToken ¶
func (x *ListSecretOperationsRequest) GetPageToken() string
func (*ListSecretOperationsRequest) GetSecretId ¶
func (x *ListSecretOperationsRequest) GetSecretId() string
func (*ListSecretOperationsRequest) ProtoMessage ¶
func (*ListSecretOperationsRequest) ProtoMessage()
func (*ListSecretOperationsRequest) ProtoReflect ¶
func (x *ListSecretOperationsRequest) ProtoReflect() protoreflect.Message
func (*ListSecretOperationsRequest) Reset ¶
func (x *ListSecretOperationsRequest) Reset()
func (*ListSecretOperationsRequest) SetPageSize ¶
func (m *ListSecretOperationsRequest) SetPageSize(v int64)
func (*ListSecretOperationsRequest) SetPageToken ¶
func (m *ListSecretOperationsRequest) SetPageToken(v string)
func (*ListSecretOperationsRequest) SetSecretId ¶
func (m *ListSecretOperationsRequest) SetSecretId(v string)
func (*ListSecretOperationsRequest) String ¶
func (x *ListSecretOperationsRequest) String() string
type ListSecretOperationsResponse ¶
type ListSecretOperationsResponse struct { // List of operations for the specified secret. Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListSecretOperationsResponse.page_size], use the `next_page_token` as the value // for the [ListSecretOperationsResponse.page_token] query parameter in the next list request. // Each subsequent list request will have its own `next_page_token` to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListSecretOperationsResponse) Descriptor
deprecated
func (*ListSecretOperationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSecretOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListSecretOperationsResponse) GetNextPageToken ¶
func (x *ListSecretOperationsResponse) GetNextPageToken() string
func (*ListSecretOperationsResponse) GetOperations ¶
func (x *ListSecretOperationsResponse) GetOperations() []*operation.Operation
func (*ListSecretOperationsResponse) ProtoMessage ¶
func (*ListSecretOperationsResponse) ProtoMessage()
func (*ListSecretOperationsResponse) ProtoReflect ¶
func (x *ListSecretOperationsResponse) ProtoReflect() protoreflect.Message
func (*ListSecretOperationsResponse) Reset ¶
func (x *ListSecretOperationsResponse) Reset()
func (*ListSecretOperationsResponse) SetNextPageToken ¶
func (m *ListSecretOperationsResponse) SetNextPageToken(v string)
func (*ListSecretOperationsResponse) SetOperations ¶
func (m *ListSecretOperationsResponse) SetOperations(v []*operation.Operation)
func (*ListSecretOperationsResponse) String ¶
func (x *ListSecretOperationsResponse) String() string
type ListSecretsRequest ¶
type ListSecretsRequest struct { // ID of the folder to list secrets in. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than `page_size`, the service returns a [ListSecretsRequest.next_page_token] // that can be used to get the next page of results in subsequent list requests. // Default value: 100. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set `page_token` to the // [ListSecretsRequest.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListSecretsRequest) Descriptor
deprecated
func (*ListSecretsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSecretsRequest.ProtoReflect.Descriptor instead.
func (*ListSecretsRequest) GetFolderId ¶
func (x *ListSecretsRequest) GetFolderId() string
func (*ListSecretsRequest) GetPageSize ¶
func (x *ListSecretsRequest) GetPageSize() int64
func (*ListSecretsRequest) GetPageToken ¶
func (x *ListSecretsRequest) GetPageToken() 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) SetFolderId ¶
func (m *ListSecretsRequest) SetFolderId(v string)
func (*ListSecretsRequest) SetPageSize ¶
func (m *ListSecretsRequest) SetPageSize(v int64)
func (*ListSecretsRequest) SetPageToken ¶
func (m *ListSecretsRequest) SetPageToken(v string)
func (*ListSecretsRequest) String ¶
func (x *ListSecretsRequest) String() string
type ListSecretsResponse ¶
type ListSecretsResponse struct { // List of secrets in the specified folder. Secrets []*Secret `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"` // This token allows you to get the next page of results for list requests. If the number // of results is greater than the specified [ListSecretsRequest.page_size], use // the `next_page_token` as the value for the [ListSecretsRequest.page_token] query parameter // in the next list request. Each subsequent list request will have its own // `next_page_token` to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListSecretsResponse) Descriptor
deprecated
func (*ListSecretsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSecretsResponse.ProtoReflect.Descriptor instead.
func (*ListSecretsResponse) GetNextPageToken ¶
func (x *ListSecretsResponse) GetNextPageToken() string
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) SetNextPageToken ¶
func (m *ListSecretsResponse) SetNextPageToken(v string)
func (*ListSecretsResponse) SetSecrets ¶
func (m *ListSecretsResponse) SetSecrets(v []*Secret)
func (*ListSecretsResponse) String ¶
func (x *ListSecretsResponse) String() string
type ListVersionsRequest ¶
type ListVersionsRequest struct { // ID of the secret to list versions for. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than `page_size`, the service returns a [ListVersionsRequest.next_page_token] // that can be used to get the next page of results in subsequent list requests. // Default value: 100. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set `page_token` to the // [ListVersionsRequest.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListVersionsRequest) Descriptor
deprecated
func (*ListVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListVersionsRequest) GetPageSize ¶
func (x *ListVersionsRequest) GetPageSize() int64
func (*ListVersionsRequest) GetPageToken ¶
func (x *ListVersionsRequest) GetPageToken() string
func (*ListVersionsRequest) GetSecretId ¶
func (x *ListVersionsRequest) GetSecretId() string
func (*ListVersionsRequest) ProtoMessage ¶
func (*ListVersionsRequest) ProtoMessage()
func (*ListVersionsRequest) ProtoReflect ¶
func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message
func (*ListVersionsRequest) Reset ¶
func (x *ListVersionsRequest) Reset()
func (*ListVersionsRequest) SetPageSize ¶
func (m *ListVersionsRequest) SetPageSize(v int64)
func (*ListVersionsRequest) SetPageToken ¶
func (m *ListVersionsRequest) SetPageToken(v string)
func (*ListVersionsRequest) SetSecretId ¶
func (m *ListVersionsRequest) SetSecretId(v string)
func (*ListVersionsRequest) String ¶
func (x *ListVersionsRequest) String() string
type ListVersionsResponse ¶
type ListVersionsResponse struct { // List of versions for the specified secret. Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` // This token allows you to get the next page of results for list requests. If the number // of results is greater than the specified [ListVersionsRequest.page_size], use // the `next_page_token` as the value for the [ListVersionsRequest.page_token] query parameter // in the next list request. Each subsequent list request will have its own // `next_page_token` to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListVersionsResponse) Descriptor
deprecated
func (*ListVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListVersionsResponse) GetNextPageToken ¶
func (x *ListVersionsResponse) GetNextPageToken() string
func (*ListVersionsResponse) GetVersions ¶
func (x *ListVersionsResponse) GetVersions() []*Version
func (*ListVersionsResponse) ProtoMessage ¶
func (*ListVersionsResponse) ProtoMessage()
func (*ListVersionsResponse) ProtoReflect ¶
func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message
func (*ListVersionsResponse) Reset ¶
func (x *ListVersionsResponse) Reset()
func (*ListVersionsResponse) SetNextPageToken ¶
func (m *ListVersionsResponse) SetNextPageToken(v string)
func (*ListVersionsResponse) SetVersions ¶
func (m *ListVersionsResponse) SetVersions(v []*Version)
func (*ListVersionsResponse) String ¶
func (x *ListVersionsResponse) String() string
type PasswordPayloadSpecification ¶
type PasswordPayloadSpecification struct { // key of the entry to store generated password value PasswordKey string `protobuf:"bytes,1,opt,name=password_key,json=passwordKey,proto3" json:"password_key,omitempty"` // password length; by default, a reasonable length will be decided Length int64 `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"` // whether at least one A..Z character is included in the password, true by default IncludeUppercase *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=include_uppercase,json=includeUppercase,proto3" json:"include_uppercase,omitempty"` // whether at least one a..z character is included in the password, true by default IncludeLowercase *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=include_lowercase,json=includeLowercase,proto3" json:"include_lowercase,omitempty"` // whether at least one 0..9 character is included in the password, true by default IncludeDigits *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=include_digits,json=includeDigits,proto3" json:"include_digits,omitempty"` // whether at least one punctuation character is included in the password, true by default // punctuation characters by default (there are 32): !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ // to customize the punctuation characters, see included_punctuation and excluded_punctuation below IncludePunctuation *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=include_punctuation,json=includePunctuation,proto3" json:"include_punctuation,omitempty"` // If include_punctuation is true, one of these two fields (not both) may be used optionally to customize the punctuation: // a string of specific punctuation characters to use (at most, all the 32) IncludedPunctuation string `protobuf:"bytes,7,opt,name=included_punctuation,json=includedPunctuation,proto3" json:"included_punctuation,omitempty"` // a string of punctuation characters to exclude from the default (at most 31, it's not allowed to exclude all the 32) ExcludedPunctuation string `protobuf:"bytes,8,opt,name=excluded_punctuation,json=excludedPunctuation,proto3" json:"excluded_punctuation,omitempty"` // contains filtered or unexported fields }
func (*PasswordPayloadSpecification) Descriptor
deprecated
func (*PasswordPayloadSpecification) Descriptor() ([]byte, []int)
Deprecated: Use PasswordPayloadSpecification.ProtoReflect.Descriptor instead.
func (*PasswordPayloadSpecification) GetExcludedPunctuation ¶
func (x *PasswordPayloadSpecification) GetExcludedPunctuation() string
func (*PasswordPayloadSpecification) GetIncludeDigits ¶
func (x *PasswordPayloadSpecification) GetIncludeDigits() *wrapperspb.BoolValue
func (*PasswordPayloadSpecification) GetIncludeLowercase ¶
func (x *PasswordPayloadSpecification) GetIncludeLowercase() *wrapperspb.BoolValue
func (*PasswordPayloadSpecification) GetIncludePunctuation ¶
func (x *PasswordPayloadSpecification) GetIncludePunctuation() *wrapperspb.BoolValue
func (*PasswordPayloadSpecification) GetIncludeUppercase ¶
func (x *PasswordPayloadSpecification) GetIncludeUppercase() *wrapperspb.BoolValue
func (*PasswordPayloadSpecification) GetIncludedPunctuation ¶
func (x *PasswordPayloadSpecification) GetIncludedPunctuation() string
func (*PasswordPayloadSpecification) GetLength ¶
func (x *PasswordPayloadSpecification) GetLength() int64
func (*PasswordPayloadSpecification) GetPasswordKey ¶
func (x *PasswordPayloadSpecification) GetPasswordKey() string
func (*PasswordPayloadSpecification) ProtoMessage ¶
func (*PasswordPayloadSpecification) ProtoMessage()
func (*PasswordPayloadSpecification) ProtoReflect ¶
func (x *PasswordPayloadSpecification) ProtoReflect() protoreflect.Message
func (*PasswordPayloadSpecification) Reset ¶
func (x *PasswordPayloadSpecification) Reset()
func (*PasswordPayloadSpecification) SetExcludedPunctuation ¶
func (m *PasswordPayloadSpecification) SetExcludedPunctuation(v string)
func (*PasswordPayloadSpecification) SetIncludeDigits ¶
func (m *PasswordPayloadSpecification) SetIncludeDigits(v *wrapperspb.BoolValue)
func (*PasswordPayloadSpecification) SetIncludeLowercase ¶
func (m *PasswordPayloadSpecification) SetIncludeLowercase(v *wrapperspb.BoolValue)
func (*PasswordPayloadSpecification) SetIncludePunctuation ¶
func (m *PasswordPayloadSpecification) SetIncludePunctuation(v *wrapperspb.BoolValue)
func (*PasswordPayloadSpecification) SetIncludeUppercase ¶
func (m *PasswordPayloadSpecification) SetIncludeUppercase(v *wrapperspb.BoolValue)
func (*PasswordPayloadSpecification) SetIncludedPunctuation ¶
func (m *PasswordPayloadSpecification) SetIncludedPunctuation(v string)
func (*PasswordPayloadSpecification) SetLength ¶
func (m *PasswordPayloadSpecification) SetLength(v int64)
func (*PasswordPayloadSpecification) SetPasswordKey ¶
func (m *PasswordPayloadSpecification) SetPasswordKey(v string)
func (*PasswordPayloadSpecification) String ¶
func (x *PasswordPayloadSpecification) String() string
type Payload ¶
type Payload struct { // ID of the version that the payload belongs to. VersionId string `protobuf:"bytes,1,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // Payload entries. Entries []*Payload_Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
A payload.
func (*Payload) Descriptor
deprecated
func (*Payload) GetEntries ¶
func (x *Payload) GetEntries() []*Payload_Entry
func (*Payload) GetVersionId ¶
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
func (*Payload) ProtoReflect ¶
func (x *Payload) ProtoReflect() protoreflect.Message
func (*Payload) SetEntries ¶
func (m *Payload) SetEntries(v []*Payload_Entry)
func (*Payload) SetVersionId ¶
type PayloadEntryChange ¶
type PayloadEntryChange struct { // Non-confidential key of the entry. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Confidential value of the entry. // // Types that are assignable to Value: // // *PayloadEntryChange_TextValue // *PayloadEntryChange_BinaryValue Value isPayloadEntryChange_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*PayloadEntryChange) Descriptor
deprecated
func (*PayloadEntryChange) Descriptor() ([]byte, []int)
Deprecated: Use PayloadEntryChange.ProtoReflect.Descriptor instead.
func (*PayloadEntryChange) GetBinaryValue ¶
func (x *PayloadEntryChange) GetBinaryValue() []byte
func (*PayloadEntryChange) GetKey ¶
func (x *PayloadEntryChange) GetKey() string
func (*PayloadEntryChange) GetTextValue ¶
func (x *PayloadEntryChange) GetTextValue() string
func (*PayloadEntryChange) GetValue ¶
func (m *PayloadEntryChange) GetValue() isPayloadEntryChange_Value
func (*PayloadEntryChange) ProtoMessage ¶
func (*PayloadEntryChange) ProtoMessage()
func (*PayloadEntryChange) ProtoReflect ¶
func (x *PayloadEntryChange) ProtoReflect() protoreflect.Message
func (*PayloadEntryChange) Reset ¶
func (x *PayloadEntryChange) Reset()
func (*PayloadEntryChange) SetBinaryValue ¶
func (m *PayloadEntryChange) SetBinaryValue(v []byte)
func (*PayloadEntryChange) SetKey ¶
func (m *PayloadEntryChange) SetKey(v string)
func (*PayloadEntryChange) SetTextValue ¶
func (m *PayloadEntryChange) SetTextValue(v string)
func (*PayloadEntryChange) SetValue ¶
func (m *PayloadEntryChange) SetValue(v PayloadEntryChange_Value)
func (*PayloadEntryChange) String ¶
func (x *PayloadEntryChange) String() string
type PayloadEntryChange_BinaryValue ¶
type PayloadEntryChange_BinaryValue struct { // Use the field to set a binary value. BinaryValue []byte `protobuf:"bytes,3,opt,name=binary_value,json=binaryValue,proto3,oneof"` }
type PayloadEntryChange_TextValue ¶
type PayloadEntryChange_TextValue struct { // Use the field to set a text value. TextValue string `protobuf:"bytes,2,opt,name=text_value,json=textValue,proto3,oneof"` }
type PayloadEntryChange_Value ¶
type PayloadEntryChange_Value = isPayloadEntryChange_Value
type PayloadServiceClient ¶
type PayloadServiceClient interface { // Returns the payload of the specified secret. // // To get the list of all available secrets, make a [SecretService.List] request. Get(ctx context.Context, in *GetPayloadRequest, opts ...grpc.CallOption) (*Payload, error) GetEx(ctx context.Context, in *GetExRequest, opts ...grpc.CallOption) (*GetExResponse, error) }
PayloadServiceClient is the client API for PayloadService 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.
Set of methods to access payload of secrets.
func NewPayloadServiceClient ¶
func NewPayloadServiceClient(cc grpc.ClientConnInterface) PayloadServiceClient
type PayloadServiceServer ¶
type PayloadServiceServer interface { // Returns the payload of the specified secret. // // To get the list of all available secrets, make a [SecretService.List] request. Get(context.Context, *GetPayloadRequest) (*Payload, error) GetEx(context.Context, *GetExRequest) (*GetExResponse, error) }
PayloadServiceServer is the server API for PayloadService service. All implementations should embed UnimplementedPayloadServiceServer for forward compatibility.
Set of methods to access payload of secrets.
type Payload_Entry ¶
type Payload_Entry struct { // Non-confidential key of the entry. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Confidential value of the entry. // // Types that are assignable to Value: // // *Payload_Entry_TextValue // *Payload_Entry_BinaryValue Value isPayload_Entry_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Payload_Entry) Descriptor
deprecated
func (*Payload_Entry) Descriptor() ([]byte, []int)
Deprecated: Use Payload_Entry.ProtoReflect.Descriptor instead.
func (*Payload_Entry) GetBinaryValue ¶
func (x *Payload_Entry) GetBinaryValue() []byte
func (*Payload_Entry) GetKey ¶
func (x *Payload_Entry) GetKey() string
func (*Payload_Entry) GetTextValue ¶
func (x *Payload_Entry) GetTextValue() string
func (*Payload_Entry) GetValue ¶
func (m *Payload_Entry) GetValue() isPayload_Entry_Value
func (*Payload_Entry) ProtoMessage ¶
func (*Payload_Entry) ProtoMessage()
func (*Payload_Entry) ProtoReflect ¶
func (x *Payload_Entry) ProtoReflect() protoreflect.Message
func (*Payload_Entry) Reset ¶
func (x *Payload_Entry) Reset()
func (*Payload_Entry) SetBinaryValue ¶
func (m *Payload_Entry) SetBinaryValue(v []byte)
func (*Payload_Entry) SetKey ¶
func (m *Payload_Entry) SetKey(v string)
func (*Payload_Entry) SetTextValue ¶
func (m *Payload_Entry) SetTextValue(v string)
func (*Payload_Entry) SetValue ¶
func (m *Payload_Entry) SetValue(v Payload_Entry_Value)
func (*Payload_Entry) String ¶
func (x *Payload_Entry) String() string
type Payload_Entry_BinaryValue ¶
type Payload_Entry_BinaryValue struct { // Binary value. BinaryValue []byte `protobuf:"bytes,3,opt,name=binary_value,json=binaryValue,proto3,oneof"` }
type Payload_Entry_TextValue ¶
type Payload_Entry_TextValue struct { // Text value. TextValue string `protobuf:"bytes,2,opt,name=text_value,json=textValue,proto3,oneof"` }
type Payload_Entry_Value ¶
type Payload_Entry_Value = isPayload_Entry_Value
type ScheduleVersionDestructionMetadata ¶
type ScheduleVersionDestructionMetadata struct { // ID of the secret whose version is being scheduled for destruction. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // ID of the version that is being scheduled for destruction. VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // Destruction timestamp. DestroyAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=destroy_at,json=destroyAt,proto3" json:"destroy_at,omitempty"` // contains filtered or unexported fields }
func (*ScheduleVersionDestructionMetadata) Descriptor
deprecated
func (*ScheduleVersionDestructionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ScheduleVersionDestructionMetadata.ProtoReflect.Descriptor instead.
func (*ScheduleVersionDestructionMetadata) GetDestroyAt ¶
func (x *ScheduleVersionDestructionMetadata) GetDestroyAt() *timestamppb.Timestamp
func (*ScheduleVersionDestructionMetadata) GetSecretId ¶
func (x *ScheduleVersionDestructionMetadata) GetSecretId() string
func (*ScheduleVersionDestructionMetadata) GetVersionId ¶
func (x *ScheduleVersionDestructionMetadata) GetVersionId() string
func (*ScheduleVersionDestructionMetadata) ProtoMessage ¶
func (*ScheduleVersionDestructionMetadata) ProtoMessage()
func (*ScheduleVersionDestructionMetadata) ProtoReflect ¶
func (x *ScheduleVersionDestructionMetadata) ProtoReflect() protoreflect.Message
func (*ScheduleVersionDestructionMetadata) Reset ¶
func (x *ScheduleVersionDestructionMetadata) Reset()
func (*ScheduleVersionDestructionMetadata) SetDestroyAt ¶
func (m *ScheduleVersionDestructionMetadata) SetDestroyAt(v *timestamppb.Timestamp)
func (*ScheduleVersionDestructionMetadata) SetSecretId ¶
func (m *ScheduleVersionDestructionMetadata) SetSecretId(v string)
func (*ScheduleVersionDestructionMetadata) SetVersionId ¶
func (m *ScheduleVersionDestructionMetadata) SetVersionId(v string)
func (*ScheduleVersionDestructionMetadata) String ¶
func (x *ScheduleVersionDestructionMetadata) String() string
type ScheduleVersionDestructionRequest ¶
type ScheduleVersionDestructionRequest struct { // ID of the secret whose version should be scheduled for destruction. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // ID of the version to be destroyed. VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // Time interval between the version destruction request and actual destruction. // Default value: 7 days. PendingPeriod *durationpb.Duration `protobuf:"bytes,3,opt,name=pending_period,json=pendingPeriod,proto3" json:"pending_period,omitempty"` // contains filtered or unexported fields }
func (*ScheduleVersionDestructionRequest) Descriptor
deprecated
func (*ScheduleVersionDestructionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ScheduleVersionDestructionRequest.ProtoReflect.Descriptor instead.
func (*ScheduleVersionDestructionRequest) GetPendingPeriod ¶
func (x *ScheduleVersionDestructionRequest) GetPendingPeriod() *durationpb.Duration
func (*ScheduleVersionDestructionRequest) GetSecretId ¶
func (x *ScheduleVersionDestructionRequest) GetSecretId() string
func (*ScheduleVersionDestructionRequest) GetVersionId ¶
func (x *ScheduleVersionDestructionRequest) GetVersionId() string
func (*ScheduleVersionDestructionRequest) ProtoMessage ¶
func (*ScheduleVersionDestructionRequest) ProtoMessage()
func (*ScheduleVersionDestructionRequest) ProtoReflect ¶
func (x *ScheduleVersionDestructionRequest) ProtoReflect() protoreflect.Message
func (*ScheduleVersionDestructionRequest) Reset ¶
func (x *ScheduleVersionDestructionRequest) Reset()
func (*ScheduleVersionDestructionRequest) SetPendingPeriod ¶
func (m *ScheduleVersionDestructionRequest) SetPendingPeriod(v *durationpb.Duration)
func (*ScheduleVersionDestructionRequest) SetSecretId ¶
func (m *ScheduleVersionDestructionRequest) SetSecretId(v string)
func (*ScheduleVersionDestructionRequest) SetVersionId ¶
func (m *ScheduleVersionDestructionRequest) SetVersionId(v string)
func (*ScheduleVersionDestructionRequest) String ¶
func (x *ScheduleVersionDestructionRequest) String() string
type Secret ¶
type Secret struct { // ID of the secret. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the folder that the secret belongs to. FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Name of the secret. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Description of the secret. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Custom labels for the secret as `key:value` pairs. Maximum 64 per key. Labels map[string]string `` /* 153-byte string literal not displayed */ // Optional ID of the KMS key will be used to encrypt and decrypt the secret. KmsKeyId string `protobuf:"bytes,7,opt,name=kms_key_id,json=kmsKeyId,proto3" json:"kms_key_id,omitempty"` // Status of the secret. Status Secret_Status `protobuf:"varint,8,opt,name=status,proto3,enum=yandex.cloud.lockbox.v1.Secret_Status" json:"status,omitempty"` // Current (i.e. the `latest`) version of the secret. CurrentVersion *Version `protobuf:"bytes,9,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty"` // Flag that inhibits deletion of the secret. DeletionProtection bool `protobuf:"varint,10,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"` // Types that are assignable to PayloadSpecification: // // *Secret_PasswordPayloadSpecification PayloadSpecification isSecret_PayloadSpecification `protobuf_oneof:"payload_specification"` // contains filtered or unexported fields }
A secret that may contain several versions of the payload.
func (*Secret) Descriptor
deprecated
func (*Secret) GetCreatedAt ¶
func (x *Secret) GetCreatedAt() *timestamppb.Timestamp
func (*Secret) GetCurrentVersion ¶
func (*Secret) GetDeletionProtection ¶
func (*Secret) GetDescription ¶
func (*Secret) GetFolderId ¶
func (*Secret) GetKmsKeyId ¶
func (*Secret) GetPasswordPayloadSpecification ¶
func (x *Secret) GetPasswordPayloadSpecification() *PasswordPayloadSpecification
func (*Secret) GetPayloadSpecification ¶
func (m *Secret) GetPayloadSpecification() isSecret_PayloadSpecification
func (*Secret) GetStatus ¶
func (x *Secret) GetStatus() Secret_Status
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) ProtoReflect ¶
func (x *Secret) ProtoReflect() protoreflect.Message
func (*Secret) SetCreatedAt ¶
func (m *Secret) SetCreatedAt(v *timestamppb.Timestamp)
func (*Secret) SetCurrentVersion ¶
func (*Secret) SetDeletionProtection ¶
func (*Secret) SetDescription ¶
func (*Secret) SetFolderId ¶
func (*Secret) SetKmsKeyId ¶
func (*Secret) SetPasswordPayloadSpecification ¶
func (m *Secret) SetPasswordPayloadSpecification(v *PasswordPayloadSpecification)
func (*Secret) SetPayloadSpecification ¶
func (m *Secret) SetPayloadSpecification(v Secret_PayloadSpecification)
func (*Secret) SetStatus ¶
func (m *Secret) SetStatus(v Secret_Status)
type SecretServiceClient ¶
type SecretServiceClient interface { // Returns the specified secret. // // To get the list of all available secrets, make a [List] request. // Use [PayloadService.Get] to get the payload (confidential data themselves) of the secret. Get(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*Secret, error) // Retrieves the list of secrets in the specified folder. List(ctx context.Context, in *ListSecretsRequest, opts ...grpc.CallOption) (*ListSecretsResponse, error) // Creates a secret in the specified folder. Create(ctx context.Context, in *CreateSecretRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified secret. Update(ctx context.Context, in *UpdateSecretRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified secret. Delete(ctx context.Context, in *DeleteSecretRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Activates the specified secret. Activate(ctx context.Context, in *ActivateSecretRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deactivates the specified secret. Deactivate(ctx context.Context, in *DeactivateSecretRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Retrieves the list of versions of the specified secret. ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error) // Adds new version based on a previous one. AddVersion(ctx context.Context, in *AddVersionRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Schedules the specified version for destruction. // // Scheduled destruction can be cancelled with the [SecretService.CancelVersionDestruction] method. ScheduleVersionDestruction(ctx context.Context, in *ScheduleVersionDestructionRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Cancels previously scheduled version destruction, if the version hasn't been destroyed yet. CancelVersionDestruction(ctx context.Context, in *CancelVersionDestructionRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Lists operations for the specified secret. ListOperations(ctx context.Context, in *ListSecretOperationsRequest, opts ...grpc.CallOption) (*ListSecretOperationsResponse, error) // Lists existing access bindings for the specified secret. ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error) // Sets access bindings for the secret. SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates access bindings for the secret. UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
SecretServiceClient is the client API for SecretService 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.
A set of methods for managing secrets.
func NewSecretServiceClient ¶
func NewSecretServiceClient(cc grpc.ClientConnInterface) SecretServiceClient
type SecretServiceServer ¶
type SecretServiceServer interface { // Returns the specified secret. // // To get the list of all available secrets, make a [List] request. // Use [PayloadService.Get] to get the payload (confidential data themselves) of the secret. Get(context.Context, *GetSecretRequest) (*Secret, error) // Retrieves the list of secrets in the specified folder. List(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error) // Creates a secret in the specified folder. Create(context.Context, *CreateSecretRequest) (*operation.Operation, error) // Updates the specified secret. Update(context.Context, *UpdateSecretRequest) (*operation.Operation, error) // Deletes the specified secret. Delete(context.Context, *DeleteSecretRequest) (*operation.Operation, error) // Activates the specified secret. Activate(context.Context, *ActivateSecretRequest) (*operation.Operation, error) // Deactivates the specified secret. Deactivate(context.Context, *DeactivateSecretRequest) (*operation.Operation, error) // Retrieves the list of versions of the specified secret. ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error) // Adds new version based on a previous one. AddVersion(context.Context, *AddVersionRequest) (*operation.Operation, error) // Schedules the specified version for destruction. // // Scheduled destruction can be cancelled with the [SecretService.CancelVersionDestruction] method. ScheduleVersionDestruction(context.Context, *ScheduleVersionDestructionRequest) (*operation.Operation, error) // Cancels previously scheduled version destruction, if the version hasn't been destroyed yet. CancelVersionDestruction(context.Context, *CancelVersionDestructionRequest) (*operation.Operation, error) // Lists operations for the specified secret. ListOperations(context.Context, *ListSecretOperationsRequest) (*ListSecretOperationsResponse, error) // Lists existing access bindings for the specified secret. ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error) // Sets access bindings for the secret. SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error) // Updates access bindings for the secret. UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error) }
SecretServiceServer is the server API for SecretService service. All implementations should embed UnimplementedSecretServiceServer for forward compatibility.
A set of methods for managing secrets.
type Secret_PasswordPayloadSpecification ¶
type Secret_PasswordPayloadSpecification struct {
PasswordPayloadSpecification *PasswordPayloadSpecification `protobuf:"bytes,11,opt,name=password_payload_specification,json=passwordPayloadSpecification,proto3,oneof"`
}
type Secret_PayloadSpecification ¶
type Secret_PayloadSpecification = isSecret_PayloadSpecification
type Secret_Status ¶
type Secret_Status int32
const ( Secret_STATUS_UNSPECIFIED Secret_Status = 0 // The secret is being created. Secret_CREATING Secret_Status = 1 // The secret is active and the secret payload can be accessed. // // Can be set to INACTIVE using the [SecretService.Deactivate] method. Secret_ACTIVE Secret_Status = 2 // The secret is inactive and unusable. // // Can be set to ACTIVE using the [SecretService.Deactivate] method. Secret_INACTIVE Secret_Status = 3 )
func (Secret_Status) Descriptor ¶
func (Secret_Status) Descriptor() protoreflect.EnumDescriptor
func (Secret_Status) Enum ¶
func (x Secret_Status) Enum() *Secret_Status
func (Secret_Status) EnumDescriptor
deprecated
func (Secret_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Secret_Status.Descriptor instead.
func (Secret_Status) Number ¶
func (x Secret_Status) Number() protoreflect.EnumNumber
func (Secret_Status) String ¶
func (x Secret_Status) String() string
func (Secret_Status) Type ¶
func (Secret_Status) Type() protoreflect.EnumType
type UnimplementedPayloadServiceServer ¶
type UnimplementedPayloadServiceServer struct{}
UnimplementedPayloadServiceServer should 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 (UnimplementedPayloadServiceServer) Get ¶
func (UnimplementedPayloadServiceServer) Get(context.Context, *GetPayloadRequest) (*Payload, error)
func (UnimplementedPayloadServiceServer) GetEx ¶
func (UnimplementedPayloadServiceServer) GetEx(context.Context, *GetExRequest) (*GetExResponse, error)
type UnimplementedSecretServiceServer ¶
type UnimplementedSecretServiceServer struct{}
UnimplementedSecretServiceServer should 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 (UnimplementedSecretServiceServer) Activate ¶
func (UnimplementedSecretServiceServer) Activate(context.Context, *ActivateSecretRequest) (*operation.Operation, error)
func (UnimplementedSecretServiceServer) AddVersion ¶
func (UnimplementedSecretServiceServer) AddVersion(context.Context, *AddVersionRequest) (*operation.Operation, error)
func (UnimplementedSecretServiceServer) CancelVersionDestruction ¶
func (UnimplementedSecretServiceServer) CancelVersionDestruction(context.Context, *CancelVersionDestructionRequest) (*operation.Operation, error)
func (UnimplementedSecretServiceServer) Create ¶
func (UnimplementedSecretServiceServer) Create(context.Context, *CreateSecretRequest) (*operation.Operation, error)
func (UnimplementedSecretServiceServer) Deactivate ¶
func (UnimplementedSecretServiceServer) Deactivate(context.Context, *DeactivateSecretRequest) (*operation.Operation, error)
func (UnimplementedSecretServiceServer) Delete ¶
func (UnimplementedSecretServiceServer) Delete(context.Context, *DeleteSecretRequest) (*operation.Operation, error)
func (UnimplementedSecretServiceServer) Get ¶
func (UnimplementedSecretServiceServer) Get(context.Context, *GetSecretRequest) (*Secret, error)
func (UnimplementedSecretServiceServer) List ¶
func (UnimplementedSecretServiceServer) List(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error)
func (UnimplementedSecretServiceServer) ListAccessBindings ¶
func (UnimplementedSecretServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
func (UnimplementedSecretServiceServer) ListOperations ¶
func (UnimplementedSecretServiceServer) ListOperations(context.Context, *ListSecretOperationsRequest) (*ListSecretOperationsResponse, error)
func (UnimplementedSecretServiceServer) ListVersions ¶
func (UnimplementedSecretServiceServer) ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
func (UnimplementedSecretServiceServer) ScheduleVersionDestruction ¶
func (UnimplementedSecretServiceServer) ScheduleVersionDestruction(context.Context, *ScheduleVersionDestructionRequest) (*operation.Operation, error)
func (UnimplementedSecretServiceServer) SetAccessBindings ¶
func (UnimplementedSecretServiceServer) SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
func (UnimplementedSecretServiceServer) Update ¶
func (UnimplementedSecretServiceServer) Update(context.Context, *UpdateSecretRequest) (*operation.Operation, error)
func (UnimplementedSecretServiceServer) UpdateAccessBindings ¶
func (UnimplementedSecretServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
type UnsafePayloadServiceServer ¶
type UnsafePayloadServiceServer interface {
// contains filtered or unexported methods
}
UnsafePayloadServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PayloadServiceServer will result in compilation errors.
type UnsafeSecretServiceServer ¶
type UnsafeSecretServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSecretServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SecretServiceServer will result in compilation errors.
type UpdateSecretMetadata ¶
type UpdateSecretMetadata struct { // ID of the secret being updated. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateSecretMetadata) Descriptor
deprecated
func (*UpdateSecretMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSecretMetadata.ProtoReflect.Descriptor instead.
func (*UpdateSecretMetadata) GetSecretId ¶
func (x *UpdateSecretMetadata) GetSecretId() string
func (*UpdateSecretMetadata) ProtoMessage ¶
func (*UpdateSecretMetadata) ProtoMessage()
func (*UpdateSecretMetadata) ProtoReflect ¶
func (x *UpdateSecretMetadata) ProtoReflect() protoreflect.Message
func (*UpdateSecretMetadata) Reset ¶
func (x *UpdateSecretMetadata) Reset()
func (*UpdateSecretMetadata) SetSecretId ¶
func (m *UpdateSecretMetadata) SetSecretId(v string)
func (*UpdateSecretMetadata) String ¶
func (x *UpdateSecretMetadata) String() string
type UpdateSecretRequest ¶
type UpdateSecretRequest struct { // ID of the secret to update. SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // Field mask that specifies which attributes of the secret are going to be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // New name of the secret. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // New description of the secret. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Custom labels for the secret as `key:value` pairs. Maximum 64 per key. Labels map[string]string `` /* 153-byte string literal not displayed */ // Flag that inhibits deletion of the secret. DeletionProtection bool `protobuf:"varint,6,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"` // Types that are assignable to PayloadSpecification: // // *UpdateSecretRequest_PasswordPayloadSpecification PayloadSpecification isUpdateSecretRequest_PayloadSpecification `protobuf_oneof:"payload_specification"` // contains filtered or unexported fields }
func (*UpdateSecretRequest) Descriptor
deprecated
func (*UpdateSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSecretRequest.ProtoReflect.Descriptor instead.
func (*UpdateSecretRequest) GetDeletionProtection ¶
func (x *UpdateSecretRequest) GetDeletionProtection() bool
func (*UpdateSecretRequest) GetDescription ¶
func (x *UpdateSecretRequest) GetDescription() string
func (*UpdateSecretRequest) GetLabels ¶
func (x *UpdateSecretRequest) GetLabels() map[string]string
func (*UpdateSecretRequest) GetName ¶
func (x *UpdateSecretRequest) GetName() string
func (*UpdateSecretRequest) GetPasswordPayloadSpecification ¶
func (x *UpdateSecretRequest) GetPasswordPayloadSpecification() *PasswordPayloadSpecification
func (*UpdateSecretRequest) GetPayloadSpecification ¶
func (m *UpdateSecretRequest) GetPayloadSpecification() isUpdateSecretRequest_PayloadSpecification
func (*UpdateSecretRequest) GetSecretId ¶
func (x *UpdateSecretRequest) GetSecretId() string
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) SetDeletionProtection ¶
func (m *UpdateSecretRequest) SetDeletionProtection(v bool)
func (*UpdateSecretRequest) SetDescription ¶
func (m *UpdateSecretRequest) SetDescription(v string)
func (*UpdateSecretRequest) SetLabels ¶
func (m *UpdateSecretRequest) SetLabels(v map[string]string)
func (*UpdateSecretRequest) SetName ¶
func (m *UpdateSecretRequest) SetName(v string)
func (*UpdateSecretRequest) SetPasswordPayloadSpecification ¶
func (m *UpdateSecretRequest) SetPasswordPayloadSpecification(v *PasswordPayloadSpecification)
func (*UpdateSecretRequest) SetPayloadSpecification ¶
func (m *UpdateSecretRequest) SetPayloadSpecification(v UpdateSecretRequest_PayloadSpecification)
func (*UpdateSecretRequest) SetSecretId ¶
func (m *UpdateSecretRequest) SetSecretId(v string)
func (*UpdateSecretRequest) SetUpdateMask ¶
func (m *UpdateSecretRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateSecretRequest) String ¶
func (x *UpdateSecretRequest) String() string
type UpdateSecretRequest_PasswordPayloadSpecification ¶
type UpdateSecretRequest_PasswordPayloadSpecification struct {
PasswordPayloadSpecification *PasswordPayloadSpecification `protobuf:"bytes,7,opt,name=password_payload_specification,json=passwordPayloadSpecification,proto3,oneof"`
}
type UpdateSecretRequest_PayloadSpecification ¶
type UpdateSecretRequest_PayloadSpecification = isUpdateSecretRequest_PayloadSpecification
type Version ¶
type Version struct { // ID of the version. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the secret that the version belongs to. SecretId string `protobuf:"bytes,2,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // Time when the version was created. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Time when the version is going to be destroyed. Empty unless the status // is `SCHEDULED_FOR_DESTRUCTION`. DestroyAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=destroy_at,json=destroyAt,proto3" json:"destroy_at,omitempty"` // Description of the version. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Status of the secret. Status Version_Status `protobuf:"varint,6,opt,name=status,proto3,enum=yandex.cloud.lockbox.v1.Version_Status" json:"status,omitempty"` // Keys of the entries contained in the version payload. PayloadEntryKeys []string `protobuf:"bytes,7,rep,name=payload_entry_keys,json=payloadEntryKeys,proto3" json:"payload_entry_keys,omitempty"` // Types that are assignable to PayloadSpecification: // // *Version_PasswordPayloadSpecification PayloadSpecification isVersion_PayloadSpecification `protobuf_oneof:"payload_specification"` // contains filtered or unexported fields }
func (*Version) Descriptor
deprecated
func (*Version) GetCreatedAt ¶
func (x *Version) GetCreatedAt() *timestamppb.Timestamp
func (*Version) GetDescription ¶
func (*Version) GetDestroyAt ¶
func (x *Version) GetDestroyAt() *timestamppb.Timestamp
func (*Version) GetPasswordPayloadSpecification ¶
func (x *Version) GetPasswordPayloadSpecification() *PasswordPayloadSpecification
func (*Version) GetPayloadEntryKeys ¶
func (*Version) GetPayloadSpecification ¶
func (m *Version) GetPayloadSpecification() isVersion_PayloadSpecification
func (*Version) GetSecretId ¶
func (*Version) GetStatus ¶
func (x *Version) GetStatus() Version_Status
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message
func (*Version) SetCreatedAt ¶
func (m *Version) SetCreatedAt(v *timestamppb.Timestamp)
func (*Version) SetDescription ¶
func (*Version) SetDestroyAt ¶
func (m *Version) SetDestroyAt(v *timestamppb.Timestamp)
func (*Version) SetPasswordPayloadSpecification ¶
func (m *Version) SetPasswordPayloadSpecification(v *PasswordPayloadSpecification)
func (*Version) SetPayloadEntryKeys ¶
func (*Version) SetPayloadSpecification ¶
func (m *Version) SetPayloadSpecification(v Version_PayloadSpecification)
func (*Version) SetSecretId ¶
func (*Version) SetStatus ¶
func (m *Version) SetStatus(v Version_Status)
type Version_PasswordPayloadSpecification ¶
type Version_PasswordPayloadSpecification struct {
PasswordPayloadSpecification *PasswordPayloadSpecification `protobuf:"bytes,8,opt,name=password_payload_specification,json=passwordPayloadSpecification,proto3,oneof"`
}
type Version_PayloadSpecification ¶
type Version_PayloadSpecification = isVersion_PayloadSpecification
type Version_Status ¶
type Version_Status int32
const ( Version_STATUS_UNSPECIFIED Version_Status = 0 // The version is active and the secret payload can be accessed. Version_ACTIVE Version_Status = 1 // The version is scheduled for destruction, the time when it will be destroyed // is specified in the [Version.destroy_at] field. Version_SCHEDULED_FOR_DESTRUCTION Version_Status = 2 // The version is destroyed and cannot be recovered. Version_DESTROYED Version_Status = 3 )
func (Version_Status) Descriptor ¶
func (Version_Status) Descriptor() protoreflect.EnumDescriptor
func (Version_Status) Enum ¶
func (x Version_Status) Enum() *Version_Status
func (Version_Status) EnumDescriptor
deprecated
func (Version_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Version_Status.Descriptor instead.
func (Version_Status) Number ¶
func (x Version_Status) Number() protoreflect.EnumNumber
func (Version_Status) String ¶
func (x Version_Status) String() string
func (Version_Status) Type ¶
func (Version_Status) Type() protoreflect.EnumType