v1

package
v0.1.127 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CsmsClientBuilder

func CsmsClientBuilder() *httpclient.HcHttpClientBuilder

func GenReqDefForBatchCreateOrDeleteTags

func GenReqDefForBatchCreateOrDeleteTags() *def.HttpRequestDef

func GenReqDefForCreateAgency added in v0.1.124

func GenReqDefForCreateAgency() *def.HttpRequestDef

func GenReqDefForCreateGrants added in v0.1.126

func GenReqDefForCreateGrants() *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 GenReqDefForDeleteGrant added in v0.1.126

func GenReqDefForDeleteGrant() *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 GenReqDefForGenerateRandomPassword added in v0.1.126

func GenReqDefForGenerateRandomPassword() *def.HttpRequestDef

func GenReqDefForListGrants added in v0.1.126

func GenReqDefForListGrants() *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 GenReqDefForListSecretTask added in v0.1.124

func GenReqDefForListSecretTask() *def.HttpRequestDef

func GenReqDefForListSecretVersions

func GenReqDefForListSecretVersions() *def.HttpRequestDef

func GenReqDefForListSecrets

func GenReqDefForListSecrets() *def.HttpRequestDef

func GenReqDefForListUsers added in v0.1.126

func GenReqDefForListUsers() *def.HttpRequestDef

func GenReqDefForRestoreSecret

func GenReqDefForRestoreSecret() *def.HttpRequestDef

func GenReqDefForRotateSecret added in v0.1.64

func GenReqDefForRotateSecret() *def.HttpRequestDef

func GenReqDefForShowAgency added in v0.1.124

func GenReqDefForShowAgency() *def.HttpRequestDef

func GenReqDefForShowSecret

func GenReqDefForShowSecret() *def.HttpRequestDef

func GenReqDefForShowSecretEvent added in v0.1.59

func GenReqDefForShowSecretEvent() *def.HttpRequestDef

func GenReqDefForShowSecretFunctionTemplates added in v0.1.124

func GenReqDefForShowSecretFunctionTemplates() *def.HttpRequestDef

func GenReqDefForShowSecretStage

func GenReqDefForShowSecretStage() *def.HttpRequestDef

func GenReqDefForShowSecretVersion

func GenReqDefForShowSecretVersion() *def.HttpRequestDef

func GenReqDefForUpdateGrant added in v0.1.126

func GenReqDefForUpdateGrant() *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) GetBaseInvoker added in v0.1.118

func (i *BatchCreateOrDeleteTagsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*BatchCreateOrDeleteTagsInvoker) Invoke added in v0.0.90

type CreateAgencyInvoker added in v0.1.124

type CreateAgencyInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateAgencyInvoker) GetBaseInvoker added in v0.1.124

func (i *CreateAgencyInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateAgencyInvoker) Invoke added in v0.1.124

type CreateGrantsInvoker added in v0.1.126

type CreateGrantsInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateGrantsInvoker) GetBaseInvoker added in v0.1.126

func (i *CreateGrantsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateGrantsInvoker) Invoke added in v0.1.126

type CreateSecretEventInvoker added in v0.1.59

type CreateSecretEventInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateSecretEventInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateSecretEventInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateSecretEventInvoker) Invoke added in v0.1.59

type CreateSecretInvoker added in v0.0.90

type CreateSecretInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateSecretInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateSecretInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateSecretInvoker) Invoke added in v0.0.90

type CreateSecretTagInvoker added in v0.0.90

type CreateSecretTagInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateSecretTagInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateSecretTagInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateSecretTagInvoker) Invoke added in v0.0.90

type CreateSecretVersionInvoker added in v0.0.90

type CreateSecretVersionInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateSecretVersionInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateSecretVersionInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateSecretVersionInvoker) Invoke added in v0.0.90

type CsmsClient

type CsmsClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewCsmsClient

func NewCsmsClient(hcClient *httpclient.HcHttpClient) *CsmsClient

func (*CsmsClient) BatchCreateOrDeleteTags

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) CreateAgency added in v0.1.124

func (c *CsmsClient) CreateAgency(request *model.CreateAgencyRequest) (*model.CreateAgencyResponse, error)

CreateAgency 创建服务委托

