Documentation ¶
Index ¶
- func CsmsClientBuilder() *httpclient.HcHttpClientBuilder
- func GenReqDefForBatchCreateOrDeleteTags() *def.HttpRequestDef
- func GenReqDefForCreateSecret() *def.HttpRequestDef
- func GenReqDefForCreateSecretEvent() *def.HttpRequestDef
- func GenReqDefForCreateSecretTag() *def.HttpRequestDef
- func GenReqDefForCreateSecretVersion() *def.HttpRequestDef
- func GenReqDefForDeleteSecret() *def.HttpRequestDef
- func GenReqDefForDeleteSecretEvent() *def.HttpRequestDef
- func GenReqDefForDeleteSecretForSchedule() *def.HttpRequestDef
- func GenReqDefForDeleteSecretStage() *def.HttpRequestDef
- func GenReqDefForDeleteSecretTag() *def.HttpRequestDef
- func GenReqDefForDownloadSecretBlob() *def.HttpRequestDef
- func GenReqDefForListNotificationRecords() *def.HttpRequestDef
- func GenReqDefForListProjectSecretsTags() *def.HttpRequestDef
- func GenReqDefForListResourceInstances() *def.HttpRequestDef
- func GenReqDefForListSecretEvents() *def.HttpRequestDef
- func GenReqDefForListSecretTags() *def.HttpRequestDef
- func GenReqDefForListSecretVersions() *def.HttpRequestDef
- func GenReqDefForListSecrets() *def.HttpRequestDef
- func GenReqDefForRestoreSecret() *def.HttpRequestDef
- func GenReqDefForRotateSecret() *def.HttpRequestDef
- func GenReqDefForShowSecret() *def.HttpRequestDef
- func GenReqDefForShowSecretEvent() *def.HttpRequestDef
- func GenReqDefForShowSecretStage() *def.HttpRequestDef
- func GenReqDefForShowSecretVersion() *def.HttpRequestDef
- func GenReqDefForUpdateSecret() *def.HttpRequestDef
- func GenReqDefForUpdateSecretEvent() *def.HttpRequestDef
- func GenReqDefForUpdateSecretStage() *def.HttpRequestDef
- func GenReqDefForUpdateVersion() *def.HttpRequestDef
- func GenReqDefForUploadSecretBlob() *def.HttpRequestDef
- type BatchCreateOrDeleteTagsInvoker
- type CreateSecretEventInvoker
- type CreateSecretInvoker
- type CreateSecretTagInvoker
- type CreateSecretVersionInvoker
- type CsmsClient
- func (c *CsmsClient) BatchCreateOrDeleteTags(request *model.BatchCreateOrDeleteTagsRequest) (*model.BatchCreateOrDeleteTagsResponse, error)
- func (c *CsmsClient) BatchCreateOrDeleteTagsInvoker(request *model.BatchCreateOrDeleteTagsRequest) *BatchCreateOrDeleteTagsInvoker
- func (c *CsmsClient) CreateSecret(request *model.CreateSecretRequest) (*model.CreateSecretResponse, error)
- func (c *CsmsClient) CreateSecretEvent(request *model.CreateSecretEventRequest) (*model.CreateSecretEventResponse, error)
- func (c *CsmsClient) CreateSecretEventInvoker(request *model.CreateSecretEventRequest) *CreateSecretEventInvoker
- func (c *CsmsClient) CreateSecretInvoker(request *model.CreateSecretRequest) *CreateSecretInvoker
- func (c *CsmsClient) CreateSecretTag(request *model.CreateSecretTagRequest) (*model.CreateSecretTagResponse, error)
- func (c *CsmsClient) CreateSecretTagInvoker(request *model.CreateSecretTagRequest) *CreateSecretTagInvoker
- func (c *CsmsClient) CreateSecretVersion(request *model.CreateSecretVersionRequest) (*model.CreateSecretVersionResponse, error)
- func (c *CsmsClient) CreateSecretVersionInvoker(request *model.CreateSecretVersionRequest) *CreateSecretVersionInvoker
- func (c *CsmsClient) DeleteSecret(request *model.DeleteSecretRequest) (*model.DeleteSecretResponse, error)
- func (c *CsmsClient) DeleteSecretEvent(request *model.DeleteSecretEventRequest) (*model.DeleteSecretEventResponse, error)
- func (c *CsmsClient) DeleteSecretEventInvoker(request *model.DeleteSecretEventRequest) *DeleteSecretEventInvoker
- func (c *CsmsClient) DeleteSecretForSchedule(request *model.DeleteSecretForScheduleRequest) (*model.DeleteSecretForScheduleResponse, error)
- func (c *CsmsClient) DeleteSecretForScheduleInvoker(request *model.DeleteSecretForScheduleRequest) *DeleteSecretForScheduleInvoker
- func (c *CsmsClient) DeleteSecretInvoker(request *model.DeleteSecretRequest) *DeleteSecretInvoker
- func (c *CsmsClient) DeleteSecretStage(request *model.DeleteSecretStageRequest) (*model.DeleteSecretStageResponse, error)
- func (c *CsmsClient) DeleteSecretStageInvoker(request *model.DeleteSecretStageRequest) *DeleteSecretStageInvoker
- func (c *CsmsClient) DeleteSecretTag(request *model.DeleteSecretTagRequest) (*model.DeleteSecretTagResponse, error)
- func (c *CsmsClient) DeleteSecretTagInvoker(request *model.DeleteSecretTagRequest) *DeleteSecretTagInvoker
- func (c *CsmsClient) DownloadSecretBlob(request *model.DownloadSecretBlobRequest) (*model.DownloadSecretBlobResponse, error)
- func (c *CsmsClient) DownloadSecretBlobInvoker(request *model.DownloadSecretBlobRequest) *DownloadSecretBlobInvoker
- func (c *CsmsClient) ListNotificationRecords(request *model.ListNotificationRecordsRequest) (*model.ListNotificationRecordsResponse, error)
- func (c *CsmsClient) ListNotificationRecordsInvoker(request *model.ListNotificationRecordsRequest) *ListNotificationRecordsInvoker
- func (c *CsmsClient) ListProjectSecretsTags(request *model.ListProjectSecretsTagsRequest) (*model.ListProjectSecretsTagsResponse, error)
- func (c *CsmsClient) ListProjectSecretsTagsInvoker(request *model.ListProjectSecretsTagsRequest) *ListProjectSecretsTagsInvoker
- func (c *CsmsClient) ListResourceInstances(request *model.ListResourceInstancesRequest) (*model.ListResourceInstancesResponse, error)
- func (c *CsmsClient) ListResourceInstancesInvoker(request *model.ListResourceInstancesRequest) *ListResourceInstancesInvoker
- func (c *CsmsClient) ListSecretEvents(request *model.ListSecretEventsRequest) (*model.ListSecretEventsResponse, error)
- func (c *CsmsClient) ListSecretEventsInvoker(request *model.ListSecretEventsRequest) *ListSecretEventsInvoker
- func (c *CsmsClient) ListSecretTags(request *model.ListSecretTagsRequest) (*model.ListSecretTagsResponse, error)
- func (c *CsmsClient) ListSecretTagsInvoker(request *model.ListSecretTagsRequest) *ListSecretTagsInvoker
- func (c *CsmsClient) ListSecretVersions(request *model.ListSecretVersionsRequest) (*model.ListSecretVersionsResponse, error)
- func (c *CsmsClient) ListSecretVersionsInvoker(request *model.ListSecretVersionsRequest) *ListSecretVersionsInvoker
- func (c *CsmsClient) ListSecrets(request *model.ListSecretsRequest) (*model.ListSecretsResponse, error)
- func (c *CsmsClient) ListSecretsInvoker(request *model.ListSecretsRequest) *ListSecretsInvoker
- func (c *CsmsClient) RestoreSecret(request *model.RestoreSecretRequest) (*model.RestoreSecretResponse, error)
- func (c *CsmsClient) RestoreSecretInvoker(request *model.RestoreSecretRequest) *RestoreSecretInvoker
- func (c *CsmsClient) RotateSecret(request *model.RotateSecretRequest) (*model.RotateSecretResponse, error)
- func (c *CsmsClient) RotateSecretInvoker(request *model.RotateSecretRequest) *RotateSecretInvoker
- func (c *CsmsClient) ShowSecret(request *model.ShowSecretRequest) (*model.ShowSecretResponse, error)
- func (c *CsmsClient) ShowSecretEvent(request *model.ShowSecretEventRequest) (*model.ShowSecretEventResponse, error)
- func (c *CsmsClient) ShowSecretEventInvoker(request *model.ShowSecretEventRequest) *ShowSecretEventInvoker
- func (c *CsmsClient) ShowSecretInvoker(request *model.ShowSecretRequest) *ShowSecretInvoker
- func (c *CsmsClient) ShowSecretStage(request *model.ShowSecretStageRequest) (*model.ShowSecretStageResponse, error)
- func (c *CsmsClient) ShowSecretStageInvoker(request *model.ShowSecretStageRequest) *ShowSecretStageInvoker
- func (c *CsmsClient) ShowSecretVersion(request *model.ShowSecretVersionRequest) (*model.ShowSecretVersionResponse, error)
- func (c *CsmsClient) ShowSecretVersionInvoker(request *model.ShowSecretVersionRequest) *ShowSecretVersionInvoker
- func (c *CsmsClient) UpdateSecret(request *model.UpdateSecretRequest) (*model.UpdateSecretResponse, error)
- func (c *CsmsClient) UpdateSecretEvent(request *model.UpdateSecretEventRequest) (*model.UpdateSecretEventResponse, error)
- func (c *CsmsClient) UpdateSecretEventInvoker(request *model.UpdateSecretEventRequest) *UpdateSecretEventInvoker
- func (c *CsmsClient) UpdateSecretInvoker(request *model.UpdateSecretRequest) *UpdateSecretInvoker
- func (c *CsmsClient) UpdateSecretStage(request *model.UpdateSecretStageRequest) (*model.UpdateSecretStageResponse, error)
- func (c *CsmsClient) UpdateSecretStageInvoker(request *model.UpdateSecretStageRequest) *UpdateSecretStageInvoker
- func (c *CsmsClient) UpdateVersion(request *model.UpdateVersionRequest) (*model.UpdateVersionResponse, error)
- func (c *CsmsClient) UpdateVersionInvoker(request *model.UpdateVersionRequest) *UpdateVersionInvoker
- func (c *CsmsClient) UploadSecretBlob(request *model.UploadSecretBlobRequest) (*model.UploadSecretBlobResponse, error)
- func (c *CsmsClient) UploadSecretBlobInvoker(request *model.UploadSecretBlobRequest) *UploadSecretBlobInvoker
- type DeleteSecretEventInvoker
- type DeleteSecretForScheduleInvoker
- type DeleteSecretInvoker
- type DeleteSecretStageInvoker
- type DeleteSecretTagInvoker
- type DownloadSecretBlobInvoker
- type ListNotificationRecordsInvoker
- type ListProjectSecretsTagsInvoker
- type ListResourceInstancesInvoker
- type ListSecretEventsInvoker
- type ListSecretTagsInvoker
- type ListSecretVersionsInvoker
- type ListSecretsInvoker
- type RestoreSecretInvoker
- type RotateSecretInvoker
- type ShowSecretEventInvoker
- type ShowSecretInvoker
- type ShowSecretStageInvoker
- type ShowSecretVersionInvoker
- type UpdateSecretEventInvoker
- type UpdateSecretInvoker
- type UpdateSecretStageInvoker
- type UpdateVersionInvoker
- type UploadSecretBlobInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CsmsClientBuilder ¶
func CsmsClientBuilder() *httpclient.HcHttpClientBuilder
func GenReqDefForBatchCreateOrDeleteTags ¶
func GenReqDefForBatchCreateOrDeleteTags() *def.HttpRequestDef
func GenReqDefForCreateSecret ¶
func GenReqDefForCreateSecret() *def.HttpRequestDef
func GenReqDefForCreateSecretEvent ¶ added in v0.1.59
func GenReqDefForCreateSecretEvent() *def.HttpRequestDef
func GenReqDefForCreateSecretTag ¶
func GenReqDefForCreateSecretTag() *def.HttpRequestDef
func GenReqDefForCreateSecretVersion ¶
func GenReqDefForCreateSecretVersion() *def.HttpRequestDef
func GenReqDefForDeleteSecret ¶
func GenReqDefForDeleteSecret() *def.HttpRequestDef
func GenReqDefForDeleteSecretEvent ¶ added in v0.1.59
func GenReqDefForDeleteSecretEvent() *def.HttpRequestDef
func GenReqDefForDeleteSecretForSchedule ¶
func GenReqDefForDeleteSecretForSchedule() *def.HttpRequestDef
func GenReqDefForDeleteSecretStage ¶
func GenReqDefForDeleteSecretStage() *def.HttpRequestDef
func GenReqDefForDeleteSecretTag ¶
func GenReqDefForDeleteSecretTag() *def.HttpRequestDef
func GenReqDefForDownloadSecretBlob ¶ added in v0.0.103
func GenReqDefForDownloadSecretBlob() *def.HttpRequestDef
func GenReqDefForListNotificationRecords ¶ added in v0.1.59
func GenReqDefForListNotificationRecords() *def.HttpRequestDef
func GenReqDefForListProjectSecretsTags ¶
func GenReqDefForListProjectSecretsTags() *def.HttpRequestDef
func GenReqDefForListResourceInstances ¶
func GenReqDefForListResourceInstances() *def.HttpRequestDef
func GenReqDefForListSecretEvents ¶ added in v0.1.59
func GenReqDefForListSecretEvents() *def.HttpRequestDef
func GenReqDefForListSecretTags ¶
func GenReqDefForListSecretTags() *def.HttpRequestDef
func GenReqDefForListSecretVersions ¶
func GenReqDefForListSecretVersions() *def.HttpRequestDef
func GenReqDefForListSecrets ¶
func GenReqDefForListSecrets() *def.HttpRequestDef
func GenReqDefForRestoreSecret ¶
func GenReqDefForRestoreSecret() *def.HttpRequestDef
func GenReqDefForRotateSecret ¶ added in v0.1.64
func GenReqDefForRotateSecret() *def.HttpRequestDef
func GenReqDefForShowSecret ¶
func GenReqDefForShowSecret() *def.HttpRequestDef
func GenReqDefForShowSecretEvent ¶ added in v0.1.59
func GenReqDefForShowSecretEvent() *def.HttpRequestDef
func GenReqDefForShowSecretStage ¶
func GenReqDefForShowSecretStage() *def.HttpRequestDef
func GenReqDefForShowSecretVersion ¶
func GenReqDefForShowSecretVersion() *def.HttpRequestDef
func GenReqDefForUpdateSecret ¶
func GenReqDefForUpdateSecret() *def.HttpRequestDef
func GenReqDefForUpdateSecretEvent ¶ added in v0.1.59
func GenReqDefForUpdateSecretEvent() *def.HttpRequestDef
func GenReqDefForUpdateSecretStage ¶
func GenReqDefForUpdateSecretStage() *def.HttpRequestDef
func GenReqDefForUpdateVersion ¶ added in v0.1.59
func GenReqDefForUpdateVersion() *def.HttpRequestDef
func GenReqDefForUploadSecretBlob ¶ added in v0.0.103
func GenReqDefForUploadSecretBlob() *def.HttpRequestDef
Types ¶
type BatchCreateOrDeleteTagsInvoker ¶ added in v0.0.90
type BatchCreateOrDeleteTagsInvoker struct {
*invoker.BaseInvoker
}
func (*BatchCreateOrDeleteTagsInvoker) Invoke ¶ added in v0.0.90
func (i *BatchCreateOrDeleteTagsInvoker) Invoke() (*model.BatchCreateOrDeleteTagsResponse, error)
type CreateSecretEventInvoker ¶ added in v0.1.59
type CreateSecretEventInvoker struct {
*invoker.BaseInvoker
}
func (*CreateSecretEventInvoker) Invoke ¶ added in v0.1.59
func (i *CreateSecretEventInvoker) Invoke() (*model.CreateSecretEventResponse, error)
type CreateSecretInvoker ¶ added in v0.0.90
type CreateSecretInvoker struct {
*invoker.BaseInvoker
}
func (*CreateSecretInvoker) Invoke ¶ added in v0.0.90
func (i *CreateSecretInvoker) Invoke() (*model.CreateSecretResponse, error)
type CreateSecretTagInvoker ¶ added in v0.0.90
type CreateSecretTagInvoker struct {
*invoker.BaseInvoker
}
func (*CreateSecretTagInvoker) Invoke ¶ added in v0.0.90
func (i *CreateSecretTagInvoker) Invoke() (*model.CreateSecretTagResponse, error)
type CreateSecretVersionInvoker ¶ added in v0.0.90
type CreateSecretVersionInvoker struct {
*invoker.BaseInvoker
}
func (*CreateSecretVersionInvoker) Invoke ¶ added in v0.0.90
func (i *CreateSecretVersionInvoker) Invoke() (*model.CreateSecretVersionResponse, error)
type CsmsClient ¶
type CsmsClient struct {
HcClient *httpclient.HcHttpClient
}
func NewCsmsClient ¶
func NewCsmsClient(hcClient *httpclient.HcHttpClient) *CsmsClient
func (*CsmsClient) BatchCreateOrDeleteTags ¶
func (c *CsmsClient) BatchCreateOrDeleteTags(request *model.BatchCreateOrDeleteTagsRequest) (*model.BatchCreateOrDeleteTagsResponse, error)
BatchCreateOrDeleteTags 批量添加或删除凭据标签
- 功能介绍:批量添加或删除凭据标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) BatchCreateOrDeleteTagsInvoker ¶ added in v0.0.90
func (c *CsmsClient) BatchCreateOrDeleteTagsInvoker(request *model.BatchCreateOrDeleteTagsRequest) *BatchCreateOrDeleteTagsInvoker
BatchCreateOrDeleteTagsInvoker 批量添加或删除凭据标签
func (*CsmsClient) CreateSecret ¶
func (c *CsmsClient) CreateSecret(request *model.CreateSecretRequest) (*model.CreateSecretResponse, error)
CreateSecret 创建凭据
创建新的凭据,并将凭据值存入凭据的初始版本。
凭据管理服务将凭据值加密后,存储在凭据对象下的版本中。每个版本可与多个凭据版本状态相关联,凭据版本状态用于标识凭据版本处于的阶段,没有版本状态标记的版本视为已弃用,可用凭据管理服务自动删除。
初始版本的状态被标记为SYSCURRENT。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) CreateSecretEvent ¶ added in v0.1.59
func (c *CsmsClient) CreateSecretEvent(request *model.CreateSecretEventRequest) (*model.CreateSecretEventResponse, error)
CreateSecretEvent 创建事件
创建事件,事件可配置在一个或多个凭据对象上。当事件为启用状态且包含的基础事件类型在凭据对象上触发时,云服务会将对应的事件通知发送至事件指定的通知主题上。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) CreateSecretEventInvoker ¶ added in v0.1.59
func (c *CsmsClient) CreateSecretEventInvoker(request *model.CreateSecretEventRequest) *CreateSecretEventInvoker
CreateSecretEventInvoker 创建事件
func (*CsmsClient) CreateSecretInvoker ¶ added in v0.0.90
func (c *CsmsClient) CreateSecretInvoker(request *model.CreateSecretRequest) *CreateSecretInvoker
CreateSecretInvoker 创建凭据
func (*CsmsClient) CreateSecretTag ¶
func (c *CsmsClient) CreateSecretTag(request *model.CreateSecretTagRequest) (*model.CreateSecretTagResponse, error)
CreateSecretTag 添加凭据标签
添加凭据标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) CreateSecretTagInvoker ¶ added in v0.0.90
func (c *CsmsClient) CreateSecretTagInvoker(request *model.CreateSecretTagRequest) *CreateSecretTagInvoker
CreateSecretTagInvoker 添加凭据标签
func (*CsmsClient) CreateSecretVersion ¶
func (c *CsmsClient) CreateSecretVersion(request *model.CreateSecretVersionRequest) (*model.CreateSecretVersionResponse, error)
CreateSecretVersion 创建凭据版本
在指定的凭据中,创建一个新的凭据版本,用于加密保管新的凭据值。默认情况下,新创建的凭据版本被标记为SYSCURRENT状态,而SYSCURRENT标记的前一个凭据版本被标记为SYSPREVIOUS状态。您可以通过指定VersionStage参数来覆盖默认行为。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) CreateSecretVersionInvoker ¶ added in v0.0.90
func (c *CsmsClient) CreateSecretVersionInvoker(request *model.CreateSecretVersionRequest) *CreateSecretVersionInvoker
CreateSecretVersionInvoker 创建凭据版本
func (*CsmsClient) DeleteSecret ¶
func (c *CsmsClient) DeleteSecret(request *model.DeleteSecretRequest) (*model.DeleteSecretResponse, error)
DeleteSecret 立即删除凭据
立即删除指定的凭据,且无法恢复。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) DeleteSecretEvent ¶ added in v0.1.59
func (c *CsmsClient) DeleteSecretEvent(request *model.DeleteSecretEventRequest) (*model.DeleteSecretEventResponse, error)
DeleteSecretEvent 立即删除事件
立即删除指定的事件,且无法恢复。如事件存在凭据引用,则无法删除,请先解除关联。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) DeleteSecretEventInvoker ¶ added in v0.1.59
func (c *CsmsClient) DeleteSecretEventInvoker(request *model.DeleteSecretEventRequest) *DeleteSecretEventInvoker
DeleteSecretEventInvoker 立即删除事件
func (*CsmsClient) DeleteSecretForSchedule ¶
func (c *CsmsClient) DeleteSecretForSchedule(request *model.DeleteSecretForScheduleRequest) (*model.DeleteSecretForScheduleResponse, error)
DeleteSecretForSchedule 创建凭据的定时删除任务
指定延迟删除时间,创建删除凭据的定时任务,可设置7~30天的的延迟删除时间。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) DeleteSecretForScheduleInvoker ¶ added in v0.0.90
func (c *CsmsClient) DeleteSecretForScheduleInvoker(request *model.DeleteSecretForScheduleRequest) *DeleteSecretForScheduleInvoker
DeleteSecretForScheduleInvoker 创建凭据的定时删除任务
func (*CsmsClient) DeleteSecretInvoker ¶ added in v0.0.90
func (c *CsmsClient) DeleteSecretInvoker(request *model.DeleteSecretRequest) *DeleteSecretInvoker
DeleteSecretInvoker 立即删除凭据
func (*CsmsClient) DeleteSecretStage ¶
func (c *CsmsClient) DeleteSecretStage(request *model.DeleteSecretStageRequest) (*model.DeleteSecretStageResponse, error)
DeleteSecretStage 删除凭据的版本状态
删除指定的凭据版本状态。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) DeleteSecretStageInvoker ¶ added in v0.0.90
func (c *CsmsClient) DeleteSecretStageInvoker(request *model.DeleteSecretStageRequest) *DeleteSecretStageInvoker
DeleteSecretStageInvoker 删除凭据的版本状态
func (*CsmsClient) DeleteSecretTag ¶
func (c *CsmsClient) DeleteSecretTag(request *model.DeleteSecretTagRequest) (*model.DeleteSecretTagResponse, error)
DeleteSecretTag 删除凭据标签
删除凭据标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) DeleteSecretTagInvoker ¶ added in v0.0.90
func (c *CsmsClient) DeleteSecretTagInvoker(request *model.DeleteSecretTagRequest) *DeleteSecretTagInvoker
DeleteSecretTagInvoker 删除凭据标签
func (*CsmsClient) DownloadSecretBlob ¶ added in v0.0.103
func (c *CsmsClient) DownloadSecretBlob(request *model.DownloadSecretBlobRequest) (*model.DownloadSecretBlobResponse, error)
DownloadSecretBlob 下载凭据备份
下载指定凭据的备份文件
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) DownloadSecretBlobInvoker ¶ added in v0.0.103
func (c *CsmsClient) DownloadSecretBlobInvoker(request *model.DownloadSecretBlobRequest) *DownloadSecretBlobInvoker
DownloadSecretBlobInvoker 下载凭据备份
func (*CsmsClient) ListNotificationRecords ¶ added in v0.1.59
func (c *CsmsClient) ListNotificationRecords(request *model.ListNotificationRecordsRequest) (*model.ListNotificationRecordsResponse, error)
ListNotificationRecords 查询已触发的事件通知记录
查询三个月内所有已触发的事件通知记录。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) ListNotificationRecordsInvoker ¶ added in v0.1.59
func (c *CsmsClient) ListNotificationRecordsInvoker(request *model.ListNotificationRecordsRequest) *ListNotificationRecordsInvoker
ListNotificationRecordsInvoker 查询已触发的事件通知记录
func (*CsmsClient) ListProjectSecretsTags ¶
func (c *CsmsClient) ListProjectSecretsTags(request *model.ListProjectSecretsTagsRequest) (*model.ListProjectSecretsTagsResponse, error)
ListProjectSecretsTags 查询项目标签
查询用户在指定项目下的所有凭据标签集合。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) ListProjectSecretsTagsInvoker ¶ added in v0.0.90
func (c *CsmsClient) ListProjectSecretsTagsInvoker(request *model.ListProjectSecretsTagsRequest) *ListProjectSecretsTagsInvoker
ListProjectSecretsTagsInvoker 查询项目标签
func (*CsmsClient) ListResourceInstances ¶
func (c *CsmsClient) ListResourceInstances(request *model.ListResourceInstancesRequest) (*model.ListResourceInstancesResponse, error)
ListResourceInstances 查询凭据实例
查询凭据实例。通过标签过滤,筛选用户凭据,返回凭据列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) ListResourceInstancesInvoker ¶ added in v0.0.90
func (c *CsmsClient) ListResourceInstancesInvoker(request *model.ListResourceInstancesRequest) *ListResourceInstancesInvoker
ListResourceInstancesInvoker 查询凭据实例
func (*CsmsClient) ListSecretEvents ¶ added in v0.1.59
func (c *CsmsClient) ListSecretEvents(request *model.ListSecretEventsRequest) (*model.ListSecretEventsResponse, error)
ListSecretEvents 查询事件列表
查询当前用户在本项目下创建的所有事件。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) ListSecretEventsInvoker ¶ added in v0.1.59
func (c *CsmsClient) ListSecretEventsInvoker(request *model.ListSecretEventsRequest) *ListSecretEventsInvoker
ListSecretEventsInvoker 查询事件列表
func (*CsmsClient) ListSecretTags ¶
func (c *CsmsClient) ListSecretTags(request *model.ListSecretTagsRequest) (*model.ListSecretTagsResponse, error)
ListSecretTags 查询凭据标签
查询凭据标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) ListSecretTagsInvoker ¶ added in v0.0.90
func (c *CsmsClient) ListSecretTagsInvoker(request *model.ListSecretTagsRequest) *ListSecretTagsInvoker
ListSecretTagsInvoker 查询凭据标签
func (*CsmsClient) ListSecretVersions ¶
func (c *CsmsClient) ListSecretVersions(request *model.ListSecretVersionsRequest) (*model.ListSecretVersionsResponse, error)
ListSecretVersions 查询凭据的版本列表
查询指定凭据下的版本列表信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) ListSecretVersionsInvoker ¶ added in v0.0.90
func (c *CsmsClient) ListSecretVersionsInvoker(request *model.ListSecretVersionsRequest) *ListSecretVersionsInvoker
ListSecretVersionsInvoker 查询凭据的版本列表
func (*CsmsClient) ListSecrets ¶
func (c *CsmsClient) ListSecrets(request *model.ListSecretsRequest) (*model.ListSecretsResponse, error)
ListSecrets 查询凭据列表
查询当前用户在本项目下创建的所有凭据。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) ListSecretsInvoker ¶ added in v0.0.90
func (c *CsmsClient) ListSecretsInvoker(request *model.ListSecretsRequest) *ListSecretsInvoker
ListSecretsInvoker 查询凭据列表
func (*CsmsClient) RestoreSecret ¶
func (c *CsmsClient) RestoreSecret(request *model.RestoreSecretRequest) (*model.RestoreSecretResponse, error)
RestoreSecret 取消凭据的定时删除任务
取消凭据的定时删除任务,凭据对象恢复可使用状态。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) RestoreSecretInvoker ¶ added in v0.0.90
func (c *CsmsClient) RestoreSecretInvoker(request *model.RestoreSecretRequest) *RestoreSecretInvoker
RestoreSecretInvoker 取消凭据的定时删除任务
func (*CsmsClient) RotateSecret ¶ added in v0.1.64
func (c *CsmsClient) RotateSecret(request *model.RotateSecretRequest) (*model.RotateSecretResponse, error)
RotateSecret 轮转凭据
立即执行轮转凭据。在指定的凭据中,创建一个新的凭据版本,用于加密存储后台随机产生的凭据值。同时将新创建的凭据版本标记为SYSCURRENT状态。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) RotateSecretInvoker ¶ added in v0.1.64
func (c *CsmsClient) RotateSecretInvoker(request *model.RotateSecretRequest) *RotateSecretInvoker
RotateSecretInvoker 轮转凭据
func (*CsmsClient) ShowSecret ¶
func (c *CsmsClient) ShowSecret(request *model.ShowSecretRequest) (*model.ShowSecretResponse, error)
ShowSecret 查询凭据
查询指定凭据的信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) ShowSecretEvent ¶ added in v0.1.59
func (c *CsmsClient) ShowSecretEvent(request *model.ShowSecretEventRequest) (*model.ShowSecretEventResponse, error)
ShowSecretEvent 查询事件
查询指定事件的信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) ShowSecretEventInvoker ¶ added in v0.1.59
func (c *CsmsClient) ShowSecretEventInvoker(request *model.ShowSecretEventRequest) *ShowSecretEventInvoker
ShowSecretEventInvoker 查询事件
func (*CsmsClient) ShowSecretInvoker ¶ added in v0.0.90
func (c *CsmsClient) ShowSecretInvoker(request *model.ShowSecretRequest) *ShowSecretInvoker
ShowSecretInvoker 查询凭据
func (*CsmsClient) ShowSecretStage ¶
func (c *CsmsClient) ShowSecretStage(request *model.ShowSecretStageRequest) (*model.ShowSecretStageResponse, error)
ShowSecretStage 查询凭据的版本状态
查询指定凭据版本状态标记的版本信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) ShowSecretStageInvoker ¶ added in v0.0.90
func (c *CsmsClient) ShowSecretStageInvoker(request *model.ShowSecretStageRequest) *ShowSecretStageInvoker
ShowSecretStageInvoker 查询凭据的版本状态
func (*CsmsClient) ShowSecretVersion ¶
func (c *CsmsClient) ShowSecretVersion(request *model.ShowSecretVersionRequest) (*model.ShowSecretVersionResponse, error)
ShowSecretVersion 查询凭据的版本与凭据值
查询指定凭据版本的信息和版本中的明文凭据值,只能查询ENABLED状态的凭据。 通过/v1/{project_id}/secrets/{secret_name}/versions/latest (即将当前接口URL中的{version_id}赋值为latest)可访问凭据最新版本的凭据值。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) ShowSecretVersionInvoker ¶ added in v0.0.90
func (c *CsmsClient) ShowSecretVersionInvoker(request *model.ShowSecretVersionRequest) *ShowSecretVersionInvoker
ShowSecretVersionInvoker 查询凭据的版本与凭据值
func (*CsmsClient) UpdateSecret ¶
func (c *CsmsClient) UpdateSecret(request *model.UpdateSecretRequest) (*model.UpdateSecretResponse, error)
UpdateSecret 更新凭据
更新指定凭据的元数据信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) UpdateSecretEvent ¶ added in v0.1.59
func (c *CsmsClient) UpdateSecretEvent(request *model.UpdateSecretEventRequest) (*model.UpdateSecretEventResponse, error)
UpdateSecretEvent 更新事件
更新指定事件的元数据信息。支持更新的元数据包含事件启用状态、基础类型列表、通知主题。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) UpdateSecretEventInvoker ¶ added in v0.1.59
func (c *CsmsClient) UpdateSecretEventInvoker(request *model.UpdateSecretEventRequest) *UpdateSecretEventInvoker
UpdateSecretEventInvoker 更新事件
func (*CsmsClient) UpdateSecretInvoker ¶ added in v0.0.90
func (c *CsmsClient) UpdateSecretInvoker(request *model.UpdateSecretRequest) *UpdateSecretInvoker
UpdateSecretInvoker 更新凭据
func (*CsmsClient) UpdateSecretStage ¶
func (c *CsmsClient) UpdateSecretStage(request *model.UpdateSecretStageRequest) (*model.UpdateSecretStageResponse, error)
UpdateSecretStage 更新凭据的版本状态
更新凭据的版本状态。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) UpdateSecretStageInvoker ¶ added in v0.0.90
func (c *CsmsClient) UpdateSecretStageInvoker(request *model.UpdateSecretStageRequest) *UpdateSecretStageInvoker
UpdateSecretStageInvoker 更新凭据的版本状态
func (*CsmsClient) UpdateVersion ¶ added in v0.1.59
func (c *CsmsClient) UpdateVersion(request *model.UpdateVersionRequest) (*model.UpdateVersionResponse, error)
UpdateVersion 更新凭据版本
当前支持更新指定凭据版本的有效期,只能更新ENABLED状态的凭据。在关联订阅的事件包含“版本过期”基础事件类型时,每次更新版本有效期后仅会触发一次事件通知。
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) UpdateVersionInvoker ¶ added in v0.1.59
func (c *CsmsClient) UpdateVersionInvoker(request *model.UpdateVersionRequest) *UpdateVersionInvoker
UpdateVersionInvoker 更新凭据版本
func (*CsmsClient) UploadSecretBlob ¶ added in v0.0.103
func (c *CsmsClient) UploadSecretBlob(request *model.UploadSecretBlobRequest) (*model.UploadSecretBlobResponse, error)
UploadSecretBlob 恢复凭据对象
通过上传凭据备份文件,恢复凭据对象
Please refer to HUAWEI cloud API Explorer for details.
func (*CsmsClient) UploadSecretBlobInvoker ¶ added in v0.0.103
func (c *CsmsClient) UploadSecretBlobInvoker(request *model.UploadSecretBlobRequest) *UploadSecretBlobInvoker
UploadSecretBlobInvoker 恢复凭据对象
type DeleteSecretEventInvoker ¶ added in v0.1.59
type DeleteSecretEventInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteSecretEventInvoker) Invoke ¶ added in v0.1.59
func (i *DeleteSecretEventInvoker) Invoke() (*model.DeleteSecretEventResponse, error)
type DeleteSecretForScheduleInvoker ¶ added in v0.0.90
type DeleteSecretForScheduleInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteSecretForScheduleInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteSecretForScheduleInvoker) Invoke() (*model.DeleteSecretForScheduleResponse, error)
type DeleteSecretInvoker ¶ added in v0.0.90
type DeleteSecretInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteSecretInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteSecretInvoker) Invoke() (*model.DeleteSecretResponse, error)
type DeleteSecretStageInvoker ¶ added in v0.0.90
type DeleteSecretStageInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteSecretStageInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteSecretStageInvoker) Invoke() (*model.DeleteSecretStageResponse, error)
type DeleteSecretTagInvoker ¶ added in v0.0.90
type DeleteSecretTagInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteSecretTagInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteSecretTagInvoker) Invoke() (*model.DeleteSecretTagResponse, error)
type DownloadSecretBlobInvoker ¶ added in v0.0.103
type DownloadSecretBlobInvoker struct {
*invoker.BaseInvoker
}
func (*DownloadSecretBlobInvoker) Invoke ¶ added in v0.0.103
func (i *DownloadSecretBlobInvoker) Invoke() (*model.DownloadSecretBlobResponse, error)
type ListNotificationRecordsInvoker ¶ added in v0.1.59
type ListNotificationRecordsInvoker struct {
*invoker.BaseInvoker
}
func (*ListNotificationRecordsInvoker) Invoke ¶ added in v0.1.59
func (i *ListNotificationRecordsInvoker) Invoke() (*model.ListNotificationRecordsResponse, error)
type ListProjectSecretsTagsInvoker ¶ added in v0.0.90
type ListProjectSecretsTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListProjectSecretsTagsInvoker) Invoke ¶ added in v0.0.90
func (i *ListProjectSecretsTagsInvoker) Invoke() (*model.ListProjectSecretsTagsResponse, error)
type ListResourceInstancesInvoker ¶ added in v0.0.90
type ListResourceInstancesInvoker struct {
*invoker.BaseInvoker
}
func (*ListResourceInstancesInvoker) Invoke ¶ added in v0.0.90
func (i *ListResourceInstancesInvoker) Invoke() (*model.ListResourceInstancesResponse, error)
type ListSecretEventsInvoker ¶ added in v0.1.59
type ListSecretEventsInvoker struct {
*invoker.BaseInvoker
}
func (*ListSecretEventsInvoker) Invoke ¶ added in v0.1.59
func (i *ListSecretEventsInvoker) Invoke() (*model.ListSecretEventsResponse, error)
type ListSecretTagsInvoker ¶ added in v0.0.90
type ListSecretTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListSecretTagsInvoker) Invoke ¶ added in v0.0.90
func (i *ListSecretTagsInvoker) Invoke() (*model.ListSecretTagsResponse, error)
type ListSecretVersionsInvoker ¶ added in v0.0.90
type ListSecretVersionsInvoker struct {
*invoker.BaseInvoker
}
func (*ListSecretVersionsInvoker) Invoke ¶ added in v0.0.90
func (i *ListSecretVersionsInvoker) Invoke() (*model.ListSecretVersionsResponse, error)
type ListSecretsInvoker ¶ added in v0.0.90
type ListSecretsInvoker struct {
*invoker.BaseInvoker
}
func (*ListSecretsInvoker) Invoke ¶ added in v0.0.90
func (i *ListSecretsInvoker) Invoke() (*model.ListSecretsResponse, error)
type RestoreSecretInvoker ¶ added in v0.0.90
type RestoreSecretInvoker struct {
*invoker.BaseInvoker
}
func (*RestoreSecretInvoker) Invoke ¶ added in v0.0.90
func (i *RestoreSecretInvoker) Invoke() (*model.RestoreSecretResponse, error)
type RotateSecretInvoker ¶ added in v0.1.64
type RotateSecretInvoker struct {
*invoker.BaseInvoker
}
func (*RotateSecretInvoker) Invoke ¶ added in v0.1.64
func (i *RotateSecretInvoker) Invoke() (*model.RotateSecretResponse, error)
type ShowSecretEventInvoker ¶ added in v0.1.59
type ShowSecretEventInvoker struct {
*invoker.BaseInvoker
}
func (*ShowSecretEventInvoker) Invoke ¶ added in v0.1.59
func (i *ShowSecretEventInvoker) Invoke() (*model.ShowSecretEventResponse, error)
type ShowSecretInvoker ¶ added in v0.0.90
type ShowSecretInvoker struct {
*invoker.BaseInvoker
}
func (*ShowSecretInvoker) Invoke ¶ added in v0.0.90
func (i *ShowSecretInvoker) Invoke() (*model.ShowSecretResponse, error)
type ShowSecretStageInvoker ¶ added in v0.0.90
type ShowSecretStageInvoker struct {
*invoker.BaseInvoker
}
func (*ShowSecretStageInvoker) Invoke ¶ added in v0.0.90
func (i *ShowSecretStageInvoker) Invoke() (*model.ShowSecretStageResponse, error)
type ShowSecretVersionInvoker ¶ added in v0.0.90
type ShowSecretVersionInvoker struct {
*invoker.BaseInvoker
}
func (*ShowSecretVersionInvoker) Invoke ¶ added in v0.0.90
func (i *ShowSecretVersionInvoker) Invoke() (*model.ShowSecretVersionResponse, error)
type UpdateSecretEventInvoker ¶ added in v0.1.59
type UpdateSecretEventInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateSecretEventInvoker) Invoke ¶ added in v0.1.59
func (i *UpdateSecretEventInvoker) Invoke() (*model.UpdateSecretEventResponse, error)
type UpdateSecretInvoker ¶ added in v0.0.90
type UpdateSecretInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateSecretInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateSecretInvoker) Invoke() (*model.UpdateSecretResponse, error)
type UpdateSecretStageInvoker ¶ added in v0.0.90
type UpdateSecretStageInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateSecretStageInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateSecretStageInvoker) Invoke() (*model.UpdateSecretStageResponse, error)
type UpdateVersionInvoker ¶ added in v0.1.59
type UpdateVersionInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateVersionInvoker) Invoke ¶ added in v0.1.59
func (i *UpdateVersionInvoker) Invoke() (*model.UpdateVersionResponse, error)
type UploadSecretBlobInvoker ¶ added in v0.0.103
type UploadSecretBlobInvoker struct {
*invoker.BaseInvoker
}
func (*UploadSecretBlobInvoker) Invoke ¶ added in v0.0.103
func (i *UploadSecretBlobInvoker) Invoke() (*model.UploadSecretBlobResponse, error)