Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyCfg ¶
type KeyCfg struct {
/* 密钥描述配置 */
KeyDescCfg *KeyDescCfg `json:"keyDescCfg"`
/* 对称密钥的轮换配置;非对称密钥的操作,不支持该配置 (Optional) */
KeyRotateCfg *KeyRotateCfg `json:"keyRotateCfg"`
}
type KeyDescCfg ¶
type KeyDetail ¶
type KeyDetail struct {
/* KeyID */
KeyId string `json:"keyId"`
/* Key名称 */
KeyName string `json:"keyName"`
/* 轮换周期 (Optional) */
RotationCycle int `json:"rotationCycle"`
/* Key版本的个数 */
KeyVersionCount int `json:"keyVersionCount"`
/* Key版本详情的列表 */
KeyVersionList []KeyVersionItem `json:"keyVersionList"`
}
type KeyInfo ¶
type KeyInfo struct {
/* KeyID */
KeyId string `json:"keyId"`
/* Key名称 */
KeyName string `json:"keyName"`
/* Key当前状态: 0:已启用、1:已禁用、2:计划删除 */
KeyStatus int `json:"keyStatus"`
/* Key创建时间,采用ISO8601标准,格式为: YYYY-MM-DDTHH:mm:ssZ */
CreateTime string `json:"createTime"`
/* Key的用途 */
KeyDesc string `json:"keyDesc"`
/* Key的轮换周期,为0则永久不轮换 */
RotationCycle int `json:"rotationCycle"`
/* 计划删除的时间,采用ISO8601标准,格式为: YYYY-MM-DDTHH:mm:ssZ */
DeleteTime string `json:"deleteTime"`
}
type KeyRotateCfg ¶
type KeyVersionItem ¶
type KeyVersionItem struct {
/* 版本号 */
KeyVersion string `json:"keyVersion"`
/* 创建时间,采用ISO8601标准,格式为: YYYY-MM-DDTHH:mm:ssZ */
CreateTime string `json:"createTime"`
/* Key当前状态: 0:已启用、1:已禁用、2:计划删除 */
KeyStatus int `json:"keyStatus"`
/* 计划删除的时间,采用ISO8601标准,格式为: YYYY-MM-DDTHH:mm:ssZ */
DeleteTime string `json:"deleteTime"`
}
type SecretCfg ¶
type SecretCfg struct {
/* 机密数据描述信息配置 */
SecretDescCfg *SecretDescCfg `json:"secretDescCfg"`
/* 机密数据有效时间段配置 */
SecretTimeCfg *SecretTimeCfg `json:"secretTimeCfg"`
/* secret内容 */
SecretData string `json:"secretData"`
}
type SecretDescCfg ¶
type SecretDetail ¶
type SecretDetail struct {
/* 密钥的基本信息 */
SecretInfo SecretInfo `json:"secretInfo"`
/* Secret版本的个数 */
SecretVersionCount int `json:"secretVersionCount"`
/* Secret版本详情的列表 */
SecretVersionList []SecretVersionItem `json:"secretVersionList"`
}
type SecretInfo ¶
type SecretInfo struct {
/* SecretID */
SecretId string `json:"secretId"`
/* Secret名称 */
SecretName string `json:"secretName"`
/* Secret用途描述 */
SecretDesc string `json:"secretDesc"`
/* Secret当前状态: 0: 已启用、1: 已禁用 */
SecretStatus int `json:"secretStatus"`
/* Secret创建时间,采用ISO8601标准,格式为: YYYY-MM-DDTHH:mm:ssZ */
CreateTime string `json:"createTime"`
}
type SecretTimeCfg ¶
type SecretVersionCfg ¶
type SecretVersionCfg struct {
/* secret内容 */
SecretData string `json:"secretData"`
/* 机密数据有效时间段配置 */
SecretTimeCfg *SecretTimeCfg `json:"secretTimeCfg"`
}
type SecretVersionItem ¶
type SecretVersionItem struct {
/* 版本标识 */
SecretVersion string `json:"secretVersion"`
/* Secret当前状态: 0: 已启用、1: 已禁用 */
SecretStatus int `json:"secretStatus"`
/* Secret激活时间,采用ISO8601标准,格式为: YYYY-MM-DDTHH:mm:ssZ */
StartTime string `json:"startTime"`
/* 到期时间,采用ISO8601标准,格式为: YYYY-MM-DDTHH:mm:ssZ */
ExpireTime string `json:"expireTime"`
/* 密钥的内容 */
SecretData string `json:"secretData"`
}
Click to show internal directories.
Click to hide internal directories.