创建服务委托。用于创建凭据管理服务相关委托和函数工作流相关委托。

Please refer to HUAWEI cloud API Explorer for details.

func (*CsmsClient) CreateAgencyInvoker added in v0.1.124

func (c *CsmsClient) CreateAgencyInvoker(request *model.CreateAgencyRequest) *CreateAgencyInvoker

CreateAgencyInvoker 创建服务委托

func (*CsmsClient) CreateGrants added in v0.1.126

func (c *CsmsClient) CreateGrants(request *model.CreateGrantsRequest) (*model.CreateGrantsResponse, error)

CreateGrants 授权操作

授权操作

Please refer to HUAWEI cloud API Explorer for details.

func (*CsmsClient) CreateGrantsInvoker added in v0.1.126

func (c *CsmsClient) CreateGrantsInvoker(request *model.CreateGrantsRequest) *CreateGrantsInvoker

CreateGrantsInvoker 授权操作

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

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

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) DeleteGrant added in v0.1.126

func (c *CsmsClient) DeleteGrant(request *model.DeleteGrantRequest) (*model.DeleteGrantResponse, error)

DeleteGrant 删除授权

删除授权

Please refer to HUAWEI cloud API Explorer for details.

func (*CsmsClient) DeleteGrantInvoker added in v0.1.126

func (c *CsmsClient) DeleteGrantInvoker(request *model.DeleteGrantRequest) *DeleteGrantInvoker

DeleteGrantInvoker 删除授权

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

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

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

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

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) GenerateRandomPassword added in v0.1.126

GenerateRandomPassword

生成随机密码

Please refer to HUAWEI cloud API Explorer for details.

func (*CsmsClient) GenerateRandomPasswordInvoker added in v0.1.126

func (c *CsmsClient) GenerateRandomPasswordInvoker(request *model.GenerateRandomPasswordRequest) *GenerateRandomPasswordInvoker

GenerateRandomPasswordInvoker

func (*CsmsClient) ListGrants added in v0.1.126

func (c *CsmsClient) ListGrants(request *model.ListGrantsRequest) (*model.ListGrantsResponse, error)

ListGrants 授权列表

授权列表

Please refer to HUAWEI cloud API Explorer for details.

func (*CsmsClient) ListGrantsInvoker added in v0.1.126

func (c *CsmsClient) ListGrantsInvoker(request *model.ListGrantsRequest) *ListGrantsInvoker

ListGrantsInvoker 授权列表

func (*CsmsClient) ListNotificationRecords added in v0.1.59

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

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

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) ListSecretTask added in v0.1.124

func (c *CsmsClient) ListSecretTask(request *model.ListSecretTaskRequest) (*model.ListSecretTaskResponse, error)

ListSecretTask 查询任务列表

查询任务列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*CsmsClient) ListSecretTaskInvoker added in v0.1.124

func (c *CsmsClient) ListSecretTaskInvoker(request *model.ListSecretTaskRequest) *ListSecretTaskInvoker

ListSecretTaskInvoker 查询任务列表

func (*CsmsClient) ListSecretVersions

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) ListUsers added in v0.1.126

func (c *CsmsClient) ListUsers(request *model.ListUsersRequest) (*model.ListUsersResponse, error)

ListUsers 查询用户列表

查询用户列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*CsmsClient) ListUsersInvoker added in v0.1.126

func (c *CsmsClient) ListUsersInvoker(request *model.ListUsersRequest) *ListUsersInvoker

ListUsersInvoker 查询用户列表

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) ShowAgency added in v0.1.124

func (c *CsmsClient) ShowAgency(request *model.ShowAgencyRequest) (*model.ShowAgencyResponse, error)

ShowAgency 查看是否有服务委托

查看是否有服务委托

Please refer to HUAWEI cloud API Explorer for details.

func (*CsmsClient) ShowAgencyInvoker added in v0.1.124

func (c *CsmsClient) ShowAgencyInvoker(request *model.ShowAgencyRequest) *ShowAgencyInvoker

ShowAgencyInvoker 查看是否有服务委托

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) ShowSecretFunctionTemplates added in v0.1.124

ShowSecretFunctionTemplates 获取凭据轮转函数模板

获取凭据轮转函数模板。

Please refer to HUAWEI cloud API Explorer for details.

func (*CsmsClient) ShowSecretFunctionTemplatesInvoker added in v0.1.124

