Documentation ¶
Index ¶
- func CsmsClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForBatchCreateOrDeleteTags() *def.HttpRequestDef
- func GenReqDefForCreateSecret() *def.HttpRequestDef
- func GenReqDefForCreateSecretTag() *def.HttpRequestDef
- func GenReqDefForCreateSecretVersion() *def.HttpRequestDef
- func GenReqDefForDeleteSecret() *def.HttpRequestDef
- func GenReqDefForDeleteSecretForSchedule() *def.HttpRequestDef
- func GenReqDefForDeleteSecretStage() *def.HttpRequestDef
- func GenReqDefForDeleteSecretTag() *def.HttpRequestDef
- func GenReqDefForDownloadSecretBlob() *def.HttpRequestDef
- func GenReqDefForListProjectSecretsTags() *def.HttpRequestDef
- func GenReqDefForListResourceInstances() *def.HttpRequestDef
- func GenReqDefForListSecretTags() *def.HttpRequestDef
- func GenReqDefForListSecretVersions() *def.HttpRequestDef
- func GenReqDefForListSecrets() *def.HttpRequestDef
- func GenReqDefForRestoreSecret() *def.HttpRequestDef
- func GenReqDefForShowSecret() *def.HttpRequestDef
- func GenReqDefForShowSecretStage() *def.HttpRequestDef
- func GenReqDefForShowSecretVersion() *def.HttpRequestDef
- func GenReqDefForUpdateSecret() *def.HttpRequestDef
- func GenReqDefForUpdateSecretStage() *def.HttpRequestDef
- func GenReqDefForUploadSecretBlob() *def.HttpRequestDef
- type BatchCreateOrDeleteTagsInvoker
- 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) 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) 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) 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) 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) ShowSecret(request *model.ShowSecretRequest) (*model.ShowSecretResponse, error)
- 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) 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) UploadSecretBlob(request *model.UploadSecretBlobRequest) (*model.UploadSecretBlobResponse, error)
- func (c *CsmsClient) UploadSecretBlobInvoker(request *model.UploadSecretBlobRequest) *UploadSecretBlobInvoker
- type DeleteSecretForScheduleInvoker
- type DeleteSecretInvoker
- type DeleteSecretStageInvoker
- type DeleteSecretTagInvoker
- type DownloadSecretBlobInvoker
- type ListProjectSecretsTagsInvoker
- type ListResourceInstancesInvoker
- type ListSecretTagsInvoker
- type ListSecretVersionsInvoker
- type ListSecretsInvoker
- type RestoreSecretInvoker
- type ShowSecretInvoker
- type ShowSecretStageInvoker
- type ShowSecretVersionInvoker
- type UpdateSecretInvoker
- type UpdateSecretStageInvoker
- type UploadSecretBlobInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CsmsClientBuilder ¶
func CsmsClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForBatchCreateOrDeleteTags ¶
func GenReqDefForBatchCreateOrDeleteTags() *def.HttpRequestDef
func GenReqDefForCreateSecret ¶
func GenReqDefForCreateSecret() *def.HttpRequestDef
func GenReqDefForCreateSecretTag ¶
func GenReqDefForCreateSecretTag() *def.HttpRequestDef
func GenReqDefForCreateSecretVersion ¶
func GenReqDefForCreateSecretVersion() *def.HttpRequestDef
func GenReqDefForDeleteSecret ¶
func GenReqDefForDeleteSecret() *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 GenReqDefForListProjectSecretsTags ¶
func GenReqDefForListProjectSecretsTags() *def.HttpRequestDef
func GenReqDefForListResourceInstances ¶
func GenReqDefForListResourceInstances() *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 GenReqDefForShowSecret ¶
func GenReqDefForShowSecret() *def.HttpRequestDef
func GenReqDefForShowSecretStage ¶
func GenReqDefForShowSecretStage() *def.HttpRequestDef
func GenReqDefForShowSecretVersion ¶
func GenReqDefForShowSecretVersion() *def.HttpRequestDef
func GenReqDefForUpdateSecret ¶
func GenReqDefForUpdateSecret() *def.HttpRequestDef
func GenReqDefForUpdateSecretStage ¶
func GenReqDefForUpdateSecretStage() *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 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 *http_client.HcHttpClient
}
func NewCsmsClient ¶
func NewCsmsClient(hcClient *http_client.HcHttpClient) *CsmsClient
func (*CsmsClient) BatchCreateOrDeleteTags ¶
func (c *CsmsClient) BatchCreateOrDeleteTags(request *model.BatchCreateOrDeleteTagsRequest) (*model.BatchCreateOrDeleteTagsResponse, error)
BatchCreateOrDeleteTags 批量添加或删除凭据标签
- 功能介绍:批量添加或删除凭据标签。
详细说明请参考华为云API Explorer。 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。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
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 添加凭据标签
- 功能介绍:添加凭据标签。
详细说明请参考华为云API Explorer。 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参数来覆盖默认行为。
详细说明请参考华为云API Explorer。 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 立即删除凭据
立即删除指定的凭据,且无法恢复。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CsmsClient) DeleteSecretForSchedule ¶
func (c *CsmsClient) DeleteSecretForSchedule(request *model.DeleteSecretForScheduleRequest) (*model.DeleteSecretForScheduleResponse, error)
DeleteSecretForSchedule 创建凭据的定时删除任务
指定延迟删除时间,创建删除凭据的定时任务,可设置7~30天的的延迟删除时间。
详细说明请参考华为云API Explorer。 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 删除凭据的版本状态
删除指定的凭据版本状态。
详细说明请参考华为云API Explorer。 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 删除凭据标签
- 功能介绍:删除凭据标签。
详细说明请参考华为云API Explorer。 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 下载凭据备份
下载指定凭据的备份文件
详细说明请参考华为云API Explorer。 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) ListProjectSecretsTags ¶
func (c *CsmsClient) ListProjectSecretsTags(request *model.ListProjectSecretsTagsRequest) (*model.ListProjectSecretsTagsResponse, error)
ListProjectSecretsTags 查询项目标签
- 功能介绍:查询用户在指定项目下的所有凭据标签集合。
详细说明请参考华为云API Explorer。 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 查询凭据实例
- 功能介绍:查询凭据实例。通过标签过滤,筛选用户凭据,返回凭据列表。
详细说明请参考华为云API Explorer。 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) ListSecretTags ¶
func (c *CsmsClient) ListSecretTags(request *model.ListSecretTagsRequest) (*model.ListSecretTagsResponse, error)
ListSecretTags 查询凭据标签
- 功能介绍:查询凭据标签。
详细说明请参考华为云API Explorer。 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 查询凭据的版本列表
查询指定凭据下的版本列表信息。
详细说明请参考华为云API Explorer。 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 查询凭据列表
查询当前用户在本项目下创建的所有凭据。
详细说明请参考华为云API Explorer。 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 取消凭据的定时删除任务
取消凭据的定时删除任务,凭据对象恢复可使用状态。
详细说明请参考华为云API Explorer。 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) ShowSecret ¶
func (c *CsmsClient) ShowSecret(request *model.ShowSecretRequest) (*model.ShowSecretResponse, error)
ShowSecret 查询凭据
查询指定凭据的信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
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 查询凭据的版本状态
查询指定凭据版本状态标记的版本信息。
详细说明请参考华为云API Explorer。 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)可访问凭据最新版本的凭据值。
详细说明请参考华为云API Explorer。 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 更新凭据
更新指定凭据的元数据信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
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 更新凭据的版本状态
更新凭据的版本状态。
详细说明请参考华为云API Explorer。 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) UploadSecretBlob ¶ added in v0.0.103
func (c *CsmsClient) UploadSecretBlob(request *model.UploadSecretBlobRequest) (*model.UploadSecretBlobResponse, error)
UploadSecretBlob 恢复凭据对象
通过上传凭据备份文件,恢复凭据对象
详细说明请参考华为云API Explorer。 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 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 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 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 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 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 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)