Documentation ¶
Index ¶
- type ActionResources
- type AliasEntity
- type ApiLink
- type ApiVersionDetail
- type AssociateAliasRequest
- type AssociateAliasRequestBody
- type AssociateAliasResponse
- type BatchCreateKmsTagsRequest
- type BatchCreateKmsTagsRequestBody
- type BatchCreateKmsTagsResponse
- type CancelGrantRequest
- type CancelGrantResponse
- type CancelKeyDeletionRequest
- type CancelKeyDeletionResponse
- type CancelSelfGrantRequest
- type CancelSelfGrantResponse
- type CreateAliasRequest
- type CreateAliasRequestBody
- type CreateAliasResponse
- type CreateDatakeyRequest
- type CreateDatakeyRequestBody
- type CreateDatakeyRequestBodyKeySpec
- type CreateDatakeyRequestBodyKeySpecEnum
- type CreateDatakeyResponse
- type CreateDatakeyWithoutPlaintextRequest
- type CreateDatakeyWithoutPlaintextResponse
- type CreateGrantRequest
- type CreateGrantRequestBody
- type CreateGrantRequestBodyGranteePrincipalType
- type CreateGrantRequestBodyGranteePrincipalTypeEnum
- type CreateGrantResponse
- type CreateKeyRequest
- type CreateKeyRequestBody
- type CreateKeyRequestBodyKeySpec
- type CreateKeyRequestBodyKeySpecEnum
- type CreateKeyRequestBodyKeyUsage
- type CreateKeyRequestBodyKeyUsageEnum
- type CreateKeyRequestBodyOrigin
- type CreateKeyRequestBodyOriginEnum
- type CreateKeyResponse
- type CreateKeyStoreRequest
- type CreateKeyStoreRequestBody
- type CreateKeyStoreResponse
- type CreateKmsTagRequest
- type CreateKmsTagRequestBody
- type CreateKmsTagResponse
- type CreateParametersForImportRequest
- type CreateParametersForImportResponse
- type CreateRandomRequest
- type CreateRandomResponse
- type DecryptDataRequest
- type DecryptDataRequestBody
- type DecryptDataRequestBodyEncryptionAlgorithm
- type DecryptDataRequestBodyEncryptionAlgorithmEnum
- type DecryptDataResponse
- type DecryptDatakeyRequest
- type DecryptDatakeyRequestBody
- type DecryptDatakeyResponse
- type DeleteAliasRequest
- type DeleteAliasRequestBody
- type DeleteAliasResponse
- type DeleteImportedKeyMaterialRequest
- type DeleteImportedKeyMaterialResponse
- type DeleteKeyRequest
- type DeleteKeyResponse
- type DeleteKeyStoreRequest
- type DeleteKeyStoreResponse
- type DeleteTagRequest
- type DeleteTagResponse
- type DisableKeyRequest
- type DisableKeyResponse
- type DisableKeyRotationRequest
- type DisableKeyRotationResponse
- type DisableKeyStoreRequest
- type DisableKeyStoreResponse
- type EnableKeyRequest
- type EnableKeyResponse
- type EnableKeyRotationRequest
- type EnableKeyRotationResponse
- type EnableKeyStoreRequest
- type EnableKeyStoreResponse
- type EncryptDataRequest
- type EncryptDataRequestBody
- type EncryptDataRequestBodyEncryptionAlgorithm
- type EncryptDataRequestBodyEncryptionAlgorithmEnum
- type EncryptDataResponse
- type EncryptDatakeyRequest
- type EncryptDatakeyRequestBody
- type EncryptDatakeyResponse
- type GenRandomRequestBody
- type GenerateMacRequest
- type GenerateMacRequestBody
- type GenerateMacRequestBodyMacAlgorithm
- type GenerateMacRequestBodyMacAlgorithmEnum
- type GenerateMacResponse
- type GetParametersForImportRequestBody
- type GetParametersForImportRequestBodyWrappingAlgorithm
- type GetParametersForImportRequestBodyWrappingAlgorithmEnum
- type Grants
- type GrantsGranteePrincipalType
- type GrantsGranteePrincipalTypeEnum
- type ImportKeyMaterialRequest
- type ImportKeyMaterialRequestBody
- type ImportKeyMaterialResponse
- type KeKInfo
- type KeyAliasInfo
- type KeyDescriptionInfo
- type KeyDetails
- type KeyDetailsKeySpec
- type KeyDetailsKeySpecEnum
- type KeyDetailsKeyUsage
- type KeyDetailsKeyUsageEnum
- type KeyDetailsOrigin
- type KeyDetailsOriginEnum
- type KeyStatusInfo
- type KeyStoreStateInfo
- type KeystoreDetails
- type KeystoreInfo
- type ListAliasResponseBody
- type ListAliasesRequest
- type ListAliasesResponse
- type ListGrantsRequest
- type ListGrantsRequestBody
- type ListGrantsResponse
- type ListGrantsResponseTruncated
- type ListGrantsResponseTruncatedEnum
- type ListKeyDetailRequest
- type ListKeyDetailResponse
- type ListKeyStoresRequest
- type ListKeyStoresResponse
- type ListKeysRequest
- type ListKeysRequestBody
- type ListKeysRequestBodyKeySpec
- type ListKeysRequestBodyKeySpecEnum
- type ListKeysResponse
- type ListKeysResponseTruncated
- type ListKeysResponseTruncatedEnum
- type ListKmsByTagsRequest
- type ListKmsByTagsRequestBody
- type ListKmsByTagsResponse
- type ListKmsTagsRequest
- type ListKmsTagsResponse
- type ListRetirableGrantsRequest
- type ListRetirableGrantsRequestBody
- type ListRetirableGrantsResponse
- type ListRetirableGrantsResponseTruncated
- type ListRetirableGrantsResponseTruncatedEnum
- type ListSupportRegionsRequest
- type ListSupportRegionsResponse
- type OperateKeyRequestBody
- type PageInfo
- type Quotas
- type ReplicateKeyRequest
- type ReplicateKeyRequestBody
- type ReplicateKeyResponse
- type Resources
- type ResourcesType
- type ResourcesTypeEnum
- type RevokeGrantRequestBody
- type ScheduleKeyDeletionRequestBody
- type ShowKeyRotationStatusRequest
- type ShowKeyRotationStatusResponse
- type ShowKeyStoreRequest
- type ShowKeyStoreResponse
- type ShowKmsTagsRequest
- type ShowKmsTagsResponse
- type ShowPublicKeyRequest
- type ShowPublicKeyResponse
- type ShowUserInstancesRequest
- type ShowUserInstancesResponse
- type ShowUserQuotasRequest
- type ShowUserQuotasResponse
- type ShowVersionRequest
- type ShowVersionResponse
- type ShowVersionsRequest
- type ShowVersionsResponse
- type SignRequest
- type SignRequestBody
- type SignRequestBodyMessageType
- type SignRequestBodyMessageTypeEnum
- type SignRequestBodySigningAlgorithm
- type SignRequestBodySigningAlgorithmEnum
- type SignResponse
- type Tag
- type TagItem
- type UpdateKeyAliasRequest
- type UpdateKeyAliasRequestBody
- type UpdateKeyAliasResponse
- type UpdateKeyDescriptionRequest
- type UpdateKeyDescriptionRequestBody
- type UpdateKeyDescriptionResponse
- type UpdateKeyRotationIntervalRequest
- type UpdateKeyRotationIntervalRequestBody
- type UpdateKeyRotationIntervalResponse
- type UpdatePrimaryRegionRequest
- type UpdatePrimaryRegionRequestBody
- type UpdatePrimaryRegionResponse
- type ValidateSignatureRequest
- type ValidateSignatureResponse
- type VerifyMacRequest
- type VerifyMacRequestBody
- type VerifyMacRequestBodyMacAlgorithm
- type VerifyMacRequestBodyMacAlgorithmEnum
- type VerifyMacResponse
- type VerifyRequestBody
- type VerifyRequestBodyMessageType
- type VerifyRequestBodyMessageTypeEnum
- type VerifyRequestBodySigningAlgorithm
- type VerifyRequestBodySigningAlgorithmEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionResources ¶
type ActionResources struct { // 资源ID。 ResourceId *string `json:"resource_id,omitempty"` ResourceDetail *KeyDetails `json:"resource_detail,omitempty"` // 资源名称,默认为空字符串。 ResourceName *string `json:"resource_name,omitempty"` // 标签列表,没有标签,数组默认为空。 Tags *[]TagItem `json:"tags,omitempty"` }
func (ActionResources) String ¶
func (o ActionResources) String() string
type AliasEntity ¶ added in v0.1.124
type AliasEntity struct { // 账号ID DomainId *string `json:"domain_id,omitempty"` // 密钥ID KeyId *string `json:"key_id,omitempty"` // 别名 Alias string `json:"alias"` // 别名资源定位符 AliasUrn string `json:"alias_urn"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` }
AliasEntity 别名消息体
func (AliasEntity) String ¶ added in v0.1.124
func (o AliasEntity) String() string
type ApiLink ¶
type ApiVersionDetail ¶
type ApiVersionDetail struct { // 版本ID(版本号),如“v1.0”。 Id *string `json:"id,omitempty"` // JSON对象,详情请参见links字段数据结构说明。 Links *[]ApiLink `json:"links,omitempty"` // 若该版本API支持微版本,则填支持的最大微版本号,如果不支持微版本,则返回空字符串。 Version *string `json:"version,omitempty"` // 版本状态,包含如下3种: - CURRENT:表示该版本为主推版本。 - SUPPORTED:表示为老版本,但是现在还继续支持。 - DEPRECATED:表示为废弃版本,存在后续删除的可能。 Status *string `json:"status,omitempty"` // 版本发布时间,要求用UTC时间表示。如v1.发布的时间2014-06-28T12:20:21Z。 Updated *string `json:"updated,omitempty"` // 若该版本API 支持微版本,则填支持的最小微版本号,如果不支持微版本,则返回空字符串。 MinVersion *string `json:"min_version,omitempty"` }
func (ApiVersionDetail) String ¶
func (o ApiVersionDetail) String() string
type AssociateAliasRequest ¶ added in v0.1.124
type AssociateAliasRequest struct {
Body *AssociateAliasRequestBody `json:"body,omitempty"`
}
AssociateAliasRequest Request Object
func (AssociateAliasRequest) String ¶ added in v0.1.124
func (o AssociateAliasRequest) String() string
type AssociateAliasRequestBody ¶ added in v0.1.124
type AssociateAliasRequestBody struct { // 待关联别名 Alias string `json:"alias"` // 待关联的密钥ID TargetKeyId string `json:"target_key_id"` }
AssociateAliasRequestBody 关联别名请求消息体
func (AssociateAliasRequestBody) String ¶ added in v0.1.124
func (o AssociateAliasRequestBody) String() string
type AssociateAliasResponse ¶ added in v0.1.124
type AssociateAliasResponse struct { // 账号ID DomainId *string `json:"domain_id,omitempty"` // 密钥ID KeyId *string `json:"key_id,omitempty"` // 别名 Alias *string `json:"alias,omitempty"` // 别名资源定位符 AliasUrn *string `json:"alias_urn,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
AssociateAliasResponse Response Object
func (AssociateAliasResponse) String ¶ added in v0.1.124
func (o AssociateAliasResponse) String() string
type BatchCreateKmsTagsRequest ¶
type BatchCreateKmsTagsRequest struct { // 密钥ID KeyId string `json:"key_id"` Body *BatchCreateKmsTagsRequestBody `json:"body,omitempty"` }
BatchCreateKmsTagsRequest Request Object
func (BatchCreateKmsTagsRequest) String ¶
func (o BatchCreateKmsTagsRequest) String() string
type BatchCreateKmsTagsRequestBody ¶
type BatchCreateKmsTagsRequestBody struct { // 标签列表,key和value键值对的集合。 Tags []TagItem `json:"tags"` // 操作标识: 仅限于“create”和“delete”。 Action string `json:"action"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (BatchCreateKmsTagsRequestBody) String ¶
func (o BatchCreateKmsTagsRequestBody) String() string
type BatchCreateKmsTagsResponse ¶
type BatchCreateKmsTagsResponse struct {
HttpStatusCode int `json:"-"`
}
BatchCreateKmsTagsResponse Response Object
func (BatchCreateKmsTagsResponse) String ¶
func (o BatchCreateKmsTagsResponse) String() string
type CancelGrantRequest ¶
type CancelGrantRequest struct {
Body *RevokeGrantRequestBody `json:"body,omitempty"`
}
CancelGrantRequest Request Object
func (CancelGrantRequest) String ¶
func (o CancelGrantRequest) String() string
type CancelGrantResponse ¶
type CancelGrantResponse struct {
HttpStatusCode int `json:"-"`
}
CancelGrantResponse Response Object
func (CancelGrantResponse) String ¶
func (o CancelGrantResponse) String() string
type CancelKeyDeletionRequest ¶
type CancelKeyDeletionRequest struct {
Body *OperateKeyRequestBody `json:"body,omitempty"`
}
CancelKeyDeletionRequest Request Object
func (CancelKeyDeletionRequest) String ¶
func (o CancelKeyDeletionRequest) String() string
type CancelKeyDeletionResponse ¶
type CancelKeyDeletionResponse struct { // 密钥ID KeyId *string `json:"key_id,omitempty"` // 密钥状态: - 2为启用状态 - 3为禁用状态 - 4为计划删除状态 - 5为等待导入状态 - 7为冻结状态 KeyState *string `json:"key_state,omitempty"` HttpStatusCode int `json:"-"` }
CancelKeyDeletionResponse Response Object
func (CancelKeyDeletionResponse) String ¶
func (o CancelKeyDeletionResponse) String() string
type CancelSelfGrantRequest ¶
type CancelSelfGrantRequest struct {
Body *RevokeGrantRequestBody `json:"body,omitempty"`
}
CancelSelfGrantRequest Request Object
func (CancelSelfGrantRequest) String ¶
func (o CancelSelfGrantRequest) String() string
type CancelSelfGrantResponse ¶
type CancelSelfGrantResponse struct {
HttpStatusCode int `json:"-"`
}
CancelSelfGrantResponse Response Object
func (CancelSelfGrantResponse) String ¶
func (o CancelSelfGrantResponse) String() string
type CreateAliasRequest ¶ added in v0.1.124
type CreateAliasRequest struct {
Body *CreateAliasRequestBody `json:"body,omitempty"`
}
CreateAliasRequest Request Object
func (CreateAliasRequest) String ¶ added in v0.1.124
func (o CreateAliasRequest) String() string
type CreateAliasRequestBody ¶ added in v0.1.124
type CreateAliasRequestBody struct { // 密钥ID KeyId string `json:"key_id"` // 别名。一个账号在同一个区域别名不能重复 Alias string `json:"alias"` }
func (CreateAliasRequestBody) String ¶ added in v0.1.124
func (o CreateAliasRequestBody) String() string
type CreateAliasResponse ¶ added in v0.1.124
type CreateAliasResponse struct { // 账号ID DomainId *string `json:"domain_id,omitempty"` // 密钥ID KeyId *string `json:"key_id,omitempty"` // 别名 Alias *string `json:"alias,omitempty"` // 别名资源定位符 AliasUrn *string `json:"alias_urn,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
CreateAliasResponse Response Object
func (CreateAliasResponse) String ¶ added in v0.1.124
func (o CreateAliasResponse) String() string
type CreateDatakeyRequest ¶
type CreateDatakeyRequest struct {
Body *CreateDatakeyRequestBody `json:"body,omitempty"`
}
CreateDatakeyRequest Request Object
func (CreateDatakeyRequest) String ¶
func (o CreateDatakeyRequest) String() string
type CreateDatakeyRequestBody ¶
type CreateDatakeyRequestBody struct { // 密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` // 指定生成的密钥bit位长度。有效值:AES_256、AES_128。 - AES_256:表示256比特的对称密钥。 - AES_128:表示128比特的对称密钥。 说明: datakey_length和key_spec二选一。 - 若datakey_length和key_spec都为空,默认生成256bit的密钥。 - 若datakey_length和key_spec都指定了值,仅datakey_length生效。 KeySpec *CreateDatakeyRequestBodyKeySpec `json:"key_spec,omitempty"` // 密钥bit位长度。取值为8的倍数,取值范围为8~8192。 说明: datakey_length和key_spec二选一。 - 若datakey_length和key_spec都为空,默认生成256bit的密钥。 - 若datakey_length和key_spec都指定了值,仅datakey_length生效。 DatakeyLength *string `json:"datakey_length,omitempty"` // 身份验证的非敏感额外数据。任意字符串,长度不超过128字节。 AdditionalAuthenticatedData *string `json:"additional_authenticated_data,omitempty"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (CreateDatakeyRequestBody) String ¶
func (o CreateDatakeyRequestBody) String() string
type CreateDatakeyRequestBodyKeySpec ¶
type CreateDatakeyRequestBodyKeySpec struct {
// contains filtered or unexported fields
}
func (CreateDatakeyRequestBodyKeySpec) MarshalJSON ¶
func (c CreateDatakeyRequestBodyKeySpec) MarshalJSON() ([]byte, error)
func (*CreateDatakeyRequestBodyKeySpec) UnmarshalJSON ¶
func (c *CreateDatakeyRequestBodyKeySpec) UnmarshalJSON(b []byte) error
func (CreateDatakeyRequestBodyKeySpec) Value ¶ added in v0.0.90
func (c CreateDatakeyRequestBodyKeySpec) Value() string
type CreateDatakeyRequestBodyKeySpecEnum ¶
type CreateDatakeyRequestBodyKeySpecEnum struct { AES_256 CreateDatakeyRequestBodyKeySpec AES_128 CreateDatakeyRequestBodyKeySpec }
func GetCreateDatakeyRequestBodyKeySpecEnum ¶
func GetCreateDatakeyRequestBodyKeySpecEnum() CreateDatakeyRequestBodyKeySpecEnum
type CreateDatakeyResponse ¶
type CreateDatakeyResponse struct { // 密钥ID。 KeyId *string `json:"key_id,omitempty"` // DEK明文16进制,两位表示1byte。 PlainText *string `json:"plain_text,omitempty"` // DEK密文16进制,两位表示1byte。 CipherText *string `json:"cipher_text,omitempty"` HttpStatusCode int `json:"-"` }
CreateDatakeyResponse Response Object
func (CreateDatakeyResponse) String ¶
func (o CreateDatakeyResponse) String() string
type CreateDatakeyWithoutPlaintextRequest ¶
type CreateDatakeyWithoutPlaintextRequest struct {
Body *CreateDatakeyRequestBody `json:"body,omitempty"`
}
CreateDatakeyWithoutPlaintextRequest Request Object
func (CreateDatakeyWithoutPlaintextRequest) String ¶
func (o CreateDatakeyWithoutPlaintextRequest) String() string
type CreateDatakeyWithoutPlaintextResponse ¶
type CreateDatakeyWithoutPlaintextResponse struct { // 密钥ID。 KeyId *string `json:"key_id,omitempty"` // DEK密文16进制,两位表示1byte。 CipherText *string `json:"cipher_text,omitempty"` HttpStatusCode int `json:"-"` }
CreateDatakeyWithoutPlaintextResponse Response Object
func (CreateDatakeyWithoutPlaintextResponse) String ¶
func (o CreateDatakeyWithoutPlaintextResponse) String() string
type CreateGrantRequest ¶
type CreateGrantRequest struct {
Body *CreateGrantRequestBody `json:"body,omitempty"`
}
CreateGrantRequest Request Object
func (CreateGrantRequest) String ¶
func (o CreateGrantRequest) String() string
type CreateGrantRequestBody ¶
type CreateGrantRequestBody struct { // 密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` // 被授权用户ID,1~64字节,满足正则匹配“^[a-zA-Z0-9]{1,64}$”。 例如:0d0466b00d0466b00d0466b00d0466b0 GranteePrincipal string `json:"grantee_principal"` // 授权允许的操作列表。 有效的值:“create-datakey”,“create-datakey-without-plaintext”,“encrypt-datakey”,“decrypt-datakey”,“describe-key”,“create-grant”,“retire-grant”,“encrypt-data”,“decrypt-data”。 有效值不能仅为“create-grant”。 - “create-datakey” 创建数据密钥 - “create-datakey-without-plaintext” 创建不含明文数据密钥 - “encrypt-datakey” 加密数据密钥 - “decrypt-datakey” 解密数据密钥 - “describe-key” 查询密钥信息 - “retire-grant” 退役授权 - “encrypt-data” 加密数据 - “decrypt-data” 解密数据 Operations []string `json:"operations"` // 授权名称,取值1到255字符,满足正则匹配“^[a-zA-Z0-9:/_-]{1,255}$”。 Name *string `json:"name,omitempty"` // 可退役授权的用户ID,1~64字节,满足正则匹配“^[a-zA-Z0-9]{1,64}$”。 例如:0d0466b00d0466b00d0466b00d0466b0 RetiringPrincipal *string `json:"retiring_principal,omitempty"` // 授权类型。有效值:“user”,“domain”。默认值为“user”。 GranteePrincipalType *CreateGrantRequestBodyGranteePrincipalType `json:"grantee_principal_type,omitempty"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (CreateGrantRequestBody) String ¶
func (o CreateGrantRequestBody) String() string
type CreateGrantRequestBodyGranteePrincipalType ¶
type CreateGrantRequestBodyGranteePrincipalType struct {
// contains filtered or unexported fields
}
func (CreateGrantRequestBodyGranteePrincipalType) MarshalJSON ¶
func (c CreateGrantRequestBodyGranteePrincipalType) MarshalJSON() ([]byte, error)
func (*CreateGrantRequestBodyGranteePrincipalType) UnmarshalJSON ¶
func (c *CreateGrantRequestBodyGranteePrincipalType) UnmarshalJSON(b []byte) error
func (CreateGrantRequestBodyGranteePrincipalType) Value ¶ added in v0.0.90
func (c CreateGrantRequestBodyGranteePrincipalType) Value() string
type CreateGrantRequestBodyGranteePrincipalTypeEnum ¶
type CreateGrantRequestBodyGranteePrincipalTypeEnum struct { USER CreateGrantRequestBodyGranteePrincipalType DOMAIN CreateGrantRequestBodyGranteePrincipalType }
func GetCreateGrantRequestBodyGranteePrincipalTypeEnum ¶
func GetCreateGrantRequestBodyGranteePrincipalTypeEnum() CreateGrantRequestBodyGranteePrincipalTypeEnum
type CreateGrantResponse ¶
type CreateGrantResponse struct { // 授权ID,64字节。 GrantId *string `json:"grant_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateGrantResponse Response Object
func (CreateGrantResponse) String ¶
func (o CreateGrantResponse) String() string
type CreateKeyRequest ¶
type CreateKeyRequest struct {
Body *CreateKeyRequestBody `json:"body,omitempty"`
}
CreateKeyRequest Request Object
func (CreateKeyRequest) String ¶
func (o CreateKeyRequest) String() string
type CreateKeyRequestBody ¶
type CreateKeyRequestBody struct { // 非默认主密钥别名,取值范围为1到255个字符,满足正则匹配“^[a-zA-Z0-9:/_-]{1,255}$”,且不与系统服务创建的默认主密钥别名重名。 KeyAlias string `json:"key_alias"` // 密钥生成算法,默认为“AES_256”,枚举如下: - AES_256 - SM4 - RSA_2048 - RSA_3072 - RSA_4096 - EC_P256 - EC_P384 - SM2 KeySpec *CreateKeyRequestBodyKeySpec `json:"key_spec,omitempty"` // 密钥用途,对称密钥默认为“ENCRYPT_DECRYPT”,非对称密钥默认为“SIGN_VERIFY”,枚举如下: - ENCRYPT_DECRYPT - SIGN_VERIFY KeyUsage *CreateKeyRequestBodyKeyUsage `json:"key_usage,omitempty"` // 密钥描述,取值0到255字符。 KeyDescription *string `json:"key_description,omitempty"` // 密钥来源,默认为“kms”,枚举如下: - kms:表示密钥材料由kms生成。 - external:表示密钥材料由外部导入。 Origin *CreateKeyRequestBodyOrigin `json:"origin,omitempty"` // 企业多项目ID。 - 用户未开通企业多项目时,不需要输入该字段。 - 用户开通企业多项目时,创建资源可以输入该字段。若用户户不输入该字段,默认创建属于默认企业多项目ID(ID为“0”)的资源。 注意:若用户没有默认企业多项目ID(ID为“0”)下的创建权限,则接口报错。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` // 密钥库ID,默认使用KMS默认密钥库 KeystoreId *string `json:"keystore_id,omitempty"` }
func (CreateKeyRequestBody) String ¶
func (o CreateKeyRequestBody) String() string
type CreateKeyRequestBodyKeySpec ¶
type CreateKeyRequestBodyKeySpec struct {
// contains filtered or unexported fields
}
func (CreateKeyRequestBodyKeySpec) MarshalJSON ¶
func (c CreateKeyRequestBodyKeySpec) MarshalJSON() ([]byte, error)
func (*CreateKeyRequestBodyKeySpec) UnmarshalJSON ¶
func (c *CreateKeyRequestBodyKeySpec) UnmarshalJSON(b []byte) error
func (CreateKeyRequestBodyKeySpec) Value ¶ added in v0.0.90
func (c CreateKeyRequestBodyKeySpec) Value() string
type CreateKeyRequestBodyKeySpecEnum ¶
type CreateKeyRequestBodyKeySpecEnum struct { AES_256 CreateKeyRequestBodyKeySpec SM4 CreateKeyRequestBodyKeySpec RSA_2048 CreateKeyRequestBodyKeySpec RSA_3072 CreateKeyRequestBodyKeySpec RSA_4096 CreateKeyRequestBodyKeySpec EC_P256 CreateKeyRequestBodyKeySpec EC_P384 CreateKeyRequestBodyKeySpec SM2 CreateKeyRequestBodyKeySpec }
func GetCreateKeyRequestBodyKeySpecEnum ¶
func GetCreateKeyRequestBodyKeySpecEnum() CreateKeyRequestBodyKeySpecEnum
type CreateKeyRequestBodyKeyUsage ¶
type CreateKeyRequestBodyKeyUsage struct {
// contains filtered or unexported fields
}
func (CreateKeyRequestBodyKeyUsage) MarshalJSON ¶
func (c CreateKeyRequestBodyKeyUsage) MarshalJSON() ([]byte, error)
func (*CreateKeyRequestBodyKeyUsage) UnmarshalJSON ¶
func (c *CreateKeyRequestBodyKeyUsage) UnmarshalJSON(b []byte) error
func (CreateKeyRequestBodyKeyUsage) Value ¶ added in v0.0.90
func (c CreateKeyRequestBodyKeyUsage) Value() string
type CreateKeyRequestBodyKeyUsageEnum ¶
type CreateKeyRequestBodyKeyUsageEnum struct { ENCRYPT_DECRYPT CreateKeyRequestBodyKeyUsage SIGN_VERIFY CreateKeyRequestBodyKeyUsage }
func GetCreateKeyRequestBodyKeyUsageEnum ¶
func GetCreateKeyRequestBodyKeyUsageEnum() CreateKeyRequestBodyKeyUsageEnum
type CreateKeyRequestBodyOrigin ¶
type CreateKeyRequestBodyOrigin struct {
// contains filtered or unexported fields
}
func (CreateKeyRequestBodyOrigin) MarshalJSON ¶
func (c CreateKeyRequestBodyOrigin) MarshalJSON() ([]byte, error)
func (*CreateKeyRequestBodyOrigin) UnmarshalJSON ¶
func (c *CreateKeyRequestBodyOrigin) UnmarshalJSON(b []byte) error
func (CreateKeyRequestBodyOrigin) Value ¶ added in v0.0.90
func (c CreateKeyRequestBodyOrigin) Value() string
type CreateKeyRequestBodyOriginEnum ¶
type CreateKeyRequestBodyOriginEnum struct { KMS CreateKeyRequestBodyOrigin EXTERNAL CreateKeyRequestBodyOrigin }
func GetCreateKeyRequestBodyOriginEnum ¶
func GetCreateKeyRequestBodyOriginEnum() CreateKeyRequestBodyOriginEnum
type CreateKeyResponse ¶
type CreateKeyResponse struct { KeyInfo *KeKInfo `json:"key_info,omitempty"` HttpStatusCode int `json:"-"` }
CreateKeyResponse Response Object
func (CreateKeyResponse) String ¶
func (o CreateKeyResponse) String() string
type CreateKeyStoreRequest ¶ added in v0.0.100
type CreateKeyStoreRequest struct {
Body *CreateKeyStoreRequestBody `json:"body,omitempty"`
}
CreateKeyStoreRequest Request Object
func (CreateKeyStoreRequest) String ¶ added in v0.0.100
func (o CreateKeyStoreRequest) String() string
type CreateKeyStoreRequestBody ¶ added in v0.0.100
type CreateKeyStoreRequestBody struct { // 专属密钥库别名,取值范围为1到255个字符,满足正则匹配“^[a-zA-Z0-9:/_-]{1,255}$”,且不与已有的专属密钥库别名重名。 KeystoreAlias string `json:"keystore_alias"` // DHSM集群Id,要求集群当前未创建专属密钥库。 HsmClusterId string `json:"hsm_cluster_id"` // DHSM集群的CA证书 HsmCaCert string `json:"hsm_ca_cert"` }
CreateKeyStoreRequestBody 创建专属密钥库请求体
func (CreateKeyStoreRequestBody) String ¶ added in v0.0.100
func (o CreateKeyStoreRequestBody) String() string
type CreateKeyStoreResponse ¶ added in v0.0.100
type CreateKeyStoreResponse struct { Keystore *KeystoreInfo `json:"keystore,omitempty"` HttpStatusCode int `json:"-"` }
CreateKeyStoreResponse Response Object
func (CreateKeyStoreResponse) String ¶ added in v0.0.100
func (o CreateKeyStoreResponse) String() string
type CreateKmsTagRequest ¶
type CreateKmsTagRequest struct { // 密钥ID KeyId string `json:"key_id"` Body *CreateKmsTagRequestBody `json:"body,omitempty"` }
CreateKmsTagRequest Request Object
func (CreateKmsTagRequest) String ¶
func (o CreateKmsTagRequest) String() string
type CreateKmsTagRequestBody ¶
type CreateKmsTagRequestBody struct { Tag *TagItem `json:"tag,omitempty"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
CreateKmsTagRequestBody 创建KMS资源标签请求体。
func (CreateKmsTagRequestBody) String ¶
func (o CreateKmsTagRequestBody) String() string
type CreateKmsTagResponse ¶
type CreateKmsTagResponse struct {
HttpStatusCode int `json:"-"`
}
CreateKmsTagResponse Response Object
func (CreateKmsTagResponse) String ¶
func (o CreateKmsTagResponse) String() string
type CreateParametersForImportRequest ¶
type CreateParametersForImportRequest struct {
Body *GetParametersForImportRequestBody `json:"body,omitempty"`
}
CreateParametersForImportRequest Request Object
func (CreateParametersForImportRequest) String ¶
func (o CreateParametersForImportRequest) String() string
type CreateParametersForImportResponse ¶
type CreateParametersForImportResponse struct { // 密钥ID。 KeyId *string `json:"key_id,omitempty"` // 密钥导入令牌。 ImportToken *string `json:"import_token,omitempty"` // 导入参数到期时间,时间戳,即从1970年1月1日至该时间的总秒数。 ExpirationTime *int64 `json:"expiration_time,omitempty"` // 加密密钥材料的公钥,base64格式。 PublicKey *string `json:"public_key,omitempty"` HttpStatusCode int `json:"-"` }
CreateParametersForImportResponse Response Object
func (CreateParametersForImportResponse) String ¶
func (o CreateParametersForImportResponse) String() string
type CreateRandomRequest ¶
type CreateRandomRequest struct {
Body *GenRandomRequestBody `json:"body,omitempty"`
}
CreateRandomRequest Request Object
func (CreateRandomRequest) String ¶
func (o CreateRandomRequest) String() string
type CreateRandomResponse ¶
type CreateRandomResponse struct { // 随机数16进制表示,两位表示1byte。随机数的长度与用户传入的参数 “random_data_length”的长度保持一致。 RandomData *string `json:"random_data,omitempty"` HttpStatusCode int `json:"-"` }
CreateRandomResponse Response Object
func (CreateRandomResponse) String ¶
func (o CreateRandomResponse) String() string
type DecryptDataRequest ¶
type DecryptDataRequest struct {
Body *DecryptDataRequestBody `json:"body,omitempty"`
}
DecryptDataRequest Request Object
func (DecryptDataRequest) String ¶
func (o DecryptDataRequest) String() string
type DecryptDataRequestBody ¶
type DecryptDataRequestBody struct { // 被加密数据密文。取值为加密数据结果中的cipher_text的值,满足正则匹配“^[0-9a-zA-Z+/=]{128,5648}$”。 CipherText string `json:"cipher_text"` // 数据加密算法,仅使用非对称密钥需要指定该参数,默认值为“SYMMETRIC_DEFAULT”,合法枚举值如下: - SYMMETRIC_DEFAULT - RSAES_OAEP_SHA_256 - SM2_ENCRYPT EncryptionAlgorithm *DecryptDataRequestBodyEncryptionAlgorithm `json:"encryption_algorithm,omitempty"` // 密钥ID,36字节,满足正则匹配“^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$”。仅当密文使用非对称密钥加密时才需要此参数。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId *string `json:"key_id,omitempty"` // 身份验证的非敏感额外数据。任意字符串,长度不超过128字节。 AdditionalAuthenticatedData *string `json:"additional_authenticated_data,omitempty"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (DecryptDataRequestBody) String ¶
func (o DecryptDataRequestBody) String() string
type DecryptDataRequestBodyEncryptionAlgorithm ¶
type DecryptDataRequestBodyEncryptionAlgorithm struct {
// contains filtered or unexported fields
}
func (DecryptDataRequestBodyEncryptionAlgorithm) MarshalJSON ¶
func (c DecryptDataRequestBodyEncryptionAlgorithm) MarshalJSON() ([]byte, error)
func (*DecryptDataRequestBodyEncryptionAlgorithm) UnmarshalJSON ¶
func (c *DecryptDataRequestBodyEncryptionAlgorithm) UnmarshalJSON(b []byte) error
func (DecryptDataRequestBodyEncryptionAlgorithm) Value ¶ added in v0.0.90
func (c DecryptDataRequestBodyEncryptionAlgorithm) Value() string
type DecryptDataRequestBodyEncryptionAlgorithmEnum ¶
type DecryptDataRequestBodyEncryptionAlgorithmEnum struct { SYMMETRIC_DEFAULT DecryptDataRequestBodyEncryptionAlgorithm RSAES_OAEP_SHA_256 DecryptDataRequestBodyEncryptionAlgorithm SM2_ENCRYPT DecryptDataRequestBodyEncryptionAlgorithm }
func GetDecryptDataRequestBodyEncryptionAlgorithmEnum ¶
func GetDecryptDataRequestBodyEncryptionAlgorithmEnum() DecryptDataRequestBodyEncryptionAlgorithmEnum
type DecryptDataResponse ¶
type DecryptDataResponse struct { // 密钥ID。 KeyId *string `json:"key_id,omitempty"` // 明文。 PlainText *string `json:"plain_text,omitempty"` // 明文的Base64值,在非对称加密场景下,若加密的明文中含有不可见字符,则解密结果以该值为准。 PlainTextBase64 *string `json:"plain_text_base64,omitempty"` HttpStatusCode int `json:"-"` }
DecryptDataResponse Response Object
func (DecryptDataResponse) String ¶
func (o DecryptDataResponse) String() string
type DecryptDatakeyRequest ¶
type DecryptDatakeyRequest struct {
Body *DecryptDatakeyRequestBody `json:"body,omitempty"`
}
DecryptDatakeyRequest Request Object
func (DecryptDatakeyRequest) String ¶
func (o DecryptDatakeyRequest) String() string
type DecryptDatakeyRequestBody ¶
type DecryptDatakeyRequestBody struct { // 密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` // DEK密文及元数据的16进制字符串。取值为加密数据密钥结果中的cipher_text的值。 CipherText string `json:"cipher_text"` // 密钥字节长度,取值范围为1~1024。 密钥字节长度,取值为“64”。 DatakeyCipherLength string `json:"datakey_cipher_length"` // 身份验证的非敏感额外数据。任意字符串,长度不超过128字节。 AdditionalAuthenticatedData *string `json:"additional_authenticated_data,omitempty"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (DecryptDatakeyRequestBody) String ¶
func (o DecryptDatakeyRequestBody) String() string
type DecryptDatakeyResponse ¶
type DecryptDatakeyResponse struct { // DEK明文的16进制字符串。 DataKey *string `json:"data_key,omitempty"` // DEK明文字节长度。 DatakeyLength *string `json:"datakey_length,omitempty"` // DEK明文的SHA256值对应的16进制字符串。 DatakeyDgst *string `json:"datakey_dgst,omitempty"` HttpStatusCode int `json:"-"` }
DecryptDatakeyResponse Response Object
func (DecryptDatakeyResponse) String ¶
func (o DecryptDatakeyResponse) String() string
type DeleteAliasRequest ¶ added in v0.1.124
type DeleteAliasRequest struct {
Body *DeleteAliasRequestBody `json:"body,omitempty"`
}
DeleteAliasRequest Request Object
func (DeleteAliasRequest) String ¶ added in v0.1.124
func (o DeleteAliasRequest) String() string
type DeleteAliasRequestBody ¶ added in v0.1.124
type DeleteAliasRequestBody struct { // 待删除的别名 Aliases []string `json:"aliases"` // 别名关联的密钥ID KeyId string `json:"key_id"` }
DeleteAliasRequestBody 删除别名请求消息体
func (DeleteAliasRequestBody) String ¶ added in v0.1.124
func (o DeleteAliasRequestBody) String() string
type DeleteAliasResponse ¶ added in v0.1.124
type DeleteAliasResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteAliasResponse Response Object
func (DeleteAliasResponse) String ¶ added in v0.1.124
func (o DeleteAliasResponse) String() string
type DeleteImportedKeyMaterialRequest ¶
type DeleteImportedKeyMaterialRequest struct {
Body *OperateKeyRequestBody `json:"body,omitempty"`
}
DeleteImportedKeyMaterialRequest Request Object
func (DeleteImportedKeyMaterialRequest) String ¶
func (o DeleteImportedKeyMaterialRequest) String() string
type DeleteImportedKeyMaterialResponse ¶
type DeleteImportedKeyMaterialResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteImportedKeyMaterialResponse Response Object
func (DeleteImportedKeyMaterialResponse) String ¶
func (o DeleteImportedKeyMaterialResponse) String() string
type DeleteKeyRequest ¶
type DeleteKeyRequest struct {
Body *ScheduleKeyDeletionRequestBody `json:"body,omitempty"`
}
DeleteKeyRequest Request Object
func (DeleteKeyRequest) String ¶
func (o DeleteKeyRequest) String() string
type DeleteKeyResponse ¶
type DeleteKeyResponse struct { // 密钥ID KeyId *string `json:"key_id,omitempty"` // 密钥状态: - 2为启用状态 - 3为禁用状态 - 4为计划删除状态 - 5为等待导入状态 - 7为冻结状态 KeyState *string `json:"key_state,omitempty"` HttpStatusCode int `json:"-"` }
DeleteKeyResponse Response Object
func (DeleteKeyResponse) String ¶
func (o DeleteKeyResponse) String() string
type DeleteKeyStoreRequest ¶ added in v0.0.100
type DeleteKeyStoreRequest struct { // 密钥库ID KeystoreId string `json:"keystore_id"` }
DeleteKeyStoreRequest Request Object
func (DeleteKeyStoreRequest) String ¶ added in v0.0.100
func (o DeleteKeyStoreRequest) String() string
type DeleteKeyStoreResponse ¶ added in v0.0.100
type DeleteKeyStoreResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteKeyStoreResponse Response Object
func (DeleteKeyStoreResponse) String ¶ added in v0.0.100
func (o DeleteKeyStoreResponse) String() string
type DeleteTagRequest ¶
type DeleteTagRequest struct { // 密钥ID KeyId string `json:"key_id"` // 标签键的值 Key string `json:"key"` }
DeleteTagRequest Request Object
func (DeleteTagRequest) String ¶
func (o DeleteTagRequest) String() string
type DeleteTagResponse ¶
type DeleteTagResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteTagResponse Response Object
func (DeleteTagResponse) String ¶
func (o DeleteTagResponse) String() string
type DisableKeyRequest ¶
type DisableKeyRequest struct {
Body *OperateKeyRequestBody `json:"body,omitempty"`
}
DisableKeyRequest Request Object
func (DisableKeyRequest) String ¶
func (o DisableKeyRequest) String() string
type DisableKeyResponse ¶
type DisableKeyResponse struct { KeyInfo *KeyStatusInfo `json:"key_info,omitempty"` HttpStatusCode int `json:"-"` }
DisableKeyResponse Response Object
func (DisableKeyResponse) String ¶
func (o DisableKeyResponse) String() string
type DisableKeyRotationRequest ¶
type DisableKeyRotationRequest struct {
Body *OperateKeyRequestBody `json:"body,omitempty"`
}
DisableKeyRotationRequest Request Object
func (DisableKeyRotationRequest) String ¶
func (o DisableKeyRotationRequest) String() string
type DisableKeyRotationResponse ¶
type DisableKeyRotationResponse struct {
HttpStatusCode int `json:"-"`
}
DisableKeyRotationResponse Response Object
func (DisableKeyRotationResponse) String ¶
func (o DisableKeyRotationResponse) String() string
type DisableKeyStoreRequest ¶ added in v0.0.100
type DisableKeyStoreRequest struct { // 密钥库ID KeystoreId string `json:"keystore_id"` }
DisableKeyStoreRequest Request Object
func (DisableKeyStoreRequest) String ¶ added in v0.0.100
func (o DisableKeyStoreRequest) String() string
type DisableKeyStoreResponse ¶ added in v0.0.100
type DisableKeyStoreResponse struct { Keystore *KeyStoreStateInfo `json:"keystore,omitempty"` HttpStatusCode int `json:"-"` }
DisableKeyStoreResponse Response Object
func (DisableKeyStoreResponse) String ¶ added in v0.0.100
func (o DisableKeyStoreResponse) String() string
type EnableKeyRequest ¶
type EnableKeyRequest struct {
Body *OperateKeyRequestBody `json:"body,omitempty"`
}
EnableKeyRequest Request Object
func (EnableKeyRequest) String ¶
func (o EnableKeyRequest) String() string
type EnableKeyResponse ¶
type EnableKeyResponse struct { KeyInfo *KeyStatusInfo `json:"key_info,omitempty"` HttpStatusCode int `json:"-"` }
EnableKeyResponse Response Object
func (EnableKeyResponse) String ¶
func (o EnableKeyResponse) String() string
type EnableKeyRotationRequest ¶
type EnableKeyRotationRequest struct {
Body *OperateKeyRequestBody `json:"body,omitempty"`
}
EnableKeyRotationRequest Request Object
func (EnableKeyRotationRequest) String ¶
func (o EnableKeyRotationRequest) String() string
type EnableKeyRotationResponse ¶
type EnableKeyRotationResponse struct {
HttpStatusCode int `json:"-"`
}
EnableKeyRotationResponse Response Object
func (EnableKeyRotationResponse) String ¶
func (o EnableKeyRotationResponse) String() string
type EnableKeyStoreRequest ¶ added in v0.0.100
type EnableKeyStoreRequest struct { // 密钥库ID KeystoreId string `json:"keystore_id"` }
EnableKeyStoreRequest Request Object
func (EnableKeyStoreRequest) String ¶ added in v0.0.100
func (o EnableKeyStoreRequest) String() string
type EnableKeyStoreResponse ¶ added in v0.0.100
type EnableKeyStoreResponse struct { Keystore *KeyStoreStateInfo `json:"keystore,omitempty"` HttpStatusCode int `json:"-"` }
EnableKeyStoreResponse Response Object
func (EnableKeyStoreResponse) String ¶ added in v0.0.100
func (o EnableKeyStoreResponse) String() string
type EncryptDataRequest ¶
type EncryptDataRequest struct {
Body *EncryptDataRequestBody `json:"body,omitempty"`
}
EncryptDataRequest Request Object
func (EncryptDataRequest) String ¶
func (o EncryptDataRequest) String() string
type EncryptDataRequestBody ¶
type EncryptDataRequestBody struct { // 密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` // 明文数据,1~4096字节,满足正则匹配“^.{1,4096}$”,且转化为byte数组后长度取值范围为1~4096字节。 PlainText string `json:"plain_text"` // 数据加密算法,仅使用非对称密钥需要指定该参数,默认值为“SYMMETRIC_DEFAULT”,合法枚举值如下: - SYMMETRIC_DEFAULT - RSAES_OAEP_SHA_256 - SM2_ENCRYPT EncryptionAlgorithm *EncryptDataRequestBodyEncryptionAlgorithm `json:"encryption_algorithm,omitempty"` // 身份验证的非敏感额外数据。任意字符串,长度不超过128字节。 AdditionalAuthenticatedData *string `json:"additional_authenticated_data,omitempty"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (EncryptDataRequestBody) String ¶
func (o EncryptDataRequestBody) String() string
type EncryptDataRequestBodyEncryptionAlgorithm ¶
type EncryptDataRequestBodyEncryptionAlgorithm struct {
// contains filtered or unexported fields
}
func (EncryptDataRequestBodyEncryptionAlgorithm) MarshalJSON ¶
func (c EncryptDataRequestBodyEncryptionAlgorithm) MarshalJSON() ([]byte, error)
func (*EncryptDataRequestBodyEncryptionAlgorithm) UnmarshalJSON ¶
func (c *EncryptDataRequestBodyEncryptionAlgorithm) UnmarshalJSON(b []byte) error
func (EncryptDataRequestBodyEncryptionAlgorithm) Value ¶ added in v0.0.90
func (c EncryptDataRequestBodyEncryptionAlgorithm) Value() string
type EncryptDataRequestBodyEncryptionAlgorithmEnum ¶
type EncryptDataRequestBodyEncryptionAlgorithmEnum struct { SYMMETRIC_DEFAULT EncryptDataRequestBodyEncryptionAlgorithm RSAES_OAEP_SHA_256 EncryptDataRequestBodyEncryptionAlgorithm SM2_ENCRYPT EncryptDataRequestBodyEncryptionAlgorithm }
func GetEncryptDataRequestBodyEncryptionAlgorithmEnum ¶
func GetEncryptDataRequestBodyEncryptionAlgorithmEnum() EncryptDataRequestBodyEncryptionAlgorithmEnum
type EncryptDataResponse ¶
type EncryptDataResponse struct { // 密钥ID。 KeyId *string `json:"key_id,omitempty"` // DEK密文16进制,两位表示1byte。 CipherText *string `json:"cipher_text,omitempty"` HttpStatusCode int `json:"-"` }
EncryptDataResponse Response Object
func (EncryptDataResponse) String ¶
func (o EncryptDataResponse) String() string
type EncryptDatakeyRequest ¶
type EncryptDatakeyRequest struct {
Body *EncryptDatakeyRequestBody `json:"body,omitempty"`
}
EncryptDatakeyRequest Request Object
func (EncryptDatakeyRequest) String ¶
func (o EncryptDatakeyRequest) String() string
type EncryptDatakeyRequestBody ¶
type EncryptDatakeyRequestBody struct { // 密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` // CMK为AES时,DEK明文和DEK明文的SHA256(32字节);CMK为SM4时,DEK明文和DEK明文的SM3(32字节),均为16进制字符串表示。 PlainText string `json:"plain_text"` // DEK明文字节长度,取值范围为1~1024。 DEK明文字节长度,取值为“64”。 DatakeyPlainLength string `json:"datakey_plain_length"` // 身份验证的非敏感额外数据。任意字符串,长度不超过128字节。 AdditionalAuthenticatedData *string `json:"additional_authenticated_data,omitempty"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (EncryptDatakeyRequestBody) String ¶
func (o EncryptDatakeyRequestBody) String() string
type EncryptDatakeyResponse ¶
type EncryptDatakeyResponse struct { // 密钥ID KeyId *string `json:"key_id,omitempty"` // DEK密文16进制,两位表示1byte。 CipherText *string `json:"cipher_text,omitempty"` // DEK字节长度。 DatakeyLength *string `json:"datakey_length,omitempty"` HttpStatusCode int `json:"-"` }
EncryptDatakeyResponse Response Object
func (EncryptDatakeyResponse) String ¶
func (o EncryptDatakeyResponse) String() string
type GenRandomRequestBody ¶
type GenRandomRequestBody struct { // 随机数的bit位长度。 取值为8的倍数,取值范围为8~8192。 随机数的bit位长度,取值为“512”。 RandomDataLength string `json:"random_data_length"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (GenRandomRequestBody) String ¶
func (o GenRandomRequestBody) String() string
type GenerateMacRequest ¶ added in v0.1.90
type GenerateMacRequest struct {
Body *GenerateMacRequestBody `json:"body,omitempty"`
}
GenerateMacRequest Request Object
func (GenerateMacRequest) String ¶ added in v0.1.90
func (o GenerateMacRequest) String() string
type GenerateMacRequestBody ¶ added in v0.1.90
type GenerateMacRequestBody struct { // 密钥ID KeyId string `json:"key_id"` // Mac算法,HMAC_SM3只有中国区支持。枚举如下: - HMAC_SHA_256 - HMAC_SHA_384 - HMAC_SHA_512 - HMAC_SM3 MacAlgorithm GenerateMacRequestBodyMacAlgorithm `json:"mac_algorithm"` // 待处理消息。原消息最小长度1、最大长度4096。请将原消息转为Base64格式后传入 Message string `json:"message"` }
func (GenerateMacRequestBody) String ¶ added in v0.1.90
func (o GenerateMacRequestBody) String() string
type GenerateMacRequestBodyMacAlgorithm ¶ added in v0.1.90
type GenerateMacRequestBodyMacAlgorithm struct {
// contains filtered or unexported fields
}
func (GenerateMacRequestBodyMacAlgorithm) MarshalJSON ¶ added in v0.1.90
func (c GenerateMacRequestBodyMacAlgorithm) MarshalJSON() ([]byte, error)
func (*GenerateMacRequestBodyMacAlgorithm) UnmarshalJSON ¶ added in v0.1.90
func (c *GenerateMacRequestBodyMacAlgorithm) UnmarshalJSON(b []byte) error
func (GenerateMacRequestBodyMacAlgorithm) Value ¶ added in v0.1.90
func (c GenerateMacRequestBodyMacAlgorithm) Value() string
type GenerateMacRequestBodyMacAlgorithmEnum ¶ added in v0.1.90
type GenerateMacRequestBodyMacAlgorithmEnum struct { HMAC_SHA_256 GenerateMacRequestBodyMacAlgorithm HMAC_SHA_384 GenerateMacRequestBodyMacAlgorithm HMAC_SHA_512 GenerateMacRequestBodyMacAlgorithm HMAC_SM3 GenerateMacRequestBodyMacAlgorithm }
func GetGenerateMacRequestBodyMacAlgorithmEnum ¶ added in v0.1.90
func GetGenerateMacRequestBodyMacAlgorithmEnum() GenerateMacRequestBodyMacAlgorithmEnum
type GenerateMacResponse ¶ added in v0.1.90
type GenerateMacResponse struct { // 密钥ID KeyId *string `json:"key_id,omitempty"` // Mac算法 MacAlgorithm *string `json:"mac_algorithm,omitempty"` // 生成的消息验证码 Mac *string `json:"mac,omitempty"` HttpStatusCode int `json:"-"` }
GenerateMacResponse Response Object
func (GenerateMacResponse) String ¶ added in v0.1.90
func (o GenerateMacResponse) String() string
type GetParametersForImportRequestBody ¶
type GetParametersForImportRequestBody struct { // 密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` // 密钥材料加密算法,枚举如下: - RSAES_OAEP_SHA_256 - SM2_ENCRYPT,部分局点不支持该导入类型 WrappingAlgorithm GetParametersForImportRequestBodyWrappingAlgorithm `json:"wrapping_algorithm"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (GetParametersForImportRequestBody) String ¶
func (o GetParametersForImportRequestBody) String() string
type GetParametersForImportRequestBodyWrappingAlgorithm ¶
type GetParametersForImportRequestBodyWrappingAlgorithm struct {
// contains filtered or unexported fields
}
func (GetParametersForImportRequestBodyWrappingAlgorithm) MarshalJSON ¶
func (c GetParametersForImportRequestBodyWrappingAlgorithm) MarshalJSON() ([]byte, error)
func (*GetParametersForImportRequestBodyWrappingAlgorithm) UnmarshalJSON ¶
func (c *GetParametersForImportRequestBodyWrappingAlgorithm) UnmarshalJSON(b []byte) error
func (GetParametersForImportRequestBodyWrappingAlgorithm) Value ¶ added in v0.0.90
func (c GetParametersForImportRequestBodyWrappingAlgorithm) Value() string
type GetParametersForImportRequestBodyWrappingAlgorithmEnum ¶
type GetParametersForImportRequestBodyWrappingAlgorithmEnum struct { RSAES_OAEP_SHA_256 GetParametersForImportRequestBodyWrappingAlgorithm SM2_ENCRYPT GetParametersForImportRequestBodyWrappingAlgorithm }
func GetGetParametersForImportRequestBodyWrappingAlgorithmEnum ¶
func GetGetParametersForImportRequestBodyWrappingAlgorithmEnum() GetParametersForImportRequestBodyWrappingAlgorithmEnum
type Grants ¶
type Grants struct { // 密钥ID。 KeyId *string `json:"key_id,omitempty"` // 授权ID,64字节。 GrantId *string `json:"grant_id,omitempty"` // 被授权用户ID,1~64字节,满足正则匹配“^[a-zA-Z0-9]{1,64}$”。 例如:0d0466b00d0466b00d0466b00d0466b0 GranteePrincipal *string `json:"grantee_principal,omitempty"` // 授权类型。 有效值:“user”,“domain”。 GranteePrincipalType *GrantsGranteePrincipalType `json:"grantee_principal_type,omitempty"` // 授权允许的操作列表。 有效的值:“create-datakey”,“create-datakey-without-plaintext”,“encrypt-datakey”,“decrypt-datakey”,“describe-key”,“create-grant”,“retire-grant”,“encrypt-data”,“decrypt-data”。 有效值不能仅为“create-grant”。 - “create-datakey” 创建数据密钥 - “create-datakey-without-plaintext” 创建不含明文数据密钥 - “encrypt-datakey” 加密数据密钥 - “decrypt-datakey” 解密数据密钥 - “describe-key” 查询密钥信息 - “retire-grant” 退役授权 - “encrypt-data” 加密数据 - “decrypt-data” 解密数据 Operations *[]string `json:"operations,omitempty"` // 创建授权用户ID,1~64字节,满足正则匹配“^[a-zA-Z0-9]{1,64}$”。 例如:0d0466b00d0466b00d0466b00d0466b0 IssuingPrincipal *string `json:"issuing_principal,omitempty"` // 创建时间,时间戳,即从1970年1月1日至该时间的总秒数。 例如:1497341531000 CreationDate *string `json:"creation_date,omitempty"` // 授权名字,取值1到255字符,满足正则匹配“^[a-zA-Z0-9:/_-]{1,255}$”。 Name *string `json:"name,omitempty"` // 可退役授权的用户ID,1~64字节,满足正则匹配“^[a-zA-Z0-9]{1,64}$”。 例如:0d0466b00d0466b00d0466b00d0466b0 RetiringPrincipal *string `json:"retiring_principal,omitempty"` }
type GrantsGranteePrincipalType ¶
type GrantsGranteePrincipalType struct {
// contains filtered or unexported fields
}
func (GrantsGranteePrincipalType) MarshalJSON ¶
func (c GrantsGranteePrincipalType) MarshalJSON() ([]byte, error)
func (*GrantsGranteePrincipalType) UnmarshalJSON ¶
func (c *GrantsGranteePrincipalType) UnmarshalJSON(b []byte) error
func (GrantsGranteePrincipalType) Value ¶ added in v0.0.90
func (c GrantsGranteePrincipalType) Value() string
type GrantsGranteePrincipalTypeEnum ¶
type GrantsGranteePrincipalTypeEnum struct { USER GrantsGranteePrincipalType DOMAIN GrantsGranteePrincipalType }
func GetGrantsGranteePrincipalTypeEnum ¶
func GetGrantsGranteePrincipalTypeEnum() GrantsGranteePrincipalTypeEnum
type ImportKeyMaterialRequest ¶
type ImportKeyMaterialRequest struct {
Body *ImportKeyMaterialRequestBody `json:"body,omitempty"`
}
ImportKeyMaterialRequest Request Object
func (ImportKeyMaterialRequest) String ¶
func (o ImportKeyMaterialRequest) String() string
type ImportKeyMaterialRequestBody ¶
type ImportKeyMaterialRequestBody struct { // 密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` // 密钥导入令牌,base64格式,满足正则匹配“^[0-9a-zA-Z+/=]{200,6144}$”。 ImportToken string `json:"import_token"` // 加密后的对称密钥材料,base64格式,满足正则匹配“^[0-9a-zA-Z+/=]{344,360}$”。若导入非对称密钥,则该参数为用于加密私钥的临时中间密钥。 EncryptedKeyMaterial string `json:"encrypted_key_material"` // 使用临时中间密钥加密后的私钥,导入非对称密钥需要该参数,base64格式,满足正则匹配“^[0-9a-zA-Z+/=]{200,6144}$”。 EncryptedPrivatekey *string `json:"encrypted_privatekey,omitempty"` // 密钥材料到期时间,时间戳,即从1970年1月1日至该时间的总秒数,KMS会在该时间的24小时内删除密钥材料。 例如:1550291833 ExpirationTime *int64 `json:"expiration_time,omitempty"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (ImportKeyMaterialRequestBody) String ¶
func (o ImportKeyMaterialRequestBody) String() string
type ImportKeyMaterialResponse ¶
type ImportKeyMaterialResponse struct {
HttpStatusCode int `json:"-"`
}
ImportKeyMaterialResponse Response Object
func (ImportKeyMaterialResponse) String ¶
func (o ImportKeyMaterialResponse) String() string
type KeKInfo ¶
type KeKInfo struct { // 密钥ID。 KeyId *string `json:"key_id,omitempty"` // 用户域ID。 DomainId *string `json:"domain_id,omitempty"` }
KeKInfo 密钥详细信息。
type KeyAliasInfo ¶
type KeyAliasInfo struct { // 密钥ID。 KeyId *string `json:"key_id,omitempty"` // 密钥别名。 KeyAlias *string `json:"key_alias,omitempty"` }
KeyAliasInfo 密钥别名信息。
func (KeyAliasInfo) String ¶
func (o KeyAliasInfo) String() string
type KeyDescriptionInfo ¶
type KeyDescriptionInfo struct { // 密钥ID。 KeyId *string `json:"key_id,omitempty"` // 密钥描述。 KeyDescription *string `json:"key_description,omitempty"` }
KeyDescriptionInfo 密钥描述信息。
func (KeyDescriptionInfo) String ¶
func (o KeyDescriptionInfo) String() string
type KeyDetails ¶
type KeyDetails struct { // 密钥ID。 KeyId *string `json:"key_id,omitempty"` // 用户域ID。 DomainId *string `json:"domain_id,omitempty"` // 密钥别名。 KeyAlias *string `json:"key_alias,omitempty"` // 密钥区域。 Realm *string `json:"realm,omitempty"` // 密钥生成算法。 - AES_256 - SM4 - RSA_2048 - RSA_3072 - RSA_4096 - EC_P256 - EC_P384 - SM2 KeySpec *KeyDetailsKeySpec `json:"key_spec,omitempty"` // 密钥用途。 - ENCRYPT_DECRYPT - SIGN_VERIFY KeyUsage *KeyDetailsKeyUsage `json:"key_usage,omitempty"` // 密钥描述。 KeyDescription *string `json:"key_description,omitempty"` // 密钥创建时间,时间戳,即从1970年1月1日至该时间的总秒数。 CreationDate *string `json:"creation_date,omitempty"` // 密钥计划删除时间,时间戳,即从1970年1月1日至该时间的总秒数。 ScheduledDeletionDate *string `json:"scheduled_deletion_date,omitempty"` // 密钥状态,满足正则匹配“^[1-5]{1}$”,枚举如下: - “1”表示待激活状态 - “2”表示启用状态 - “3”表示禁用状态 - “4”表示计划删除状态 - “5”表示等待导入状态 KeyState *string `json:"key_state,omitempty"` // 默认主密钥标识,默认主密钥标识为1,非默认标识为0。 DefaultKeyFlag *string `json:"default_key_flag,omitempty"` // 密钥类型。 KeyType *string `json:"key_type,omitempty"` // 密钥材料失效时间,时间戳,即从1970年1月1日至该时间的总秒数。 ExpirationTime *string `json:"expiration_time,omitempty"` // 密钥来源,默认为“kms”,枚举如下: - kms表示密钥材料由kms生成kms表示密钥材料由kms生成 - external表示密钥材料由外部导入 Origin *KeyDetailsOrigin `json:"origin,omitempty"` // 密钥轮换状态,默认为“false”,表示关闭密钥轮换功能。 KeyRotationEnabled *string `json:"key_rotation_enabled,omitempty"` // 企业项目ID,默认为“0”。 - 对于开通企业项目的用户,表示资源处于默认企业项目下。 - 对于未开通企业项目的用户,表示资源未处于企业项目下。 SysEnterpriseProjectId *string `json:"sys_enterprise_project_id,omitempty"` // 密钥库ID KeystoreId *string `json:"keystore_id,omitempty"` }
KeyDetails 密钥详情。
func (KeyDetails) String ¶
func (o KeyDetails) String() string
type KeyDetailsKeySpec ¶
type KeyDetailsKeySpec struct {
// contains filtered or unexported fields
}
func (KeyDetailsKeySpec) MarshalJSON ¶
func (c KeyDetailsKeySpec) MarshalJSON() ([]byte, error)
func (*KeyDetailsKeySpec) UnmarshalJSON ¶
func (c *KeyDetailsKeySpec) UnmarshalJSON(b []byte) error
func (KeyDetailsKeySpec) Value ¶ added in v0.0.90
func (c KeyDetailsKeySpec) Value() string
type KeyDetailsKeySpecEnum ¶
type KeyDetailsKeySpecEnum struct { AES_256 KeyDetailsKeySpec SM4 KeyDetailsKeySpec RSA_2048 KeyDetailsKeySpec RSA_3072 KeyDetailsKeySpec RSA_4096 KeyDetailsKeySpec EC_P256 KeyDetailsKeySpec EC_P384 KeyDetailsKeySpec SM2 KeyDetailsKeySpec }
func GetKeyDetailsKeySpecEnum ¶
func GetKeyDetailsKeySpecEnum() KeyDetailsKeySpecEnum
type KeyDetailsKeyUsage ¶
type KeyDetailsKeyUsage struct {
// contains filtered or unexported fields
}
func (KeyDetailsKeyUsage) MarshalJSON ¶
func (c KeyDetailsKeyUsage) MarshalJSON() ([]byte, error)
func (*KeyDetailsKeyUsage) UnmarshalJSON ¶
func (c *KeyDetailsKeyUsage) UnmarshalJSON(b []byte) error
func (KeyDetailsKeyUsage) Value ¶ added in v0.0.90
func (c KeyDetailsKeyUsage) Value() string
type KeyDetailsKeyUsageEnum ¶
type KeyDetailsKeyUsageEnum struct { ENCRYPT_DECRYPT KeyDetailsKeyUsage SIGN_VERIFY KeyDetailsKeyUsage }
func GetKeyDetailsKeyUsageEnum ¶
func GetKeyDetailsKeyUsageEnum() KeyDetailsKeyUsageEnum
type KeyDetailsOrigin ¶
type KeyDetailsOrigin struct {
// contains filtered or unexported fields
}
func (KeyDetailsOrigin) MarshalJSON ¶
func (c KeyDetailsOrigin) MarshalJSON() ([]byte, error)
func (*KeyDetailsOrigin) UnmarshalJSON ¶
func (c *KeyDetailsOrigin) UnmarshalJSON(b []byte) error
func (KeyDetailsOrigin) Value ¶ added in v0.0.90
func (c KeyDetailsOrigin) Value() string
type KeyDetailsOriginEnum ¶
type KeyDetailsOriginEnum struct { KMS KeyDetailsOrigin EXTERNAL KeyDetailsOrigin }
func GetKeyDetailsOriginEnum ¶
func GetKeyDetailsOriginEnum() KeyDetailsOriginEnum
type KeyStatusInfo ¶
type KeyStatusInfo struct { // 密钥ID KeyId *string `json:"key_id,omitempty"` // 密钥状态: - 2为启用状态 - 3为禁用状态 - 4为计划删除状态 - 5为等待导入状态 - 7为冻结状态 KeyState *string `json:"key_state,omitempty"` }
KeyStatusInfo 密钥状态信息。
func (KeyStatusInfo) String ¶
func (o KeyStatusInfo) String() string
type KeyStoreStateInfo ¶ added in v0.0.100
type KeyStoreStateInfo struct { // 密钥库ID KeystoreId *string `json:"keystore_id,omitempty"` // 密钥库状态 KeystoreState *string `json:"keystore_state,omitempty"` }
KeyStoreStateInfo 密钥库状态详情
func (KeyStoreStateInfo) String ¶ added in v0.0.100
func (o KeyStoreStateInfo) String() string
type KeystoreDetails ¶ added in v0.0.100
type KeystoreDetails struct { // 密钥库ID KeystoreId *string `json:"keystore_id,omitempty"` // 用户域ID DomainId *string `json:"domain_id,omitempty"` // 密钥库别名 KeystoreAlias *string `json:"keystore_alias,omitempty"` // 密钥库类型 KeystoreType *string `json:"keystore_type,omitempty"` // DHSM集群id,要求集群当前未创建专属密钥库 HsmClusterId *string `json:"hsm_cluster_id,omitempty"` // 密钥库创建时间,UTC时间戳。 CreateTime *string `json:"create_time,omitempty"` }
KeystoreDetails 密钥库详情
func (KeystoreDetails) String ¶ added in v0.0.100
func (o KeystoreDetails) String() string
type KeystoreInfo ¶ added in v0.0.100
type KeystoreInfo struct { // 密钥库ID KeystoreId *string `json:"keystore_id,omitempty"` // 用户域ID DomainId *string `json:"domain_id,omitempty"` }
func (KeystoreInfo) String ¶ added in v0.0.100
func (o KeystoreInfo) String() string
type ListAliasResponseBody ¶ added in v0.1.124
type ListAliasResponseBody struct { // 密钥关联的所有别名 Aliases []AliasEntity `json:"aliases"` PageInfo *PageInfo `json:"page_info"` }
ListAliasResponseBody 查询别名响应消息体
func (ListAliasResponseBody) String ¶ added in v0.1.124
func (o ListAliasResponseBody) String() string
type ListAliasesRequest ¶ added in v0.1.124
type ListAliasesRequest struct { // 密钥ID KeyId *string `json:"key_id,omitempty"` // 指定查询返回记录条数 Limit *string `json:"limit,omitempty"` // 分页查询起始位置标识 Marker *string `json:"marker,omitempty"` }
ListAliasesRequest Request Object
func (ListAliasesRequest) String ¶ added in v0.1.124
func (o ListAliasesRequest) String() string
type ListAliasesResponse ¶ added in v0.1.124
type ListAliasesResponse struct { Body *[]ListAliasResponseBody `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ListAliasesResponse Response Object
func (ListAliasesResponse) String ¶ added in v0.1.124
func (o ListAliasesResponse) String() string
type ListGrantsRequest ¶
type ListGrantsRequest struct {
Body *ListGrantsRequestBody `json:"body,omitempty"`
}
ListGrantsRequest Request Object
func (ListGrantsRequest) String ¶
func (o ListGrantsRequest) String() string
type ListGrantsRequestBody ¶
type ListGrantsRequestBody struct { // 密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` // 指定查询授权列表返回记录条数,如果查询记录条数小于存在的条数,响应参数“truncated”将返回“true”,表示存在分页。 取值在授权最大个数范围以内。例如:100 Limit *string `json:"limit,omitempty"` // 分页查询起始位置标识。 分页查询收到的响应参数“truncated”为“true”时,可以发送连续的请求获取更多的记录条数,“marker”设置为响应的“next_marker”的值。例如:10。 Marker *string `json:"marker,omitempty"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (ListGrantsRequestBody) String ¶
func (o ListGrantsRequestBody) String() string
type ListGrantsResponse ¶
type ListGrantsResponse struct { // grant列表,详情请参见grants字段数据结构说明。 Grants *[]Grants `json:"grants,omitempty"` // 获取下一页所需要传递的marker值。 当“truncated”为“false”时,“next_marker”为空。 NextMarker *string `json:"next_marker,omitempty"` // 是否还有下一页: - “true”表示还有数据。 - “false”表示已经是最后一页。 Truncated *ListGrantsResponseTruncated `json:"truncated,omitempty"` // grant总条数。 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
ListGrantsResponse Response Object
func (ListGrantsResponse) String ¶
func (o ListGrantsResponse) String() string
type ListGrantsResponseTruncated ¶
type ListGrantsResponseTruncated struct {
// contains filtered or unexported fields
}
func (ListGrantsResponseTruncated) MarshalJSON ¶
func (c ListGrantsResponseTruncated) MarshalJSON() ([]byte, error)
func (*ListGrantsResponseTruncated) UnmarshalJSON ¶
func (c *ListGrantsResponseTruncated) UnmarshalJSON(b []byte) error
func (ListGrantsResponseTruncated) Value ¶ added in v0.0.90
func (c ListGrantsResponseTruncated) Value() string
type ListGrantsResponseTruncatedEnum ¶
type ListGrantsResponseTruncatedEnum struct { TRUE ListGrantsResponseTruncated FALSE ListGrantsResponseTruncated }
func GetListGrantsResponseTruncatedEnum ¶
func GetListGrantsResponseTruncatedEnum() ListGrantsResponseTruncatedEnum
type ListKeyDetailRequest ¶
type ListKeyDetailRequest struct {
Body *OperateKeyRequestBody `json:"body,omitempty"`
}
ListKeyDetailRequest Request Object
func (ListKeyDetailRequest) String ¶
func (o ListKeyDetailRequest) String() string
type ListKeyDetailResponse ¶
type ListKeyDetailResponse struct { KeyInfo *KeyDetails `json:"key_info,omitempty"` HttpStatusCode int `json:"-"` }
ListKeyDetailResponse Response Object
func (ListKeyDetailResponse) String ¶
func (o ListKeyDetailResponse) String() string
type ListKeyStoresRequest ¶ added in v0.0.100
type ListKeyStoresRequest struct { // 指定查询返回记录条数,默认值10。 Limit *int32 `json:"limit,omitempty"` // 索引位置,从offset指定的下一条数据开始查询。 Offset *int32 `json:"offset,omitempty"` }
ListKeyStoresRequest Request Object
func (ListKeyStoresRequest) String ¶ added in v0.0.100
func (o ListKeyStoresRequest) String() string
type ListKeyStoresResponse ¶ added in v0.0.100
type ListKeyStoresResponse struct { // 密钥库总数 Total *int32 `json:"total,omitempty"` // 密钥详情列表。详情参见KeystoreDetails Keystores *[]KeystoreDetails `json:"keystores,omitempty"` HttpStatusCode int `json:"-"` }
ListKeyStoresResponse Response Object
func (ListKeyStoresResponse) String ¶ added in v0.0.100
func (o ListKeyStoresResponse) String() string
type ListKeysRequest ¶
type ListKeysRequest struct {
Body *ListKeysRequestBody `json:"body,omitempty"`
}
ListKeysRequest Request Object
func (ListKeysRequest) String ¶
func (o ListKeysRequest) String() string
type ListKeysRequestBody ¶
type ListKeysRequestBody struct { // 指定查询返回记录条数,如果指定查询记录条数小于存在的条数,响应参数“truncated”将返回“true”,表示存在分页。取值在密钥最大个数范围以内。例如:100 Limit *string `json:"limit,omitempty"` // 分页查询起始位置标识。分页查询收到的响应参数“truncated”为“true”时,可以发送连续的请求获取更多的记录条数,“marker”设置为响应的next_marker的值。例如:10 Marker *string `json:"marker,omitempty"` // 密钥状态,满足正则匹配“^[1-5]{1}$”,枚举如下: - “1”表示待激活状态 - “2”表示启用状态 - “3”表示禁用状态 - “4”表示计划删除状态 - “5”表示等待导入状态 KeyState *string `json:"key_state,omitempty"` // 密钥生成算法,默认为“AES_256”。查询所有(包含非对称)密钥需要指定参数“ALL”。 - AES_256 - SM4 - RSA_2048 - RSA_3072 - RSA_4096 - EC_P256 - EC_P384 - SM2 - ALL KeySpec *ListKeysRequestBodyKeySpec `json:"key_spec,omitempty"` // 企业多项目ID。用户未开通企业多项目时,不需要输入该字段。 用户开通企业多项目时,查询资源可以输入该字段。 若用户不输入该字段,默认查询租户所有有权限的企业多项目下的资源。 此时“enterprise_project_id”取值为“all”。 若用户输入该字段,取值满足以下任一条件. - 取值为“all” - 取值为“0” - 满足正则匹配:“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$” EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (ListKeysRequestBody) String ¶
func (o ListKeysRequestBody) String() string
type ListKeysRequestBodyKeySpec ¶
type ListKeysRequestBodyKeySpec struct {
// contains filtered or unexported fields
}
func (ListKeysRequestBodyKeySpec) MarshalJSON ¶
func (c ListKeysRequestBodyKeySpec) MarshalJSON() ([]byte, error)
func (*ListKeysRequestBodyKeySpec) UnmarshalJSON ¶
func (c *ListKeysRequestBodyKeySpec) UnmarshalJSON(b []byte) error
func (ListKeysRequestBodyKeySpec) Value ¶ added in v0.0.90
func (c ListKeysRequestBodyKeySpec) Value() string
type ListKeysRequestBodyKeySpecEnum ¶
type ListKeysRequestBodyKeySpecEnum struct { AES_256 ListKeysRequestBodyKeySpec SM4 ListKeysRequestBodyKeySpec RSA_2048 ListKeysRequestBodyKeySpec RSA_3072 ListKeysRequestBodyKeySpec RSA_4096 ListKeysRequestBodyKeySpec EC_P256 ListKeysRequestBodyKeySpec EC_P384 ListKeysRequestBodyKeySpec SM2 ListKeysRequestBodyKeySpec ALL ListKeysRequestBodyKeySpec }
func GetListKeysRequestBodyKeySpecEnum ¶
func GetListKeysRequestBodyKeySpecEnum() ListKeysRequestBodyKeySpecEnum
type ListKeysResponse ¶
type ListKeysResponse struct { // key_id列表。 Keys *[]string `json:"keys,omitempty"` // 密钥详情列表。详情参见KeyDetails KeyDetails *[]KeyDetails `json:"key_details,omitempty"` // 获取下一页所需要传递的“marker”值。当“truncated”为“false”时,“next_marker”为空。 NextMarker *string `json:"next_marker,omitempty"` // 是否还有下一页: - “true”表示还有数据。 - “false”表示已经是最后一页。 Truncated *ListKeysResponseTruncated `json:"truncated,omitempty"` // 密钥总条数。 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
ListKeysResponse Response Object
func (ListKeysResponse) String ¶
func (o ListKeysResponse) String() string
type ListKeysResponseTruncated ¶
type ListKeysResponseTruncated struct {
// contains filtered or unexported fields
}
func (ListKeysResponseTruncated) MarshalJSON ¶
func (c ListKeysResponseTruncated) MarshalJSON() ([]byte, error)
func (*ListKeysResponseTruncated) UnmarshalJSON ¶
func (c *ListKeysResponseTruncated) UnmarshalJSON(b []byte) error
func (ListKeysResponseTruncated) Value ¶ added in v0.0.90
func (c ListKeysResponseTruncated) Value() string
type ListKeysResponseTruncatedEnum ¶
type ListKeysResponseTruncatedEnum struct { TRUE ListKeysResponseTruncated FALSE ListKeysResponseTruncated }
func GetListKeysResponseTruncatedEnum ¶
func GetListKeysResponseTruncatedEnum() ListKeysResponseTruncatedEnum
type ListKmsByTagsRequest ¶
type ListKmsByTagsRequest struct { // 资源实例,固定值为resource_instances ResourceInstances string `json:"resource_instances"` Body *ListKmsByTagsRequestBody `json:"body,omitempty"` }
ListKmsByTagsRequest Request Object
func (ListKmsByTagsRequest) String ¶
func (o ListKmsByTagsRequest) String() string
type ListKmsByTagsRequestBody ¶
type ListKmsByTagsRequestBody struct { // 查询记录数(“action”为“count”时,无需设置此参数),如果“action”为“filter”,默认为“10”。 limit的取值范围为“1-1000”。 Limit *string `json:"limit,omitempty"` // 索引位置。从offset指定的下一条数据开始查询。查询第一页数据时,将查询前一页数据时响应体中的值带入此参数(“action”为“count”时,无需设置此参数)。如果“action”为“filter”,offset默认为“0”。 offset必须为数字,不能为负数。 Offset *string `json:"offset,omitempty"` // 操作标识(可设置为“filter”或者“count”)。 - filter:表示过滤。 - count:表示查询总条数。 Action *string `json:"action,omitempty"` // 标签列表,key和value键值对的集合。 - key:表示标签键,一个密钥下最多包含10个key,key不能为空,不能重复,同一个key中value不能重复。key最大长度为36个字符。 - value:表示标签值。每个值最大长度43个字符,value之间为“与”的关系。 Tags *[]Tag `json:"tags,omitempty"` // 搜索字段。 - key为要匹配的字段,例如:resource_name等。 - value为匹配的值,最大长度为255个字符,不能为空。 Matches *[]TagItem `json:"matches,omitempty"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (ListKmsByTagsRequestBody) String ¶
func (o ListKmsByTagsRequestBody) String() string
type ListKmsByTagsResponse ¶
type ListKmsByTagsResponse struct { // 资源实例列表,详情请参见resource字段数据结构说明。 Resources *[]ActionResources `json:"resources,omitempty"` // 总记录数。 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ListKmsByTagsResponse Response Object
func (ListKmsByTagsResponse) String ¶
func (o ListKmsByTagsResponse) String() string
type ListKmsTagsRequest ¶
type ListKmsTagsRequest struct { }
ListKmsTagsRequest Request Object
func (ListKmsTagsRequest) String ¶
func (o ListKmsTagsRequest) String() string
type ListKmsTagsResponse ¶
type ListKmsTagsResponse struct { // 标签列表,key和value键值对的集合。 - key:表示标签键,一个密钥下最多包含10个key,key不能为空,不能重复,同一个key中value不能重复。key最大长度为36个字符。 - value:表示标签值。每个值最大长度43个字符,value之间为“与”的关系。 Tags *[]Tag `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
ListKmsTagsResponse Response Object
func (ListKmsTagsResponse) String ¶
func (o ListKmsTagsResponse) String() string
type ListRetirableGrantsRequest ¶
type ListRetirableGrantsRequest struct {
Body *ListRetirableGrantsRequestBody `json:"body,omitempty"`
}
ListRetirableGrantsRequest Request Object
func (ListRetirableGrantsRequest) String ¶
func (o ListRetirableGrantsRequest) String() string
type ListRetirableGrantsRequestBody ¶
type ListRetirableGrantsRequestBody struct { // 指定查询可退役授权返回记录条数,如果查询记录条数小于存在的条数,响应参数“truncated”将返回“true”,表示存在分页。 取值在授权最大个数范围以内。例如:100 Limit *string `json:"limit,omitempty"` // 分页查询起始位置标识。 分页查询收到的响应参数“truncated”为“true”时,可以发送连续的请求获取更多的记录条数,“marker”设置为响应的“next_marker”的值。例如:10。 Marker *string `json:"marker,omitempty"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (ListRetirableGrantsRequestBody) String ¶
func (o ListRetirableGrantsRequestBody) String() string
type ListRetirableGrantsResponse ¶
type ListRetirableGrantsResponse struct { // grant列表,详情请参见grants字段数据结构说明。 Grants *[]Grants `json:"grants,omitempty"` // 获取下一页所需要传递的marker值。 当“truncated”为“false”时,“next_marker”为空。 NextMarker *string `json:"next_marker,omitempty"` // 可退役授权总条数。 Total *int32 `json:"total,omitempty"` // 是否还有下一页: - “true”表示还有数据。 - “false”表示已经是最后一页。 Truncated *ListRetirableGrantsResponseTruncated `json:"truncated,omitempty"` HttpStatusCode int `json:"-"` }
ListRetirableGrantsResponse Response Object
func (ListRetirableGrantsResponse) String ¶
func (o ListRetirableGrantsResponse) String() string
type ListRetirableGrantsResponseTruncated ¶
type ListRetirableGrantsResponseTruncated struct {
// contains filtered or unexported fields
}
func (ListRetirableGrantsResponseTruncated) MarshalJSON ¶
func (c ListRetirableGrantsResponseTruncated) MarshalJSON() ([]byte, error)
func (*ListRetirableGrantsResponseTruncated) UnmarshalJSON ¶
func (c *ListRetirableGrantsResponseTruncated) UnmarshalJSON(b []byte) error
func (ListRetirableGrantsResponseTruncated) Value ¶ added in v0.0.90
func (c ListRetirableGrantsResponseTruncated) Value() string
type ListRetirableGrantsResponseTruncatedEnum ¶
type ListRetirableGrantsResponseTruncatedEnum struct { TRUE ListRetirableGrantsResponseTruncated FALSE ListRetirableGrantsResponseTruncated }
func GetListRetirableGrantsResponseTruncatedEnum ¶
func GetListRetirableGrantsResponseTruncatedEnum() ListRetirableGrantsResponseTruncatedEnum
type ListSupportRegionsRequest ¶ added in v0.1.104
type ListSupportRegionsRequest struct { // 指定查询返回记录条数,默认值10。 Limit *int32 `json:"limit,omitempty"` // 索引位置,从offset指定的下一条数据开始查询。 Offset *int32 `json:"offset,omitempty"` }
ListSupportRegionsRequest Request Object
func (ListSupportRegionsRequest) String ¶ added in v0.1.104
func (o ListSupportRegionsRequest) String() string
type ListSupportRegionsResponse ¶ added in v0.1.104
type ListSupportRegionsResponse struct { // 区域信息。 Regions *[]string `json:"regions,omitempty"` HttpStatusCode int `json:"-"` }
ListSupportRegionsResponse Response Object
func (ListSupportRegionsResponse) String ¶ added in v0.1.104
func (o ListSupportRegionsResponse) String() string
type OperateKeyRequestBody ¶
type OperateKeyRequestBody struct { // 密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (OperateKeyRequestBody) String ¶
func (o OperateKeyRequestBody) String() string
type PageInfo ¶ added in v0.1.124
type PageInfo struct { // 下一页的查询标志 NextMarker *string `json:"next_marker,omitempty"` // 本页返回条目数量 CurrentCount *int32 `json:"current_count,omitempty"` }
PageInfo 分页信息
type Quotas ¶
type Quotas struct { // 资源配额列表,详情请参见Resources Resources *[]Resources `json:"resources,omitempty"` }
Quotas 配额详情。
type ReplicateKeyRequest ¶ added in v0.1.104
type ReplicateKeyRequest struct { // 待复制的密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` Body *ReplicateKeyRequestBody `json:"body,omitempty"` }
ReplicateKeyRequest Request Object
func (ReplicateKeyRequest) String ¶ added in v0.1.104
func (o ReplicateKeyRequest) String() string
type ReplicateKeyRequestBody ¶ added in v0.1.104
type ReplicateKeyRequestBody struct { // 待复制的密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` // 复制密钥的目的区域编码。如cn-north-4。 ReplicaRegion string `json:"replica_region"` // 指定复制出的新密钥的别名。 KeyAlias string `json:"key_alias"` // 指定复制出的新密钥的描述信息。 KeyDescription *string `json:"key_description,omitempty"` // 指定复制出的新密钥的企业多项目ID。 - 用户未开通企业多项目时,不需要输入该字段。 - 用户开通企业多项目时,创建资源可以输入该字段。若用户户不输入该字段,默认创建属于默认企业多项目ID(ID为“0”)的资源。 注意:若用户没有默认企业多项目ID(ID为“0”)下的创建权限,则接口报错。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 指定复制出的新密钥的项目ID。 ReplicaProjectId string `json:"replica_project_id"` // 标签列表,key和value键值对的集合。 Tags *[]TagItem `json:"tags,omitempty"` }
func (ReplicateKeyRequestBody) String ¶ added in v0.1.104
func (o ReplicateKeyRequestBody) String() string
type ReplicateKeyResponse ¶ added in v0.1.104
type ReplicateKeyResponse struct { // 复制出的密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId *string `json:"key_id,omitempty"` // 用户域ID。 DomainId *string `json:"domain_id,omitempty"` // 复制出的密钥所在区域编码。如cn-north-4。 Region *string `json:"region,omitempty"` HttpStatusCode int `json:"-"` }
ReplicateKeyResponse Response Object
func (ReplicateKeyResponse) String ¶ added in v0.1.104
func (o ReplicateKeyResponse) String() string
type Resources ¶
type Resources struct { // 配额类型。枚举值说明: - CMK,用户主密钥 - grant_per_CMK,单个用户主密钥可创建授权数 Type *ResourcesType `json:"type,omitempty"` // 已使用配额数。 Used *int32 `json:"used,omitempty"` // 配额总数。 Quota *int32 `json:"quota,omitempty"` }
type ResourcesType ¶
type ResourcesType struct {
// contains filtered or unexported fields
}
func (ResourcesType) MarshalJSON ¶
func (c ResourcesType) MarshalJSON() ([]byte, error)
func (*ResourcesType) UnmarshalJSON ¶
func (c *ResourcesType) UnmarshalJSON(b []byte) error
func (ResourcesType) Value ¶ added in v0.0.90
func (c ResourcesType) Value() string
type ResourcesTypeEnum ¶
type ResourcesTypeEnum struct { CMK ResourcesType GRANT_PER_CMK ResourcesType }
func GetResourcesTypeEnum ¶
func GetResourcesTypeEnum() ResourcesTypeEnum
type RevokeGrantRequestBody ¶
type RevokeGrantRequestBody struct { // 密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` // 授权ID,64字节,满足正则匹配“^[A-Fa-f0-9]{64}$”。 例如:7c9a3286af4fcca5f0a385ad13e1d21a50e27b6dbcab50f37f30f93b8939827d GrantId string `json:"grant_id"` // 请求消息序列号,36字节序列号。例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (RevokeGrantRequestBody) String ¶
func (o RevokeGrantRequestBody) String() string
type ScheduleKeyDeletionRequestBody ¶
type ScheduleKeyDeletionRequestBody struct { // 密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` // 计划多少天后删除密钥,取值为7到1096。 PendingDays string `json:"pending_days"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (ScheduleKeyDeletionRequestBody) String ¶
func (o ScheduleKeyDeletionRequestBody) String() string
type ShowKeyRotationStatusRequest ¶
type ShowKeyRotationStatusRequest struct {
Body *OperateKeyRequestBody `json:"body,omitempty"`
}
ShowKeyRotationStatusRequest Request Object
func (ShowKeyRotationStatusRequest) String ¶
func (o ShowKeyRotationStatusRequest) String() string
type ShowKeyRotationStatusResponse ¶
type ShowKeyRotationStatusResponse struct { // 密钥轮换状态,默认为“false”,表示关闭密钥轮换功能。 KeyRotationEnabled *bool `json:"key_rotation_enabled,omitempty"` // 轮换周期,取值范围为30~365的整数。 周期范围设置根据密钥使用频率进行,若密钥使用频率高,建议设置为短周期;反之,则设置为长周期。 RotationInterval *int32 `json:"rotation_interval,omitempty"` // 上一次密钥轮换时间。时间戳,即从1970年1月1日至该时间的总秒数。 LastRotationTime *string `json:"last_rotation_time,omitempty"` // 密钥轮换次数。 NumberOfRotations *int32 `json:"number_of_rotations,omitempty"` HttpStatusCode int `json:"-"` }
ShowKeyRotationStatusResponse Response Object
func (ShowKeyRotationStatusResponse) String ¶
func (o ShowKeyRotationStatusResponse) String() string
type ShowKeyStoreRequest ¶ added in v0.0.100
type ShowKeyStoreRequest struct { // 密钥库ID KeystoreId string `json:"keystore_id"` }
ShowKeyStoreRequest Request Object
func (ShowKeyStoreRequest) String ¶ added in v0.0.100
func (o ShowKeyStoreRequest) String() string
type ShowKeyStoreResponse ¶ added in v0.0.100
type ShowKeyStoreResponse struct { Keystore *KeystoreDetails `json:"keystore,omitempty"` HttpStatusCode int `json:"-"` }
ShowKeyStoreResponse Response Object
func (ShowKeyStoreResponse) String ¶ added in v0.0.100
func (o ShowKeyStoreResponse) String() string
type ShowKmsTagsRequest ¶
type ShowKmsTagsRequest struct { // 密钥ID KeyId string `json:"key_id"` }
ShowKmsTagsRequest Request Object
func (ShowKmsTagsRequest) String ¶
func (o ShowKmsTagsRequest) String() string
type ShowKmsTagsResponse ¶
type ShowKmsTagsResponse struct { // 标签列表,key和value键值对的集合。 - key:表示标签键,一个密钥下最多包含10个key,key不能为空,不能重复,同一个key中value不能重复。key最大长度为36个字符。 - value:表示标签值。每个值最大长度43个字符,value之间为“与”的关系。 Tags *[]TagItem `json:"tags,omitempty"` // 密钥的标签个数。。 ExistTagsNum *int32 `json:"existTagsNum,omitempty"` HttpStatusCode int `json:"-"` }
ShowKmsTagsResponse Response Object
func (ShowKmsTagsResponse) String ¶
func (o ShowKmsTagsResponse) String() string
type ShowPublicKeyRequest ¶
type ShowPublicKeyRequest struct {
Body *OperateKeyRequestBody `json:"body,omitempty"`
}
ShowPublicKeyRequest Request Object
func (ShowPublicKeyRequest) String ¶
func (o ShowPublicKeyRequest) String() string
type ShowPublicKeyResponse ¶
type ShowPublicKeyResponse struct { // 密钥ID。 KeyId *string `json:"key_id,omitempty"` // 公钥信息。 PublicKey *string `json:"public_key,omitempty"` HttpStatusCode int `json:"-"` }
ShowPublicKeyResponse Response Object
func (ShowPublicKeyResponse) String ¶
func (o ShowPublicKeyResponse) String() string
type ShowUserInstancesRequest ¶
type ShowUserInstancesRequest struct { }
ShowUserInstancesRequest Request Object
func (ShowUserInstancesRequest) String ¶
func (o ShowUserInstancesRequest) String() string
type ShowUserInstancesResponse ¶
type ShowUserInstancesResponse struct { // 非默认用户主密钥个数。 InstanceNum *int32 `json:"instance_num,omitempty"` HttpStatusCode int `json:"-"` }
ShowUserInstancesResponse Response Object
func (ShowUserInstancesResponse) String ¶
func (o ShowUserInstancesResponse) String() string
type ShowUserQuotasRequest ¶
type ShowUserQuotasRequest struct { }
ShowUserQuotasRequest Request Object
func (ShowUserQuotasRequest) String ¶
func (o ShowUserQuotasRequest) String() string
type ShowUserQuotasResponse ¶
type ShowUserQuotasResponse struct { Quotas *Quotas `json:"quotas,omitempty"` HttpStatusCode int `json:"-"` }
ShowUserQuotasResponse Response Object
func (ShowUserQuotasResponse) String ¶
func (o ShowUserQuotasResponse) String() string
type ShowVersionRequest ¶
type ShowVersionRequest struct { // API版本号 VersionId string `json:"version_id"` }
ShowVersionRequest Request Object
func (ShowVersionRequest) String ¶
func (o ShowVersionRequest) String() string
type ShowVersionResponse ¶
type ShowVersionResponse struct { // 描述version 对象的列表,详情请参见 ApiVersionDetail字段数据结构说明。 Version *interface{} `json:"version,omitempty"` HttpStatusCode int `json:"-"` }
ShowVersionResponse Response Object
func (ShowVersionResponse) String ¶
func (o ShowVersionResponse) String() string
type ShowVersionsRequest ¶
type ShowVersionsRequest struct { }
ShowVersionsRequest Request Object
func (ShowVersionsRequest) String ¶
func (o ShowVersionsRequest) String() string
type ShowVersionsResponse ¶
type ShowVersionsResponse struct { // 描述version 相关对象的列表,详情请参见 versions字段数据结构说明。 Versions *[]ApiVersionDetail `json:"versions,omitempty"` HttpStatusCode int `json:"-"` }
ShowVersionsResponse Response Object
func (ShowVersionsResponse) String ¶
func (o ShowVersionsResponse) String() string
type SignRequest ¶
type SignRequest struct {
Body *SignRequestBody `json:"body,omitempty"`
}
SignRequest Request Object
func (SignRequest) String ¶
func (o SignRequest) String() string
type SignRequestBody ¶
type SignRequestBody struct { // 密钥ID,36字节,满足正则匹配“^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` // 待签名的消息摘要或者消息,消息长度要求小于4096字节,使用Base64编码。 Message string `json:"message"` // 签名算法,枚举如下: - RSASSA_PSS_SHA_256 - RSASSA_PSS_SHA_384 - RSASSA_PSS_SHA_512 - RSASSA_PKCS1_V1_5_SHA_256 - RSASSA_PKCS1_V1_5_SHA_384 - RSASSA_PKCS1_V1_5_SHA_512 - ECDSA_SHA_256 - ECDSA_SHA_384 - ECDSA_SHA_512 - SM2DSA_SM3 SigningAlgorithm SignRequestBodySigningAlgorithm `json:"signing_algorithm"` // 消息类型,默认为“DIGEST”,枚举如下: - DIGEST 表示消息摘要 - RAW 表示消息原文 MessageType *SignRequestBodyMessageType `json:"message_type,omitempty"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff。 Sequence *string `json:"sequence,omitempty"` }
func (SignRequestBody) String ¶
func (o SignRequestBody) String() string
type SignRequestBodyMessageType ¶
type SignRequestBodyMessageType struct {
// contains filtered or unexported fields
}
func (SignRequestBodyMessageType) MarshalJSON ¶
func (c SignRequestBodyMessageType) MarshalJSON() ([]byte, error)
func (*SignRequestBodyMessageType) UnmarshalJSON ¶
func (c *SignRequestBodyMessageType) UnmarshalJSON(b []byte) error
func (SignRequestBodyMessageType) Value ¶ added in v0.0.90
func (c SignRequestBodyMessageType) Value() string
type SignRequestBodyMessageTypeEnum ¶
type SignRequestBodyMessageTypeEnum struct { DIGEST SignRequestBodyMessageType RAW SignRequestBodyMessageType }
func GetSignRequestBodyMessageTypeEnum ¶
func GetSignRequestBodyMessageTypeEnum() SignRequestBodyMessageTypeEnum
type SignRequestBodySigningAlgorithm ¶
type SignRequestBodySigningAlgorithm struct {
// contains filtered or unexported fields
}
func (SignRequestBodySigningAlgorithm) MarshalJSON ¶
func (c SignRequestBodySigningAlgorithm) MarshalJSON() ([]byte, error)
func (*SignRequestBodySigningAlgorithm) UnmarshalJSON ¶
func (c *SignRequestBodySigningAlgorithm) UnmarshalJSON(b []byte) error
func (SignRequestBodySigningAlgorithm) Value ¶ added in v0.0.90
func (c SignRequestBodySigningAlgorithm) Value() string
type SignRequestBodySigningAlgorithmEnum ¶
type SignRequestBodySigningAlgorithmEnum struct { RSASSA_PSS_SHA_256 SignRequestBodySigningAlgorithm RSASSA_PSS_SHA_384 SignRequestBodySigningAlgorithm RSASSA_PSS_SHA_512 SignRequestBodySigningAlgorithm RSASSA_PKCS1_V1_5_SHA_256 SignRequestBodySigningAlgorithm RSASSA_PKCS1_V1_5_SHA_384 SignRequestBodySigningAlgorithm RSASSA_PKCS1_V1_5_SHA_512 SignRequestBodySigningAlgorithm ECDSA_SHA_256 SignRequestBodySigningAlgorithm ECDSA_SHA_384 SignRequestBodySigningAlgorithm ECDSA_SHA_512 SignRequestBodySigningAlgorithm SM2_DSA_SM3 SignRequestBodySigningAlgorithm }
func GetSignRequestBodySigningAlgorithmEnum ¶
func GetSignRequestBodySigningAlgorithmEnum() SignRequestBodySigningAlgorithmEnum
type SignResponse ¶
type SignResponse struct { // 密钥ID。 KeyId *string `json:"key_id,omitempty"` // 签名值,使用base64编码。 Signature *string `json:"signature,omitempty"` HttpStatusCode int `json:"-"` }
SignResponse Response Object
func (SignResponse) String ¶
func (o SignResponse) String() string
type Tag ¶
type TagItem ¶
type TagItem struct { // 键。 最大长度36个unicode字符。 key不能为空。不能包含非打印字符“ASCII(0-31)”、“*”、“<”、“>”、“\\”、“=”。 Key string `json:"key"` // 值。 每个值最大长度43个unicode字符,可以为空字符串。 不能包含非打印字符“ASCII(0-31)”、“*”、“<”、“>”、“\\”、“=”。 Value *string `json:"value,omitempty"` }
TagItem 标签。
type UpdateKeyAliasRequest ¶
type UpdateKeyAliasRequest struct {
Body *UpdateKeyAliasRequestBody `json:"body,omitempty"`
}
UpdateKeyAliasRequest Request Object
func (UpdateKeyAliasRequest) String ¶
func (o UpdateKeyAliasRequest) String() string
type UpdateKeyAliasRequestBody ¶
type UpdateKeyAliasRequestBody struct { // 密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` // 非默认主密钥别名,取值1到255字符,满足正则匹配“^[a-zA-Z0-9:/_-]{1,255}$”且 后缀不可以为“/default”。 KeyAlias string `json:"key_alias"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (UpdateKeyAliasRequestBody) String ¶
func (o UpdateKeyAliasRequestBody) String() string
type UpdateKeyAliasResponse ¶
type UpdateKeyAliasResponse struct { KeyInfo *KeyAliasInfo `json:"key_info,omitempty"` HttpStatusCode int `json:"-"` }
UpdateKeyAliasResponse Response Object
func (UpdateKeyAliasResponse) String ¶
func (o UpdateKeyAliasResponse) String() string
type UpdateKeyDescriptionRequest ¶
type UpdateKeyDescriptionRequest struct {
Body *UpdateKeyDescriptionRequestBody `json:"body,omitempty"`
}
UpdateKeyDescriptionRequest Request Object
func (UpdateKeyDescriptionRequest) String ¶
func (o UpdateKeyDescriptionRequest) String() string
type UpdateKeyDescriptionRequestBody ¶
type UpdateKeyDescriptionRequestBody struct { // 密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` // 密钥描述,取值0到255字符。 KeyDescription string `json:"key_description"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (UpdateKeyDescriptionRequestBody) String ¶
func (o UpdateKeyDescriptionRequestBody) String() string
type UpdateKeyDescriptionResponse ¶
type UpdateKeyDescriptionResponse struct { KeyInfo *KeyDescriptionInfo `json:"key_info,omitempty"` HttpStatusCode int `json:"-"` }
UpdateKeyDescriptionResponse Response Object
func (UpdateKeyDescriptionResponse) String ¶
func (o UpdateKeyDescriptionResponse) String() string
type UpdateKeyRotationIntervalRequest ¶
type UpdateKeyRotationIntervalRequest struct {
Body *UpdateKeyRotationIntervalRequestBody `json:"body,omitempty"`
}
UpdateKeyRotationIntervalRequest Request Object
func (UpdateKeyRotationIntervalRequest) String ¶
func (o UpdateKeyRotationIntervalRequest) String() string
type UpdateKeyRotationIntervalRequestBody ¶
type UpdateKeyRotationIntervalRequestBody struct { // 密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` // 轮换周期,取值范围为30~365的整数。 周期范围设置根据密钥使用频率进行,若密钥使用频率高,建议设置为短周期;反之,则设置为长周期。 RotationInterval int32 `json:"rotation_interval"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff Sequence *string `json:"sequence,omitempty"` }
func (UpdateKeyRotationIntervalRequestBody) String ¶
func (o UpdateKeyRotationIntervalRequestBody) String() string
type UpdateKeyRotationIntervalResponse ¶
type UpdateKeyRotationIntervalResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateKeyRotationIntervalResponse Response Object
func (UpdateKeyRotationIntervalResponse) String ¶
func (o UpdateKeyRotationIntervalResponse) String() string
type UpdatePrimaryRegionRequest ¶ added in v0.1.104
type UpdatePrimaryRegionRequest struct { // 待更新的密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` Body *UpdatePrimaryRegionRequestBody `json:"body,omitempty"` }
UpdatePrimaryRegionRequest Request Object
func (UpdatePrimaryRegionRequest) String ¶ added in v0.1.104
func (o UpdatePrimaryRegionRequest) String() string
type UpdatePrimaryRegionRequestBody ¶ added in v0.1.104
type UpdatePrimaryRegionRequestBody struct { // 待复制的密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` // 指定密钥所属新的主区域的区域编码。如cn-north-4。 PrimaryRegion string `json:"primary_region"` }
func (UpdatePrimaryRegionRequestBody) String ¶ added in v0.1.104
func (o UpdatePrimaryRegionRequestBody) String() string
type UpdatePrimaryRegionResponse ¶ added in v0.1.104
type UpdatePrimaryRegionResponse struct { // 密钥ID,36字节,满足正则匹配“^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId *string `json:"key_id,omitempty"` // 密钥所在主区域编码。如cn-north-4。 PrimaryRegion *string `json:"primary_region,omitempty"` HttpStatusCode int `json:"-"` }
UpdatePrimaryRegionResponse Response Object
func (UpdatePrimaryRegionResponse) String ¶ added in v0.1.104
func (o UpdatePrimaryRegionResponse) String() string
type ValidateSignatureRequest ¶
type ValidateSignatureRequest struct {
Body *VerifyRequestBody `json:"body,omitempty"`
}
ValidateSignatureRequest Request Object
func (ValidateSignatureRequest) String ¶
func (o ValidateSignatureRequest) String() string
type ValidateSignatureResponse ¶
type ValidateSignatureResponse struct { // 密钥ID。 KeyId *string `json:"key_id,omitempty"` // 签名验证合法性,“true”表示验证签名合法,“false”表示验证签名非法。 SignatureValid *string `json:"signature_valid,omitempty"` HttpStatusCode int `json:"-"` }
ValidateSignatureResponse Response Object
func (ValidateSignatureResponse) String ¶
func (o ValidateSignatureResponse) String() string
type VerifyMacRequest ¶ added in v0.1.90
type VerifyMacRequest struct {
Body *VerifyMacRequestBody `json:"body,omitempty"`
}
VerifyMacRequest Request Object
func (VerifyMacRequest) String ¶ added in v0.1.90
func (o VerifyMacRequest) String() string
type VerifyMacRequestBody ¶ added in v0.1.90
type VerifyMacRequestBody struct { // 密钥ID KeyId string `json:"key_id"` // Mac算法,HMAC_SM3只有中国区支持。枚举如下: - HMAC_SHA_256 - HMAC_SHA_384 - HMAC_SHA_512 - HMAC_SM3 MacAlgorithm VerifyMacRequestBodyMacAlgorithm `json:"mac_algorithm"` // 待处理消息。原消息最小长度1、最大长度4096。请将原消息转为Base64格式后传入 Message string `json:"message"` // 待校验的消息验证码 Mac string `json:"mac"` }
func (VerifyMacRequestBody) String ¶ added in v0.1.90
func (o VerifyMacRequestBody) String() string
type VerifyMacRequestBodyMacAlgorithm ¶ added in v0.1.90
type VerifyMacRequestBodyMacAlgorithm struct {
// contains filtered or unexported fields
}
func (VerifyMacRequestBodyMacAlgorithm) MarshalJSON ¶ added in v0.1.90
func (c VerifyMacRequestBodyMacAlgorithm) MarshalJSON() ([]byte, error)
func (*VerifyMacRequestBodyMacAlgorithm) UnmarshalJSON ¶ added in v0.1.90
func (c *VerifyMacRequestBodyMacAlgorithm) UnmarshalJSON(b []byte) error
func (VerifyMacRequestBodyMacAlgorithm) Value ¶ added in v0.1.90
func (c VerifyMacRequestBodyMacAlgorithm) Value() string
type VerifyMacRequestBodyMacAlgorithmEnum ¶ added in v0.1.90
type VerifyMacRequestBodyMacAlgorithmEnum struct { HMAC_SHA_256 VerifyMacRequestBodyMacAlgorithm HMAC_SHA_384 VerifyMacRequestBodyMacAlgorithm HMAC_SHA_512 VerifyMacRequestBodyMacAlgorithm HMAC_SM3 VerifyMacRequestBodyMacAlgorithm }
func GetVerifyMacRequestBodyMacAlgorithmEnum ¶ added in v0.1.90
func GetVerifyMacRequestBodyMacAlgorithmEnum() VerifyMacRequestBodyMacAlgorithmEnum
type VerifyMacResponse ¶ added in v0.1.90
type VerifyMacResponse struct { // 密钥ID KeyId *string `json:"key_id,omitempty"` // MAC算法 MacAlgorithm *string `json:"mac_algorithm,omitempty"` // 消息验证码校验结果 MacValid *bool `json:"mac_valid,omitempty"` HttpStatusCode int `json:"-"` }
VerifyMacResponse Response Object
func (VerifyMacResponse) String ¶ added in v0.1.90
func (o VerifyMacResponse) String() string
type VerifyRequestBody ¶
type VerifyRequestBody struct { // 密钥ID,36字节,满足正则匹配“^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$”。 例如:0d0466b0-e727-4d9c-b35d-f84bb474a37f。 KeyId string `json:"key_id"` // 待签名的消息摘要或者消息,消息长度要求小于4096字节,使用Base64编码。 Message string `json:"message"` // 待验证的签名值,使用Base64编码。 Signature string `json:"signature"` // 签名算法,枚举如下: - RSASSA_PSS_SHA_256 - RSASSA_PSS_SHA_384 - RSASSA_PSS_SHA_512 - RSASSA_PKCS1_V1_5_SHA_256 - RSASSA_PKCS1_V1_5_SHA_384 - RSASSA_PKCS1_V1_5_SHA_512 - ECDSA_SHA_256 - ECDSA_SHA_384 - ECDSA_SHA_512 - SM2DSA_SM3 SigningAlgorithm VerifyRequestBodySigningAlgorithm `json:"signing_algorithm"` // 消息类型,默认为“DIGEST”,枚举如下: - DIGEST 表示消息摘要 - RAW 表示消息原文 MessageType *VerifyRequestBodyMessageType `json:"message_type,omitempty"` // 请求消息序列号,36字节序列号。 例如:919c82d4-8046-4722-9094-35c3c6524cff。 Sequence *string `json:"sequence,omitempty"` }
func (VerifyRequestBody) String ¶
func (o VerifyRequestBody) String() string
type VerifyRequestBodyMessageType ¶
type VerifyRequestBodyMessageType struct {
// contains filtered or unexported fields
}
func (VerifyRequestBodyMessageType) MarshalJSON ¶
func (c VerifyRequestBodyMessageType) MarshalJSON() ([]byte, error)
func (*VerifyRequestBodyMessageType) UnmarshalJSON ¶
func (c *VerifyRequestBodyMessageType) UnmarshalJSON(b []byte) error
func (VerifyRequestBodyMessageType) Value ¶ added in v0.0.90
func (c VerifyRequestBodyMessageType) Value() string
type VerifyRequestBodyMessageTypeEnum ¶
type VerifyRequestBodyMessageTypeEnum struct { DIGEST VerifyRequestBodyMessageType RAW VerifyRequestBodyMessageType }
func GetVerifyRequestBodyMessageTypeEnum ¶
func GetVerifyRequestBodyMessageTypeEnum() VerifyRequestBodyMessageTypeEnum
type VerifyRequestBodySigningAlgorithm ¶
type VerifyRequestBodySigningAlgorithm struct {
// contains filtered or unexported fields
}
func (VerifyRequestBodySigningAlgorithm) MarshalJSON ¶
func (c VerifyRequestBodySigningAlgorithm) MarshalJSON() ([]byte, error)
func (*VerifyRequestBodySigningAlgorithm) UnmarshalJSON ¶
func (c *VerifyRequestBodySigningAlgorithm) UnmarshalJSON(b []byte) error
func (VerifyRequestBodySigningAlgorithm) Value ¶ added in v0.0.90
func (c VerifyRequestBodySigningAlgorithm) Value() string
type VerifyRequestBodySigningAlgorithmEnum ¶
type VerifyRequestBodySigningAlgorithmEnum struct { RSASSA_PSS_SHA_256 VerifyRequestBodySigningAlgorithm RSASSA_PSS_SHA_384 VerifyRequestBodySigningAlgorithm RSASSA_PSS_SHA_512 VerifyRequestBodySigningAlgorithm RSASSA_PKCS1_V1_5_SHA_256 VerifyRequestBodySigningAlgorithm RSASSA_PKCS1_V1_5_SHA_384 VerifyRequestBodySigningAlgorithm RSASSA_PKCS1_V1_5_SHA_512 VerifyRequestBodySigningAlgorithm ECDSA_SHA_256 VerifyRequestBodySigningAlgorithm ECDSA_SHA_384 VerifyRequestBodySigningAlgorithm ECDSA_SHA_512 VerifyRequestBodySigningAlgorithm SM2_DSA_SM3 VerifyRequestBodySigningAlgorithm }
func GetVerifyRequestBodySigningAlgorithmEnum ¶
func GetVerifyRequestBodySigningAlgorithmEnum() VerifyRequestBodySigningAlgorithmEnum
Source Files ¶
- model_action_resources.go
- model_alias_entity.go
- model_api_link.go
- model_api_version_detail.go
- model_associate_alias_request.go
- model_associate_alias_request_body.go
- model_associate_alias_response.go
- model_batch_create_kms_tags_request.go
- model_batch_create_kms_tags_request_body.go
- model_batch_create_kms_tags_response.go
- model_cancel_grant_request.go
- model_cancel_grant_response.go
- model_cancel_key_deletion_request.go
- model_cancel_key_deletion_response.go
- model_cancel_self_grant_request.go
- model_cancel_self_grant_response.go
- model_create_alias_request.go
- model_create_alias_request_body.go
- model_create_alias_response.go
- model_create_datakey_request.go
- model_create_datakey_request_body.go
- model_create_datakey_response.go
- model_create_datakey_without_plaintext_request.go
- model_create_datakey_without_plaintext_response.go
- model_create_grant_request.go
- model_create_grant_request_body.go
- model_create_grant_response.go
- model_create_key_request.go
- model_create_key_request_body.go
- model_create_key_response.go
- model_create_key_store_request.go
- model_create_key_store_request_body.go
- model_create_key_store_response.go
- model_create_kms_tag_request.go
- model_create_kms_tag_request_body.go
- model_create_kms_tag_response.go
- model_create_parameters_for_import_request.go
- model_create_parameters_for_import_response.go
- model_create_random_request.go
- model_create_random_response.go
- model_decrypt_data_request.go
- model_decrypt_data_request_body.go
- model_decrypt_data_response.go
- model_decrypt_datakey_request.go
- model_decrypt_datakey_request_body.go
- model_decrypt_datakey_response.go
- model_delete_alias_request.go
- model_delete_alias_request_body.go
- model_delete_alias_response.go
- model_delete_imported_key_material_request.go
- model_delete_imported_key_material_response.go
- model_delete_key_request.go
- model_delete_key_response.go
- model_delete_key_store_request.go
- model_delete_key_store_response.go
- model_delete_tag_request.go
- model_delete_tag_response.go
- model_disable_key_request.go
- model_disable_key_response.go
- model_disable_key_rotation_request.go
- model_disable_key_rotation_response.go
- model_disable_key_store_request.go
- model_disable_key_store_response.go
- model_enable_key_request.go
- model_enable_key_response.go
- model_enable_key_rotation_request.go
- model_enable_key_rotation_response.go
- model_enable_key_store_request.go
- model_enable_key_store_response.go
- model_encrypt_data_request.go
- model_encrypt_data_request_body.go
- model_encrypt_data_response.go
- model_encrypt_datakey_request.go
- model_encrypt_datakey_request_body.go
- model_encrypt_datakey_response.go
- model_gen_random_request_body.go
- model_generate_mac_request.go
- model_generate_mac_request_body.go
- model_generate_mac_response.go
- model_get_parameters_for_import_request_body.go
- model_grants.go
- model_import_key_material_request.go
- model_import_key_material_request_body.go
- model_import_key_material_response.go
- model_ke_k_info.go
- model_key_alias_info.go
- model_key_description_info.go
- model_key_details.go
- model_key_status_info.go
- model_key_store_state_info.go
- model_keystore_details.go
- model_keystore_info.go
- model_list_alias_response_body.go
- model_list_aliases_request.go
- model_list_aliases_response.go
- model_list_grants_request.go
- model_list_grants_request_body.go
- model_list_grants_response.go
- model_list_key_detail_request.go
- model_list_key_detail_response.go
- model_list_key_stores_request.go
- model_list_key_stores_response.go
- model_list_keys_request.go
- model_list_keys_request_body.go
- model_list_keys_response.go
- model_list_kms_by_tags_request.go
- model_list_kms_by_tags_request_body.go
- model_list_kms_by_tags_response.go
- model_list_kms_tags_request.go
- model_list_kms_tags_response.go
- model_list_retirable_grants_request.go
- model_list_retirable_grants_request_body.go
- model_list_retirable_grants_response.go
- model_list_support_regions_request.go
- model_list_support_regions_response.go
- model_operate_key_request_body.go
- model_page_info.go
- model_quotas.go
- model_replicate_key_request.go
- model_replicate_key_request_body.go
- model_replicate_key_response.go
- model_resources.go
- model_revoke_grant_request_body.go
- model_schedule_key_deletion_request_body.go
- model_show_key_rotation_status_request.go
- model_show_key_rotation_status_response.go
- model_show_key_store_request.go
- model_show_key_store_response.go
- model_show_kms_tags_request.go
- model_show_kms_tags_response.go
- model_show_public_key_request.go
- model_show_public_key_response.go
- model_show_user_instances_request.go
- model_show_user_instances_response.go
- model_show_user_quotas_request.go
- model_show_user_quotas_response.go
- model_show_version_request.go
- model_show_version_response.go
- model_show_versions_request.go
- model_show_versions_response.go
- model_sign_request.go
- model_sign_request_body.go
- model_sign_response.go
- model_tag.go
- model_tag_item.go
- model_update_key_alias_request.go
- model_update_key_alias_request_body.go
- model_update_key_alias_response.go
- model_update_key_description_request.go
- model_update_key_description_request_body.go
- model_update_key_description_response.go
- model_update_key_rotation_interval_request.go
- model_update_key_rotation_interval_request_body.go
- model_update_key_rotation_interval_response.go
- model_update_primary_region_request.go
- model_update_primary_region_request_body.go
- model_update_primary_region_response.go
- model_validate_signature_request.go
- model_validate_signature_response.go
- model_verify_mac_request.go
- model_verify_mac_request_body.go
- model_verify_mac_response.go
- model_verify_request_body.go