func (c *CsmsClient) ShowSecretFunctionTemplatesInvoker(request *model.ShowSecretFunctionTemplatesRequest) *ShowSecretFunctionTemplatesInvoker

ShowSecretFunctionTemplatesInvoker 获取凭据轮转函数模板

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

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) UpdateGrant added in v0.1.126

func (c *CsmsClient) UpdateGrant(request *model.UpdateGrantRequest) (*model.UpdateGrantResponse, error)

UpdateGrant 更新授权

更新授权

Please refer to HUAWEI cloud API Explorer for details.

func (*CsmsClient) UpdateGrantInvoker added in v0.1.126

func (c *CsmsClient) UpdateGrantInvoker(request *model.UpdateGrantRequest) *UpdateGrantInvoker

UpdateGrantInvoker 更新授权

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

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

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 DeleteGrantInvoker added in v0.1.126

type DeleteGrantInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteGrantInvoker) GetBaseInvoker added in v0.1.126

func (i *DeleteGrantInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteGrantInvoker) Invoke added in v0.1.126

type DeleteSecretEventInvoker added in v0.1.59

type DeleteSecretEventInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteSecretEventInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteSecretEventInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteSecretEventInvoker) Invoke added in v0.1.59

type DeleteSecretForScheduleInvoker added in v0.0.90

type DeleteSecretForScheduleInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteSecretForScheduleInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteSecretForScheduleInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteSecretForScheduleInvoker) Invoke added in v0.0.90

type DeleteSecretInvoker added in v0.0.90

type DeleteSecretInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteSecretInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteSecretInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteSecretInvoker) Invoke added in v0.0.90

type DeleteSecretStageInvoker added in v0.0.90

type DeleteSecretStageInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteSecretStageInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteSecretStageInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteSecretStageInvoker) Invoke added in v0.0.90

type DeleteSecretTagInvoker added in v0.0.90

type DeleteSecretTagInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteSecretTagInvoker) GetBaseInvoker added in v0.1.118

func (i *DeleteSecretTagInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DeleteSecretTagInvoker) Invoke added in v0.0.90

type DownloadSecretBlobInvoker added in v0.0.103

type DownloadSecretBlobInvoker struct {
	*invoker.BaseInvoker
}

func (*DownloadSecretBlobInvoker) GetBaseInvoker added in v0.1.118

func (i *DownloadSecretBlobInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*DownloadSecretBlobInvoker) Invoke added in v0.0.103

type GenerateRandomPasswordInvoker added in v0.1.126

type GenerateRandomPasswordInvoker struct {
	*invoker.BaseInvoker
}

func (*GenerateRandomPasswordInvoker) GetBaseInvoker added in v0.1.126

func (i *GenerateRandomPasswordInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*GenerateRandomPasswordInvoker) Invoke added in v0.1.126

type ListGrantsInvoker added in v0.1.126

type ListGrantsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListGrantsInvoker) GetBaseInvoker added in v0.1.126

func (i *ListGrantsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListGrantsInvoker) Invoke added in v0.1.126

type ListNotificationRecordsInvoker added in v0.1.59

type ListNotificationRecordsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListNotificationRecordsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListNotificationRecordsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListNotificationRecordsInvoker) Invoke added in v0.1.59

type ListProjectSecretsTagsInvoker added in v0.0.90

type ListProjectSecretsTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProjectSecretsTagsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListProjectSecretsTagsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListProjectSecretsTagsInvoker) Invoke added in v0.0.90

type ListResourceInstancesInvoker added in v0.0.90

type ListResourceInstancesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListResourceInstancesInvoker) GetBaseInvoker added in v0.1.118

func (i *ListResourceInstancesInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListResourceInstancesInvoker) Invoke added in v0.0.90

type ListSecretEventsInvoker added in v0.1.59

type ListSecretEventsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSecretEventsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListSecretEventsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListSecretEventsInvoker) Invoke added in v0.1.59

type ListSecretTagsInvoker added in v0.0.90

type ListSecretTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSecretTagsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListSecretTagsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListSecretTagsInvoker) Invoke added in v0.0.90

type ListSecretTaskInvoker added in v0.1.124

type ListSecretTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSecretTaskInvoker) GetBaseInvoker added in v0.1.124

