Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterSecretServer(s grpc.ServiceRegistrar, srv SecretServer)
- func RegisterTrustedSecretServer(s grpc.ServiceRegistrar, srv TrustedSecretServer)
- type CreateSecretRequest
- func (*CreateSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSecretRequest) GetData() *_struct.Struct
- func (x *CreateSecretRequest) GetName() string
- func (x *CreateSecretRequest) GetProjectId() string
- func (x *CreateSecretRequest) GetResourceGroup() CreateSecretRequest_ResourceGroup
- func (x *CreateSecretRequest) GetSchemaId() string
- func (x *CreateSecretRequest) GetServiceAccountId() string
- func (x *CreateSecretRequest) GetTags() *_struct.Struct
- func (x *CreateSecretRequest) GetTrustedSecretId() string
- func (x *CreateSecretRequest) GetWorkspaceId() string
- func (*CreateSecretRequest) ProtoMessage()
- func (x *CreateSecretRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSecretRequest) Reset()
- func (x *CreateSecretRequest) String() string
- type CreateSecretRequest_ResourceGroup
- func (CreateSecretRequest_ResourceGroup) Descriptor() protoreflect.EnumDescriptor
- func (x CreateSecretRequest_ResourceGroup) Enum() *CreateSecretRequest_ResourceGroup
- func (CreateSecretRequest_ResourceGroup) EnumDescriptor() ([]byte, []int)deprecated
- func (x CreateSecretRequest_ResourceGroup) Number() protoreflect.EnumNumber
- func (x CreateSecretRequest_ResourceGroup) String() string
- func (CreateSecretRequest_ResourceGroup) Type() protoreflect.EnumType
- type CreateTrustedSecretRequest
- func (*CreateTrustedSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTrustedSecretRequest) GetData() *_struct.Struct
- func (x *CreateTrustedSecretRequest) GetName() string
- func (x *CreateTrustedSecretRequest) GetResourceGroup() CreateTrustedSecretRequest_ResourceGroup
- func (x *CreateTrustedSecretRequest) GetSchemaId() string
- func (x *CreateTrustedSecretRequest) GetTags() *_struct.Struct
- func (x *CreateTrustedSecretRequest) GetTrustedAccountId() string
- func (x *CreateTrustedSecretRequest) GetWorkspaceId() string
- func (*CreateTrustedSecretRequest) ProtoMessage()
- func (x *CreateTrustedSecretRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTrustedSecretRequest) Reset()
- func (x *CreateTrustedSecretRequest) String() string
- type CreateTrustedSecretRequest_ResourceGroup
- func (CreateTrustedSecretRequest_ResourceGroup) Descriptor() protoreflect.EnumDescriptor
- func (x CreateTrustedSecretRequest_ResourceGroup) Enum() *CreateTrustedSecretRequest_ResourceGroup
- func (CreateTrustedSecretRequest_ResourceGroup) EnumDescriptor() ([]byte, []int)deprecated
- func (x CreateTrustedSecretRequest_ResourceGroup) Number() protoreflect.EnumNumber
- func (x CreateTrustedSecretRequest_ResourceGroup) String() string
- func (CreateTrustedSecretRequest_ResourceGroup) Type() protoreflect.EnumType
- type GetSecretDataRequest
- func (*GetSecretDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecretDataRequest) GetDomainId() string
- func (x *GetSecretDataRequest) GetSecretId() string
- func (*GetSecretDataRequest) ProtoMessage()
- func (x *GetSecretDataRequest) ProtoReflect() protoreflect.Message
- func (x *GetSecretDataRequest) Reset()
- func (x *GetSecretDataRequest) String() string
- type GetTrustedSecretDataRequest
- func (*GetTrustedSecretDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTrustedSecretDataRequest) GetDomainId() string
- func (x *GetTrustedSecretDataRequest) GetTrustedSecretId() string
- func (*GetTrustedSecretDataRequest) ProtoMessage()
- func (x *GetTrustedSecretDataRequest) ProtoReflect() protoreflect.Message
- func (x *GetTrustedSecretDataRequest) Reset()
- func (x *GetTrustedSecretDataRequest) String() string
- type SecretClient
- type SecretDataInfo
- func (*SecretDataInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SecretDataInfo) GetData() *_struct.Struct
- func (x *SecretDataInfo) GetEncryptOptions() *_struct.Struct
- func (x *SecretDataInfo) GetEncrypted() bool
- func (*SecretDataInfo) ProtoMessage()
- func (x *SecretDataInfo) ProtoReflect() protoreflect.Message
- func (x *SecretDataInfo) Reset()
- func (x *SecretDataInfo) String() string
- type SecretInfo
- func (*SecretInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SecretInfo) GetCreatedAt() string
- func (x *SecretInfo) GetDomainId() string
- func (x *SecretInfo) GetName() string
- func (x *SecretInfo) GetProjectId() string
- func (x *SecretInfo) GetProvider() string
- func (x *SecretInfo) GetResourceGroup() SecretInfo_ResourceGroup
- func (x *SecretInfo) GetSchemaId() string
- func (x *SecretInfo) GetSecretId() string
- func (x *SecretInfo) GetServiceAccountId() string
- func (x *SecretInfo) GetTags() *_struct.Struct
- func (x *SecretInfo) GetTrustedSecretId() string
- func (x *SecretInfo) GetWorkspaceId() string
- func (*SecretInfo) ProtoMessage()
- func (x *SecretInfo) ProtoReflect() protoreflect.Message
- func (x *SecretInfo) Reset()
- func (x *SecretInfo) String() string
- type SecretInfo_ResourceGroup
- func (SecretInfo_ResourceGroup) Descriptor() protoreflect.EnumDescriptor
- func (x SecretInfo_ResourceGroup) Enum() *SecretInfo_ResourceGroup
- func (SecretInfo_ResourceGroup) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecretInfo_ResourceGroup) Number() protoreflect.EnumNumber
- func (x SecretInfo_ResourceGroup) String() string
- func (SecretInfo_ResourceGroup) Type() protoreflect.EnumType
- type SecretQuery
- func (*SecretQuery) Descriptor() ([]byte, []int)deprecated
- func (x *SecretQuery) GetName() string
- func (x *SecretQuery) GetProjectId() string
- func (x *SecretQuery) GetProvider() string
- func (x *SecretQuery) GetQuery() *v2.Query
- func (x *SecretQuery) GetSchemaId() string
- func (x *SecretQuery) GetSecretId() string
- func (x *SecretQuery) GetServiceAccountId() string
- func (x *SecretQuery) GetTrustedSecretId() string
- func (x *SecretQuery) GetWorkspaceId() string
- func (*SecretQuery) ProtoMessage()
- func (x *SecretQuery) ProtoReflect() protoreflect.Message
- func (x *SecretQuery) Reset()
- func (x *SecretQuery) String() string
- type SecretRequest
- type SecretServer
- type SecretStatQuery
- func (*SecretStatQuery) Descriptor() ([]byte, []int)deprecated
- func (x *SecretStatQuery) GetDomainId() string
- func (x *SecretStatQuery) GetQuery() *v2.StatisticsQuery
- func (*SecretStatQuery) ProtoMessage()
- func (x *SecretStatQuery) ProtoReflect() protoreflect.Message
- func (x *SecretStatQuery) Reset()
- func (x *SecretStatQuery) String() string
- type SecretsInfo
- func (*SecretsInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SecretsInfo) GetResults() []*SecretInfo
- func (x *SecretsInfo) GetTotalCount() int32
- func (*SecretsInfo) ProtoMessage()
- func (x *SecretsInfo) ProtoReflect() protoreflect.Message
- func (x *SecretsInfo) Reset()
- func (x *SecretsInfo) String() string
- type TrustedSecretClient
- type TrustedSecretDataInfo
- func (*TrustedSecretDataInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TrustedSecretDataInfo) GetData() *_struct.Struct
- func (x *TrustedSecretDataInfo) GetEncryptOptions() *_struct.Struct
- func (x *TrustedSecretDataInfo) GetEncrypted() bool
- func (*TrustedSecretDataInfo) ProtoMessage()
- func (x *TrustedSecretDataInfo) ProtoReflect() protoreflect.Message
- func (x *TrustedSecretDataInfo) Reset()
- func (x *TrustedSecretDataInfo) String() string
- type TrustedSecretInfo
- func (*TrustedSecretInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TrustedSecretInfo) GetCreatedAt() string
- func (x *TrustedSecretInfo) GetDomainId() string
- func (x *TrustedSecretInfo) GetName() string
- func (x *TrustedSecretInfo) GetProvider() string
- func (x *TrustedSecretInfo) GetResourceGroup() TrustedSecretInfo_ResourceGroup
- func (x *TrustedSecretInfo) GetSchemaId() string
- func (x *TrustedSecretInfo) GetTags() *_struct.Struct
- func (x *TrustedSecretInfo) GetTrustedAccountId() string
- func (x *TrustedSecretInfo) GetTrustedSecretId() string
- func (x *TrustedSecretInfo) GetWorkspaceId() string
- func (*TrustedSecretInfo) ProtoMessage()
- func (x *TrustedSecretInfo) ProtoReflect() protoreflect.Message
- func (x *TrustedSecretInfo) Reset()
- func (x *TrustedSecretInfo) String() string
- type TrustedSecretInfo_ResourceGroup
- func (TrustedSecretInfo_ResourceGroup) Descriptor() protoreflect.EnumDescriptor
- func (x TrustedSecretInfo_ResourceGroup) Enum() *TrustedSecretInfo_ResourceGroup
- func (TrustedSecretInfo_ResourceGroup) EnumDescriptor() ([]byte, []int)deprecated
- func (x TrustedSecretInfo_ResourceGroup) Number() protoreflect.EnumNumber
- func (x TrustedSecretInfo_ResourceGroup) String() string
- func (TrustedSecretInfo_ResourceGroup) Type() protoreflect.EnumType
- type TrustedSecretQuery
- func (*TrustedSecretQuery) Descriptor() ([]byte, []int)deprecated
- func (x *TrustedSecretQuery) GetName() string
- func (x *TrustedSecretQuery) GetProvider() string
- func (x *TrustedSecretQuery) GetQuery() *v2.Query
- func (x *TrustedSecretQuery) GetSchemaId() string
- func (x *TrustedSecretQuery) GetTrustedAccountId() string
- func (x *TrustedSecretQuery) GetTrustedSecretId() string
- func (x *TrustedSecretQuery) GetWorkspaceId() string
- func (*TrustedSecretQuery) ProtoMessage()
- func (x *TrustedSecretQuery) ProtoReflect() protoreflect.Message
- func (x *TrustedSecretQuery) Reset()
- func (x *TrustedSecretQuery) String() string
- type TrustedSecretRequest
- func (*TrustedSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TrustedSecretRequest) GetTrustedSecretId() string
- func (*TrustedSecretRequest) ProtoMessage()
- func (x *TrustedSecretRequest) ProtoReflect() protoreflect.Message
- func (x *TrustedSecretRequest) Reset()
- func (x *TrustedSecretRequest) String() string
- type TrustedSecretServer
- type TrustedSecretStatQuery
- func (*TrustedSecretStatQuery) Descriptor() ([]byte, []int)deprecated
- func (x *TrustedSecretStatQuery) GetDomainId() string
- func (x *TrustedSecretStatQuery) GetQuery() *v2.StatisticsQuery
- func (*TrustedSecretStatQuery) ProtoMessage()
- func (x *TrustedSecretStatQuery) ProtoReflect() protoreflect.Message
- func (x *TrustedSecretStatQuery) Reset()
- func (x *TrustedSecretStatQuery) String() string
- type TrustedSecretsInfo
- func (*TrustedSecretsInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TrustedSecretsInfo) GetResults() []*TrustedSecretInfo
- func (x *TrustedSecretsInfo) GetTotalCount() int32
- func (*TrustedSecretsInfo) ProtoMessage()
- func (x *TrustedSecretsInfo) ProtoReflect() protoreflect.Message
- func (x *TrustedSecretsInfo) Reset()
- func (x *TrustedSecretsInfo) String() string
- type UnimplementedSecretServer
- func (UnimplementedSecretServer) Create(context.Context, *CreateSecretRequest) (*SecretInfo, error)
- func (UnimplementedSecretServer) Delete(context.Context, *SecretRequest) (*empty.Empty, error)
- func (UnimplementedSecretServer) Get(context.Context, *SecretRequest) (*SecretInfo, error)
- func (UnimplementedSecretServer) GetData(context.Context, *GetSecretDataRequest) (*SecretDataInfo, error)
- func (UnimplementedSecretServer) List(context.Context, *SecretQuery) (*SecretsInfo, error)
- func (UnimplementedSecretServer) Stat(context.Context, *SecretStatQuery) (*_struct.Struct, error)
- func (UnimplementedSecretServer) Update(context.Context, *UpdateSecretRequest) (*SecretInfo, error)
- func (UnimplementedSecretServer) UpdateData(context.Context, *UpdateSecretDataRequest) (*empty.Empty, error)
- type UnimplementedTrustedSecretServer
- func (UnimplementedTrustedSecretServer) Create(context.Context, *CreateTrustedSecretRequest) (*TrustedSecretInfo, error)
- func (UnimplementedTrustedSecretServer) Delete(context.Context, *TrustedSecretRequest) (*empty.Empty, error)
- func (UnimplementedTrustedSecretServer) Get(context.Context, *TrustedSecretRequest) (*TrustedSecretInfo, error)
- func (UnimplementedTrustedSecretServer) GetData(context.Context, *GetTrustedSecretDataRequest) (*TrustedSecretDataInfo, error)
- func (UnimplementedTrustedSecretServer) List(context.Context, *TrustedSecretQuery) (*TrustedSecretsInfo, error)
- func (UnimplementedTrustedSecretServer) Stat(context.Context, *TrustedSecretStatQuery) (*_struct.Struct, error)
- func (UnimplementedTrustedSecretServer) Update(context.Context, *UpdateTrustedSecretRequest) (*TrustedSecretInfo, error)
- func (UnimplementedTrustedSecretServer) UpdateData(context.Context, *UpdateTrustedSecretDataRequest) (*empty.Empty, error)
- type UnsafeSecretServer
- type UnsafeTrustedSecretServer
- type UpdateSecretDataRequest
- func (*UpdateSecretDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSecretDataRequest) GetData() *_struct.Struct
- func (x *UpdateSecretDataRequest) GetSchemaId() string
- func (x *UpdateSecretDataRequest) GetSecretId() string
- func (*UpdateSecretDataRequest) ProtoMessage()
- func (x *UpdateSecretDataRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSecretDataRequest) Reset()
- func (x *UpdateSecretDataRequest) String() string
- type UpdateSecretRequest
- func (*UpdateSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSecretRequest) GetName() string
- func (x *UpdateSecretRequest) GetProjectId() string
- func (x *UpdateSecretRequest) GetSecretId() string
- func (x *UpdateSecretRequest) GetTags() *_struct.Struct
- func (*UpdateSecretRequest) ProtoMessage()
- func (x *UpdateSecretRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSecretRequest) Reset()
- func (x *UpdateSecretRequest) String() string
- type UpdateTrustedSecretDataRequest
- func (*UpdateTrustedSecretDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTrustedSecretDataRequest) GetData() *_struct.Struct
- func (x *UpdateTrustedSecretDataRequest) GetSchemaId() string
- func (x *UpdateTrustedSecretDataRequest) GetTrustedSecretId() string
- func (*UpdateTrustedSecretDataRequest) ProtoMessage()
- func (x *UpdateTrustedSecretDataRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTrustedSecretDataRequest) Reset()
- func (x *UpdateTrustedSecretDataRequest) String() string
- type UpdateTrustedSecretRequest
- func (*UpdateTrustedSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTrustedSecretRequest) GetName() string
- func (x *UpdateTrustedSecretRequest) GetTags() *_struct.Struct
- func (x *UpdateTrustedSecretRequest) GetTrustedSecretId() string
- func (*UpdateTrustedSecretRequest) ProtoMessage()
- func (x *UpdateTrustedSecretRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTrustedSecretRequest) Reset()
- func (x *UpdateTrustedSecretRequest) String() string
Constants ¶
const ( Secret_Create_FullMethodName = "/spaceone.api.secret.v1.Secret/create" Secret_Update_FullMethodName = "/spaceone.api.secret.v1.Secret/update" Secret_Delete_FullMethodName = "/spaceone.api.secret.v1.Secret/delete" Secret_UpdateData_FullMethodName = "/spaceone.api.secret.v1.Secret/update_data" Secret_GetData_FullMethodName = "/spaceone.api.secret.v1.Secret/get_data" Secret_Get_FullMethodName = "/spaceone.api.secret.v1.Secret/get" Secret_List_FullMethodName = "/spaceone.api.secret.v1.Secret/list" Secret_Stat_FullMethodName = "/spaceone.api.secret.v1.Secret/stat" )
const ( TrustedSecret_Create_FullMethodName = "/spaceone.api.secret.v1.TrustedSecret/create" TrustedSecret_Update_FullMethodName = "/spaceone.api.secret.v1.TrustedSecret/update" TrustedSecret_Delete_FullMethodName = "/spaceone.api.secret.v1.TrustedSecret/delete" TrustedSecret_UpdateData_FullMethodName = "/spaceone.api.secret.v1.TrustedSecret/update_data" TrustedSecret_GetData_FullMethodName = "/spaceone.api.secret.v1.TrustedSecret/get_data" TrustedSecret_Get_FullMethodName = "/spaceone.api.secret.v1.TrustedSecret/get" TrustedSecret_List_FullMethodName = "/spaceone.api.secret.v1.TrustedSecret/list" TrustedSecret_Stat_FullMethodName = "/spaceone.api.secret.v1.TrustedSecret/stat" )
Variables ¶
var ( CreateSecretRequest_ResourceGroup_name = map[int32]string{ 0: "RESOURCE_GROUP_NONE", 1: "DOMAIN", 2: "WORKSPACE", 3: "PROJECT", } CreateSecretRequest_ResourceGroup_value = map[string]int32{ "RESOURCE_GROUP_NONE": 0, "DOMAIN": 1, "WORKSPACE": 2, "PROJECT": 3, } )
Enum value maps for CreateSecretRequest_ResourceGroup.
var ( SecretInfo_ResourceGroup_name = map[int32]string{ 0: "RESOURCE_GROUP_NONE", 1: "DOMAIN", 2: "WORKSPACE", 3: "PROJECT", } SecretInfo_ResourceGroup_value = map[string]int32{ "RESOURCE_GROUP_NONE": 0, "DOMAIN": 1, "WORKSPACE": 2, "PROJECT": 3, } )
Enum value maps for SecretInfo_ResourceGroup.
var ( CreateTrustedSecretRequest_ResourceGroup_name = map[int32]string{ 0: "RESOURCE_GROUP_NONE", 1: "DOMAIN", 2: "WORKSPACE", } CreateTrustedSecretRequest_ResourceGroup_value = map[string]int32{ "RESOURCE_GROUP_NONE": 0, "DOMAIN": 1, "WORKSPACE": 2, } )
Enum value maps for CreateTrustedSecretRequest_ResourceGroup.
var ( TrustedSecretInfo_ResourceGroup_name = map[int32]string{ 0: "RESOURCE_GROUP_NONE", 1: "DOMAIN", 2: "WORKSPACE", } TrustedSecretInfo_ResourceGroup_value = map[string]int32{ "RESOURCE_GROUP_NONE": 0, "DOMAIN": 1, "WORKSPACE": 2, } )
Enum value maps for TrustedSecretInfo_ResourceGroup.
var File_spaceone_api_secret_v1_secret_proto protoreflect.FileDescriptor
var File_spaceone_api_secret_v1_trusted_secret_proto protoreflect.FileDescriptor
var Secret_ServiceDesc = grpc.ServiceDesc{ ServiceName: "spaceone.api.secret.v1.Secret", HandlerType: (*SecretServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "create", Handler: _Secret_Create_Handler, }, { MethodName: "update", Handler: _Secret_Update_Handler, }, { MethodName: "delete", Handler: _Secret_Delete_Handler, }, { MethodName: "update_data", Handler: _Secret_UpdateData_Handler, }, { MethodName: "get_data", Handler: _Secret_GetData_Handler, }, { MethodName: "get", Handler: _Secret_Get_Handler, }, { MethodName: "list", Handler: _Secret_List_Handler, }, { MethodName: "stat", Handler: _Secret_Stat_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spaceone/api/secret/v1/secret.proto", }
Secret_ServiceDesc is the grpc.ServiceDesc for Secret service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TrustedSecret_ServiceDesc = grpc.ServiceDesc{ ServiceName: "spaceone.api.secret.v1.TrustedSecret", HandlerType: (*TrustedSecretServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "create", Handler: _TrustedSecret_Create_Handler, }, { MethodName: "update", Handler: _TrustedSecret_Update_Handler, }, { MethodName: "delete", Handler: _TrustedSecret_Delete_Handler, }, { MethodName: "update_data", Handler: _TrustedSecret_UpdateData_Handler, }, { MethodName: "get_data", Handler: _TrustedSecret_GetData_Handler, }, { MethodName: "get", Handler: _TrustedSecret_Get_Handler, }, { MethodName: "list", Handler: _TrustedSecret_List_Handler, }, { MethodName: "stat", Handler: _TrustedSecret_Stat_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spaceone/api/secret/v1/trusted_secret.proto", }
TrustedSecret_ServiceDesc is the grpc.ServiceDesc for TrustedSecret service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSecretServer ¶
func RegisterSecretServer(s grpc.ServiceRegistrar, srv SecretServer)
func RegisterTrustedSecretServer ¶
func RegisterTrustedSecretServer(s grpc.ServiceRegistrar, srv TrustedSecretServer)
Types ¶
type CreateSecretRequest ¶
type CreateSecretRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Data *_struct.Struct `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // +optional SchemaId string `protobuf:"bytes,3,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"` // +optional Tags *_struct.Struct `protobuf:"bytes,4,opt,name=tags,proto3" json:"tags,omitempty"` ResourceGroup CreateSecretRequest_ResourceGroup `` /* 164-byte string literal not displayed */ // +optional WorkspaceId string `protobuf:"bytes,21,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` // +optional ProjectId string `protobuf:"bytes,22,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // +optional ServiceAccountId string `protobuf:"bytes,23,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // +optional TrustedSecretId string `protobuf:"bytes,24,opt,name=trusted_secret_id,json=trustedSecretId,proto3" json:"trusted_secret_id,omitempty"` // contains filtered or unexported fields }
{ "name": "Cloudforet AWS Dev", "data": "********", "schema_id": "aws_access_key", "resource_group": "PROJECT", "service_account_id": "sa-123456789012", "project_id": "project-123456789012" }
func (*CreateSecretRequest) Descriptor
deprecated
func (*CreateSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSecretRequest.ProtoReflect.Descriptor instead.
func (*CreateSecretRequest) GetData ¶
func (x *CreateSecretRequest) GetData() *_struct.Struct
func (*CreateSecretRequest) GetName ¶
func (x *CreateSecretRequest) GetName() string
func (*CreateSecretRequest) GetProjectId ¶
func (x *CreateSecretRequest) GetProjectId() string
func (*CreateSecretRequest) GetResourceGroup ¶
func (x *CreateSecretRequest) GetResourceGroup() CreateSecretRequest_ResourceGroup
func (*CreateSecretRequest) GetSchemaId ¶
func (x *CreateSecretRequest) GetSchemaId() string
func (*CreateSecretRequest) GetServiceAccountId ¶
func (x *CreateSecretRequest) GetServiceAccountId() string
func (*CreateSecretRequest) GetTags ¶
func (x *CreateSecretRequest) GetTags() *_struct.Struct
func (*CreateSecretRequest) GetTrustedSecretId ¶
func (x *CreateSecretRequest) GetTrustedSecretId() string
func (*CreateSecretRequest) GetWorkspaceId ¶
func (x *CreateSecretRequest) GetWorkspaceId() string
func (*CreateSecretRequest) ProtoMessage ¶
func (*CreateSecretRequest) ProtoMessage()
func (*CreateSecretRequest) ProtoReflect ¶
func (x *CreateSecretRequest) ProtoReflect() protoreflect.Message
func (*CreateSecretRequest) Reset ¶
func (x *CreateSecretRequest) Reset()
func (*CreateSecretRequest) String ¶
func (x *CreateSecretRequest) String() string
type CreateSecretRequest_ResourceGroup ¶
type CreateSecretRequest_ResourceGroup int32
const ( CreateSecretRequest_RESOURCE_GROUP_NONE CreateSecretRequest_ResourceGroup = 0 CreateSecretRequest_DOMAIN CreateSecretRequest_ResourceGroup = 1 CreateSecretRequest_WORKSPACE CreateSecretRequest_ResourceGroup = 2 CreateSecretRequest_PROJECT CreateSecretRequest_ResourceGroup = 3 )
func (CreateSecretRequest_ResourceGroup) Descriptor ¶
func (CreateSecretRequest_ResourceGroup) Descriptor() protoreflect.EnumDescriptor
func (CreateSecretRequest_ResourceGroup) Enum ¶
func (x CreateSecretRequest_ResourceGroup) Enum() *CreateSecretRequest_ResourceGroup
func (CreateSecretRequest_ResourceGroup) EnumDescriptor
deprecated
func (CreateSecretRequest_ResourceGroup) EnumDescriptor() ([]byte, []int)
Deprecated: Use CreateSecretRequest_ResourceGroup.Descriptor instead.
func (CreateSecretRequest_ResourceGroup) Number ¶
func (x CreateSecretRequest_ResourceGroup) Number() protoreflect.EnumNumber
func (CreateSecretRequest_ResourceGroup) String ¶
func (x CreateSecretRequest_ResourceGroup) String() string
func (CreateSecretRequest_ResourceGroup) Type ¶
func (CreateSecretRequest_ResourceGroup) Type() protoreflect.EnumType
type CreateTrustedSecretRequest ¶
type CreateTrustedSecretRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Data *_struct.Struct `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // +optional SchemaId string `protobuf:"bytes,3,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"` // +optional Tags *_struct.Struct `protobuf:"bytes,4,opt,name=tags,proto3" json:"tags,omitempty"` ResourceGroup CreateTrustedSecretRequest_ResourceGroup `` /* 171-byte string literal not displayed */ // +optional WorkspaceId string `protobuf:"bytes,21,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` // +optional TrustedAccountId string `protobuf:"bytes,22,opt,name=trusted_account_id,json=trustedAccountId,proto3" json:"trusted_account_id,omitempty"` // contains filtered or unexported fields }
{ "name": "Cloudforet Broker Account - Managed", "data": "********", "schema_id": "aws_access_key", "trusted_account_id": "trusted-sa-123456789012", "tags": {} "resource_group": "DOMAIN" }
func (*CreateTrustedSecretRequest) Descriptor
deprecated
func (*CreateTrustedSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTrustedSecretRequest.ProtoReflect.Descriptor instead.
func (*CreateTrustedSecretRequest) GetData ¶
func (x *CreateTrustedSecretRequest) GetData() *_struct.Struct
func (*CreateTrustedSecretRequest) GetName ¶
func (x *CreateTrustedSecretRequest) GetName() string
func (*CreateTrustedSecretRequest) GetResourceGroup ¶
func (x *CreateTrustedSecretRequest) GetResourceGroup() CreateTrustedSecretRequest_ResourceGroup
func (*CreateTrustedSecretRequest) GetSchemaId ¶
func (x *CreateTrustedSecretRequest) GetSchemaId() string
func (*CreateTrustedSecretRequest) GetTags ¶
func (x *CreateTrustedSecretRequest) GetTags() *_struct.Struct
func (*CreateTrustedSecretRequest) GetTrustedAccountId ¶
func (x *CreateTrustedSecretRequest) GetTrustedAccountId() string
func (*CreateTrustedSecretRequest) GetWorkspaceId ¶
func (x *CreateTrustedSecretRequest) GetWorkspaceId() string
func (*CreateTrustedSecretRequest) ProtoMessage ¶
func (*CreateTrustedSecretRequest) ProtoMessage()
func (*CreateTrustedSecretRequest) ProtoReflect ¶
func (x *CreateTrustedSecretRequest) ProtoReflect() protoreflect.Message
func (*CreateTrustedSecretRequest) Reset ¶
func (x *CreateTrustedSecretRequest) Reset()
func (*CreateTrustedSecretRequest) String ¶
func (x *CreateTrustedSecretRequest) String() string
type CreateTrustedSecretRequest_ResourceGroup ¶
type CreateTrustedSecretRequest_ResourceGroup int32
const ( CreateTrustedSecretRequest_RESOURCE_GROUP_NONE CreateTrustedSecretRequest_ResourceGroup = 0 CreateTrustedSecretRequest_DOMAIN CreateTrustedSecretRequest_ResourceGroup = 1 CreateTrustedSecretRequest_WORKSPACE CreateTrustedSecretRequest_ResourceGroup = 2 )
func (CreateTrustedSecretRequest_ResourceGroup) Descriptor ¶
func (CreateTrustedSecretRequest_ResourceGroup) Descriptor() protoreflect.EnumDescriptor
func (CreateTrustedSecretRequest_ResourceGroup) EnumDescriptor
deprecated
func (CreateTrustedSecretRequest_ResourceGroup) EnumDescriptor() ([]byte, []int)
Deprecated: Use CreateTrustedSecretRequest_ResourceGroup.Descriptor instead.
func (CreateTrustedSecretRequest_ResourceGroup) Number ¶
func (x CreateTrustedSecretRequest_ResourceGroup) Number() protoreflect.EnumNumber
func (CreateTrustedSecretRequest_ResourceGroup) String ¶
func (x CreateTrustedSecretRequest_ResourceGroup) String() string
func (CreateTrustedSecretRequest_ResourceGroup) Type ¶
func (CreateTrustedSecretRequest_ResourceGroup) Type() protoreflect.EnumType
type GetSecretDataRequest ¶
type GetSecretDataRequest struct { SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` DomainId string `protobuf:"bytes,21,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` // contains filtered or unexported fields }
{ "secret_id": "secret-123456789012", "domain_id": "domain-12345abcde" }
func (*GetSecretDataRequest) Descriptor
deprecated
func (*GetSecretDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSecretDataRequest.ProtoReflect.Descriptor instead.
func (*GetSecretDataRequest) GetDomainId ¶
func (x *GetSecretDataRequest) GetDomainId() string
func (*GetSecretDataRequest) GetSecretId ¶
func (x *GetSecretDataRequest) GetSecretId() string
func (*GetSecretDataRequest) ProtoMessage ¶
func (*GetSecretDataRequest) ProtoMessage()
func (*GetSecretDataRequest) ProtoReflect ¶
func (x *GetSecretDataRequest) ProtoReflect() protoreflect.Message
func (*GetSecretDataRequest) Reset ¶
func (x *GetSecretDataRequest) Reset()
func (*GetSecretDataRequest) String ¶
func (x *GetSecretDataRequest) String() string
type GetTrustedSecretDataRequest ¶
type GetTrustedSecretDataRequest struct { TrustedSecretId string `protobuf:"bytes,1,opt,name=trusted_secret_id,json=trustedSecretId,proto3" json:"trusted_secret_id,omitempty"` DomainId string `protobuf:"bytes,21,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` // contains filtered or unexported fields }
{ "trusted_secret_id": "ta-123456789012", "domain_id": "domain-12345abcde" }
func (*GetTrustedSecretDataRequest) Descriptor
deprecated
func (*GetTrustedSecretDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTrustedSecretDataRequest.ProtoReflect.Descriptor instead.
func (*GetTrustedSecretDataRequest) GetDomainId ¶
func (x *GetTrustedSecretDataRequest) GetDomainId() string
func (*GetTrustedSecretDataRequest) GetTrustedSecretId ¶
func (x *GetTrustedSecretDataRequest) GetTrustedSecretId() string
func (*GetTrustedSecretDataRequest) ProtoMessage ¶
func (*GetTrustedSecretDataRequest) ProtoMessage()
func (*GetTrustedSecretDataRequest) ProtoReflect ¶
func (x *GetTrustedSecretDataRequest) ProtoReflect() protoreflect.Message
func (*GetTrustedSecretDataRequest) Reset ¶
func (x *GetTrustedSecretDataRequest) Reset()
func (*GetTrustedSecretDataRequest) String ¶
func (x *GetTrustedSecretDataRequest) String() string
type SecretClient ¶
type SecretClient interface { // Create a new secret. // Created secret is encrypted and stored securely. // It can be used to link to a trusted secret if you request it with 'trusted_secret_id' in the parameter. Create(ctx context.Context, in *CreateSecretRequest, opts ...grpc.CallOption) (*SecretInfo, error) // Updates a specific secret's information. // You can only change the 'name' and 'tags', and to change the data you must use the update_data API. Update(ctx context.Context, in *UpdateSecretRequest, opts ...grpc.CallOption) (*SecretInfo, error) // Deletes a specific secret. Delete(ctx context.Context, in *SecretRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Updates a specific secret's data. // Updated secret is encrypted and stored securely. UpdateData(ctx context.Context, in *UpdateSecretDataRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Get a specific secret's data. // This API is for internal system use only. GetData(ctx context.Context, in *GetSecretDataRequest, opts ...grpc.CallOption) (*SecretDataInfo, error) // Get a specific secret's information. Get(ctx context.Context, in *SecretRequest, opts ...grpc.CallOption) (*SecretInfo, error) // Queries a list of secrets. // You can use a query to get a filtered list of secrets. List(ctx context.Context, in *SecretQuery, opts ...grpc.CallOption) (*SecretsInfo, error) Stat(ctx context.Context, in *SecretStatQuery, opts ...grpc.CallOption) (*_struct.Struct, error) }
SecretClient is the client API for Secret service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSecretClient ¶
func NewSecretClient(cc grpc.ClientConnInterface) SecretClient
type SecretDataInfo ¶
type SecretDataInfo struct { Encrypted bool `protobuf:"varint,1,opt,name=encrypted,proto3" json:"encrypted,omitempty"` EncryptOptions *_struct.Struct `protobuf:"bytes,2,opt,name=encrypt_options,json=encryptOptions,proto3" json:"encrypt_options,omitempty"` Data *_struct.Struct `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SecretDataInfo) Descriptor
deprecated
func (*SecretDataInfo) Descriptor() ([]byte, []int)
Deprecated: Use SecretDataInfo.ProtoReflect.Descriptor instead.
func (*SecretDataInfo) GetData ¶
func (x *SecretDataInfo) GetData() *_struct.Struct
func (*SecretDataInfo) GetEncryptOptions ¶
func (x *SecretDataInfo) GetEncryptOptions() *_struct.Struct
func (*SecretDataInfo) GetEncrypted ¶
func (x *SecretDataInfo) GetEncrypted() bool
func (*SecretDataInfo) ProtoMessage ¶
func (*SecretDataInfo) ProtoMessage()
func (*SecretDataInfo) ProtoReflect ¶
func (x *SecretDataInfo) ProtoReflect() protoreflect.Message
func (*SecretDataInfo) Reset ¶
func (x *SecretDataInfo) Reset()
func (*SecretDataInfo) String ¶
func (x *SecretDataInfo) String() string
type SecretInfo ¶
type SecretInfo struct { SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` SchemaId string `protobuf:"bytes,3,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"` Provider string `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"` Tags *_struct.Struct `protobuf:"bytes,5,opt,name=tags,proto3" json:"tags,omitempty"` ResourceGroup SecretInfo_ResourceGroup `` /* 155-byte string literal not displayed */ DomainId string `protobuf:"bytes,21,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` WorkspaceId string `protobuf:"bytes,22,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` ProjectId string `protobuf:"bytes,23,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` ServiceAccountId string `protobuf:"bytes,24,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` TrustedSecretId string `protobuf:"bytes,25,opt,name=trusted_secret_id,json=trustedSecretId,proto3" json:"trusted_secret_id,omitempty"` CreatedAt string `protobuf:"bytes,31,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
{ "secret_id": "secret-123456789012", "name": "aws-dev", "tags": {}, "schema_id": "aws_access_key", "provider": "aws", "service_account_id": "sa-123456789012", "resource_group": "PROJECT", "project_id": "project-123456789012", "workspace_id": "workspace-123456789012", "domain_id": "domain-123456789012", "created_at": "2022-01-01T06:10:14.851Z" }
func (*SecretInfo) Descriptor
deprecated
func (*SecretInfo) Descriptor() ([]byte, []int)
Deprecated: Use SecretInfo.ProtoReflect.Descriptor instead.
func (*SecretInfo) GetCreatedAt ¶
func (x *SecretInfo) GetCreatedAt() string
func (*SecretInfo) GetDomainId ¶
func (x *SecretInfo) GetDomainId() string
func (*SecretInfo) GetName ¶
func (x *SecretInfo) GetName() string
func (*SecretInfo) GetProjectId ¶
func (x *SecretInfo) GetProjectId() string
func (*SecretInfo) GetProvider ¶
func (x *SecretInfo) GetProvider() string
func (*SecretInfo) GetResourceGroup ¶
func (x *SecretInfo) GetResourceGroup() SecretInfo_ResourceGroup
func (*SecretInfo) GetSchemaId ¶
func (x *SecretInfo) GetSchemaId() string
func (*SecretInfo) GetSecretId ¶
func (x *SecretInfo) GetSecretId() string
func (*SecretInfo) GetServiceAccountId ¶
func (x *SecretInfo) GetServiceAccountId() string
func (*SecretInfo) GetTags ¶
func (x *SecretInfo) GetTags() *_struct.Struct
func (*SecretInfo) GetTrustedSecretId ¶
func (x *SecretInfo) GetTrustedSecretId() string
func (*SecretInfo) GetWorkspaceId ¶
func (x *SecretInfo) GetWorkspaceId() string
func (*SecretInfo) ProtoMessage ¶
func (*SecretInfo) ProtoMessage()
func (*SecretInfo) ProtoReflect ¶
func (x *SecretInfo) ProtoReflect() protoreflect.Message
func (*SecretInfo) Reset ¶
func (x *SecretInfo) Reset()
func (*SecretInfo) String ¶
func (x *SecretInfo) String() string
type SecretInfo_ResourceGroup ¶
type SecretInfo_ResourceGroup int32
const ( SecretInfo_RESOURCE_GROUP_NONE SecretInfo_ResourceGroup = 0 SecretInfo_DOMAIN SecretInfo_ResourceGroup = 1 SecretInfo_WORKSPACE SecretInfo_ResourceGroup = 2 SecretInfo_PROJECT SecretInfo_ResourceGroup = 3 )
func (SecretInfo_ResourceGroup) Descriptor ¶
func (SecretInfo_ResourceGroup) Descriptor() protoreflect.EnumDescriptor
func (SecretInfo_ResourceGroup) Enum ¶
func (x SecretInfo_ResourceGroup) Enum() *SecretInfo_ResourceGroup
func (SecretInfo_ResourceGroup) EnumDescriptor
deprecated
func (SecretInfo_ResourceGroup) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecretInfo_ResourceGroup.Descriptor instead.
func (SecretInfo_ResourceGroup) Number ¶
func (x SecretInfo_ResourceGroup) Number() protoreflect.EnumNumber
func (SecretInfo_ResourceGroup) String ¶
func (x SecretInfo_ResourceGroup) String() string
func (SecretInfo_ResourceGroup) Type ¶
func (SecretInfo_ResourceGroup) Type() protoreflect.EnumType
type SecretQuery ¶
type SecretQuery struct { // +optional Query *v2.Query `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // +optional SecretId string `protobuf:"bytes,2,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // / +optional Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // +optional SchemaId string `protobuf:"bytes,4,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"` // +optional Provider string `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"` // +optional WorkspaceId string `protobuf:"bytes,22,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` // +optional ProjectId string `protobuf:"bytes,21,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // +optional ServiceAccountId string `protobuf:"bytes,23,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // +optional TrustedSecretId string `protobuf:"bytes,24,opt,name=trusted_secret_id,json=trustedSecretId,proto3" json:"trusted_secret_id,omitempty"` // contains filtered or unexported fields }
{ "query": {} }
func (*SecretQuery) Descriptor
deprecated
func (*SecretQuery) Descriptor() ([]byte, []int)
Deprecated: Use SecretQuery.ProtoReflect.Descriptor instead.
func (*SecretQuery) GetName ¶
func (x *SecretQuery) GetName() string
func (*SecretQuery) GetProjectId ¶
func (x *SecretQuery) GetProjectId() string
func (*SecretQuery) GetProvider ¶
func (x *SecretQuery) GetProvider() string
func (*SecretQuery) GetQuery ¶
func (x *SecretQuery) GetQuery() *v2.Query
func (*SecretQuery) GetSchemaId ¶
func (x *SecretQuery) GetSchemaId() string
func (*SecretQuery) GetSecretId ¶
func (x *SecretQuery) GetSecretId() string
func (*SecretQuery) GetServiceAccountId ¶
func (x *SecretQuery) GetServiceAccountId() string
func (*SecretQuery) GetTrustedSecretId ¶
func (x *SecretQuery) GetTrustedSecretId() string
func (*SecretQuery) GetWorkspaceId ¶
func (x *SecretQuery) GetWorkspaceId() string
func (*SecretQuery) ProtoMessage ¶
func (*SecretQuery) ProtoMessage()
func (*SecretQuery) ProtoReflect ¶
func (x *SecretQuery) ProtoReflect() protoreflect.Message
func (*SecretQuery) Reset ¶
func (x *SecretQuery) Reset()
func (*SecretQuery) String ¶
func (x *SecretQuery) String() string
type SecretRequest ¶
type SecretRequest struct { SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // contains filtered or unexported fields }
{ "secret_id": "secret-123456789012" }
func (*SecretRequest) Descriptor
deprecated
func (*SecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use SecretRequest.ProtoReflect.Descriptor instead.
func (*SecretRequest) GetSecretId ¶
func (x *SecretRequest) GetSecretId() string
func (*SecretRequest) ProtoMessage ¶
func (*SecretRequest) ProtoMessage()
func (*SecretRequest) ProtoReflect ¶
func (x *SecretRequest) ProtoReflect() protoreflect.Message
func (*SecretRequest) Reset ¶
func (x *SecretRequest) Reset()
func (*SecretRequest) String ¶
func (x *SecretRequest) String() string
type SecretServer ¶
type SecretServer interface { // Create a new secret. // Created secret is encrypted and stored securely. // It can be used to link to a trusted secret if you request it with 'trusted_secret_id' in the parameter. Create(context.Context, *CreateSecretRequest) (*SecretInfo, error) // Updates a specific secret's information. // You can only change the 'name' and 'tags', and to change the data you must use the update_data API. Update(context.Context, *UpdateSecretRequest) (*SecretInfo, error) // Deletes a specific secret. Delete(context.Context, *SecretRequest) (*empty.Empty, error) // Updates a specific secret's data. // Updated secret is encrypted and stored securely. UpdateData(context.Context, *UpdateSecretDataRequest) (*empty.Empty, error) // Get a specific secret's data. // This API is for internal system use only. GetData(context.Context, *GetSecretDataRequest) (*SecretDataInfo, error) // Get a specific secret's information. Get(context.Context, *SecretRequest) (*SecretInfo, error) // Queries a list of secrets. // You can use a query to get a filtered list of secrets. List(context.Context, *SecretQuery) (*SecretsInfo, error) Stat(context.Context, *SecretStatQuery) (*_struct.Struct, error) // contains filtered or unexported methods }
SecretServer is the server API for Secret service. All implementations must embed UnimplementedSecretServer for forward compatibility
type SecretStatQuery ¶
type SecretStatQuery struct { Query *v2.StatisticsQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` DomainId string `protobuf:"bytes,2,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` // contains filtered or unexported fields }
func (*SecretStatQuery) Descriptor
deprecated
func (*SecretStatQuery) Descriptor() ([]byte, []int)
Deprecated: Use SecretStatQuery.ProtoReflect.Descriptor instead.
func (*SecretStatQuery) GetDomainId ¶
func (x *SecretStatQuery) GetDomainId() string
func (*SecretStatQuery) GetQuery ¶
func (x *SecretStatQuery) GetQuery() *v2.StatisticsQuery
func (*SecretStatQuery) ProtoMessage ¶
func (*SecretStatQuery) ProtoMessage()
func (*SecretStatQuery) ProtoReflect ¶
func (x *SecretStatQuery) ProtoReflect() protoreflect.Message
func (*SecretStatQuery) Reset ¶
func (x *SecretStatQuery) Reset()
func (*SecretStatQuery) String ¶
func (x *SecretStatQuery) String() string
type SecretsInfo ¶
type SecretsInfo struct { Results []*SecretInfo `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // contains filtered or unexported fields }
{ "results": [ { "secret_id": "secret-123456789012", "name": "aws-dev", "tags": {}, "schema": "aws_access_key", "provider": "aws", "service_account_id": "sa-123456789012", "resource_group": "PROJECT", "workspace_id": "workspace-123456789012", "project_id": "project-123456789012", "domain_id": "domain-123456789012", "created_at": "2022-01-01T06:10:14.851Z" }, { "secret_id": "secret-987654321098", "name": "plugin-credentials", "tags": {}, "resource_group": "WORKSPACE", "workspace_id": "workspace-123456789012", "domain_id": "domain-123456789012", "created_at": "2022-01-01T02:31:01.709Z" } ], "total_count": 2 }
func (*SecretsInfo) Descriptor
deprecated
func (*SecretsInfo) Descriptor() ([]byte, []int)
Deprecated: Use SecretsInfo.ProtoReflect.Descriptor instead.
func (*SecretsInfo) GetResults ¶
func (x *SecretsInfo) GetResults() []*SecretInfo
func (*SecretsInfo) GetTotalCount ¶
func (x *SecretsInfo) GetTotalCount() int32
func (*SecretsInfo) ProtoMessage ¶
func (*SecretsInfo) ProtoMessage()
func (*SecretsInfo) ProtoReflect ¶
func (x *SecretsInfo) ProtoReflect() protoreflect.Message
func (*SecretsInfo) Reset ¶
func (x *SecretsInfo) Reset()
func (*SecretsInfo) String ¶
func (x *SecretsInfo) String() string
type TrustedSecretClient ¶
type TrustedSecretClient interface { // Create a new trusted secret. // Created trusted secret is encrypted and stored securely. Create(ctx context.Context, in *CreateTrustedSecretRequest, opts ...grpc.CallOption) (*TrustedSecretInfo, error) // Updates a specific trusted secret's information. // You can only change the 'name' and 'tags', and to change the data you must use the update_data API. Update(ctx context.Context, in *UpdateTrustedSecretRequest, opts ...grpc.CallOption) (*TrustedSecretInfo, error) // Deletes a specific trusted secret. // If a trusted secret is attached to a Secret, it cannot be deleted. Delete(ctx context.Context, in *TrustedSecretRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Updates a specific trusted secret's data. // Updated trusted secret is encrypted and stored securely. UpdateData(ctx context.Context, in *UpdateTrustedSecretDataRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Get a specific secret's data. // This API is for internal system use only. GetData(ctx context.Context, in *GetTrustedSecretDataRequest, opts ...grpc.CallOption) (*TrustedSecretDataInfo, error) // Get a specific trusted secret's information. Get(ctx context.Context, in *TrustedSecretRequest, opts ...grpc.CallOption) (*TrustedSecretInfo, error) // Queries a list of trusted secrets. // You can use a query to get a filtered list of trusted secrets. List(ctx context.Context, in *TrustedSecretQuery, opts ...grpc.CallOption) (*TrustedSecretsInfo, error) Stat(ctx context.Context, in *TrustedSecretStatQuery, opts ...grpc.CallOption) (*_struct.Struct, error) }
TrustedSecretClient is the client API for TrustedSecret service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTrustedSecretClient ¶
func NewTrustedSecretClient(cc grpc.ClientConnInterface) TrustedSecretClient
type TrustedSecretDataInfo ¶
type TrustedSecretDataInfo struct { Encrypted bool `protobuf:"varint,1,opt,name=encrypted,proto3" json:"encrypted,omitempty"` EncryptOptions *_struct.Struct `protobuf:"bytes,2,opt,name=encrypt_options,json=encryptOptions,proto3" json:"encrypt_options,omitempty"` Data *_struct.Struct `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*TrustedSecretDataInfo) Descriptor
deprecated
func (*TrustedSecretDataInfo) Descriptor() ([]byte, []int)
Deprecated: Use TrustedSecretDataInfo.ProtoReflect.Descriptor instead.
func (*TrustedSecretDataInfo) GetData ¶
func (x *TrustedSecretDataInfo) GetData() *_struct.Struct
func (*TrustedSecretDataInfo) GetEncryptOptions ¶
func (x *TrustedSecretDataInfo) GetEncryptOptions() *_struct.Struct
func (*TrustedSecretDataInfo) GetEncrypted ¶
func (x *TrustedSecretDataInfo) GetEncrypted() bool
func (*TrustedSecretDataInfo) ProtoMessage ¶
func (*TrustedSecretDataInfo) ProtoMessage()
func (*TrustedSecretDataInfo) ProtoReflect ¶
func (x *TrustedSecretDataInfo) ProtoReflect() protoreflect.Message
func (*TrustedSecretDataInfo) Reset ¶
func (x *TrustedSecretDataInfo) Reset()
func (*TrustedSecretDataInfo) String ¶
func (x *TrustedSecretDataInfo) String() string
type TrustedSecretInfo ¶
type TrustedSecretInfo struct { TrustedSecretId string `protobuf:"bytes,1,opt,name=trusted_secret_id,json=trustedSecretId,proto3" json:"trusted_secret_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` SchemaId string `protobuf:"bytes,3,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"` Tags *_struct.Struct `protobuf:"bytes,4,opt,name=tags,proto3" json:"tags,omitempty"` Provider string `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"` ResourceGroup TrustedSecretInfo_ResourceGroup `` /* 162-byte string literal not displayed */ DomainId string `protobuf:"bytes,21,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` WorkspaceId string `protobuf:"bytes,22,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` TrustedAccountId string `protobuf:"bytes,23,opt,name=trusted_account_id,json=trustedAccountId,proto3" json:"trusted_account_id,omitempty"` CreatedAt string `protobuf:"bytes,31,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
{ "trusted_secret_id": "trusted-secret-123456789012", "name": "aws-dev", "tags": {}, "schema": "aws_access_key", "provider": "aws", "resource_group": "DOMAIN", "trusted_account_id": "ta-123456789012", "domain_id": "domain-123456789012", "created_at": "2022-01-01T06:10:14.851Z" }
func (*TrustedSecretInfo) Descriptor
deprecated
func (*TrustedSecretInfo) Descriptor() ([]byte, []int)
Deprecated: Use TrustedSecretInfo.ProtoReflect.Descriptor instead.
func (*TrustedSecretInfo) GetCreatedAt ¶
func (x *TrustedSecretInfo) GetCreatedAt() string
func (*TrustedSecretInfo) GetDomainId ¶
func (x *TrustedSecretInfo) GetDomainId() string
func (*TrustedSecretInfo) GetName ¶
func (x *TrustedSecretInfo) GetName() string
func (*TrustedSecretInfo) GetProvider ¶
func (x *TrustedSecretInfo) GetProvider() string
func (*TrustedSecretInfo) GetResourceGroup ¶
func (x *TrustedSecretInfo) GetResourceGroup() TrustedSecretInfo_ResourceGroup
func (*TrustedSecretInfo) GetSchemaId ¶
func (x *TrustedSecretInfo) GetSchemaId() string
func (*TrustedSecretInfo) GetTags ¶
func (x *TrustedSecretInfo) GetTags() *_struct.Struct
func (*TrustedSecretInfo) GetTrustedAccountId ¶
func (x *TrustedSecretInfo) GetTrustedAccountId() string
func (*TrustedSecretInfo) GetTrustedSecretId ¶
func (x *TrustedSecretInfo) GetTrustedSecretId() string
func (*TrustedSecretInfo) GetWorkspaceId ¶
func (x *TrustedSecretInfo) GetWorkspaceId() string
func (*TrustedSecretInfo) ProtoMessage ¶
func (*TrustedSecretInfo) ProtoMessage()
func (*TrustedSecretInfo) ProtoReflect ¶
func (x *TrustedSecretInfo) ProtoReflect() protoreflect.Message
func (*TrustedSecretInfo) Reset ¶
func (x *TrustedSecretInfo) Reset()
func (*TrustedSecretInfo) String ¶
func (x *TrustedSecretInfo) String() string
type TrustedSecretInfo_ResourceGroup ¶
type TrustedSecretInfo_ResourceGroup int32
const ( TrustedSecretInfo_RESOURCE_GROUP_NONE TrustedSecretInfo_ResourceGroup = 0 TrustedSecretInfo_DOMAIN TrustedSecretInfo_ResourceGroup = 1 TrustedSecretInfo_WORKSPACE TrustedSecretInfo_ResourceGroup = 2 )
func (TrustedSecretInfo_ResourceGroup) Descriptor ¶
func (TrustedSecretInfo_ResourceGroup) Descriptor() protoreflect.EnumDescriptor
func (TrustedSecretInfo_ResourceGroup) Enum ¶
func (x TrustedSecretInfo_ResourceGroup) Enum() *TrustedSecretInfo_ResourceGroup
func (TrustedSecretInfo_ResourceGroup) EnumDescriptor
deprecated
func (TrustedSecretInfo_ResourceGroup) EnumDescriptor() ([]byte, []int)
Deprecated: Use TrustedSecretInfo_ResourceGroup.Descriptor instead.
func (TrustedSecretInfo_ResourceGroup) Number ¶
func (x TrustedSecretInfo_ResourceGroup) Number() protoreflect.EnumNumber
func (TrustedSecretInfo_ResourceGroup) String ¶
func (x TrustedSecretInfo_ResourceGroup) String() string
func (TrustedSecretInfo_ResourceGroup) Type ¶
func (TrustedSecretInfo_ResourceGroup) Type() protoreflect.EnumType
type TrustedSecretQuery ¶
type TrustedSecretQuery struct { // +optional Query *v2.Query `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // +optional TrustedSecretId string `protobuf:"bytes,2,opt,name=trusted_secret_id,json=trustedSecretId,proto3" json:"trusted_secret_id,omitempty"` // / +optional Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // +optional SchemaId string `protobuf:"bytes,4,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"` // +optional Provider string `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"` // +optional WorkspaceId string `protobuf:"bytes,21,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` // +optional TrustedAccountId string `protobuf:"bytes,22,opt,name=trusted_account_id,json=trustedAccountId,proto3" json:"trusted_account_id,omitempty"` // contains filtered or unexported fields }
{ "query": {} }
func (*TrustedSecretQuery) Descriptor
deprecated
func (*TrustedSecretQuery) Descriptor() ([]byte, []int)
Deprecated: Use TrustedSecretQuery.ProtoReflect.Descriptor instead.
func (*TrustedSecretQuery) GetName ¶
func (x *TrustedSecretQuery) GetName() string
func (*TrustedSecretQuery) GetProvider ¶
func (x *TrustedSecretQuery) GetProvider() string
func (*TrustedSecretQuery) GetQuery ¶
func (x *TrustedSecretQuery) GetQuery() *v2.Query
func (*TrustedSecretQuery) GetSchemaId ¶
func (x *TrustedSecretQuery) GetSchemaId() string
func (*TrustedSecretQuery) GetTrustedAccountId ¶
func (x *TrustedSecretQuery) GetTrustedAccountId() string
func (*TrustedSecretQuery) GetTrustedSecretId ¶
func (x *TrustedSecretQuery) GetTrustedSecretId() string
func (*TrustedSecretQuery) GetWorkspaceId ¶
func (x *TrustedSecretQuery) GetWorkspaceId() string
func (*TrustedSecretQuery) ProtoMessage ¶
func (*TrustedSecretQuery) ProtoMessage()
func (*TrustedSecretQuery) ProtoReflect ¶
func (x *TrustedSecretQuery) ProtoReflect() protoreflect.Message
func (*TrustedSecretQuery) Reset ¶
func (x *TrustedSecretQuery) Reset()
func (*TrustedSecretQuery) String ¶
func (x *TrustedSecretQuery) String() string
type TrustedSecretRequest ¶
type TrustedSecretRequest struct { TrustedSecretId string `protobuf:"bytes,1,opt,name=trusted_secret_id,json=trustedSecretId,proto3" json:"trusted_secret_id,omitempty"` // contains filtered or unexported fields }
{ "trusted_secret_id": "trusted-secret-123456789012" }
func (*TrustedSecretRequest) Descriptor
deprecated
func (*TrustedSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use TrustedSecretRequest.ProtoReflect.Descriptor instead.
func (*TrustedSecretRequest) GetTrustedSecretId ¶
func (x *TrustedSecretRequest) GetTrustedSecretId() string
func (*TrustedSecretRequest) ProtoMessage ¶
func (*TrustedSecretRequest) ProtoMessage()
func (*TrustedSecretRequest) ProtoReflect ¶
func (x *TrustedSecretRequest) ProtoReflect() protoreflect.Message
func (*TrustedSecretRequest) Reset ¶
func (x *TrustedSecretRequest) Reset()
func (*TrustedSecretRequest) String ¶
func (x *TrustedSecretRequest) String() string
type TrustedSecretServer ¶
type TrustedSecretServer interface { // Create a new trusted secret. // Created trusted secret is encrypted and stored securely. Create(context.Context, *CreateTrustedSecretRequest) (*TrustedSecretInfo, error) // Updates a specific trusted secret's information. // You can only change the 'name' and 'tags', and to change the data you must use the update_data API. Update(context.Context, *UpdateTrustedSecretRequest) (*TrustedSecretInfo, error) // Deletes a specific trusted secret. // If a trusted secret is attached to a Secret, it cannot be deleted. Delete(context.Context, *TrustedSecretRequest) (*empty.Empty, error) // Updates a specific trusted secret's data. // Updated trusted secret is encrypted and stored securely. UpdateData(context.Context, *UpdateTrustedSecretDataRequest) (*empty.Empty, error) // Get a specific secret's data. // This API is for internal system use only. GetData(context.Context, *GetTrustedSecretDataRequest) (*TrustedSecretDataInfo, error) // Get a specific trusted secret's information. Get(context.Context, *TrustedSecretRequest) (*TrustedSecretInfo, error) // Queries a list of trusted secrets. // You can use a query to get a filtered list of trusted secrets. List(context.Context, *TrustedSecretQuery) (*TrustedSecretsInfo, error) Stat(context.Context, *TrustedSecretStatQuery) (*_struct.Struct, error) // contains filtered or unexported methods }
TrustedSecretServer is the server API for TrustedSecret service. All implementations must embed UnimplementedTrustedSecretServer for forward compatibility
type TrustedSecretStatQuery ¶
type TrustedSecretStatQuery struct { Query *v2.StatisticsQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` DomainId string `protobuf:"bytes,2,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` // contains filtered or unexported fields }
func (*TrustedSecretStatQuery) Descriptor
deprecated
func (*TrustedSecretStatQuery) Descriptor() ([]byte, []int)
Deprecated: Use TrustedSecretStatQuery.ProtoReflect.Descriptor instead.
func (*TrustedSecretStatQuery) GetDomainId ¶
func (x *TrustedSecretStatQuery) GetDomainId() string
func (*TrustedSecretStatQuery) GetQuery ¶
func (x *TrustedSecretStatQuery) GetQuery() *v2.StatisticsQuery
func (*TrustedSecretStatQuery) ProtoMessage ¶
func (*TrustedSecretStatQuery) ProtoMessage()
func (*TrustedSecretStatQuery) ProtoReflect ¶
func (x *TrustedSecretStatQuery) ProtoReflect() protoreflect.Message
func (*TrustedSecretStatQuery) Reset ¶
func (x *TrustedSecretStatQuery) Reset()
func (*TrustedSecretStatQuery) String ¶
func (x *TrustedSecretStatQuery) String() string
type TrustedSecretsInfo ¶
type TrustedSecretsInfo struct { Results []*TrustedSecretInfo `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // contains filtered or unexported fields }
{ "results": [ { "trusted_secret_id": "trusted-secret-12345abcde", "name": "Cloudforet Broker Account - Managed", "schema_id": "aws-secret-access-key", "tags": {"foo": "bar"}, "provider": "aws", "resource_group": "DOMAIN", "trusted_account_id": "ta-12345abcde", "domain_id": "domain-12345abcde", "created_at": "2022-01-01T06:10:14Z" }, { "trusted_secret_id": "trusted-secret-56789abcde", "name": "Customer Broker Account", "schema_id": "aws-secret-access-key", "provider": "aws", "resource_group": "WORKSPACE", "trusted_account_id": "ta-56789abcde", "domain_id": "domain-12345abcde", "workspace_id": "workspace-12345abcde", "created_at": "2023-11-04T00:00:00Z" } ], "total_count": 2 }
func (*TrustedSecretsInfo) Descriptor
deprecated
func (*TrustedSecretsInfo) Descriptor() ([]byte, []int)
Deprecated: Use TrustedSecretsInfo.ProtoReflect.Descriptor instead.
func (*TrustedSecretsInfo) GetResults ¶
func (x *TrustedSecretsInfo) GetResults() []*TrustedSecretInfo
func (*TrustedSecretsInfo) GetTotalCount ¶
func (x *TrustedSecretsInfo) GetTotalCount() int32
func (*TrustedSecretsInfo) ProtoMessage ¶
func (*TrustedSecretsInfo) ProtoMessage()
func (*TrustedSecretsInfo) ProtoReflect ¶
func (x *TrustedSecretsInfo) ProtoReflect() protoreflect.Message
func (*TrustedSecretsInfo) Reset ¶
func (x *TrustedSecretsInfo) Reset()
func (*TrustedSecretsInfo) String ¶
func (x *TrustedSecretsInfo) String() string
type UnimplementedSecretServer ¶
type UnimplementedSecretServer struct { }
UnimplementedSecretServer must be embedded to have forward compatible implementations.
func (UnimplementedSecretServer) Create ¶
func (UnimplementedSecretServer) Create(context.Context, *CreateSecretRequest) (*SecretInfo, error)
func (UnimplementedSecretServer) Delete ¶
func (UnimplementedSecretServer) Delete(context.Context, *SecretRequest) (*empty.Empty, error)
func (UnimplementedSecretServer) Get ¶
func (UnimplementedSecretServer) Get(context.Context, *SecretRequest) (*SecretInfo, error)
func (UnimplementedSecretServer) GetData ¶
func (UnimplementedSecretServer) GetData(context.Context, *GetSecretDataRequest) (*SecretDataInfo, error)
func (UnimplementedSecretServer) List ¶
func (UnimplementedSecretServer) List(context.Context, *SecretQuery) (*SecretsInfo, error)
func (UnimplementedSecretServer) Stat ¶
func (UnimplementedSecretServer) Stat(context.Context, *SecretStatQuery) (*_struct.Struct, error)
func (UnimplementedSecretServer) Update ¶
func (UnimplementedSecretServer) Update(context.Context, *UpdateSecretRequest) (*SecretInfo, error)
func (UnimplementedSecretServer) UpdateData ¶
func (UnimplementedSecretServer) UpdateData(context.Context, *UpdateSecretDataRequest) (*empty.Empty, error)
type UnimplementedTrustedSecretServer ¶
type UnimplementedTrustedSecretServer struct { }
UnimplementedTrustedSecretServer must be embedded to have forward compatible implementations.
func (UnimplementedTrustedSecretServer) Create ¶
func (UnimplementedTrustedSecretServer) Create(context.Context, *CreateTrustedSecretRequest) (*TrustedSecretInfo, error)
func (UnimplementedTrustedSecretServer) Delete ¶
func (UnimplementedTrustedSecretServer) Delete(context.Context, *TrustedSecretRequest) (*empty.Empty, error)
func (UnimplementedTrustedSecretServer) Get ¶
func (UnimplementedTrustedSecretServer) Get(context.Context, *TrustedSecretRequest) (*TrustedSecretInfo, error)
func (UnimplementedTrustedSecretServer) GetData ¶
func (UnimplementedTrustedSecretServer) GetData(context.Context, *GetTrustedSecretDataRequest) (*TrustedSecretDataInfo, error)
func (UnimplementedTrustedSecretServer) List ¶
func (UnimplementedTrustedSecretServer) List(context.Context, *TrustedSecretQuery) (*TrustedSecretsInfo, error)
func (UnimplementedTrustedSecretServer) Stat ¶
func (UnimplementedTrustedSecretServer) Stat(context.Context, *TrustedSecretStatQuery) (*_struct.Struct, error)
func (UnimplementedTrustedSecretServer) Update ¶
func (UnimplementedTrustedSecretServer) Update(context.Context, *UpdateTrustedSecretRequest) (*TrustedSecretInfo, error)
func (UnimplementedTrustedSecretServer) UpdateData ¶
func (UnimplementedTrustedSecretServer) UpdateData(context.Context, *UpdateTrustedSecretDataRequest) (*empty.Empty, error)
type UnsafeSecretServer ¶
type UnsafeSecretServer interface {
// contains filtered or unexported methods
}
UnsafeSecretServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SecretServer will result in compilation errors.
type UnsafeTrustedSecretServer ¶
type UnsafeTrustedSecretServer interface {
// contains filtered or unexported methods
}
UnsafeTrustedSecretServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TrustedSecretServer will result in compilation errors.
type UpdateSecretDataRequest ¶
type UpdateSecretDataRequest struct { SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` SchemaId string `protobuf:"bytes,2,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"` Data *_struct.Struct `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
{ "secret_id": "secret-123456789012", "data": "********" }
func (*UpdateSecretDataRequest) Descriptor
deprecated
func (*UpdateSecretDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSecretDataRequest.ProtoReflect.Descriptor instead.
func (*UpdateSecretDataRequest) GetData ¶
func (x *UpdateSecretDataRequest) GetData() *_struct.Struct
func (*UpdateSecretDataRequest) GetSchemaId ¶
func (x *UpdateSecretDataRequest) GetSchemaId() string
func (*UpdateSecretDataRequest) GetSecretId ¶
func (x *UpdateSecretDataRequest) GetSecretId() string
func (*UpdateSecretDataRequest) ProtoMessage ¶
func (*UpdateSecretDataRequest) ProtoMessage()
func (*UpdateSecretDataRequest) ProtoReflect ¶
func (x *UpdateSecretDataRequest) ProtoReflect() protoreflect.Message
func (*UpdateSecretDataRequest) Reset ¶
func (x *UpdateSecretDataRequest) Reset()
func (*UpdateSecretDataRequest) String ¶
func (x *UpdateSecretDataRequest) String() string
type UpdateSecretRequest ¶
type UpdateSecretRequest struct { SecretId string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // +optional Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // +optional Tags *_struct.Struct `protobuf:"bytes,3,opt,name=tags,proto3" json:"tags,omitempty"` // +optional ProjectId string `protobuf:"bytes,21,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
{ "secret_id": "secret-123456789012", "name": "aws-dev2", "tags": { "a": "b"}, "project_id": "project-123456789012" }
func (*UpdateSecretRequest) Descriptor
deprecated
func (*UpdateSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSecretRequest.ProtoReflect.Descriptor instead.
func (*UpdateSecretRequest) GetName ¶
func (x *UpdateSecretRequest) GetName() string
func (*UpdateSecretRequest) GetProjectId ¶
func (x *UpdateSecretRequest) GetProjectId() string
func (*UpdateSecretRequest) GetSecretId ¶
func (x *UpdateSecretRequest) GetSecretId() string
func (*UpdateSecretRequest) GetTags ¶
func (x *UpdateSecretRequest) GetTags() *_struct.Struct
func (*UpdateSecretRequest) ProtoMessage ¶
func (*UpdateSecretRequest) ProtoMessage()
func (*UpdateSecretRequest) ProtoReflect ¶
func (x *UpdateSecretRequest) ProtoReflect() protoreflect.Message
func (*UpdateSecretRequest) Reset ¶
func (x *UpdateSecretRequest) Reset()
func (*UpdateSecretRequest) String ¶
func (x *UpdateSecretRequest) String() string
type UpdateTrustedSecretDataRequest ¶
type UpdateTrustedSecretDataRequest struct { TrustedSecretId string `protobuf:"bytes,1,opt,name=trusted_secret_id,json=trustedSecretId,proto3" json:"trusted_secret_id,omitempty"` SchemaId string `protobuf:"bytes,2,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"` Data *_struct.Struct `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
{ "trusted_secret_id": "trusted-secret-12345abcde", "data": "********", }
func (*UpdateTrustedSecretDataRequest) Descriptor
deprecated
func (*UpdateTrustedSecretDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTrustedSecretDataRequest.ProtoReflect.Descriptor instead.
func (*UpdateTrustedSecretDataRequest) GetData ¶
func (x *UpdateTrustedSecretDataRequest) GetData() *_struct.Struct
func (*UpdateTrustedSecretDataRequest) GetSchemaId ¶
func (x *UpdateTrustedSecretDataRequest) GetSchemaId() string
func (*UpdateTrustedSecretDataRequest) GetTrustedSecretId ¶
func (x *UpdateTrustedSecretDataRequest) GetTrustedSecretId() string
func (*UpdateTrustedSecretDataRequest) ProtoMessage ¶
func (*UpdateTrustedSecretDataRequest) ProtoMessage()
func (*UpdateTrustedSecretDataRequest) ProtoReflect ¶
func (x *UpdateTrustedSecretDataRequest) ProtoReflect() protoreflect.Message
func (*UpdateTrustedSecretDataRequest) Reset ¶
func (x *UpdateTrustedSecretDataRequest) Reset()
func (*UpdateTrustedSecretDataRequest) String ¶
func (x *UpdateTrustedSecretDataRequest) String() string
type UpdateTrustedSecretRequest ¶
type UpdateTrustedSecretRequest struct { TrustedSecretId string `protobuf:"bytes,1,opt,name=trusted_secret_id,json=trustedSecretId,proto3" json:"trusted_secret_id,omitempty"` // +optional Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // +optional Tags *_struct.Struct `protobuf:"bytes,3,opt,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
{ "trusted_secret_id": "trusted-secret-123456789012", "name": "aws-dev2", "tags": { "a": "b"} }
func (*UpdateTrustedSecretRequest) Descriptor
deprecated
func (*UpdateTrustedSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTrustedSecretRequest.ProtoReflect.Descriptor instead.
func (*UpdateTrustedSecretRequest) GetName ¶
func (x *UpdateTrustedSecretRequest) GetName() string
func (*UpdateTrustedSecretRequest) GetTags ¶
func (x *UpdateTrustedSecretRequest) GetTags() *_struct.Struct
func (*UpdateTrustedSecretRequest) GetTrustedSecretId ¶
func (x *UpdateTrustedSecretRequest) GetTrustedSecretId() string
func (*UpdateTrustedSecretRequest) ProtoMessage ¶
func (*UpdateTrustedSecretRequest) ProtoMessage()
func (*UpdateTrustedSecretRequest) ProtoReflect ¶
func (x *UpdateTrustedSecretRequest) ProtoReflect() protoreflect.Message
func (*UpdateTrustedSecretRequest) Reset ¶
func (x *UpdateTrustedSecretRequest) Reset()
func (*UpdateTrustedSecretRequest) String ¶
func (x *UpdateTrustedSecretRequest) String() string