Documentation ¶
Index ¶
- type ActionResources
- type ApiLink
- type ApiVersionDetail
- type BatchCreateKmsTagsRequest
- type BatchCreateKmsTagsRequestBody
- type BatchCreateKmsTagsResponse
- type CancelGrantRequest
- type CancelGrantResponse
- type CancelKeyDeletionRequest
- type CancelKeyDeletionResponse
- type CancelSelfGrantRequest
- type CancelSelfGrantResponse
- 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 CreateKmsTagRequest
- type CreateKmsTagRequestBody
- type CreateKmsTagResponse
- type CreateParametersForImportRequest
- type CreateParametersForImportResponse
- type CreateRandomRequest
- type CreateRandomResponse
- type CreateSecretRequest
- type CreateSecretRequestBody
- type CreateSecretResponse
- type CreateSecretVersionRequest
- type CreateSecretVersionRequestBody
- type CreateSecretVersionResponse
- type DecryptDataRequest
- type DecryptDataRequestBody
- type DecryptDataRequestBodyEncryptionAlgorithm
- type DecryptDataRequestBodyEncryptionAlgorithmEnum
- type DecryptDataResponse
- type DecryptDatakeyRequest
- type DecryptDatakeyRequestBody
- type DecryptDatakeyResponse
- type DeleteImportedKeyMaterialRequest
- type DeleteImportedKeyMaterialResponse
- type DeleteKeyRequest
- type DeleteKeyResponse
- type DeleteSecretForScheduleRequest
- type DeleteSecretForScheduleRequestBody
- type DeleteSecretForScheduleResponse
- type DeleteSecretRequest
- type DeleteSecretResponse
- type DeleteSecretStageRequest
- type DeleteSecretStageResponse
- type DeleteTagRequest
- type DeleteTagResponse
- type DisableKeyRequest
- type DisableKeyResponse
- type DisableKeyRotationRequest
- type DisableKeyRotationResponse
- type EnableKeyRequest
- type EnableKeyResponse
- type EnableKeyRotationRequest
- type EnableKeyRotationResponse
- type EncryptDataRequest
- type EncryptDataRequestBody
- type EncryptDataRequestBodyEncryptionAlgorithm
- type EncryptDataRequestBodyEncryptionAlgorithmEnum
- type EncryptDataResponse
- type EncryptDatakeyRequest
- type EncryptDatakeyRequestBody
- type EncryptDatakeyResponse
- type GenRandomRequestBody
- 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 ListGrantsRequest
- type ListGrantsRequestBody
- type ListGrantsResponse
- type ListGrantsResponseTruncated
- type ListGrantsResponseTruncatedEnum
- type ListKeyDetailRequest
- type ListKeyDetailResponse
- 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 ListSecretStageRequest
- type ListSecretStageResponse
- type ListSecretVersionsRequest
- type ListSecretVersionsResponse
- type ListSecretsRequest
- type ListSecretsResponse
- type OperateKeyRequestBody
- type PageInfo
- type Quotas
- type Resources
- type ResourcesType
- type ResourcesTypeEnum
- type RestoreSecretRequest
- type RestoreSecretResponse
- type RevokeGrantRequestBody
- type ScheduleKeyDeletionRequestBody
- type Secret
- type ShowKeyRotationStatusRequest
- type ShowKeyRotationStatusResponse
- type ShowKmsTagsRequest
- type ShowKmsTagsResponse
- type ShowPublicKeyRequest
- type ShowPublicKeyResponse
- type ShowSecretRequest
- type ShowSecretResponse
- type ShowSecretVersionRequest
- type ShowSecretVersionResponse
- 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 Stage
- type Tag
- type TagItem
- type UpdateKeyAliasRequest
- type UpdateKeyAliasRequestBody
- type UpdateKeyAliasResponse
- type UpdateKeyDescriptionRequest
- type UpdateKeyDescriptionRequestBody
- type UpdateKeyDescriptionResponse
- type UpdateKeyRotationIntervalRequest
- type UpdateKeyRotationIntervalRequestBody
- type UpdateKeyRotationIntervalResponse
- type UpdateSecretRequest
- type UpdateSecretRequestBody
- type UpdateSecretResponse
- type UpdateSecretStageRequest
- type UpdateSecretStageRequestBody
- type UpdateSecretStageResponse
- type ValidateSignatureRequest
- type ValidateSignatureResponse
- type VerifyRequestBody
- type VerifyRequestBodyMessageType
- type VerifyRequestBodyMessageTypeEnum
- type VerifyRequestBodySigningAlgorithm
- type VerifyRequestBodySigningAlgorithmEnum
- type Version
- type VersionMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionResources ¶
type ActionResources struct { 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 ApiVersionDetail ¶
type ApiVersionDetail struct { Id *string `json:"id,omitempty"` Links *[]ApiLink `json:"links,omitempty"` Version *string `json:"version,omitempty"` Status *string `json:"status,omitempty"` Updated *string `json:"updated,omitempty"` MinVersion *string `json:"min_version,omitempty"` }
func (ApiVersionDetail) String ¶
func (o ApiVersionDetail) String() string
type BatchCreateKmsTagsRequest ¶
type BatchCreateKmsTagsRequest struct { KeyId string `json:"key_id"` VersionId string `json:"version_id"` Body *BatchCreateKmsTagsRequestBody `json:"body,omitempty"` }
Request Object
func (BatchCreateKmsTagsRequest) String ¶
func (o BatchCreateKmsTagsRequest) String() string
type BatchCreateKmsTagsRequestBody ¶
type BatchCreateKmsTagsRequestBody struct { Tags *[]TagItem `json:"tags,omitempty"` Action *string `json:"action,omitempty"` Sequence *string `json:"sequence,omitempty"` }
func (BatchCreateKmsTagsRequestBody) String ¶
func (o BatchCreateKmsTagsRequestBody) String() string
type BatchCreateKmsTagsResponse ¶
type BatchCreateKmsTagsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchCreateKmsTagsResponse) String ¶
func (o BatchCreateKmsTagsResponse) String() string
type CancelGrantRequest ¶
type CancelGrantRequest struct { VersionId string `json:"version_id"` Body *RevokeGrantRequestBody `json:"body,omitempty"` }
Request Object
func (CancelGrantRequest) String ¶
func (o CancelGrantRequest) String() string
type CancelGrantResponse ¶
type CancelGrantResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CancelGrantResponse) String ¶
func (o CancelGrantResponse) String() string
type CancelKeyDeletionRequest ¶
type CancelKeyDeletionRequest struct { VersionId string `json:"version_id"` Body *OperateKeyRequestBody `json:"body,omitempty"` }
Request Object
func (CancelKeyDeletionRequest) String ¶
func (o CancelKeyDeletionRequest) String() string
type CancelKeyDeletionResponse ¶
type CancelKeyDeletionResponse struct { KeyId *string `json:"key_id,omitempty"` KeyState *string `json:"key_state,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CancelKeyDeletionResponse) String ¶
func (o CancelKeyDeletionResponse) String() string
type CancelSelfGrantRequest ¶
type CancelSelfGrantRequest struct { VersionId string `json:"version_id"` Body *RevokeGrantRequestBody `json:"body,omitempty"` }
Request Object
func (CancelSelfGrantRequest) String ¶
func (o CancelSelfGrantRequest) String() string
type CancelSelfGrantResponse ¶
type CancelSelfGrantResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CancelSelfGrantResponse) String ¶
func (o CancelSelfGrantResponse) String() string
type CreateDatakeyRequest ¶
type CreateDatakeyRequest struct { VersionId string `json:"version_id"` Body *CreateDatakeyRequestBody `json:"body,omitempty"` }
Request Object
func (CreateDatakeyRequest) String ¶
func (o CreateDatakeyRequest) String() string
type CreateDatakeyRequestBody ¶
type CreateDatakeyRequestBody struct { KeyId *string `json:"key_id,omitempty"` EncryptionContext *interface{} `json:"encryption_context,omitempty"` KeySpec *CreateDatakeyRequestBodyKeySpec `json:"key_spec,omitempty"` DatakeyLength *string `json:"datakey_length,omitempty"` 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
type CreateDatakeyRequestBodyKeySpecEnum ¶
type CreateDatakeyRequestBodyKeySpecEnum struct { AES_256 CreateDatakeyRequestBodyKeySpec AES_128 CreateDatakeyRequestBodyKeySpec }
func GetCreateDatakeyRequestBodyKeySpecEnum ¶
func GetCreateDatakeyRequestBodyKeySpecEnum() CreateDatakeyRequestBodyKeySpecEnum
type CreateDatakeyResponse ¶
type CreateDatakeyResponse struct { KeyId *string `json:"key_id,omitempty"` PlainText *string `json:"plain_text,omitempty"` CipherText *string `json:"cipher_text,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDatakeyResponse) String ¶
func (o CreateDatakeyResponse) String() string
type CreateDatakeyWithoutPlaintextRequest ¶
type CreateDatakeyWithoutPlaintextRequest struct { VersionId string `json:"version_id"` Body *CreateDatakeyRequestBody `json:"body,omitempty"` }
Request Object
func (CreateDatakeyWithoutPlaintextRequest) String ¶
func (o CreateDatakeyWithoutPlaintextRequest) String() string
type CreateDatakeyWithoutPlaintextResponse ¶
type CreateDatakeyWithoutPlaintextResponse struct { KeyId *string `json:"key_id,omitempty"` CipherText *string `json:"cipher_text,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDatakeyWithoutPlaintextResponse) String ¶
func (o CreateDatakeyWithoutPlaintextResponse) String() string
type CreateGrantRequest ¶
type CreateGrantRequest struct { VersionId string `json:"version_id"` Body *CreateGrantRequestBody `json:"body,omitempty"` }
Request Object
func (CreateGrantRequest) String ¶
func (o CreateGrantRequest) String() string
type CreateGrantRequestBody ¶
type CreateGrantRequestBody struct { KeyId *string `json:"key_id,omitempty"` GranteePrincipal *string `json:"grantee_principal,omitempty"` Operations *[]string `json:"operations,omitempty"` Name *string `json:"name,omitempty"` RetiringPrincipal *string `json:"retiring_principal,omitempty"` GranteePrincipalType *CreateGrantRequestBodyGranteePrincipalType `json:"grantee_principal_type,omitempty"` 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
type CreateGrantRequestBodyGranteePrincipalTypeEnum ¶
type CreateGrantRequestBodyGranteePrincipalTypeEnum struct { USER CreateGrantRequestBodyGranteePrincipalType DOMAIN CreateGrantRequestBodyGranteePrincipalType }
func GetCreateGrantRequestBodyGranteePrincipalTypeEnum ¶
func GetCreateGrantRequestBodyGranteePrincipalTypeEnum() CreateGrantRequestBodyGranteePrincipalTypeEnum
type CreateGrantResponse ¶
type CreateGrantResponse struct { GrantId *string `json:"grant_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateGrantResponse) String ¶
func (o CreateGrantResponse) String() string
type CreateKeyRequest ¶
type CreateKeyRequest struct { VersionId string `json:"version_id"` Body *CreateKeyRequestBody `json:"body,omitempty"` }
Request Object
func (CreateKeyRequest) String ¶
func (o CreateKeyRequest) String() string
type CreateKeyRequestBody ¶
type CreateKeyRequestBody struct { KeyAlias *string `json:"key_alias,omitempty"` KeySpec *CreateKeyRequestBodyKeySpec `json:"key_spec,omitempty"` KeyUsage *CreateKeyRequestBodyKeyUsage `json:"key_usage,omitempty"` KeyDescription *string `json:"key_description,omitempty"` Origin *CreateKeyRequestBodyOrigin `json:"origin,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Sequence *string `json:"sequence,omitempty"` }
func (CreateKeyRequestBody) String ¶
func (o CreateKeyRequestBody) String() string
type CreateKeyRequestBodyKeySpec ¶ added in v0.0.60
type CreateKeyRequestBodyKeySpec struct {
// contains filtered or unexported fields
}
func (CreateKeyRequestBodyKeySpec) MarshalJSON ¶ added in v0.0.60
func (c CreateKeyRequestBodyKeySpec) MarshalJSON() ([]byte, error)
func (*CreateKeyRequestBodyKeySpec) UnmarshalJSON ¶ added in v0.0.60
func (c *CreateKeyRequestBodyKeySpec) UnmarshalJSON(b []byte) error
type CreateKeyRequestBodyKeySpecEnum ¶ added in v0.0.60
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 ¶ added in v0.0.60
func GetCreateKeyRequestBodyKeySpecEnum() CreateKeyRequestBodyKeySpecEnum
type CreateKeyRequestBodyKeyUsage ¶ added in v0.0.60
type CreateKeyRequestBodyKeyUsage struct {
// contains filtered or unexported fields
}
func (CreateKeyRequestBodyKeyUsage) MarshalJSON ¶ added in v0.0.60
func (c CreateKeyRequestBodyKeyUsage) MarshalJSON() ([]byte, error)
func (*CreateKeyRequestBodyKeyUsage) UnmarshalJSON ¶ added in v0.0.60
func (c *CreateKeyRequestBodyKeyUsage) UnmarshalJSON(b []byte) error
type CreateKeyRequestBodyKeyUsageEnum ¶ added in v0.0.60
type CreateKeyRequestBodyKeyUsageEnum struct { ENCRYPT_DECRYPT CreateKeyRequestBodyKeyUsage SIGN_VERIFY CreateKeyRequestBodyKeyUsage }
func GetCreateKeyRequestBodyKeyUsageEnum ¶ added in v0.0.60
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
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:"-"` }
Response Object
func (CreateKeyResponse) String ¶
func (o CreateKeyResponse) String() string
type CreateKmsTagRequest ¶
type CreateKmsTagRequest struct { VersionId string `json:"version_id"` KeyId string `json:"key_id"` Body *CreateKmsTagRequestBody `json:"body,omitempty"` }
Request Object
func (CreateKmsTagRequest) String ¶
func (o CreateKmsTagRequest) String() string
type CreateKmsTagRequestBody ¶
type CreateKmsTagRequestBody struct {
Tag *TagItem `json:"tag,omitempty"`
}
func (CreateKmsTagRequestBody) String ¶
func (o CreateKmsTagRequestBody) String() string
type CreateKmsTagResponse ¶
type CreateKmsTagResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateKmsTagResponse) String ¶
func (o CreateKmsTagResponse) String() string
type CreateParametersForImportRequest ¶
type CreateParametersForImportRequest struct { VersionId string `json:"version_id"` Body *GetParametersForImportRequestBody `json:"body,omitempty"` }
Request Object
func (CreateParametersForImportRequest) String ¶
func (o CreateParametersForImportRequest) String() string
type CreateParametersForImportResponse ¶
type CreateParametersForImportResponse struct { KeyId *string `json:"key_id,omitempty"` ImportToken *string `json:"import_token,omitempty"` ExpirationTime *int64 `json:"expiration_time,omitempty"` PublicKey *string `json:"public_key,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateParametersForImportResponse) String ¶
func (o CreateParametersForImportResponse) String() string
type CreateRandomRequest ¶
type CreateRandomRequest struct { VersionId string `json:"version_id"` Body *GenRandomRequestBody `json:"body,omitempty"` }
Request Object
func (CreateRandomRequest) String ¶
func (o CreateRandomRequest) String() string
type CreateRandomResponse ¶
type CreateRandomResponse struct { RandomData *string `json:"random_data,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateRandomResponse) String ¶
func (o CreateRandomResponse) String() string
type CreateSecretRequest ¶
type CreateSecretRequest struct {
Body *CreateSecretRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateSecretRequest) String ¶
func (o CreateSecretRequest) String() string
type CreateSecretRequestBody ¶
type CreateSecretRequestBody struct { Name string `json:"name"` KmsKeyId *string `json:"kms_key_id,omitempty"` Description *string `json:"description,omitempty"` SecretBinary *string `json:"secret_binary,omitempty"` SecretString *string `json:"secret_string,omitempty"` }
创建凭据请求消息体。
func (CreateSecretRequestBody) String ¶
func (o CreateSecretRequestBody) String() string
type CreateSecretResponse ¶
type CreateSecretResponse struct { Secret *Secret `json:"secret,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateSecretResponse) String ¶
func (o CreateSecretResponse) String() string
type CreateSecretVersionRequest ¶
type CreateSecretVersionRequest struct { SecretId string `json:"secret_id"` Body *CreateSecretVersionRequestBody `json:"body,omitempty"` }
Request Object
func (CreateSecretVersionRequest) String ¶
func (o CreateSecretVersionRequest) String() string
type CreateSecretVersionRequestBody ¶
type CreateSecretVersionRequestBody struct { SecretBinary *string `json:"secret_binary,omitempty"` SecretString *string `json:"secret_string,omitempty"` VersionStages *[]string `json:"version_stages,omitempty"` }
创建凭据版本请求体。
func (CreateSecretVersionRequestBody) String ¶
func (o CreateSecretVersionRequestBody) String() string
type CreateSecretVersionResponse ¶
type CreateSecretVersionResponse struct { VersionMetadata *VersionMetadata `json:"version_metadata,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateSecretVersionResponse) String ¶
func (o CreateSecretVersionResponse) String() string
type DecryptDataRequest ¶
type DecryptDataRequest struct { VersionId string `json:"version_id"` Body *DecryptDataRequestBody `json:"body,omitempty"` }
Request Object
func (DecryptDataRequest) String ¶
func (o DecryptDataRequest) String() string
type DecryptDataRequestBody ¶
type DecryptDataRequestBody struct { CipherText *string `json:"cipher_text,omitempty"` EncryptionContext *interface{} `json:"encryption_context,omitempty"` EncryptionAlgorithm *DecryptDataRequestBodyEncryptionAlgorithm `json:"encryption_algorithm,omitempty"` KeyId *string `json:"key_id,omitempty"` Sequence *string `json:"sequence,omitempty"` }
func (DecryptDataRequestBody) String ¶
func (o DecryptDataRequestBody) String() string
type DecryptDataRequestBodyEncryptionAlgorithm ¶ added in v0.0.60
type DecryptDataRequestBodyEncryptionAlgorithm struct {
// contains filtered or unexported fields
}
func (DecryptDataRequestBodyEncryptionAlgorithm) MarshalJSON ¶ added in v0.0.60
func (c DecryptDataRequestBodyEncryptionAlgorithm) MarshalJSON() ([]byte, error)
func (*DecryptDataRequestBodyEncryptionAlgorithm) UnmarshalJSON ¶ added in v0.0.60
func (c *DecryptDataRequestBodyEncryptionAlgorithm) UnmarshalJSON(b []byte) error
type DecryptDataRequestBodyEncryptionAlgorithmEnum ¶ added in v0.0.60
type DecryptDataRequestBodyEncryptionAlgorithmEnum struct { SYMMETRIC_DEFAULT DecryptDataRequestBodyEncryptionAlgorithm RSAES_OAEP_SHA_256 DecryptDataRequestBodyEncryptionAlgorithm RSAES_OAEP_SHA_1 DecryptDataRequestBodyEncryptionAlgorithm SM2_ENCRYPT DecryptDataRequestBodyEncryptionAlgorithm }
func GetDecryptDataRequestBodyEncryptionAlgorithmEnum ¶ added in v0.0.60
func GetDecryptDataRequestBodyEncryptionAlgorithmEnum() DecryptDataRequestBodyEncryptionAlgorithmEnum
type DecryptDataResponse ¶
type DecryptDataResponse struct { KeyId *string `json:"key_id,omitempty"` PlainText *string `json:"plain_text,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DecryptDataResponse) String ¶
func (o DecryptDataResponse) String() string
type DecryptDatakeyRequest ¶
type DecryptDatakeyRequest struct { VersionId string `json:"version_id"` Body *DecryptDatakeyRequestBody `json:"body,omitempty"` }
Request Object
func (DecryptDatakeyRequest) String ¶
func (o DecryptDatakeyRequest) String() string
type DecryptDatakeyRequestBody ¶
type DecryptDatakeyRequestBody struct { KeyId *string `json:"key_id,omitempty"` EncryptionContext *interface{} `json:"encryption_context,omitempty"` CipherText *string `json:"cipher_text,omitempty"` DatakeyCipherLength *string `json:"datakey_cipher_length,omitempty"` Sequence *string `json:"sequence,omitempty"` }
func (DecryptDatakeyRequestBody) String ¶
func (o DecryptDatakeyRequestBody) String() string
type DecryptDatakeyResponse ¶
type DecryptDatakeyResponse struct { DataKey *string `json:"data_key,omitempty"` DatakeyLength *string `json:"datakey_length,omitempty"` DatakeyDgst *string `json:"datakey_dgst,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DecryptDatakeyResponse) String ¶
func (o DecryptDatakeyResponse) String() string
type DeleteImportedKeyMaterialRequest ¶
type DeleteImportedKeyMaterialRequest struct { VersionId string `json:"version_id"` Body *OperateKeyRequestBody `json:"body,omitempty"` }
Request Object
func (DeleteImportedKeyMaterialRequest) String ¶
func (o DeleteImportedKeyMaterialRequest) String() string
type DeleteImportedKeyMaterialResponse ¶
type DeleteImportedKeyMaterialResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteImportedKeyMaterialResponse) String ¶
func (o DeleteImportedKeyMaterialResponse) String() string
type DeleteKeyRequest ¶
type DeleteKeyRequest struct { VersionId string `json:"version_id"` Body *ScheduleKeyDeletionRequestBody `json:"body,omitempty"` }
Request Object
func (DeleteKeyRequest) String ¶
func (o DeleteKeyRequest) String() string
type DeleteKeyResponse ¶
type DeleteKeyResponse struct { KeyId *string `json:"key_id,omitempty"` KeyState *string `json:"key_state,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteKeyResponse) String ¶
func (o DeleteKeyResponse) String() string
type DeleteSecretForScheduleRequest ¶
type DeleteSecretForScheduleRequest struct { SecretId string `json:"secret_id"` Body *DeleteSecretForScheduleRequestBody `json:"body,omitempty"` }
Request Object
func (DeleteSecretForScheduleRequest) String ¶
func (o DeleteSecretForScheduleRequest) String() string
type DeleteSecretForScheduleRequestBody ¶
type DeleteSecretForScheduleRequestBody struct {
RecoveryWindowInDays int32 `json:"recovery_window_in_days"`
}
func (DeleteSecretForScheduleRequestBody) String ¶
func (o DeleteSecretForScheduleRequestBody) String() string
type DeleteSecretForScheduleResponse ¶
type DeleteSecretForScheduleResponse struct { Secret *Secret `json:"secret,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteSecretForScheduleResponse) String ¶
func (o DeleteSecretForScheduleResponse) String() string
type DeleteSecretRequest ¶
type DeleteSecretRequest struct {
SecretId string `json:"secret_id"`
}
Request Object
func (DeleteSecretRequest) String ¶
func (o DeleteSecretRequest) String() string
type DeleteSecretResponse ¶
type DeleteSecretResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteSecretResponse) String ¶
func (o DeleteSecretResponse) String() string
type DeleteSecretStageRequest ¶
type DeleteSecretStageRequest struct { SecretId string `json:"secret_id"` StageName string `json:"stage_name"` }
Request Object
func (DeleteSecretStageRequest) String ¶
func (o DeleteSecretStageRequest) String() string
type DeleteSecretStageResponse ¶
type DeleteSecretStageResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteSecretStageResponse) String ¶
func (o DeleteSecretStageResponse) String() string
type DeleteTagRequest ¶
type DeleteTagRequest struct { KeyId string `json:"key_id"` Key string `json:"key"` VersionId string `json:"version_id"` }
Request Object
func (DeleteTagRequest) String ¶
func (o DeleteTagRequest) String() string
type DeleteTagResponse ¶
type DeleteTagResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteTagResponse) String ¶
func (o DeleteTagResponse) String() string
type DisableKeyRequest ¶
type DisableKeyRequest struct { VersionId string `json:"version_id"` Body *OperateKeyRequestBody `json:"body,omitempty"` }
Request Object
func (DisableKeyRequest) String ¶
func (o DisableKeyRequest) String() string
type DisableKeyResponse ¶
type DisableKeyResponse struct { KeyInfo *KeyStatusInfo `json:"key_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DisableKeyResponse) String ¶
func (o DisableKeyResponse) String() string
type DisableKeyRotationRequest ¶
type DisableKeyRotationRequest struct { VersionId string `json:"version_id"` Body *OperateKeyRequestBody `json:"body,omitempty"` }
Request Object
func (DisableKeyRotationRequest) String ¶
func (o DisableKeyRotationRequest) String() string
type DisableKeyRotationResponse ¶
type DisableKeyRotationResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DisableKeyRotationResponse) String ¶
func (o DisableKeyRotationResponse) String() string
type EnableKeyRequest ¶
type EnableKeyRequest struct { VersionId string `json:"version_id"` Body *OperateKeyRequestBody `json:"body,omitempty"` }
Request Object
func (EnableKeyRequest) String ¶
func (o EnableKeyRequest) String() string
type EnableKeyResponse ¶
type EnableKeyResponse struct { KeyInfo *KeyStatusInfo `json:"key_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (EnableKeyResponse) String ¶
func (o EnableKeyResponse) String() string
type EnableKeyRotationRequest ¶
type EnableKeyRotationRequest struct { VersionId string `json:"version_id"` Body *OperateKeyRequestBody `json:"body,omitempty"` }
Request Object
func (EnableKeyRotationRequest) String ¶
func (o EnableKeyRotationRequest) String() string
type EnableKeyRotationResponse ¶
type EnableKeyRotationResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (EnableKeyRotationResponse) String ¶
func (o EnableKeyRotationResponse) String() string
type EncryptDataRequest ¶
type EncryptDataRequest struct { VersionId string `json:"version_id"` Body *EncryptDataRequestBody `json:"body,omitempty"` }
Request Object
func (EncryptDataRequest) String ¶
func (o EncryptDataRequest) String() string
type EncryptDataRequestBody ¶
type EncryptDataRequestBody struct { KeyId *string `json:"key_id,omitempty"` EncryptionContext *interface{} `json:"encryption_context,omitempty"` PlainText *string `json:"plain_text,omitempty"` EncryptionAlgorithm *EncryptDataRequestBodyEncryptionAlgorithm `json:"encryption_algorithm,omitempty"` Sequence *string `json:"sequence,omitempty"` }
func (EncryptDataRequestBody) String ¶
func (o EncryptDataRequestBody) String() string
type EncryptDataRequestBodyEncryptionAlgorithm ¶ added in v0.0.60
type EncryptDataRequestBodyEncryptionAlgorithm struct {
// contains filtered or unexported fields
}
func (EncryptDataRequestBodyEncryptionAlgorithm) MarshalJSON ¶ added in v0.0.60
func (c EncryptDataRequestBodyEncryptionAlgorithm) MarshalJSON() ([]byte, error)
func (*EncryptDataRequestBodyEncryptionAlgorithm) UnmarshalJSON ¶ added in v0.0.60
func (c *EncryptDataRequestBodyEncryptionAlgorithm) UnmarshalJSON(b []byte) error
type EncryptDataRequestBodyEncryptionAlgorithmEnum ¶ added in v0.0.60
type EncryptDataRequestBodyEncryptionAlgorithmEnum struct { SYMMETRIC_DEFAULT EncryptDataRequestBodyEncryptionAlgorithm RSAES_OAEP_SHA_256 EncryptDataRequestBodyEncryptionAlgorithm RSAES_OAEP_SHA_1 EncryptDataRequestBodyEncryptionAlgorithm SM2_ENCRYPT EncryptDataRequestBodyEncryptionAlgorithm }
func GetEncryptDataRequestBodyEncryptionAlgorithmEnum ¶ added in v0.0.60
func GetEncryptDataRequestBodyEncryptionAlgorithmEnum() EncryptDataRequestBodyEncryptionAlgorithmEnum
type EncryptDataResponse ¶
type EncryptDataResponse struct { KeyId *string `json:"key_id,omitempty"` CipherText *string `json:"cipher_text,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (EncryptDataResponse) String ¶
func (o EncryptDataResponse) String() string
type EncryptDatakeyRequest ¶
type EncryptDatakeyRequest struct { VersionId string `json:"version_id"` Body *EncryptDatakeyRequestBody `json:"body,omitempty"` }
Request Object
func (EncryptDatakeyRequest) String ¶
func (o EncryptDatakeyRequest) String() string
type EncryptDatakeyRequestBody ¶
type EncryptDatakeyRequestBody struct { KeyId *string `json:"key_id,omitempty"` EncryptionContext *interface{} `json:"encryption_context,omitempty"` PlainText *string `json:"plain_text,omitempty"` DatakeyPlainLength *string `json:"datakey_plain_length,omitempty"` Sequence *string `json:"sequence,omitempty"` }
func (EncryptDatakeyRequestBody) String ¶
func (o EncryptDatakeyRequestBody) String() string
type EncryptDatakeyResponse ¶
type EncryptDatakeyResponse struct { KeyId *string `json:"key_id,omitempty"` CipherText *string `json:"cipher_text,omitempty"` DatakeyLength *string `json:"datakey_length,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (EncryptDatakeyResponse) String ¶
func (o EncryptDatakeyResponse) String() string
type GenRandomRequestBody ¶
type GenRandomRequestBody struct { RandomDataLength *string `json:"random_data_length,omitempty"` Sequence *string `json:"sequence,omitempty"` }
func (GenRandomRequestBody) String ¶
func (o GenRandomRequestBody) String() string
type GetParametersForImportRequestBody ¶
type GetParametersForImportRequestBody struct { KeyId *string `json:"key_id,omitempty"` WrappingAlgorithm *GetParametersForImportRequestBodyWrappingAlgorithm `json:"wrapping_algorithm,omitempty"` 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
type GetParametersForImportRequestBodyWrappingAlgorithmEnum ¶
type GetParametersForImportRequestBodyWrappingAlgorithmEnum struct { RSAES_PKCS1_V1_5 GetParametersForImportRequestBodyWrappingAlgorithm RSAES_OAEP_SHA_1 GetParametersForImportRequestBodyWrappingAlgorithm RSAES_OAEP_SHA_256 GetParametersForImportRequestBodyWrappingAlgorithm }
func GetGetParametersForImportRequestBodyWrappingAlgorithmEnum ¶
func GetGetParametersForImportRequestBodyWrappingAlgorithmEnum() GetParametersForImportRequestBodyWrappingAlgorithmEnum
type Grants ¶
type Grants struct { KeyId *string `json:"key_id,omitempty"` GrantId *string `json:"grant_id,omitempty"` GranteePrincipal *string `json:"grantee_principal,omitempty"` GranteePrincipalType *GrantsGranteePrincipalType `json:"grantee_principal_type,omitempty"` Operations *[]string `json:"operations,omitempty"` IssuingPrincipal *string `json:"issuing_principal,omitempty"` CreationDate *string `json:"creation_date,omitempty"` Name *string `json:"name,omitempty"` 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
type GrantsGranteePrincipalTypeEnum ¶
type GrantsGranteePrincipalTypeEnum struct { USER GrantsGranteePrincipalType DOMAIN GrantsGranteePrincipalType }
func GetGrantsGranteePrincipalTypeEnum ¶
func GetGrantsGranteePrincipalTypeEnum() GrantsGranteePrincipalTypeEnum
type ImportKeyMaterialRequest ¶
type ImportKeyMaterialRequest struct { VersionId string `json:"version_id"` Body *ImportKeyMaterialRequestBody `json:"body,omitempty"` }
Request Object
func (ImportKeyMaterialRequest) String ¶
func (o ImportKeyMaterialRequest) String() string
type ImportKeyMaterialRequestBody ¶
type ImportKeyMaterialRequestBody struct { KeyId *string `json:"key_id,omitempty"` ImportToken *string `json:"import_token,omitempty"` EncryptedKeyMaterial *string `json:"encrypted_key_material,omitempty"` ExpirationTime *int64 `json:"expiration_time,omitempty"` Sequence *string `json:"sequence,omitempty"` }
func (ImportKeyMaterialRequestBody) String ¶
func (o ImportKeyMaterialRequestBody) String() string
type ImportKeyMaterialResponse ¶
type ImportKeyMaterialResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ImportKeyMaterialResponse) String ¶
func (o ImportKeyMaterialResponse) String() string
type KeKInfo ¶
type KeyAliasInfo ¶
type KeyAliasInfo struct { KeyId *string `json:"key_id,omitempty"` KeyAlias *string `json:"key_alias,omitempty"` }
func (KeyAliasInfo) String ¶
func (o KeyAliasInfo) String() string
type KeyDescriptionInfo ¶
type KeyDescriptionInfo struct { KeyId *string `json:"key_id,omitempty"` KeyDescription *string `json:"key_description,omitempty"` }
func (KeyDescriptionInfo) String ¶
func (o KeyDescriptionInfo) String() string
type KeyDetails ¶
type KeyDetails struct { KeyId *string `json:"key_id,omitempty"` DomainId *string `json:"domain_id,omitempty"` KeyAlias *string `json:"key_alias,omitempty"` Realm *string `json:"realm,omitempty"` KeySpec *KeyDetailsKeySpec `json:"key_spec,omitempty"` KeyUsage *KeyDetailsKeyUsage `json:"key_usage,omitempty"` KeyDescription *string `json:"key_description,omitempty"` CreationDate *string `json:"creation_date,omitempty"` ScheduledDeletionDate *string `json:"scheduled_deletion_date,omitempty"` KeyState *string `json:"key_state,omitempty"` DefaultKeyFlag *string `json:"default_key_flag,omitempty"` KeyType *string `json:"key_type,omitempty"` ExpirationTime *string `json:"expiration_time,omitempty"` Origin *KeyDetailsOrigin `json:"origin,omitempty"` KeyRotationEnabled *string `json:"key_rotation_enabled,omitempty"` SysEnterpriseProjectId *string `json:"sys_enterprise_project_id,omitempty"` }
func (KeyDetails) String ¶
func (o KeyDetails) String() string
type KeyDetailsKeySpec ¶ added in v0.0.60
type KeyDetailsKeySpec struct {
// contains filtered or unexported fields
}
func (KeyDetailsKeySpec) MarshalJSON ¶ added in v0.0.60
func (c KeyDetailsKeySpec) MarshalJSON() ([]byte, error)
func (*KeyDetailsKeySpec) UnmarshalJSON ¶ added in v0.0.60
func (c *KeyDetailsKeySpec) UnmarshalJSON(b []byte) error
type KeyDetailsKeySpecEnum ¶ added in v0.0.60
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 ¶ added in v0.0.60
func GetKeyDetailsKeySpecEnum() KeyDetailsKeySpecEnum
type KeyDetailsKeyUsage ¶ added in v0.0.60
type KeyDetailsKeyUsage struct {
// contains filtered or unexported fields
}
func (KeyDetailsKeyUsage) MarshalJSON ¶ added in v0.0.60
func (c KeyDetailsKeyUsage) MarshalJSON() ([]byte, error)
func (*KeyDetailsKeyUsage) UnmarshalJSON ¶ added in v0.0.60
func (c *KeyDetailsKeyUsage) UnmarshalJSON(b []byte) error
type KeyDetailsKeyUsageEnum ¶ added in v0.0.60
type KeyDetailsKeyUsageEnum struct { ENCRYPT_DECRYPT KeyDetailsKeyUsage SIGN_VERIFY KeyDetailsKeyUsage }
func GetKeyDetailsKeyUsageEnum ¶ added in v0.0.60
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
type KeyDetailsOriginEnum ¶
type KeyDetailsOriginEnum struct { KMS KeyDetailsOrigin EXTERNAL KeyDetailsOrigin }
func GetKeyDetailsOriginEnum ¶
func GetKeyDetailsOriginEnum() KeyDetailsOriginEnum
type KeyStatusInfo ¶
type KeyStatusInfo struct { KeyId *string `json:"key_id,omitempty"` KeyState *string `json:"key_state,omitempty"` }
func (KeyStatusInfo) String ¶
func (o KeyStatusInfo) String() string
type ListGrantsRequest ¶
type ListGrantsRequest struct { VersionId string `json:"version_id"` Body *ListGrantsRequestBody `json:"body,omitempty"` }
Request Object
func (ListGrantsRequest) String ¶
func (o ListGrantsRequest) String() string
type ListGrantsRequestBody ¶
type ListGrantsRequestBody struct { KeyId *string `json:"key_id,omitempty"` Limit *string `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` Sequence *string `json:"sequence,omitempty"` }
func (ListGrantsRequestBody) String ¶
func (o ListGrantsRequestBody) String() string
type ListGrantsResponse ¶
type ListGrantsResponse struct { Grants *[]Grants `json:"grants,omitempty"` NextMarker *string `json:"next_marker,omitempty"` Truncated *ListGrantsResponseTruncated `json:"truncated,omitempty"` Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
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
type ListGrantsResponseTruncatedEnum ¶
type ListGrantsResponseTruncatedEnum struct { TRUE ListGrantsResponseTruncated FALSE ListGrantsResponseTruncated }
func GetListGrantsResponseTruncatedEnum ¶
func GetListGrantsResponseTruncatedEnum() ListGrantsResponseTruncatedEnum
type ListKeyDetailRequest ¶
type ListKeyDetailRequest struct { VersionId string `json:"version_id"` Body *OperateKeyRequestBody `json:"body,omitempty"` }
Request Object
func (ListKeyDetailRequest) String ¶
func (o ListKeyDetailRequest) String() string
type ListKeyDetailResponse ¶
type ListKeyDetailResponse struct { KeyInfo *KeyDetails `json:"key_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListKeyDetailResponse) String ¶
func (o ListKeyDetailResponse) String() string
type ListKeysRequest ¶
type ListKeysRequest struct { VersionId string `json:"version_id"` Body *ListKeysRequestBody `json:"body,omitempty"` }
Request Object
func (ListKeysRequest) String ¶
func (o ListKeysRequest) String() string
type ListKeysRequestBody ¶
type ListKeysRequestBody struct { Limit *string `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` KeyState *string `json:"key_state,omitempty"` KeySpec *ListKeysRequestBodyKeySpec `json:"key_spec,omitempty"` Sequence *string `json:"sequence,omitempty"` }
func (ListKeysRequestBody) String ¶
func (o ListKeysRequestBody) String() string
type ListKeysRequestBodyKeySpec ¶ added in v0.0.60
type ListKeysRequestBodyKeySpec struct {
// contains filtered or unexported fields
}
func (ListKeysRequestBodyKeySpec) MarshalJSON ¶ added in v0.0.60
func (c ListKeysRequestBodyKeySpec) MarshalJSON() ([]byte, error)
func (*ListKeysRequestBodyKeySpec) UnmarshalJSON ¶ added in v0.0.60
func (c *ListKeysRequestBodyKeySpec) UnmarshalJSON(b []byte) error
type ListKeysRequestBodyKeySpecEnum ¶ added in v0.0.60
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 ¶ added in v0.0.60
func GetListKeysRequestBodyKeySpecEnum() ListKeysRequestBodyKeySpecEnum
type ListKeysResponse ¶
type ListKeysResponse struct { Keys *[]string `json:"keys,omitempty"` KeyDetails *[]KeyDetails `json:"key_details,omitempty"` NextMarker *string `json:"next_marker,omitempty"` Truncated *ListKeysResponseTruncated `json:"truncated,omitempty"` Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
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
type ListKeysResponseTruncatedEnum ¶
type ListKeysResponseTruncatedEnum struct { TRUE ListKeysResponseTruncated FALSE ListKeysResponseTruncated }
func GetListKeysResponseTruncatedEnum ¶
func GetListKeysResponseTruncatedEnum() ListKeysResponseTruncatedEnum
type ListKmsByTagsRequest ¶
type ListKmsByTagsRequest struct { ResourceInstances string `json:"resource_instances"` VersionId string `json:"version_id"` Body *ListKmsByTagsRequestBody `json:"body,omitempty"` }
Request Object
func (ListKmsByTagsRequest) String ¶
func (o ListKmsByTagsRequest) String() string
type ListKmsByTagsRequestBody ¶
type ListKmsByTagsRequestBody struct { Limit *string `json:"limit,omitempty"` Offset *string `json:"offset,omitempty"` Action *string `json:"action,omitempty"` Tags *[]Tag `json:"tags,omitempty"` Matches *[]TagItem `json:"matches,omitempty"` Sequence *string `json:"sequence,omitempty"` }
func (ListKmsByTagsRequestBody) String ¶
func (o ListKmsByTagsRequestBody) String() string
type ListKmsByTagsResponse ¶
type ListKmsByTagsResponse struct { Resources *[]ActionResources `json:"resources,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListKmsByTagsResponse) String ¶
func (o ListKmsByTagsResponse) String() string
type ListKmsTagsRequest ¶
type ListKmsTagsRequest struct {
VersionId string `json:"version_id"`
}
Request Object
func (ListKmsTagsRequest) String ¶
func (o ListKmsTagsRequest) String() string
type ListKmsTagsResponse ¶
type ListKmsTagsResponse struct { Tags *[]Tag `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListKmsTagsResponse) String ¶
func (o ListKmsTagsResponse) String() string
type ListRetirableGrantsRequest ¶
type ListRetirableGrantsRequest struct { VersionId string `json:"version_id"` Body *ListRetirableGrantsRequestBody `json:"body,omitempty"` }
Request Object
func (ListRetirableGrantsRequest) String ¶
func (o ListRetirableGrantsRequest) String() string
type ListRetirableGrantsRequestBody ¶
type ListRetirableGrantsRequestBody struct { Limit *string `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` Sequence *string `json:"sequence,omitempty"` }
func (ListRetirableGrantsRequestBody) String ¶
func (o ListRetirableGrantsRequestBody) String() string
type ListRetirableGrantsResponse ¶
type ListRetirableGrantsResponse struct { Grants *[]Grants `json:"grants,omitempty"` NextMarker *string `json:"next_marker,omitempty"` Truncated *ListRetirableGrantsResponseTruncated `json:"truncated,omitempty"` HttpStatusCode int `json:"-"` }
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
type ListRetirableGrantsResponseTruncatedEnum ¶
type ListRetirableGrantsResponseTruncatedEnum struct { TRUE ListRetirableGrantsResponseTruncated FALSE ListRetirableGrantsResponseTruncated }
func GetListRetirableGrantsResponseTruncatedEnum ¶
func GetListRetirableGrantsResponseTruncatedEnum() ListRetirableGrantsResponseTruncatedEnum
type ListSecretStageRequest ¶
type ListSecretStageRequest struct { SecretId string `json:"secret_id"` StageName string `json:"stage_name"` }
Request Object
func (ListSecretStageRequest) String ¶
func (o ListSecretStageRequest) String() string
type ListSecretStageResponse ¶
type ListSecretStageResponse struct { Stage *Stage `json:"stage,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSecretStageResponse) String ¶
func (o ListSecretStageResponse) String() string
type ListSecretVersionsRequest ¶
type ListSecretVersionsRequest struct {
SecretId string `json:"secret_id"`
}
Request Object
func (ListSecretVersionsRequest) String ¶
func (o ListSecretVersionsRequest) String() string
type ListSecretVersionsResponse ¶
type ListSecretVersionsResponse struct { VersionMetadatas *[]VersionMetadata `json:"version_metadatas,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSecretVersionsResponse) String ¶
func (o ListSecretVersionsResponse) String() string
type ListSecretsRequest ¶
type ListSecretsRequest struct { Limit *string `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` }
Request Object
func (ListSecretsRequest) String ¶
func (o ListSecretsRequest) String() string
type ListSecretsResponse ¶
type ListSecretsResponse struct { Secrets *[]Secret `json:"secrets,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSecretsResponse) String ¶
func (o ListSecretsResponse) String() string
type OperateKeyRequestBody ¶
type OperateKeyRequestBody struct { KeyId *string `json:"key_id,omitempty"` Sequence *string `json:"sequence,omitempty"` }
func (OperateKeyRequestBody) String ¶
func (o OperateKeyRequestBody) String() string
type PageInfo ¶
type PageInfo struct { NextMarker *string `json:"next_marker,omitempty"` PreviousMarker *string `json:"previous_marker,omitempty"` CurrentCount *int32 `json:"current_count,omitempty"` }
分页信息。
type Resources ¶
type Resources struct { 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
type ResourcesTypeEnum ¶
type ResourcesTypeEnum struct { CMK ResourcesType GRANT_PER_CMK ResourcesType }
func GetResourcesTypeEnum ¶
func GetResourcesTypeEnum() ResourcesTypeEnum
type RestoreSecretRequest ¶
type RestoreSecretRequest struct {
SecretId string `json:"secret_id"`
}
Request Object
func (RestoreSecretRequest) String ¶
func (o RestoreSecretRequest) String() string
type RestoreSecretResponse ¶
type RestoreSecretResponse struct { Secret *Secret `json:"secret,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RestoreSecretResponse) String ¶
func (o RestoreSecretResponse) String() string
type RevokeGrantRequestBody ¶
type RevokeGrantRequestBody struct { KeyId *string `json:"key_id,omitempty"` GrantId *string `json:"grant_id,omitempty"` Sequence *string `json:"sequence,omitempty"` }
func (RevokeGrantRequestBody) String ¶
func (o RevokeGrantRequestBody) String() string
type ScheduleKeyDeletionRequestBody ¶
type ScheduleKeyDeletionRequestBody struct { KeyId *string `json:"key_id,omitempty"` PendingDays *string `json:"pending_days,omitempty"` Sequence *string `json:"sequence,omitempty"` }
func (ScheduleKeyDeletionRequestBody) String ¶
func (o ScheduleKeyDeletionRequestBody) String() string
type Secret ¶
type Secret struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` State *string `json:"state,omitempty"` KmsKeyId *string `json:"kms_key_id,omitempty"` Description *string `json:"description,omitempty"` CreateTime *int64 `json:"create_time,omitempty"` UpdateTime *int64 `json:"update_time,omitempty"` ScheduledDeleteTime *int64 `json:"scheduled_delete_time,omitempty"` }
凭据对象。
type ShowKeyRotationStatusRequest ¶
type ShowKeyRotationStatusRequest struct { VersionId string `json:"version_id"` Body *OperateKeyRequestBody `json:"body,omitempty"` }
Request Object
func (ShowKeyRotationStatusRequest) String ¶
func (o ShowKeyRotationStatusRequest) String() string
type ShowKeyRotationStatusResponse ¶
type ShowKeyRotationStatusResponse struct { KeyRotationEnabled *bool `json:"key_rotation_enabled,omitempty"` RotationInterval *int32 `json:"rotation_interval,omitempty"` LastRotationTime *string `json:"last_rotation_time,omitempty"` NumberOfRotations *int32 `json:"number_of_rotations,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowKeyRotationStatusResponse) String ¶
func (o ShowKeyRotationStatusResponse) String() string
type ShowKmsTagsRequest ¶
type ShowKmsTagsRequest struct { VersionId string `json:"version_id"` KeyId string `json:"key_id"` }
Request Object
func (ShowKmsTagsRequest) String ¶
func (o ShowKmsTagsRequest) String() string
type ShowKmsTagsResponse ¶
type ShowKmsTagsResponse struct { Tags *[]TagItem `json:"tags,omitempty"` ExistTagsNum *int32 `json:"existTagsNum,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowKmsTagsResponse) String ¶
func (o ShowKmsTagsResponse) String() string
type ShowPublicKeyRequest ¶ added in v0.0.60
type ShowPublicKeyRequest struct { VersionId string `json:"version_id"` Body *OperateKeyRequestBody `json:"body,omitempty"` }
Request Object
func (ShowPublicKeyRequest) String ¶ added in v0.0.60
func (o ShowPublicKeyRequest) String() string
type ShowPublicKeyResponse ¶ added in v0.0.60
type ShowPublicKeyResponse struct { KeyId *string `json:"key_id,omitempty"` PublicKey *string `json:"public_key,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowPublicKeyResponse) String ¶ added in v0.0.60
func (o ShowPublicKeyResponse) String() string
type ShowSecretRequest ¶
type ShowSecretRequest struct {
SecretId string `json:"secret_id"`
}
Request Object
func (ShowSecretRequest) String ¶
func (o ShowSecretRequest) String() string
type ShowSecretResponse ¶
type ShowSecretResponse struct { Secret *Secret `json:"secret,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowSecretResponse) String ¶
func (o ShowSecretResponse) String() string
type ShowSecretVersionRequest ¶
type ShowSecretVersionRequest struct { SecretId string `json:"secret_id"` VersionId string `json:"version_id"` }
Request Object
func (ShowSecretVersionRequest) String ¶
func (o ShowSecretVersionRequest) String() string
type ShowSecretVersionResponse ¶
type ShowSecretVersionResponse struct { Version *Version `json:"version,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowSecretVersionResponse) String ¶
func (o ShowSecretVersionResponse) String() string
type ShowUserInstancesRequest ¶
type ShowUserInstancesRequest struct {
VersionId string `json:"version_id"`
}
Request Object
func (ShowUserInstancesRequest) String ¶
func (o ShowUserInstancesRequest) String() string
type ShowUserInstancesResponse ¶
type ShowUserInstancesResponse struct { InstanceNum *int32 `json:"instance_num,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowUserInstancesResponse) String ¶
func (o ShowUserInstancesResponse) String() string
type ShowUserQuotasRequest ¶
type ShowUserQuotasRequest struct {
VersionId string `json:"version_id"`
}
Request Object
func (ShowUserQuotasRequest) String ¶
func (o ShowUserQuotasRequest) String() string
type ShowUserQuotasResponse ¶
type ShowUserQuotasResponse struct { Quotas *Quotas `json:"quotas,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowUserQuotasResponse) String ¶
func (o ShowUserQuotasResponse) String() string
type ShowVersionRequest ¶
type ShowVersionRequest struct {
VersionId string `json:"version_id"`
}
Request Object
func (ShowVersionRequest) String ¶
func (o ShowVersionRequest) String() string
type ShowVersionResponse ¶
type ShowVersionResponse struct { Version *interface{} `json:"version,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowVersionResponse) String ¶
func (o ShowVersionResponse) String() string
type ShowVersionsRequest ¶
type ShowVersionsRequest struct { }
Request Object
func (ShowVersionsRequest) String ¶
func (o ShowVersionsRequest) String() string
type ShowVersionsResponse ¶
type ShowVersionsResponse struct { Versions *[]ApiVersionDetail `json:"versions,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowVersionsResponse) String ¶
func (o ShowVersionsResponse) String() string
type SignRequest ¶ added in v0.0.60
type SignRequest struct { VersionId string `json:"version_id"` Body *SignRequestBody `json:"body,omitempty"` }
Request Object
func (SignRequest) String ¶ added in v0.0.60
func (o SignRequest) String() string
type SignRequestBody ¶ added in v0.0.60
type SignRequestBody struct { KeyId string `json:"key_id"` Message string `json:"message"` SigningAlgorithm SignRequestBodySigningAlgorithm `json:"signing_algorithm"` MessageType *SignRequestBodyMessageType `json:"message_type,omitempty"` Sequence *string `json:"sequence,omitempty"` }
func (SignRequestBody) String ¶ added in v0.0.60
func (o SignRequestBody) String() string
type SignRequestBodyMessageType ¶ added in v0.0.60
type SignRequestBodyMessageType struct {
// contains filtered or unexported fields
}
func (SignRequestBodyMessageType) MarshalJSON ¶ added in v0.0.60
func (c SignRequestBodyMessageType) MarshalJSON() ([]byte, error)
func (*SignRequestBodyMessageType) UnmarshalJSON ¶ added in v0.0.60
func (c *SignRequestBodyMessageType) UnmarshalJSON(b []byte) error
type SignRequestBodyMessageTypeEnum ¶ added in v0.0.60
type SignRequestBodyMessageTypeEnum struct { DIGEST SignRequestBodyMessageType RAW SignRequestBodyMessageType }
func GetSignRequestBodyMessageTypeEnum ¶ added in v0.0.60
func GetSignRequestBodyMessageTypeEnum() SignRequestBodyMessageTypeEnum
type SignRequestBodySigningAlgorithm ¶ added in v0.0.60
type SignRequestBodySigningAlgorithm struct {
// contains filtered or unexported fields
}
func (SignRequestBodySigningAlgorithm) MarshalJSON ¶ added in v0.0.60
func (c SignRequestBodySigningAlgorithm) MarshalJSON() ([]byte, error)
func (*SignRequestBodySigningAlgorithm) UnmarshalJSON ¶ added in v0.0.60
func (c *SignRequestBodySigningAlgorithm) UnmarshalJSON(b []byte) error
type SignRequestBodySigningAlgorithmEnum ¶ added in v0.0.60
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 ¶ added in v0.0.60
func GetSignRequestBodySigningAlgorithmEnum() SignRequestBodySigningAlgorithmEnum
type SignResponse ¶ added in v0.0.60
type SignResponse struct { KeyId *string `json:"key_id,omitempty"` Signature *string `json:"signature,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (SignResponse) String ¶ added in v0.0.60
func (o SignResponse) String() string
type Stage ¶
type Stage struct { Name *string `json:"name,omitempty"` UpdateTime *int64 `json:"update_time,omitempty"` SecretId *string `json:"secret_id,omitempty"` VersionId *string `json:"version_id,omitempty"` }
凭据状态。
type UpdateKeyAliasRequest ¶
type UpdateKeyAliasRequest struct { VersionId string `json:"version_id"` Body *UpdateKeyAliasRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateKeyAliasRequest) String ¶
func (o UpdateKeyAliasRequest) String() string
type UpdateKeyAliasRequestBody ¶
type UpdateKeyAliasRequestBody struct { KeyId *string `json:"key_id,omitempty"` KeyAlias *string `json:"key_alias,omitempty"` 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:"-"` }
Response Object
func (UpdateKeyAliasResponse) String ¶
func (o UpdateKeyAliasResponse) String() string
type UpdateKeyDescriptionRequest ¶
type UpdateKeyDescriptionRequest struct { VersionId string `json:"version_id"` Body *UpdateKeyDescriptionRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateKeyDescriptionRequest) String ¶
func (o UpdateKeyDescriptionRequest) String() string
type UpdateKeyDescriptionRequestBody ¶
type UpdateKeyDescriptionRequestBody struct { KeyId *string `json:"key_id,omitempty"` KeyDescription *string `json:"key_description,omitempty"` 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:"-"` }
Response Object
func (UpdateKeyDescriptionResponse) String ¶
func (o UpdateKeyDescriptionResponse) String() string
type UpdateKeyRotationIntervalRequest ¶
type UpdateKeyRotationIntervalRequest struct { VersionId string `json:"version_id"` Body *UpdateKeyRotationIntervalRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateKeyRotationIntervalRequest) String ¶
func (o UpdateKeyRotationIntervalRequest) String() string
type UpdateKeyRotationIntervalRequestBody ¶
type UpdateKeyRotationIntervalRequestBody struct { KeyId *string `json:"key_id,omitempty"` RotationInterval *int32 `json:"rotation_interval,omitempty"` Sequence *string `json:"sequence,omitempty"` }
func (UpdateKeyRotationIntervalRequestBody) String ¶
func (o UpdateKeyRotationIntervalRequestBody) String() string
type UpdateKeyRotationIntervalResponse ¶
type UpdateKeyRotationIntervalResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateKeyRotationIntervalResponse) String ¶
func (o UpdateKeyRotationIntervalResponse) String() string
type UpdateSecretRequest ¶
type UpdateSecretRequest struct { SecretId string `json:"secret_id"` Body *UpdateSecretRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateSecretRequest) String ¶
func (o UpdateSecretRequest) String() string
type UpdateSecretRequestBody ¶
type UpdateSecretRequestBody struct { Name *string `json:"name,omitempty"` KmsKeyId *string `json:"kms_key_id,omitempty"` Description *string `json:"description,omitempty"` }
更新凭据对象的元数据信息请求体
func (UpdateSecretRequestBody) String ¶
func (o UpdateSecretRequestBody) String() string
type UpdateSecretResponse ¶
type UpdateSecretResponse struct { Secret *Secret `json:"secret,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateSecretResponse) String ¶
func (o UpdateSecretResponse) String() string
type UpdateSecretStageRequest ¶
type UpdateSecretStageRequest struct { SecretId string `json:"secret_id"` StageName string `json:"stage_name"` Body *UpdateSecretStageRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateSecretStageRequest) String ¶
func (o UpdateSecretStageRequest) String() string
type UpdateSecretStageRequestBody ¶
type UpdateSecretStageRequestBody struct {
VersionId string `json:"version_id"`
}
func (UpdateSecretStageRequestBody) String ¶
func (o UpdateSecretStageRequestBody) String() string
type UpdateSecretStageResponse ¶
type UpdateSecretStageResponse struct { Stage *Stage `json:"stage,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateSecretStageResponse) String ¶
func (o UpdateSecretStageResponse) String() string
type ValidateSignatureRequest ¶ added in v0.0.60
type ValidateSignatureRequest struct { VersionId string `json:"version_id"` Body *VerifyRequestBody `json:"body,omitempty"` }
Request Object
func (ValidateSignatureRequest) String ¶ added in v0.0.60
func (o ValidateSignatureRequest) String() string
type ValidateSignatureResponse ¶ added in v0.0.60
type ValidateSignatureResponse struct { KeyId *string `json:"key_id,omitempty"` SignatureVaild *bool `json:"signature_vaild,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ValidateSignatureResponse) String ¶ added in v0.0.60
func (o ValidateSignatureResponse) String() string
type VerifyRequestBody ¶ added in v0.0.60
type VerifyRequestBody struct { KeyId string `json:"key_id"` Message string `json:"message"` Signature string `json:"signature"` SigningAlgorithm VerifyRequestBodySigningAlgorithm `json:"signing_algorithm"` MessageType *VerifyRequestBodyMessageType `json:"message_type,omitempty"` Sequence *string `json:"sequence,omitempty"` }
func (VerifyRequestBody) String ¶ added in v0.0.60
func (o VerifyRequestBody) String() string
type VerifyRequestBodyMessageType ¶ added in v0.0.60
type VerifyRequestBodyMessageType struct {
// contains filtered or unexported fields
}
func (VerifyRequestBodyMessageType) MarshalJSON ¶ added in v0.0.60
func (c VerifyRequestBodyMessageType) MarshalJSON() ([]byte, error)
func (*VerifyRequestBodyMessageType) UnmarshalJSON ¶ added in v0.0.60
func (c *VerifyRequestBodyMessageType) UnmarshalJSON(b []byte) error
type VerifyRequestBodyMessageTypeEnum ¶ added in v0.0.60
type VerifyRequestBodyMessageTypeEnum struct { DIGEST VerifyRequestBodyMessageType RAW VerifyRequestBodyMessageType }
func GetVerifyRequestBodyMessageTypeEnum ¶ added in v0.0.60
func GetVerifyRequestBodyMessageTypeEnum() VerifyRequestBodyMessageTypeEnum
type VerifyRequestBodySigningAlgorithm ¶ added in v0.0.60
type VerifyRequestBodySigningAlgorithm struct {
// contains filtered or unexported fields
}
func (VerifyRequestBodySigningAlgorithm) MarshalJSON ¶ added in v0.0.60
func (c VerifyRequestBodySigningAlgorithm) MarshalJSON() ([]byte, error)
func (*VerifyRequestBodySigningAlgorithm) UnmarshalJSON ¶ added in v0.0.60
func (c *VerifyRequestBodySigningAlgorithm) UnmarshalJSON(b []byte) error
type VerifyRequestBodySigningAlgorithmEnum ¶ added in v0.0.60
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 ¶ added in v0.0.60
func GetVerifyRequestBodySigningAlgorithmEnum() VerifyRequestBodySigningAlgorithmEnum
type Version ¶
type Version struct { VersionMetadata *VersionMetadata `json:"version_metadata,omitempty"` SecretBinary *string `json:"secret_binary,omitempty"` SecretString *string `json:"secret_string,omitempty"` }
凭据版本。
type VersionMetadata ¶
type VersionMetadata struct { Id *string `json:"id,omitempty"` CreateTime *int64 `json:"create_time,omitempty"` KmsKeyId *string `json:"kms_key_id,omitempty"` SecretId *string `json:"secret_id,omitempty"` VersionStages *[]string `json:"version_stages,omitempty"` }
凭据版本被标记的状态。
func (VersionMetadata) String ¶
func (o VersionMetadata) String() string
Source Files ¶
- model_action_resources.go
- model_api_link.go
- model_api_version_detail.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_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_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_create_secret_request.go
- model_create_secret_request_body.go
- model_create_secret_response.go
- model_create_secret_version_request.go
- model_create_secret_version_request_body.go
- model_create_secret_version_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_imported_key_material_request.go
- model_delete_imported_key_material_response.go
- model_delete_key_request.go
- model_delete_key_response.go
- model_delete_secret_for_schedule_request.go
- model_delete_secret_for_schedule_request_body.go
- model_delete_secret_for_schedule_response.go
- model_delete_secret_request.go
- model_delete_secret_response.go
- model_delete_secret_stage_request.go
- model_delete_secret_stage_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_enable_key_request.go
- model_enable_key_response.go
- model_enable_key_rotation_request.go
- model_enable_key_rotation_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_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_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_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_secret_stage_request.go
- model_list_secret_stage_response.go
- model_list_secret_versions_request.go
- model_list_secret_versions_response.go
- model_list_secrets_request.go
- model_list_secrets_response.go
- model_operate_key_request_body.go
- model_page_info.go
- model_quotas.go
- model_resources.go
- model_restore_secret_request.go
- model_restore_secret_response.go
- model_revoke_grant_request_body.go
- model_schedule_key_deletion_request_body.go
- model_secret.go
- model_show_key_rotation_status_request.go
- model_show_key_rotation_status_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_secret_request.go
- model_show_secret_response.go
- model_show_secret_version_request.go
- model_show_secret_version_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_stage.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_secret_request.go
- model_update_secret_request_body.go
- model_update_secret_response.go
- model_update_secret_stage_request.go
- model_update_secret_stage_request_body.go
- model_update_secret_stage_response.go
- model_validate_signature_request.go
- model_validate_signature_response.go
- model_verify_request_body.go
- model_version.go
- model_version_metadata.go