func (i *ListSecretTaskInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListSecretTaskInvoker) Invoke added in v0.1.124

type ListSecretVersionsInvoker added in v0.0.90

type ListSecretVersionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSecretVersionsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListSecretVersionsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListSecretVersionsInvoker) Invoke added in v0.0.90

type ListSecretsInvoker added in v0.0.90

type ListSecretsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSecretsInvoker) GetBaseInvoker added in v0.1.118

func (i *ListSecretsInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListSecretsInvoker) Invoke added in v0.0.90

type ListUsersInvoker added in v0.1.126

type ListUsersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListUsersInvoker) GetBaseInvoker added in v0.1.126

func (i *ListUsersInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListUsersInvoker) Invoke added in v0.1.126

type RestoreSecretInvoker added in v0.0.90

type RestoreSecretInvoker struct {
	*invoker.BaseInvoker
}

func (*RestoreSecretInvoker) GetBaseInvoker added in v0.1.118

func (i *RestoreSecretInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RestoreSecretInvoker) Invoke added in v0.0.90

type RotateSecretInvoker added in v0.1.64

type RotateSecretInvoker struct {
	*invoker.BaseInvoker
}

func (*RotateSecretInvoker) GetBaseInvoker added in v0.1.118

func (i *RotateSecretInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RotateSecretInvoker) Invoke added in v0.1.64

type ShowAgencyInvoker added in v0.1.124

type ShowAgencyInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAgencyInvoker) GetBaseInvoker added in v0.1.124

func (i *ShowAgencyInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowAgencyInvoker) Invoke added in v0.1.124

type ShowSecretEventInvoker added in v0.1.59

type ShowSecretEventInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowSecretEventInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowSecretEventInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowSecretEventInvoker) Invoke added in v0.1.59

type ShowSecretFunctionTemplatesInvoker added in v0.1.124

type ShowSecretFunctionTemplatesInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowSecretFunctionTemplatesInvoker) GetBaseInvoker added in v0.1.124

func (*ShowSecretFunctionTemplatesInvoker) Invoke added in v0.1.124

type ShowSecretInvoker added in v0.0.90

type ShowSecretInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowSecretInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowSecretInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowSecretInvoker) Invoke added in v0.0.90

type ShowSecretStageInvoker added in v0.0.90

type ShowSecretStageInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowSecretStageInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowSecretStageInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowSecretStageInvoker) Invoke added in v0.0.90

type ShowSecretVersionInvoker added in v0.0.90

type ShowSecretVersionInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowSecretVersionInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowSecretVersionInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowSecretVersionInvoker) Invoke added in v0.0.90

type UpdateGrantInvoker added in v0.1.126

type UpdateGrantInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateGrantInvoker) GetBaseInvoker added in v0.1.126

func (i *UpdateGrantInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdateGrantInvoker) Invoke added in v0.1.126

type UpdateSecretEventInvoker added in v0.1.59

type UpdateSecretEventInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateSecretEventInvoker) GetBaseInvoker added in v0.1.118

func (i *UpdateSecretEventInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdateSecretEventInvoker) Invoke added in v0.1.59

type UpdateSecretInvoker added in v0.0.90

type UpdateSecretInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateSecretInvoker) GetBaseInvoker added in v0.1.118

func (i *UpdateSecretInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdateSecretInvoker) Invoke added in v0.0.90

type UpdateSecretStageInvoker added in v0.0.90

type UpdateSecretStageInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateSecretStageInvoker) GetBaseInvoker added in v0.1.118

func (i *UpdateSecretStageInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdateSecretStageInvoker) Invoke added in v0.0.90

type UpdateVersionInvoker added in v0.1.59

type UpdateVersionInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateVersionInvoker) GetBaseInvoker added in v0.1.118

func (i *UpdateVersionInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpdateVersionInvoker) Invoke added in v0.1.59

type UploadSecretBlobInvoker added in v0.0.103

type UploadSecretBlobInvoker struct {
	*invoker.BaseInvoker
}

func (*UploadSecretBlobInvoker) GetBaseInvoker added in v0.1.118

func (i *UploadSecretBlobInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UploadSecretBlobInvoker) Invoke added in v0.0.103

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL