diff options
Diffstat (limited to 'data/zh_cn/cas/2020-06-30/api-docs.php')
| -rw-r--r-- | data/zh_cn/cas/2020-06-30/api-docs.php | 7884 |
1 files changed, 1948 insertions, 5936 deletions
diff --git a/data/zh_cn/cas/2020-06-30/api-docs.php b/data/zh_cn/cas/2020-06-30/api-docs.php index 5baa51e..96a699e 100644 --- a/data/zh_cn/cas/2020-06-30/api-docs.php +++ b/data/zh_cn/cas/2020-06-30/api-docs.php @@ -1,62 +1,21 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'cas', - 'version' => '2020-06-30', - ], + 'info' => ['style' => 'RPC', 'product' => 'cas', 'version' => '2020-06-30'], 'directories' => [ [ - 'children' => [ - 'CreateRootCACertificate', - 'CreateSubCACertificate', - 'CreateExternalCACertificate', - 'GetCAInstanceStatus', - 'DescribeCACertificateCount', - 'DescribeCACertificateList', - 'DescribeCACertificate', - 'UpdateCACertificateStatus', - ], + 'children' => ['CreateRootCACertificate', 'CreateSubCACertificate', 'CreateExternalCACertificate', 'GetCAInstanceStatus', 'DescribeCACertificateCount', 'DescribeCACertificateList', 'DescribeCACertificate', 'UpdateCACertificateStatus'], 'type' => 'directory', 'title' => '私有CA证书', 'id' => 35713, ], [ - 'children' => [ - 'CreateCustomCertificate', - 'CreateClientCertificate', - 'CreateClientCertificateWithCsr', - 'CreateServerCertificate', - 'CreateServerCertificateWithCsr', - 'CreateRevokeClientCertificate', - 'DeleteClientCertificate', - 'DescribeCertificatePrivateKey', - 'DescribeClientCertificate', - 'DescribeClientCertificateStatus', - 'ListClientCertificate', - 'ListRevokeCertificate', - ], + 'children' => ['CreateCustomCertificate', 'CreateClientCertificate', 'CreateClientCertificateWithCsr', 'CreateServerCertificate', 'CreateServerCertificateWithCsr', 'CreateRevokeClientCertificate', 'DeleteClientCertificate', 'DescribeCertificatePrivateKey', 'DescribeClientCertificate', 'DescribeClientCertificateStatus', 'ListClientCertificate', 'ListRevokeCertificate'], 'type' => 'directory', 'title' => '客户端和服务端证书', 'id' => 35721, ], [ - 'children' => [ - 'ListPcaCaCertificate', - 'ListCert', - 'UploadPcaCertToCas', - 'AssignCertificateCount', - 'DescribeClientCertificateForSerialNumber', - 'DescribeClientCertificateStatusForSerialNumber', - 'DescribePcaAndExternalCACertificateList', - 'ListAllEndEntityInstance', - 'ListCACertificateLog', - 'ListTagResources', - 'MoveResourceGroup', - 'TagResources', - 'UntagResources', - 'UpdatePcaCertificate', - ], + 'children' => ['ListPcaCaCertificate', 'ListCert', 'UploadPcaCertToCas', 'AssignCertificateCount', 'DescribeClientCertificateForSerialNumber', 'DescribeClientCertificateStatusForSerialNumber', 'DescribePcaAndExternalCACertificateList', 'GetCaInstanceCrlAddress', 'ListAllEndEntityInstance', 'ListCACertificateLog', 'ListTagResources', 'MoveResourceGroup', 'TagResources', 'UntagResources', 'UpdatePcaCertificate'], 'type' => 'directory', 'title' => '其他', 'id' => 124246, @@ -67,12 +26,9 @@ ], 'apis' => [ 'AssignCertificateCount' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'summary' => '分配证书使用数量', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -85,9 +41,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '121082', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -95,24 +49,12 @@ [ 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '证书所属数据源id。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '33285', - ], + 'schema' => ['description' => '证书所属数据源id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '33285'], ], [ 'name' => 'CertTotalCount', 'in' => 'query', - 'schema' => [ - 'description' => '证书记录总数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '5', - ], + 'schema' => ['description' => '证书记录总数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'], ], ], 'responses' => [ @@ -123,36 +65,19 @@ 'description' => 'OpenApiResponse<AssignCertificateCountResult>', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id。', - 'type' => 'string', - 'example' => 'E77C4794-F24F-58CB-9929-F0F0C0EDE7B2', - ], - 'CertCount' => [ - 'description' => '已分配证书数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'CurrentYearFreeCertCount' => [ - 'description' => '当前免费证书数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'E77C4794-F24F-58CB-9929-F0F0C0EDE7B2'], + 'CertCount' => ['description' => '已分配证书数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'CurrentYearFreeCertCount' => ['description' => '当前免费证书数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '分配证书数量', - 'summary' => '分配证书使用数量', 'description' => '本接口用于查询您已创建的CA证书(包括根CA证书、子CA证书)的数量。'."\n" ."\n" .'## QPS限制'."\n" @@ -169,12 +94,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -182,14 +102,9 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E77C4794-F24F-58CB-9929-F0F0C0EDE7B2\\",\\n \\"CertCount\\": 2,\\n \\"CurrentYearFreeCertCount\\": 0\\n}","type":"json"}]', ], 'CreateClientCertificate' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '基于系统自动生成的CSR签发单个客户端证书', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -202,9 +117,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83504', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -212,215 +125,121 @@ [ 'name' => 'SanType', 'in' => 'query', - 'schema' => [ - 'description' => '客户端证书支持的扩展信息SAN(Subject Alternative Name)类型。取值:'."\n" - ."\n" - .'- **1**:表示邮箱。'."\n" - .'- **6**:表示统一资源标志符URI(Uniform Resource Identifier)。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '客户端证书支持的扩展信息SAN(Subject Alternative Name)类型。取值:'."\n" + ."\n" + .'- **1**:表示邮箱。'."\n" + .'- **6**:表示统一资源标志符URI(Uniform Resource Identifier)。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'SanValue', 'in' => 'query', - 'schema' => [ - 'description' => '客户端证书的具体扩展信息。支持输入多个扩展信息,如果您需要输入多个扩展信息,请用半角逗号(,)将其隔开。', - 'type' => 'string', - 'required' => false, - 'example' => 'somebody@example.com', - ], + 'schema' => ['description' => '客户端证书的具体扩展信息。支持输入多个扩展信息,如果您需要输入多个扩展信息,请用半角逗号(,)将其隔开。', 'type' => 'string', 'required' => false, 'example' => 'somebody@example.com'], ], [ 'name' => 'Organization', 'in' => 'query', - 'schema' => [ - 'description' => '机构名称,默认:Alibaba Inc。', - 'type' => 'string', - 'required' => false, - 'example' => '阿里云', - ], + 'schema' => ['description' => '机构名称,默认:Alibaba Inc。', 'type' => 'string', 'required' => false, 'example' => '阿里云'], ], [ 'name' => 'OrganizationUnit', 'in' => 'query', - 'schema' => [ - 'description' => '部门名称,默认:Aliyun CDN。', - 'type' => 'string', - 'required' => false, - 'example' => 'IT', - ], + 'schema' => ['description' => '部门名称,默认:Aliyun CDN。', 'type' => 'string', 'required' => false, 'example' => 'IT'], ], [ 'name' => 'Country', 'in' => 'query', - 'schema' => [ - 'description' => '所属国家,默认:CN。', - 'type' => 'string', - 'required' => false, - 'example' => 'CN', - ], + 'schema' => ['description' => '所属国家,默认:CN。', 'type' => 'string', 'required' => false, 'example' => 'CN'], ], [ 'name' => 'CommonName', 'in' => 'query', - 'schema' => [ - 'description' => '表示证书使用者的名称。客户端认证(ClientAuth)证书使用者一般是自然人、公司、组织或某个应用,建议填写使用者的通用名称。例如,张三、阿里巴巴、阿里云密码平台、天猫精灵等。', - 'type' => 'string', - 'required' => false, - 'example' => 'aliyun', - ], + 'schema' => ['description' => '表示证书使用者的名称。客户端认证(ClientAuth)证书使用者一般是自然人、公司、组织或某个应用,建议填写使用者的通用名称。例如,张三、阿里巴巴、阿里云密码平台、天猫精灵等。', 'type' => 'string', 'required' => false, 'example' => 'aliyun'], ], [ 'name' => 'State', 'in' => 'query', - 'schema' => [ - 'description' => '<props="china">设置证书组织机构所在省份、直辖市或自治区的名称。支持使用中文、英文字符等。默认为签发该证书的子CA证书组织机构所在省份、直辖市或自治区的名称。</props>'."\n" - .'<props="intl">设置证书组织机构所在省份或州的名称。支持使用中文、英文字符等。默认为签发该证书的子CA证书组织机构所在省份或州的名称。</props>'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Zhejiang', - ], + 'schema' => ['description' => '<props="china">设置证书组织机构所在省份、直辖市或自治区的名称。支持使用中文、英文字符等。默认为签发该证书的子CA证书组织机构所在省份、直辖市或自治区的名称。</props>'."\n" + .'<props="intl">设置证书组织机构所在省份或州的名称。支持使用中文、英文字符等。默认为签发该证书的子CA证书组织机构所在省份或州的名称。</props>'."\n", 'type' => 'string', 'required' => false, 'example' => 'Zhejiang'], ], [ 'name' => 'Locality', 'in' => 'query', - 'schema' => [ - 'description' => '设置证书组织机构所在城市的名称。支持使用中文、英文字符等。'."\n" - .'默认为签发该证书的子CA证书的组织机构所在城市的名称。', - 'type' => 'string', - 'required' => false, - 'example' => '杭州市', - ], + 'schema' => ['description' => '设置证书组织机构所在城市的名称。支持使用中文、英文字符等。'."\n" + .'默认为签发该证书的子CA证书的组织机构所在城市的名称。', 'type' => 'string', 'required' => false, 'example' => '杭州市'], ], [ 'name' => 'Algorithm', 'in' => 'query', - 'schema' => [ - 'description' => '客户端证书的密钥算法。密钥算法使用`<加密算法>_<密钥长度>`格式表示。取值:'."\n" - ."\n" - .'- **RSA_1024**:对应签名算法为Sha256WithRSA。'."\n" - .'- **RSA_2048**:对应签名算法为Sha256WithRSA。'."\n" - .'- **RSA_4096**:对应签名算法为Sha256WithRSA。'."\n" - .'- **ECC_256**:对应签名算法为Sha256WithECDSA。'."\n" - .'- **ECC_384**:对应签名算法为Sha256WithECDSA。'."\n" - .'- **ECC_512**:对应签名算法为Sha256WithECDSA。'."\n" - .'- **SM2_256**:对应签名算法为SM3WithSM2。'."\n" - ."\n" - .'客户端证书的加密算法必须与子CA证书一致,密钥长度可以不一致。例如:子CA证书的密钥算法为RSA_2048,则客户端证书的密钥算法必须是RSA_1024、RSA_2048、RSA_4096中的一种。'."\n" - ."\n" - .'>您可以调用[DescribeCACertificate](~~465954~~)查询子CA证书的密钥算法。', - 'type' => 'string', - 'required' => false, - 'example' => 'RSA_2048', - ], + 'schema' => ['description' => '客户端证书的密钥算法。密钥算法使用`<加密算法>_<密钥长度>`格式表示。取值:'."\n" + ."\n" + .'- **RSA_1024**:对应签名算法为Sha256WithRSA。'."\n" + .'- **RSA_2048**:对应签名算法为Sha256WithRSA。'."\n" + .'- **RSA_4096**:对应签名算法为Sha256WithRSA。'."\n" + .'- **ECC_256**:对应签名算法为Sha256WithECDSA。'."\n" + .'- **ECC_384**:对应签名算法为Sha256WithECDSA。'."\n" + .'- **ECC_512**:对应签名算法为Sha256WithECDSA。'."\n" + .'- **SM2_256**:对应签名算法为SM3WithSM2。'."\n" + ."\n" + .'客户端证书的加密算法必须与子CA证书一致,密钥长度可以不一致。例如:子CA证书的密钥算法为RSA_2048,则客户端证书的密钥算法必须是RSA_1024、RSA_2048、RSA_4096中的一种。'."\n" + ."\n" + .'>您可以调用[DescribeCACertificate](~~465954~~)查询子CA证书的密钥算法。', 'type' => 'string', 'required' => false, 'example' => 'RSA_2048'], ], [ 'name' => 'ParentIdentifier', 'in' => 'query', - 'schema' => [ - 'description' => '签发该证书的子CA证书的唯一识别码。'."\n" - .'>您可以调用[DescribeCACertificateList]查询子CA证书的唯一识别码。', - 'type' => 'string', - 'required' => false, - 'example' => '273ae6bb538d538c70c01f81jh2****', - 'docRequired' => true, - ], + 'schema' => ['description' => '签发该证书的子CA证书的唯一识别码。'."\n" + .'>您可以调用[DescribeCACertificateList]查询子CA证书的唯一识别码。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '273ae6bb538d538c70c01f81jh2****'], ], [ 'name' => 'Years', 'in' => 'query', - 'schema' => [ - 'description' => '购买证书的时长。单位:年。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '5', - ], + 'schema' => ['description' => '购买证书的时长。单位:年。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'], ], [ 'name' => 'Months', 'in' => 'query', - 'schema' => [ - 'description' => '购买证书的时长。单位:月。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '购买证书的时长。单位:月。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'Days', 'in' => 'query', - 'schema' => [ - 'description' => '客户端证书的有效期。单位:天。'."\n" - .'**Days**、**BeforeTime**、**AfterTime**参数不能同时为空,并且**BeforeTime**、**AfterTime**参数必须同时为空或者同时设置。该参数具体设置说明如下:'."\n" - ."\n" - .'- 当设置**Days**参数时,您可以选择同时设置**BeforeTime**、**AfterTime**参数或者不设置**BeforeTime**、**AfterTime**参数。'."\n" - .'- 当不设置**Days**参数时,您必须设置**BeforeTime**、**AfterTime**参数。'."\n" - ."\n" - .'>- 当您同时设置**Days**、**BeforeTime**、**AfterTime**参数时,客户端证书的有效期以**Days**参数的值为准。'."\n" - .'- 客户端证书的有效期不能超过子CA证书的有效期。您可以调用[DescribeCACertificate](~~465954~~)查看子CA证书的有效期。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '365', - ], + 'schema' => ['description' => '客户端证书的有效期。单位:天。'."\n" + .'**Days**、**BeforeTime**、**AfterTime**参数不能同时为空,并且**BeforeTime**、**AfterTime**参数必须同时为空或者同时设置。该参数具体设置说明如下:'."\n" + ."\n" + .'- 当设置**Days**参数时,您可以选择同时设置**BeforeTime**、**AfterTime**参数或者不设置**BeforeTime**、**AfterTime**参数。'."\n" + .'- 当不设置**Days**参数时,您必须设置**BeforeTime**、**AfterTime**参数。'."\n" + ."\n" + .'>- 当您同时设置**Days**、**BeforeTime**、**AfterTime**参数时,客户端证书的有效期以**Days**参数的值为准。'."\n" + .'- 客户端证书的有效期不能超过子CA证书的有效期。您可以调用[DescribeCACertificate](~~465954~~)查看子CA证书的有效期。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '365'], ], [ 'name' => 'BeforeTime', 'in' => 'query', - 'schema' => [ - 'description' => '客户端证书的签发时间,使用时间戳格式,默认为您调用该接口的时间。单位:秒。'."\n" - ."\n" - .'>**BeforeTime**和**AfterTime**参数必须同时为空或者同时设置。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1634283958', - ], + 'schema' => ['description' => '客户端证书的签发时间,使用时间戳格式,默认为您调用该接口的时间。单位:秒。'."\n" + ."\n" + .'>**BeforeTime**和**AfterTime**参数必须同时为空或者同时设置。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1634283958'], ], [ 'name' => 'AfterTime', 'in' => 'query', - 'schema' => [ - 'description' => '客户端证书的服务到期时间,使用时间戳格式。单位:秒。'."\n" - .'>**BeforeTime**和**AfterTime**参数必须同时为空或者同时设置。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1665819958', - ], + 'schema' => ['description' => '客户端证书的服务到期时间,使用时间戳格式。单位:秒。'."\n" + .'>**BeforeTime**和**AfterTime**参数必须同时为空或者同时设置。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1665819958'], ], [ 'name' => 'Immediately', 'in' => 'query', - 'schema' => [ - 'description' => '立即返回数字证书。'."\n" - .'- **0**,不返回。默认值。'."\n" - .'- **1**,返回证书。'."\n" - .'- **2**, 返回证书及其证书链 。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '立即返回数字证书。'."\n" + .'- **0**,不返回。默认值。'."\n" + .'- **1**,返回证书。'."\n" + .'- **2**, 返回证书及其证书链 。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'EnableCrl', 'in' => 'query', - 'schema' => [ - 'description' => '是否包含CRL地址'."\n" - ."\n" - .'0 - 否'."\n" - .'1 - 是', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '是否包含CRL地址'."\n" + ."\n" + .'0 - 否'."\n" + .'1 - 是', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'Tags', @@ -433,18 +252,8 @@ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'account', - ], - 'Value' => [ - 'description' => '标签值。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'account'], + 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => '1'], ], 'required' => false, ], @@ -455,42 +264,22 @@ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '资源分组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aek****wia', - ], + 'schema' => ['description' => '资源分组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-aek****wia'], ], [ 'name' => 'CustomIdentifier', 'in' => 'query', - 'schema' => [ - 'description' => '用户自定义标识,唯一键。', - 'type' => 'string', - 'required' => false, - 'example' => '****6bb538d538c70c01f81jh2****', - ], + 'schema' => ['description' => '用户自定义标识,唯一键。', 'type' => 'string', 'required' => false, 'example' => '****6bb538d538c70c01f81jh2****'], ], [ 'name' => 'AliasName', 'in' => 'query', - 'schema' => [ - 'description' => '设置签发证书的名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'cert-name', - ], + 'schema' => ['description' => '设置签发证书的名称。', 'type' => 'string', 'required' => false, 'example' => 'cert-name'], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => '用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符,且该参数值中不能包含非ASCII字符。', - 'type' => 'string', - 'required' => false, - 'example' => 'XXX', - ], + 'schema' => ['description' => '用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符,且该参数值中不能包含非ASCII字符。', 'type' => 'string', 'required' => false, 'example' => 'XXX'], ], ], 'responses' => [ @@ -500,44 +289,22 @@ 'description' => 'CreateCertificateResponse<CertificateIdentifierWithParentDTO>', 'type' => 'object', 'properties' => [ - 'X509Certificate' => [ - 'description' => '客户端证书的内容。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----', - ], - 'CertificateChain' => [ - 'description' => 'CA证书链。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n', - ], - 'Identifier' => [ - 'description' => '客户端证书的唯一识别码。', - 'type' => 'string', - 'example' => '190ae6bb538d538c70c01f81dcf2****', - ], - 'SerialNumber' => [ - 'description' => '证书序列号。', - 'type' => 'string', - 'example' => '084bde9cd233f0ddae33adc438cfbbbd****', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '8C467B38-3910-447D-87BC-AC049166F216', - ], + 'X509Certificate' => ['description' => '客户端证书的内容。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----'], + 'CertificateChain' => ['description' => 'CA证书链。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n'], + 'Identifier' => ['description' => '客户端证书的唯一识别码。', 'type' => 'string', 'example' => '190ae6bb538d538c70c01f81dcf2****'], + 'SerialNumber' => ['description' => '证书序列号。', 'type' => 'string', 'example' => '084bde9cd233f0ddae33adc438cfbbbd****'], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '8C467B38-3910-447D-87BC-AC049166F216'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"X509Certificate\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\",\\n \\"CertificateChain\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\\\\\\\n-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\\\\\\\n\\",\\n \\"Identifier\\": \\"190ae6bb538d538c70c01f81dcf2****\\",\\n \\"SerialNumber\\": \\"084bde9cd233f0ddae33adc438cfbbbd****\\",\\n \\"RequestId\\": \\"8C467B38-3910-447D-87BC-AC049166F216\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateClientCertificateResponse>\\n <Identifier>190ae6bb538d538c70c01f81dcf2****</Identifier>\\n <RootX509Certificate>-----BEGIN CERTIFICATE-----\\\\n......\\\\n-----END CERTIFICATE-----</RootX509Certificate>\\n <ParentX509Certificate>-----BEGIN CERTIFICATE-----\\\\n......\\\\n-----END CERTIFICATE-----</ParentX509Certificate>\\n <RequestId>8C467B38-3910-447D-87BC-AC049166F216</RequestId>\\n <X509Certificate>-----BEGIN CERTIFICATE-----\\\\n......\\\\n-----END CERTIFICATE-----</X509Certificate>\\n <CertificateChain>-----BEGIN CERTIFICATE-----\\\\n......\\\\n-----END CERTIFICATE-----\\\\n-----BEGIN CERTIFICATE-----\\\\n......\\\\n-----END CERTIFICATE-----\\\\n</CertificateChain>\\n</CreateClientCertificateResponse>","errorExample":""}]', 'title' => '基于系统自动生成的CSR签发单个客户端证书', - 'summary' => '基于系统自动生成的CSR签发单个客户端证书', 'description' => '调用本接口前,您必须已经调用[CreateRootCACertificate](~~465962~~)创建了根CA证书,并且调用[CreateSubCACertificate](~~465959~~)创建了子CA证书。只有子CA证书才能签发客户端证书。'."\n" .'## QPS限制'."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', @@ -547,12 +314,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateClientCertificate', - ], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateClientCertificate'], ], ], 'ramActions' => [ @@ -563,28 +325,16 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"X509Certificate\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\",\\n \\"CertificateChain\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\\\\\\\n-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\\\\\\\n\\",\\n \\"Identifier\\": \\"190ae6bb538d538c70c01f81dcf2****\\",\\n \\"SerialNumber\\": \\"084bde9cd233f0ddae33adc438cfbbbd****\\",\\n \\"RequestId\\": \\"8C467B38-3910-447D-87BC-AC049166F216\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateClientCertificateResponse>\\n <Identifier>190ae6bb538d538c70c01f81dcf2****</Identifier>\\n <RootX509Certificate>-----BEGIN CERTIFICATE-----\\\\n......\\\\n-----END CERTIFICATE-----</RootX509Certificate>\\n <ParentX509Certificate>-----BEGIN CERTIFICATE-----\\\\n......\\\\n-----END CERTIFICATE-----</ParentX509Certificate>\\n <RequestId>8C467B38-3910-447D-87BC-AC049166F216</RequestId>\\n <X509Certificate>-----BEGIN CERTIFICATE-----\\\\n......\\\\n-----END CERTIFICATE-----</X509Certificate>\\n <CertificateChain>-----BEGIN CERTIFICATE-----\\\\n......\\\\n-----END CERTIFICATE-----\\\\n-----BEGIN CERTIFICATE-----\\\\n......\\\\n-----END CERTIFICATE-----\\\\n</CertificateChain>\\n</CreateClientCertificateResponse>","errorExample":""}]', ], 'CreateClientCertificateWithCsr' => [ 'summary' => '基于自定义的CSR签发单个客户端证书', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -597,9 +347,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83505', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -607,227 +355,167 @@ [ 'name' => 'Csr', 'in' => 'query', - 'schema' => [ - 'description' => 'CSR内容。您可以通过OpenSSL工具或者Keytool工具生成CSR。更多信息,请参见[如何制作CSR文件](~~42218~~)。'."\n" - .'<props="china">您也可以通过SSL证书控制台创建CSR。更多信息,请参见[创建CSR](~~313297~~)。</props>'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '-----BEGIN CERTIFICATE REQUEST----- ...... -----END CERTIFICATE REQUEST-----', - ], + 'schema' => ['description' => 'CSR内容。您可以通过OpenSSL工具或者Keytool工具生成CSR。更多信息,请参见[如何制作CSR文件](~~42218~~)。'."\n" + .'<props="china">您也可以通过SSL证书控制台创建CSR。更多信息,请参见[创建CSR](~~313297~~)。</props>'."\n", 'type' => 'string', 'required' => false, 'example' => '-----BEGIN CERTIFICATE REQUEST----- ...... -----END CERTIFICATE REQUEST-----'], ], [ 'name' => 'SanType', 'in' => 'query', - 'schema' => [ - 'description' => '客户端证书的扩展信息SAN(Subject Alternative Name)的类型。取值:'."\n" - ."\n" - .'- **1**:表示邮箱。'."\n" - .'- **6**:表示统一资源标志符URI(Uniform Resource Identifier)。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '客户端证书的扩展信息SAN(Subject Alternative Name)的类型。取值:'."\n" + ."\n" + .'- **0**:otherName (0):其他名称'."\n" + .'- **1**:rfc822Name (1):RFC822 名称(通常指电子邮件地址)'."\n" + .'- **2**:dNSName (2):DNS 名称(域名)'."\n" + .'- **3**:x400Address (3):X.400 地址(一种早期的电子邮件标准地址)'."\n" + .'- **4**:directoryName (4):目录名称(通常指 X.500 专有名称 DN)'."\n" + .'- **5**:ediPartyName (5):EDI 参与方名称(电子数据交换参与方名称)'."\n" + .'- **6**:uniformResourceIdentifier (6):统一资源标识符(URI:Uniform Resource Identifier)'."\n" + .'- **7**:iPAddress (7):IP 地址'."\n" + .'- **8**:registeredID (8):已注册的 ID(对象标识符 OID)', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'], ], [ 'name' => 'SanValue', 'in' => 'query', - 'schema' => [ - 'description' => '客户端证书的具体扩展信息。支持输入多个扩展信息,如果您需要输入多个扩展信息,请用半角逗号(,)将其隔开。', - 'type' => 'string', - 'required' => false, - 'example' => 'somebody@example.com', - ], + 'schema' => ['description' => '客户端证书的具体扩展信息。支持输入多个扩展信息,如果您需要输入多个扩展信息,请用半角逗号(,)将其隔开。'."\n" + ."\n" + .'1. otherName (0):其他名称'."\n" + ."\n" + .'- 示例值:1.3.6.1.4.1.311.20.2.3 (OID) + user@domain.com (UPN 用户主体名称)'."\n" + .'- 说明:这是一种自定义的扩展类型,通常由特定的 OID(对象标识符)和对应的值组成。在 Windows 环境中,常用来存放 UPN(用户主体名称),比如用于智能卡登录的 zhangsan@company.com。'."\n" + ."\n" + .'2. rfc822Name (1):RFC822 名称(电子邮件地址)'."\n" + ."\n" + .'- 示例值:admin@example.com,support@company.cn'."\n" + .'- 说明:遵循 RFC 822 标准的互联网电子邮箱地址。常用于 S/MIME 邮件签名和加密证书中,用来标识邮件的发送者或接收者。'."\n" + .'- dNSName (2):DNS 名称(域名)'."\n" + .'- 示例值:www.example.com,api.test.cn,*.mydomain.com(通配符域名)'."\n" + .'- 说明:这是目前 HTTPS 网站 SSL/TLS 证书中最常用的类型。一个证书可以通过 SAN 扩展包含多个 DNS 名称,从而实现一张证书保护多个子域名或完全不同的域名。'."\n" + .'3. x400Address (3):X.400 地址'."\n" + .'- 示例值:G=Zhang; S=San; O=Company; PRMD=IT; ADMD=Telecom; C=CN'."\n" + .'- 说明:这是一种较早期的电子邮件系统地址标准,结构非常复杂,包含了国家(C)、管理域(ADMD)、组织(O)、姓(S)、名(G)等属性。在现代互联网 HTTPS 证书中极少使用,多见于一些传统的欧洲政企或军事通信系统。'."\n" + .'4. directoryName (4):目录名称'."\n" + .'- 示例值:CN=IT Department, OU=Tech, O=Company Ltd, L=Beijing, ST=Beijing, C=CN'."\n" + .'- 说明:即标准的 X.500 专有名称(DN)。它通常用来在证书中明确标识某个组织、部门或实体的完整层级信息,常见于企业内部的根证书或特定的政务数字证书中。'."\n" + .'5. ediPartyName (5):EDI 参与方名称'."\n" + .'- 示例值:nameAssigner=GlobalTradeOrg, partyName=SupplierA'."\n" + .'- 说明:专用于电子数据交换(EDI)领域。用来标识在商业报文交换(如订单、发票传输)中的特定参与方名称,通常包含分配名称的机构(nameAssigner)和参与方本身的名称(partyName)。'."\n" + .'6. uniformResourceIdentifier (6):统一资源标识符(URI)'."\n" + .'- 示例值:http://www.example.com/verify,https://api.test.cn/status'."\n" + .'- 说明:标准的 URL 格式,必须包含协议头(如 http:// 或 https://)。它可以指向一个具体的网络资源地址。'."\n" + .'7. iPAddress (7):IP 地址'."\n" + .'- 示例值:192.168.1.100(IPv4)、2001:0db8:85a3::8a2e:0370:7334(IPv6)'."\n" + .'- 说明:直接绑定服务器的 IP 地址。常用于没有域名的内部系统、API 接口服务器,或者只能通过公网 IP 访问的特定业务(注意:公网 IP 证书通常需要严格的组织验证 OV)。'."\n" + .'8. registeredID (8):已注册的 ID(对象标识符 OID)'."\n" + .'- 示例值:1.2.3.4.55.6.5.99、2.5.29.17'."\n" + .'- 说明:由国际标准组织分配的唯一数字标识符。在证书中较少作为主体名称直接使用,更多是作为系统内部的一种唯一身份识别码或策略标识。', 'type' => 'string', 'required' => false, 'example' => 'somebody@example.com'], ], [ 'name' => 'Organization', 'in' => 'query', - 'schema' => [ - 'description' => '机构名称,默认:Alibaba Inc。', - 'type' => 'string', - 'required' => false, - 'example' => '阿里云计算有限公司', - ], + 'schema' => ['description' => '机构名称,默认:Alibaba Inc。', 'type' => 'string', 'required' => false, 'example' => 'Alibaba Inc'], ], [ 'name' => 'OrganizationUnit', 'in' => 'query', - 'schema' => [ - 'description' => '部门名称,默认:Aliyun CDN。', - 'type' => 'string', - 'required' => false, - 'example' => 'Security', - ], + 'schema' => ['description' => '部门名称,默认:Aliyun CDN。', 'type' => 'string', 'required' => false, 'example' => 'Security'], ], [ 'name' => 'Country', 'in' => 'query', - 'schema' => [ - 'description' => '国家代码,例如**CN**、**US**。', - 'type' => 'string', - 'required' => false, - 'example' => 'CN', - ], + 'schema' => ['description' => '国家代码,例如**CN**、**US**。', 'type' => 'string', 'required' => false, 'example' => 'CN'], ], [ 'name' => 'CommonName', 'in' => 'query', - 'schema' => [ - 'description' => '设置证书的公用名。支持使用中文、英文字符等。'."\n" - .'>如果您设置了**CsrPemString**参数,则**CommonName**参数取值以**CsrPemString**参数中的对应信息为准。', - 'type' => 'string', - 'required' => false, - 'example' => 'aliyundoc.com', - ], + 'schema' => ['description' => '设置证书的公用名。支持使用中文、英文字符等。'."\n" + .'>如果您设置了**CsrPemString**参数,则**CommonName**参数取值以**CsrPemString**参数中的对应信息为准。', 'type' => 'string', 'required' => false, 'example' => 'aliyundoc.com'], ], [ 'name' => 'State', 'in' => 'query', - 'schema' => [ - 'description' => '<props="china">设置证书组织机构所在省份、直辖市或自治区的名称。支持使用中文、英文字符等。默认为签发该证书的子CA证书组织机构所在省份、直辖市或自治区的名称。</props>'."\n" - .'<props="intl">设置证书组织机构所在省份或州的名称。支持使用中文、英文字符等。默认为签发该证书的子CA证书组织机构所在省份或州的名称。</props>'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Zhejiang', - ], + 'schema' => ['description' => '<props="china">设置证书组织机构所在省份、直辖市或自治区的名称。支持使用中文、英文字符等。默认为签发该证书的子CA证书组织机构所在省份、直辖市或自治区的名称。</props>'."\n" + .'<props="intl">设置证书组织机构所在省份或州的名称。支持使用中文、英文字符等。默认为签发该证书的子CA证书组织机构所在省份或州的名称。</props>'."\n", 'type' => 'string', 'required' => false, 'example' => 'Zhejiang'], ], [ 'name' => 'Locality', 'in' => 'query', - 'schema' => [ - 'description' => '设置证书组织机构所在城市的名称。支持使用中文、英文字符等。'."\n" - .'默认为签发该证书的子CA证书的组织机构所在城市的名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'Hangzhou', - ], + 'schema' => ['description' => '设置证书组织机构所在城市的名称。支持使用中文、英文字符等。'."\n" + .'默认为签发该证书的子CA证书的组织机构所在城市的名称。', 'type' => 'string', 'required' => false, 'example' => 'Hangzhou'], ], [ 'name' => 'Algorithm', 'in' => 'query', - 'schema' => [ - 'description' => '客户端证书的密钥算法。密钥算法使用`<加密算法>_<密钥长度>`格式表示。取值:'."\n" - ."\n" - .'- **RSA_1024**:对应签名算法为Sha256WithRSA。'."\n" - .'- **RSA_2048**:对应签名算法为Sha256WithRSA。'."\n" - .'- **RSA_4096**:对应签名算法为Sha256WithRSA。'."\n" - .'- **ECC_256**:对应签名算法为Sha256WithECDSA。'."\n" - .'- **ECC_384**:对应签名算法为Sha256WithECDSA。'."\n" - .'- **ECC_512**:对应签名算法为Sha256WithECDSA。'."\n" - .'- **SM2_256**:对应签名算法为SM3WithSM2。'."\n" - ."\n" - .'客户端证书的加密算法必须与子CA证书一致,密钥长度可以不一致。例如:子CA证书的密钥算法为RSA_2048,则客户端证书的密钥算法必须是RSA_1024、RSA_2048、RSA_4096中的一种。'."\n" - ."\n" - .'>您可以调用[DescribeCACertificate](~~465954~~)查询子CA证书的密钥算法。', - 'type' => 'string', - 'required' => false, - 'example' => 'RSA_2048', - ], + 'schema' => ['description' => '客户端证书的密钥算法。密钥算法使用`<加密算法>_<密钥长度>`格式表示。取值:'."\n" + ."\n" + .'- **RSA_1024**:对应签名算法为Sha256WithRSA。'."\n" + .'- **RSA_2048**:对应签名算法为Sha256WithRSA。'."\n" + .'- **RSA_4096**:对应签名算法为Sha256WithRSA。'."\n" + .'- **ECC_256**:对应签名算法为Sha256WithECDSA。'."\n" + .'- **ECC_384**:对应签名算法为Sha256WithECDSA。'."\n" + .'- **ECC_512**:对应签名算法为Sha256WithECDSA。'."\n" + .'- **SM2_256**:对应签名算法为SM3WithSM2。'."\n" + ."\n" + .'客户端证书的加密算法必须与子CA证书一致,密钥长度可以不一致。例如:子CA证书的密钥算法为RSA_2048,则客户端证书的密钥算法必须是RSA_1024、RSA_2048、RSA_4096中的一种。'."\n" + ."\n" + .'>您可以调用[DescribeCACertificate](~~465954~~)查询子CA证书的密钥算法。', 'type' => 'string', 'required' => false, 'example' => 'RSA_2048'], ], [ 'name' => 'ParentIdentifier', 'in' => 'query', - 'schema' => [ - 'description' => '签发该证书的子CA证书的唯一识别码。'."\n" - .'>您可以调用[DescribeCACertificateList](~~465957~~)查询子CA证书的唯一识别码。', - 'type' => 'string', - 'required' => false, - 'example' => '270ae6bb538d538c70c01f81fg3****', - ], + 'schema' => ['description' => '签发该证书的子CA证书的唯一识别码。'."\n" + .'>您可以调用[DescribeCACertificateList](~~465957~~)查询子CA证书的唯一识别码。', 'type' => 'string', 'required' => false, 'example' => '270ae6bb538d538c70c01f81fg3****'], ], [ 'name' => 'Years', 'in' => 'query', - 'schema' => [ - 'description' => '证书有效期。单位:年。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '证书有效期。单位:年。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'Months', 'in' => 'query', - 'schema' => [ - 'description' => '证书有效期。单位:月。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '12', - ], + 'schema' => ['description' => '证书有效期。单位:月。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12'], ], [ 'name' => 'Days', 'in' => 'query', - 'schema' => [ - 'description' => '客户端证书的有效期。单位:天。'."\n" - .'**Days**、**BeforeTime**、**AfterTime**参数不能同时为空,同时**BeforeTime**和**AfterTime**参数必须同时为空或者同时设置。该参数具体设置说明如下:'."\n" - ."\n" - .'- 当设置**Days**参数时,您可以选择同时设置**BeforeTime**和**AfterTime**参数或者不设置**BeforeTime**和**AfterTime**参数。'."\n" - .'- 当不设置**Days**参数时,您必须设置**BeforeTime**和**AfterTime**参数。'."\n" - ."\n" - .'>- 当您同时设置**Days**、**BeforeTime**、**AfterTime**参数时,客户端证书的有效期以**Days**参数的值为准。'."\n" - .'- 客户端证书的有效期不能超过子CA证书的有效期。您可以调用[DescribeCACertificate](~~465954~~)查看子CA证书的有效期。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '365', - ], + 'schema' => ['description' => '客户端证书的有效期。单位:天。'."\n" + .'**Days**、**BeforeTime**、**AfterTime**参数不能同时为空,同时**BeforeTime**和**AfterTime**参数必须同时为空或者同时设置。该参数具体设置说明如下:'."\n" + ."\n" + .'- 当设置**Days**参数时,您可以选择同时设置**BeforeTime**和**AfterTime**参数或者不设置**BeforeTime**和**AfterTime**参数。'."\n" + .'- 当不设置**Days**参数时,您必须设置**BeforeTime**和**AfterTime**参数。'."\n" + ."\n" + .'>- 当您同时设置**Days**、**BeforeTime**、**AfterTime**参数时,客户端证书的有效期以**Days**参数的值为准。'."\n" + .'- 客户端证书的有效期不能超过子CA证书的有效期。您可以调用[DescribeCACertificate](~~465954~~)查看子CA证书的有效期。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '365'], ], [ 'name' => 'BeforeTime', 'in' => 'query', - 'schema' => [ - 'description' => '客户端证书的签发时间,使用时间戳格式,默认为您调用该接口的时间。单位:秒。'."\n" - ."\n" - .'>**BeforeTime**和**AfterTime**参数必须同时为空或者同时设置。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1634283958', - ], + 'schema' => ['description' => '客户端证书的签发时间,使用时间戳格式,默认为您调用该接口的时间。单位:秒。'."\n" + ."\n" + .'>**BeforeTime**和**AfterTime**参数必须同时为空或者同时设置。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1634283958'], ], [ 'name' => 'AfterTime', 'in' => 'query', - 'schema' => [ - 'description' => '客户端证书的服务到期时间,使用时间戳格式。单位:秒。'."\n" - .'>**BeforeTime**和**AfterTime**参数必须同时为空或者同时设置。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1665819958', - ], + 'schema' => ['description' => '客户端证书的服务到期时间,使用时间戳格式。单位:秒。'."\n" + .'>**BeforeTime**和**AfterTime**参数必须同时为空或者同时设置。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1665819958'], ], [ 'name' => 'Immediately', 'in' => 'query', - 'schema' => [ - 'description' => '立即返回数字证书。'."\n" - .'- **0**,不返回。默认值。'."\n" - .'- **1**,返回证书。'."\n" - .'- **2**, 返回证书及其证书链 。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '立即返回数字证书。'."\n" + .'- **0**,不返回。默认值。'."\n" + .'- **1**,返回证书。'."\n" + .'- **2**, 返回证书及其证书链 。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'EnableCrl', 'in' => 'query', - 'schema' => [ - 'description' => '是否包含CRL地址'."\n" - ."\n" - .'0 - 否 '."\n" - ."\n" - .'1 - 是', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '是否包含CRL地址'."\n" + ."\n" + .'0 - 否 '."\n" + ."\n" + .'1 - 是', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'Tags', @@ -840,18 +528,8 @@ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'database', - ], - 'Value' => [ - 'description' => '标签的值(value)。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'database'], + 'Value' => ['description' => '标签的值(value)。', 'type' => 'string', 'required' => false, 'example' => '1'], ], 'required' => false, ], @@ -862,22 +540,12 @@ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '证书所属资源组的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-ae******4wia', - ], + 'schema' => ['description' => '证书所属资源组的ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-ae******4wia'], ], [ 'name' => 'CustomIdentifier', 'in' => 'query', - 'schema' => [ - 'description' => '用户自定义标识,唯一键。', - 'type' => 'string', - 'required' => false, - 'example' => '***e6bb538d538c70c01f81fg3****', - ], + 'schema' => ['description' => '用户自定义标识,唯一键。', 'type' => 'string', 'required' => false, 'example' => '***e6bb538d538c70c01f81fg3****'], ], ], 'responses' => [ @@ -887,52 +555,22 @@ 'description' => 'CreateCertificateResponse<CertificateIdentifierWithParentDTO>', 'type' => 'object', 'properties' => [ - 'X509Certificate' => [ - 'description' => '客户端证书的内容。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----', - ], - 'CertificateChain' => [ - 'description' => 'CA证书链。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n', - ], - 'Identifier' => [ - 'description' => '客户端证书的唯一识别码。', - 'type' => 'string', - 'example' => '200ae6bb538d538c70c01f81dcf2****', - ], - 'SerialNumber' => [ - 'description' => '证书序列号。', - 'type' => 'string', - 'example' => '084bde9cd233f0ddae33adc438cfbbbd****', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '31C66C7B-671A-4297-9187-2C4477247A74', - ], - 'CertSignBufKmc' => [ - 'description' => '加密证书内容。', - 'type' => 'string', - 'example' => 'MIIDYDCCAwWgAwIBAgIU'."\n" - .'***'."\n" - .'TmTk0CS3WNweqsjMEETyxd2pzU6DA', - ], - 'CertKmcRep1' => [ - 'description' => '加密证书密文。', - 'type' => 'string', - 'example' => 'userSeal=MHkCIEu94PQAahFWuFk%'."\n" - .'***'."\n" - .'EtFw%2FkMMBjw8i5bFfSkV%2FIUrcOJD', - ], + 'X509Certificate' => ['description' => '客户端证书的内容。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----'], + 'CertificateChain' => ['description' => 'CA证书链。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n'], + 'Identifier' => ['description' => '客户端证书的唯一识别码。', 'type' => 'string', 'example' => '200ae6bb538d538c70c01f81dcf2****'], + 'SerialNumber' => ['description' => '证书序列号。', 'type' => 'string', 'example' => '084bde9cd233f0ddae33adc438cfbbbd****'], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '31C66C7B-671A-4297-9187-2C4477247A74'], + 'CertSignBufKmc' => ['description' => '加密证书内容。', 'type' => 'string', 'example' => 'MIIDYDCCAwWgAwIBAgIU'."\n" + .'***'."\n" + .'TmTk0CS3WNweqsjMEETyxd2pzU6DA'], + 'CertKmcRep1' => ['description' => '加密证书密文。', 'type' => 'string', 'example' => 'userSeal=MHkCIEu94PQAahFWuFk%'."\n" + .'***'."\n" + .'EtFw%2FkMMBjw8i5bFfSkV%2FIUrcOJD'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], @@ -948,12 +586,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateClientCertificateWithCsr', - ], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateClientCertificateWithCsr'], ], ], 'ramActions' => [ @@ -964,12 +597,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -977,14 +605,8 @@ ], 'CreateCustomCertificate' => [ 'summary' => '使用指定的证书主体名称、证书主题别名、密钥用法、扩展密钥用法颁发数字证书', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -997,9 +619,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '171944', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -1007,106 +627,78 @@ [ 'name' => 'ParentIdentifier', 'in' => 'query', - 'schema' => [ - 'description' => 'CA证书识别码。', - 'type' => 'string', - 'required' => true, - 'example' => '1ed4068c-6f1b-6deb-8e32-3f8439a851cb', - ], + 'schema' => ['description' => 'CA证书识别码。', 'type' => 'string', 'required' => true, 'example' => '1ed4068c-6f1b-6deb-8e32-3f8439a851cb'], ], [ 'name' => 'Csr', 'in' => 'query', - 'schema' => [ - 'description' => 'CSR内容。您可以通过OpenSSL工具或者Keytool工具生成CSR。更多信息,请参见[如何制作CSR文件](~~42218~~)。', - 'type' => 'string', - 'required' => true, - 'example' => '-----BEGIN CERTIFICATE REQUEST-----'."\n" - .'MIIBczCCARgCAQAwgYoxFDASBgNVBAMMC2FsaXl1bi50ZXN0MQ0wCwYDVQQ'."\n" - .'...'."\n" - .'...'."\n" - .'...'."\n" - .'vbIgMQIhAKHDWD6/WAMbtezAt4bysJ/BZIDz1jPWuUR5GV4TJ/mS'."\n" - .'-----END CERTIFICATE REQUEST-----', - ], + 'schema' => ['description' => 'CSR内容。您可以通过OpenSSL工具或者Keytool工具生成CSR。更多信息,请参见[如何制作CSR文件](~~42218~~)。', 'type' => 'string', 'required' => true, 'example' => '-----BEGIN CERTIFICATE REQUEST-----'."\n" + .'MIIBczCCARgCAQAwgYoxFDASBgNVBAMMC2FsaXl1bi50ZXN0MQ0wCwYDVQQ'."\n" + .'...'."\n" + .'...'."\n" + .'...'."\n" + .'vbIgMQIhAKHDWD6/WAMbtezAt4bysJ/BZIDz1jPWuUR5GV4TJ/mS'."\n" + .'-----END CERTIFICATE REQUEST-----'], ], [ 'name' => 'Validity', 'in' => 'query', - 'schema' => [ - 'description' => '证书有效期。不可超过实例有效期。支持使用相对时间和绝对时间。'."\n" - ."\n" - .'相对时间:支持单位年、月、日。'."\n" - ."\n" - .'- 年 - y'."\n" - .'- 月 - m'."\n" - .'- 日 - d'."\n" - ."\n" - .'绝对时间:使用GMT时间。格式:`yyyy-MM-dd\'T\'HH:mm:ss\'Z\'`'."\n" - ."\n" - .'- 指定结束时间 - $NotAfter'."\n" - .'- 指定开始时间和结束时间 - $NotBefore/$NotAfter', - 'type' => 'string', - 'required' => true, - 'example' => '相对时间:'."\n" - .'● 1y'."\n" - .'● 3m'."\n" - .'● 7d'."\n" - ."\n" - .'绝对时间:'."\n" - .'● 2006-01-02T15:04:05Z'."\n" - .'● 2006-01-02T15:04:05Z/2023-03-09T17:48:13Z', - ], + 'schema' => ['description' => '证书有效期。不可超过实例有效期。支持使用相对时间和绝对时间。'."\n" + ."\n" + .'相对时间:支持单位年、月、日。'."\n" + ."\n" + .'- 年 - y'."\n" + .'- 月 - m'."\n" + .'- 日 - d'."\n" + ."\n" + .'绝对时间:使用GMT时间。格式:`yyyy-MM-dd\'T\'HH:mm:ss\'Z\'`'."\n" + ."\n" + .'- 指定结束时间 - $NotAfter'."\n" + .'- 指定开始时间和结束时间 - $NotBefore/$NotAfter', 'type' => 'string', 'required' => true, 'example' => '相对时间:'."\n" + .'● 1y'."\n" + .'● 3m'."\n" + .'● 7d'."\n" + ."\n" + .'绝对时间:'."\n" + .'● 2006-01-02T15:04:05Z'."\n" + .'● 2006-01-02T15:04:05Z/2023-03-09T17:48:13Z'], ], [ 'name' => 'ApiPassthrough', 'in' => 'query', 'style' => 'flat', 'schema' => [ - 'description' => '透传参数。', + 'description' => '透传参数。调用示例:'."\n" + .'` {'."\n" + .' "apiPassthrough": {'."\n" + .' "extensions": {'."\n" + .' "keyUsage": {'."\n" + .' "digitalSignature": true,'."\n" + .' "keyEncipherment": true'."\n" + .' },'."\n" + .' "extendedKeyUsages": ["serverAuth", "clientAuth"],'."\n" + .' "subjectAlternativeNames": ['."\n" + .' {"type": "dNSName", "value": "www.example.com"},'."\n" + .' {"type": "dNSName", "value": "example.com"},'."\n" + .' {"type": "iPAddress", "value": "192.168.1.1"}'."\n" + .' ],'."\n" + .' "criticals": ["ExtendedKeyUsages"]'."\n" + .' }'."\n" + .' }'."\n" + .' }`', 'type' => 'object', 'properties' => [ 'Subject' => [ 'description' => '证书主体名称。', 'type' => 'object', 'properties' => [ - 'Country' => [ - 'description' => '国家代码。使用ISO 3166-1的二位国家代码。参考[ISO](https://www.iso.org/obp/ui/#search/code/)。', - 'type' => 'string', - 'required' => false, - 'example' => 'CN', - ], - 'State' => [ - 'description' => '<props="china">CA证书关联的组织机构所在省份、直辖市或自治区的名称。</props>'."\n" - .'<props="intl">CA证书关联的组织机构所在省份或州的名称。</props>', - 'type' => 'string', - 'required' => false, - 'example' => '浙江省', - ], - 'Locality' => [ - 'description' => '组织机构所在城市的名称。支持使用中文、英文字符等。', - 'type' => 'string', - 'required' => false, - 'example' => '杭州市', - ], - 'Organization' => [ - 'description' => '组织机构名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'XXX公司', - ], - 'OrganizationUnit' => [ - 'description' => '组织机构下部门或分支的名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'XXX部门', - ], - 'CommonName' => [ - 'description' => '证书使用者的通用名称。', - 'type' => 'string', - 'required' => false, - 'example' => '张三', - ], + 'Country' => ['description' => '国家代码。使用ISO 3166-1的二位国家代码。参考[ISO](https://www.iso.org/obp/ui/#search/code/)。', 'type' => 'string', 'required' => false, 'example' => 'CN'], + 'State' => ['description' => '<props="china">CA证书关联的组织机构所在省份、直辖市或自治区的名称。</props>'."\n" + .'<props="intl">CA证书关联的组织机构所在省份或州的名称。</props>', 'type' => 'string', 'required' => false, 'example' => '浙江省'], + 'Locality' => ['description' => '组织机构所在城市的名称。支持使用中文、英文字符等。', 'type' => 'string', 'required' => false, 'example' => '杭州市'], + 'Organization' => ['description' => '组织机构名称。', 'type' => 'string', 'required' => false, 'example' => 'XXX公司'], + 'OrganizationUnit' => ['description' => '组织机构下部门或分支的名称。', 'type' => 'string', 'required' => false, 'example' => 'XXX部门'], + 'CommonName' => ['description' => '证书使用者的通用名称。', 'type' => 'string', 'required' => false, 'example' => '张三'], 'CustomAttributes' => [ 'description' => '自定义证书的Subject属性。', 'type' => 'array', @@ -1114,32 +706,22 @@ 'description' => '自定义证书的Subject属性。', 'type' => 'object', 'properties' => [ - 'ObjectIdentifier' => [ - 'description' => '自定义属性键值,需符合行业标准。如:'."\n" - ."\n" - .'- 2.5.4.6:国家代码'."\n" - .'- 2.5.4.10:组织'."\n" - .'- 2.5.4.11:组织单位名称'."\n" - .'- 2.5.4.12:职位'."\n" - .'- 2.5.4.3:通用名称'."\n" - .'- 2.5.4.9:街道'."\n" - .'- 2.5.4.5:序列号名称'."\n" - .'- 2.5.4.7:地区'."\n" - .'- 2.5.4.8:省市'."\n" - .'- 1.3.6.1.4.1.37244.1.1:Matter证书 - 节点ID'."\n" - .'- 1.3.6.1.4.1.37244.1.5:Matter证书 - 结构ID'."\n" - .'- 1.3.6.1.4.1.37244.2.1:Matter证书供应商ID (VID)'."\n" - .'- 1.3.6.1.4.1.37244.2.2:Matter证书产品ID (PID)', - 'type' => 'string', - 'required' => false, - 'example' => '2.5.4.3', - ], - 'Value' => [ - 'description' => '自定义属性属性值。', - 'type' => 'string', - 'required' => false, - 'example' => 'Aliyun', - ], + 'ObjectIdentifier' => ['description' => '自定义属性键值,需符合行业标准。如:'."\n" + ."\n" + .'- 2.5.4.6:国家代码'."\n" + .'- 2.5.4.10:组织'."\n" + .'- 2.5.4.11:组织单位名称'."\n" + .'- 2.5.4.12:职位'."\n" + .'- 2.5.4.3:通用名称'."\n" + .'- 2.5.4.9:街道'."\n" + .'- 2.5.4.5:序列号名称'."\n" + .'- 2.5.4.7:地区'."\n" + .'- 2.5.4.8:省市'."\n" + .'- 1.3.6.1.4.1.37244.1.1:Matter证书 - 节点ID'."\n" + .'- 1.3.6.1.4.1.37244.1.5:Matter证书 - 结构ID'."\n" + .'- 1.3.6.1.4.1.37244.2.1:Matter证书供应商ID (VID)'."\n" + .'- 1.3.6.1.4.1.37244.2.2:Matter证书产品ID (PID)', 'type' => 'string', 'required' => false, 'example' => '2.5.4.3'], + 'Value' => ['description' => '自定义属性属性值。', 'type' => 'string', 'required' => false, 'example' => 'Aliyun'], ], 'required' => false, ], @@ -1156,137 +738,83 @@ 'description' => '密钥用法。', 'type' => 'object', 'properties' => [ - 'DigitalSignature' => [ - 'description' => '数字签名。允许使用证书私钥进行数字签名,允许使用证书公钥验证数字签名。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - 'ContentCommitment' => [ - 'description' => '内容承诺。原名称NonRepudiation。允许证书密钥用于内容承诺。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - 'NonRepudiation' => [ - 'description' => '抗抵赖。X.509标准中已更名为ContentCommitment。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - 'KeyEncipherment' => [ - 'description' => '密钥加密。允许证书密钥加密保护其他密钥。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - 'DataEncipherment' => [ - 'description' => '数据加密。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - 'KeyAgreement' => [ - 'description' => '密钥协商。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - 'EncipherOnly' => [ - 'description' => '在KeyAgreement为true时,用于标记该证书密钥只能用于加密。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - 'DecipherOnly' => [ - 'description' => '在KeyAgreement为true时,用于标记该证书密钥只能用于解密。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'DigitalSignature' => ['description' => '数字签名。允许使用证书私钥进行数字签名,允许使用证书公钥验证数字签名。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + 'ContentCommitment' => ['description' => '内容承诺(不可否认) 。原名称NonRepudiation。允许证书密钥用于内容承诺。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + 'NonRepudiation' => ['description' => '抗抵赖(与 contentCommitment 等价)。X.509标准中已更名为ContentCommitment。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + 'KeyEncipherment' => ['description' => '密钥加密。允许证书密钥加密保护其他密钥。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + 'DataEncipherment' => ['description' => '数据加密。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + 'KeyAgreement' => ['description' => '密钥协商。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + 'EncipherOnly' => ['description' => '在KeyAgreement为true时,用于标记该证书密钥只能用于加密。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + 'DecipherOnly' => ['description' => '在KeyAgreement为true时,用于标记该证书密钥只能用于解密。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], 'required' => false, ], 'ExtendedKeyUsages' => [ - 'description' => '扩展密钥用法。', + 'description' => '扩展密钥用法。类型:List<String>,支持以下预定义名称和自定义 OID:', 'type' => 'array', - 'items' => [ - 'description' => '允许使用以下值:'."\n" - ."\n" - .'- any - 不限制'."\n" - .'- serverAuth - 服务器认证'."\n" - .'- clientAuth - 客户端认证'."\n" - .'- codeSigning - 代码签名'."\n" - .'- emailProtection - 邮件保护'."\n" - .'- timeStamping - 时间戳'."\n" - .'- OCSPSigning - OCSP签名'."\n" - .'- 其他扩展密钥用法OID', - 'type' => 'string', - 'required' => false, - 'example' => '1.3.6.1.4.1.311.20.2.2', - ], + 'items' => ['description' => '允许使用以下值:'."\n" + ."\n" + .'- any - 不限制'."\n" + .'- serverAuth - 服务器认证'."\n" + .'- clientAuth - 客户端认证'."\n" + .'- codeSigning - 代码签名'."\n" + .'- emailProtection - 邮件保护'."\n" + .'- timeStamping - 时间戳'."\n" + .'- OCSPSigning - OCSP签名'."\n" + .'- 其他扩展密钥用法OID - 作为自定义 OID 解析,如 "1.3.6.1.5.5.7.3.9"', 'type' => 'string', 'required' => false, 'example' => '1.3.6.1.4.1.311.20.2.2'], 'required' => false, ], 'SubjectAlternativeNames' => [ - 'description' => '证书主体别名。', + 'description' => '主题备用名称 (SAN)。类型:List<Extensions.SubjectAlternativeName>,每项包含 type(GeneralNameType 枚举)和 value(字符串)。', 'type' => 'array', 'items' => [ 'description' => '证书主体别名。', 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => 'otherName, rfc822Name, dNSName, x400Address, directoryName, ediPartyName, uniformResourceIdentifier, iPAddress, registeredID', - 'description' => '允许使用以下值:'."\n" - ."\n" - .'- rfc822Name - Email地址'."\n" - .'- dNSName - 域名'."\n" - .'- uniformResourceIdentifier - 统一资源标识符(URI)'."\n" - .'- iPAddress - IP地址', - 'type' => 'string', - 'required' => true, - 'example' => 'dNSName', - ], - 'Value' => [ - 'description' => '符合Type定义的值。', - 'type' => 'string', - 'required' => false, - 'example' => 'rfc822Name:'."\n" - .'example.aliyundoc.com'."\n" - ."\n" - .'dNSName:'."\n" - .'learn.aliyundoc.com'."\n" - ."\n" - .'uniformResourceIdentifier:'."\n" - .'acs:ecs:regionid:15619224785*****:instance/i-bp1bzvz55uz27hf*****'."\n" - ."\n" - .'iPAddress:'."\n" - .'127.0.0.1', - ], + 'Type' => ['title' => 'otherName, rfc822Name, dNSName, x400Address, directoryName, ediPartyName, uniformResourceIdentifier, iPAddress, registeredID', 'description' => '允许使用以下值:'."\n" + ."\n" + .'- otherName - 以 # 开头表示 hex-encoded ASN1,否则为 UTF8String'."\n" + .'- rfc822Name - Email地址'."\n" + .'- dNSName - 域名'."\n" + .'- directoryName - X.500 DN'."\n" + .'- uniformResourceIdentifier - 统一资源标识符(URI)'."\n" + .'- iPAddress - IP地址'."\n" + .'- registeredID - OID', 'type' => 'string', 'required' => true, 'example' => 'dNSName'], + 'Value' => ['description' => '符合Type定义的值。'."\n" + .' - otherName:以 # 开头表示 hex-encoded ASN1,否则为 UTF8String。'."\n" + .' otherName 特殊处理:值以 # 开头 → 去掉 #,hex 解码为 ASN1 结构(ASN1Primitive.fromByteArray)'."\n" + .' - 否则 → 包装为 DERUTF8String'."\n" + .' - rfc822Name: Email 地址,如 user@example.com '."\n" + .' - dNSName:域名,如 www.example.com '."\n" + .' - directoryName: X.500 DN,如 CN=Test,O=Org '."\n" + .' - uniformResourceIdentifier:URI,如 https://example.com '."\n" + .' - iPAddress:IP 地址,如 192.168.1.1 '."\n" + .' - registeredID:OID,如 1.2.3.4', 'type' => 'string', 'required' => false, 'example' => 'rfc822Name:'."\n" + .'example.aliyundoc.com'."\n" + ."\n" + .'dNSName:'."\n" + .'learn.aliyundoc.com'."\n" + ."\n" + .'uniformResourceIdentifier:'."\n" + .'acs:ecs:regionid:15619224785*****:instance/i-bp1bzvz55uz27hf*****'."\n" + ."\n" + .'iPAddress:'."\n" + .'127.0.0.1'], ], 'required' => false, ], 'required' => false, ], 'Criticals' => [ - 'description' => '如果是必要参数,则criticals列表中包含参数名。', + 'description' => '控制扩展的 critical 标记。如果是必要参数,则criticals列表中包含参数名。', 'type' => 'array', - 'items' => [ - 'description' => '必要参数的参数名,如ExtendedKeyUsages。', - 'type' => 'string', - 'required' => false, - 'example' => 'ExtendedKeyUsages', - ], + 'items' => ['description' => '必要参数的参数名,如ExtendedKeyUsages。', 'type' => 'string', 'required' => false, 'example' => 'ExtendedKeyUsages'], 'required' => false, ], ], 'required' => false, ], - 'SerialNumber' => [ - 'description' => '自定义证书的序列号(必须是长整型)。', - 'type' => 'string', - 'required' => false, - 'example' => '16889526086333', - ], + 'SerialNumber' => ['description' => '自定义证书的序列号(必须是长整型)。', 'type' => 'string', 'required' => false, 'example' => '16889526086333'], ], 'required' => false, ], @@ -1294,31 +822,19 @@ [ 'name' => 'Immediately', 'in' => 'query', - 'schema' => [ - 'description' => '立即获取证书。'."\n" - ."\n" - .'- 0 - 异步颁发证书。'."\n" - .'- 1 - 立即颁发证书。'."\n" - .'- 2 - 立即颁发证书并返回CA证书链。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => '立即获取证书。'."\n" + ."\n" + .'- 0 - 异步颁发证书。'."\n" + .'- 1 - 立即颁发证书。'."\n" + .'- 2 - 立即颁发证书并返回CA证书链。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'], ], [ 'name' => 'EnableCrl', 'in' => 'query', - 'schema' => [ - 'description' => '是否包含CRL地址'."\n" - ."\n" - .'- 0 - 否'."\n" - .'- 1 - 是', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '是否包含CRL地址'."\n" + ."\n" + .'- 0 - 否'."\n" + .'- 1 - 是', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'Tags', @@ -1331,18 +847,8 @@ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'testKey', - ], - 'Value' => [ - 'description' => '标签值。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'testKey'], + 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => '1'], ], 'required' => false, ], @@ -1353,22 +859,12 @@ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '资源组ID。此ID可通过调用[ListResources](~~2716559~~)接口获取。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aek****wia', - ], + 'schema' => ['description' => '资源组ID。此ID可通过调用[ListResources](~~2716559~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'rg-aek****wia'], ], [ 'name' => 'customIdentifier', 'in' => 'query', - 'schema' => [ - 'description' => '用户自定义标识。', - 'type' => 'string', - 'required' => false, - 'example' => 'XXX068c-6f1b-6deb-8e32-3f8439a8XXX', - ], + 'schema' => ['description' => '用户自定义标识。', 'type' => 'string', 'required' => false, 'example' => 'XXX068c-6f1b-6deb-8e32-3f8439a8XXX'], ], ], 'responses' => [ @@ -1378,60 +874,38 @@ 'description' => 'OpenApiResponseV1<EnrollCertificateResultV2>', 'type' => 'object', 'properties' => [ - 'Identifier' => [ - 'description' => '证书唯一标识。', - 'type' => 'string', - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], - 'Certificate' => [ - 'description' => '证书内容。'."\n" - .'Immediately为1或2时返回。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----'."\n" - .'MIIEkjCCA3qgAwIBAgIQCgFBQgAAAVOFc2oLheynCDANBgkqhkiG9w0BAQsFADA/'."\n" - .'...'."\n" - .'...'."\n" - .'...'."\n" - .'KOqkqm57TH2H3eDJAkSnh6/DNFu0Qg=='."\n" - .'-----END CERTIFICATE-----', - ], - 'CertificateChain' => [ - 'description' => 'CA证书链。'."\n" - .'Immediately为2时返回。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----'."\n" - .'MIIBfzCCATGgAwIBAgIUfI5kSdcO2S0+LkpdL3b2VUJG10YwBQYDK2VwMDUxCzAJ'."\n" - .'...'."\n" - .'...'."\n" - .'...'."\n" - .'ZYYG'."\n" - .'-----END CERTIFICATE-----'."\n" - .'-----BEGIN CERTIFICATE-----'."\n" - .'MIIBczCCARgCAQAwgYoxFDASBgNVBAMMC2FsaXl1bi50ZXN0MQ0wCwYDVQQ'."\n" - .'...'."\n" - .'...'."\n" - .'...'."\n" - .'KL5cUmF'."\n" - .'-----END CERTIFICATE-----', - ], - 'SerialNumber' => [ - 'description' => '证书序列号。'."\n" - .'Immediately为1或2时返回。', - 'type' => 'string', - 'example' => '084bde9cd233f0ddae33adc438cfbbbd****', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '12345678-1234-1234-1234-123456789ABC', - ], + 'Identifier' => ['description' => '证书唯一标识。', 'type' => 'string', 'example' => '160ae6bb538d538c70c01f81dcf2****'], + 'Certificate' => ['description' => '证书内容。'."\n" + .'Immediately为1或2时返回。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----'."\n" + .'MIIEkjCCA3qgAwIBAgIQCgFBQgAAAVOFc2oLheynCDANBgkqhkiG9w0BAQsFADA/'."\n" + .'...'."\n" + .'...'."\n" + .'...'."\n" + .'KOqkqm57TH2H3eDJAkSnh6/DNFu0Qg=='."\n" + .'-----END CERTIFICATE-----'], + 'CertificateChain' => ['description' => 'CA证书链。'."\n" + .'Immediately为2时返回。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----'."\n" + .'MIIBfzCCATGgAwIBAgIUfI5kSdcO2S0+LkpdL3b2VUJG10YwBQYDK2VwMDUxCzAJ'."\n" + .'...'."\n" + .'...'."\n" + .'...'."\n" + .'ZYYG'."\n" + .'-----END CERTIFICATE-----'."\n" + .'-----BEGIN CERTIFICATE-----'."\n" + .'MIIBczCCARgCAQAwgYoxFDASBgNVBAMMC2FsaXl1bi50ZXN0MQ0wCwYDVQQ'."\n" + .'...'."\n" + .'...'."\n" + .'...'."\n" + .'KL5cUmF'."\n" + .'-----END CERTIFICATE-----'], + 'SerialNumber' => ['description' => '证书序列号。'."\n" + .'Immediately为1或2时返回。', 'type' => 'string', 'example' => '084bde9cd233f0ddae33adc438cfbbbd****'], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '12345678-1234-1234-1234-123456789ABC'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], @@ -1470,12 +944,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateCustomCertificate', - ], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCustomCertificate'], ], ], 'ramActions' => [ @@ -1486,26 +955,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], 'CreateExternalCACertificate' => [ - 'summary' => '基于CSR和API参数创建并颁发外部子CA证书。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1517,9 +975,7 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -1527,50 +983,32 @@ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'title' => '上级CA证书标识。', - 'description' => '需要启用的外部子CA实例ID'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cas_deposit-cn-1234abcd', - ], + 'schema' => ['title' => '上级CA证书标识。', 'description' => '需要启用的外部子CA实例ID。', 'type' => 'string', 'required' => false, 'example' => 'cas_deposit-cn-1234abcd'], ], [ 'name' => 'Csr', 'in' => 'query', - 'schema' => [ - 'title' => '证书签名请求。', - 'description' => '证书签名请求。可包含CA证书的SubjectDN、CA证书自定义扩展项等。SubjectKeyIdentifier、AuthorityKeyIdentifier、CRLDistributionPoints证书扩展项由CA生成,CSR中的值会被忽略。', - 'type' => 'string', - 'required' => false, - 'example' => '-----BEGIN CERTIFICATE REQUEST-----'."\n" - .'MIIBczCCARgCAQAwgYoxFDASBgNVBAMMC2FsaXl1bi50ZXN0MQ0wCwYDVQQ'."\n" - .'...'."\n" - .'vbIgMQIhAKHDWD6/WAMbtezAt4bysJ/BZIDz1jPWuUR5GV4TJ/mS'."\n" - .'-----END CERTIFICATE REQUEST-----'."\n", - ], + 'schema' => ['title' => '证书签名请求。', 'description' => '证书签名请求。可包含CA证书的SubjectDN、CA证书自定义扩展项等。SubjectKeyIdentifier、AuthorityKeyIdentifier、CRLDistributionPoints证书扩展项由CA生成,CSR中的值会被忽略。', 'type' => 'string', 'required' => false, 'example' => '-----BEGIN CERTIFICATE REQUEST-----'."\n" + .'MIIBczCCARgCAQAwgYoxFDASBgNVBAMMC2FsaXl1bi50ZXN0MQ0wCwYDVQQ'."\n" + .'...'."\n" + .'vbIgMQIhAKHDWD6/WAMbtezAt4bysJ/BZIDz1jPWuUR5GV4TJ/mS'."\n" + .'-----END CERTIFICATE REQUEST-----'."\n"], ], [ 'name' => 'Validity', 'in' => 'query', - 'schema' => [ - 'title' => '证书有效期。', - 'description' => '证书有效期。支持使用相对时间和绝对时间。'."\n" - ."\n" - .'> 相对时间:支持单位年、月、日。'."\n" - ."\n" - .'- 年 - y'."\n" - .'- 月 - m'."\n" - .'- 日 - d'."\n" - ."\n" - .'> 绝对时间:使用 GMT 时间。格式:`yyyy-MM-dd\'T\'HH:mm:ss\'Z\'`'."\n" - ."\n" - .'- 指定结束时间 - `$NotAfter`'."\n" - .'- 指定开始时间和结束时间 - `$NotBefore/$NotAfter`', - 'type' => 'string', - 'required' => false, - 'example' => '10y', - ], + 'schema' => ['title' => '证书有效期。', 'description' => '证书有效期。支持使用相对时间和绝对时间。'."\n" + ."\n" + .'> 相对时间:支持单位年、月、日。'."\n" + ."\n" + .'- 年 - y'."\n" + .'- 月 - m'."\n" + .'- 日 - d'."\n" + ."\n" + .'> 绝对时间:使用 GMT 时间。格式:`yyyy-MM-dd\'T\'HH:mm:ss\'Z\'`'."\n" + ."\n" + .'- 指定结束时间 - `$NotAfter`'."\n" + .'- 指定开始时间和结束时间 - `$NotBefore/$NotAfter`', 'type' => 'string', 'required' => false, 'example' => '10y'], ], [ 'name' => 'ApiPassthrough', @@ -1586,48 +1024,12 @@ 'description' => 'CA证书主体信息。该值存在时会覆盖CSR中的SubjectDN。'."\n", 'type' => 'object', 'properties' => [ - 'Country' => [ - 'title' => '证书使用者所属国家。使用ISO 3166-1的二位国家代码。参考 https://www.iso.org/obp/ui/#search/code/', - 'description' => '所属国家。使用ISO 3166-1的二位国家代码。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'CN', - ], - 'State' => [ - 'title' => '证书使用者所属省/自治区/直辖市(Zhejiang)', - 'description' => '所属省/自治区/直辖市'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Zhejiang', - ], - 'Locality' => [ - 'title' => '证书使用者所属城市/区域 (hangzhou)', - 'description' => '所属城市/区域'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Hangzhou', - ], - 'Organization' => [ - 'title' => '证书使用者所属组织名称', - 'description' => '所属组织/公司'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Alibaba', - ], - 'OrganizationUnit' => [ - 'title' => '证书使用者所属组织单元名称', - 'description' => '所属组织内部的子单位(部门、团队、项目组或分支机构)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Cloud Security', - ], - 'CommonName' => [ - 'title' => '证书使用者通用名', - 'description' => '当前CA证书名称'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Testing CA', - ], + 'Country' => ['title' => '证书使用者所属国家。使用ISO 3166-1的二位国家代码。参考 https://www.iso.org/obp/ui/#search/code/', 'description' => '所属国家。使用ISO 3166-1的二位国家代码。'."\n", 'type' => 'string', 'required' => false, 'example' => 'CN'], + 'State' => ['title' => '证书使用者所属省/自治区/直辖市(Zhejiang)', 'description' => '所属省/自治区/直辖市'."\n", 'type' => 'string', 'required' => false, 'example' => 'Zhejiang'], + 'Locality' => ['title' => '证书使用者所属城市/区域 (hangzhou)', 'description' => '所属城市/区域'."\n", 'type' => 'string', 'required' => false, 'example' => 'Hangzhou'], + 'Organization' => ['title' => '证书使用者所属组织名称', 'description' => '所属组织/公司'."\n", 'type' => 'string', 'required' => false, 'example' => 'Alibaba'], + 'OrganizationUnit' => ['title' => '证书使用者所属组织单元名称', 'description' => '所属组织内部的子单位(部门、团队、项目组或分支机构)'."\n", 'type' => 'string', 'required' => false, 'example' => 'Cloud Security'], + 'CommonName' => ['title' => '证书使用者通用名', 'description' => '当前CA证书名称'."\n", 'type' => 'string', 'required' => false, 'example' => 'Testing CA'], ], 'required' => false, ], @@ -1636,14 +1038,7 @@ 'description' => 'CA证书扩展。该值存在时会覆盖CSR中的扩展项值,或添加到CA证书扩展项中。'."\n", 'type' => 'object', 'properties' => [ - 'PathLenConstraint' => [ - 'title' => 'CA路径长度限制。', - 'description' => '证书路径长度限制。EndEntity CA 该值必须传0,即当前CA证书用于颁发End Entity证书。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'PathLenConstraint' => ['title' => 'CA路径长度限制。', 'description' => '证书路径长度限制。EndEntity CA 该值必须传0,即当前CA证书用于颁发End Entity证书。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'], 'ExtendedKeyUsages' => [ 'title' => 'CA扩展密钥用法。用于约束下级证书的扩展密钥用法。', 'description' => '扩展密钥用法。', @@ -1661,15 +1056,7 @@ .'- 其他扩展密钥用法OID', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'codeSigning' => 'codeSigning', - 'emailProtection' => 'emailProtection', - 'serverAuth' => 'serverAuth', - 'timeStamping' => 'timeStamping', - 'any' => 'any', - 'clientAuth' => 'clientAuth', - 'OCSPSigning' => 'OCSPSigning', - ], + 'enumValueTitles' => ['codeSigning' => 'codeSigning', 'emailProtection' => 'emailProtection', 'serverAuth' => 'serverAuth', 'timeStamping' => 'timeStamping', 'any' => 'any', 'clientAuth' => 'clientAuth', 'OCSPSigning' => 'OCSPSigning'], 'example' => 'serverAuth', ], 'required' => false, @@ -1693,18 +1080,8 @@ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'database', - ], - 'Value' => [ - 'description' => '标签值。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'database'], + 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => '1'], ], 'required' => false, ], @@ -1715,12 +1092,12 @@ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '资源分组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '资源分组ID。', 'type' => 'string', 'required' => false, 'example' => 'test'], + ], + [ + 'name' => 'CertMaxTime', + 'in' => 'query', + 'schema' => ['description' => '签发证书的最长时间由CA的certMaxTime指定。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30'], ], ], 'responses' => [ @@ -1730,47 +1107,30 @@ 'description' => 'OpenApiResponse<CreateCaCertificateResult>', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '12345678-1234-1234-1234-123456789ABC', - ], - 'Identifier' => [ - 'description' => '证书唯一标识。'."\n", - 'type' => 'string', - 'example' => '1ed4068c-6f1b-6deb-8e32-3f8439a851cb', - ], - 'Certificate' => [ - 'description' => '证书内容。'."\n", - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----'."\n" - .'MIIEkjCCA3qgAwIBAgIQCgFBQgAAAVOFc2oLheynCDANBgkqhkiG9w0BAQsFADA/'."\n" - .'...'."\n" - .'...'."\n" - .'...'."\n" - .'KOqkqm57TH2H3eDJAkSnh6/DNFu0Qg=='."\n" - .'-----END CERTIFICATE-----'."\n", - ], - 'CertificateChain' => [ - 'description' => 'CA证书链。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----'."\n" - .'...'."\n" - .'...'."\n" - .'-----END CERTIFICATE-----'."\n" - .'-----BEGIN CERTIFICATE-----'."\n" - .'...'."\n" - .'...'."\n" - .'-----END CERTIFICATE-----'."\n", - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '12345678-1234-1234-1234-123456789ABC'], + 'Identifier' => ['description' => '证书唯一标识。'."\n", 'type' => 'string', 'example' => '1ed4068c-6f1b-6deb-8e32-3f8439a851cb'], + 'Certificate' => ['description' => '证书内容。'."\n", 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----'."\n" + .'MIIEkjCCA3qgAwIBAgIQCgFBQgAAAVOFc2oLheynCDANBgkqhkiG9w0BAQsFADA/'."\n" + .'...'."\n" + .'...'."\n" + .'...'."\n" + .'KOqkqm57TH2H3eDJAkSnh6/DNFu0Qg=='."\n" + .'-----END CERTIFICATE-----'."\n"], + 'CertificateChain' => ['description' => 'CA证书链。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----'."\n" + .'...'."\n" + .'...'."\n" + .'-----END CERTIFICATE-----'."\n" + .'-----BEGIN CERTIFICATE-----'."\n" + .'...'."\n" + .'...'."\n" + .'-----END CERTIFICATE-----'."\n"], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '创建外部子CA证书', + 'summary' => '基于CSR和API参数创建并颁发外部子CA证书。', 'description' => '## 请求说明'."\n" .'- 本接口用于根据提供的证书签名请求(CSR)以及可选的API透传参数来创建一个外部子CA证书。'."\n" .'- `InstanceId` 是必填项,代表需要启用的外部子CA实例ID。'."\n" @@ -1790,12 +1150,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -1803,14 +1158,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"12345678-1234-1234-1234-123456789ABC\\",\\n \\"Identifier\\": \\"1ed4068c-6f1b-6deb-8e32-3f8439a851cb\\",\\n \\"Certificate\\": \\"-----BEGIN CERTIFICATE-----\\\\nMIIEkjCCA3qgAwIBAgIQCgFBQgAAAVOFc2oLheynCDANBgkqhkiG9w0BAQsFADA/\\\\n...\\\\n...\\\\n...\\\\nKOqkqm57TH2H3eDJAkSnh6/DNFu0Qg==\\\\n-----END CERTIFICATE-----\\\\n\\",\\n \\"CertificateChain\\": \\"-----BEGIN CERTIFICATE-----\\\\n...\\\\n...\\\\n-----END CERTIFICATE-----\\\\n-----BEGIN CERTIFICATE-----\\\\n...\\\\n...\\\\n-----END CERTIFICATE-----\\\\n\\"\\n}","type":"json"}]', ], 'CreateRevokeClientCertificate' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1823,9 +1172,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83506', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -1833,14 +1180,9 @@ [ 'name' => 'Identifier', 'in' => 'query', - 'schema' => [ - 'description' => '要吊销的客户端证书或服务端证书的唯一识别码。'."\n" - ."\n\n" - .'> 您可以调用[ListClientCertificate](~~465990~~)查询所有客户端与服务端证书的唯一识别码。', - 'type' => 'string', - 'required' => true, - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], + 'schema' => ['description' => '要吊销的客户端证书或服务端证书的唯一识别码。'."\n" + ."\n\n" + .'> 您可以调用[ListClientCertificate](~~465990~~)查询所有客户端与服务端证书的唯一识别码。', 'type' => 'string', 'required' => true, 'example' => '160ae6bb538d538c70c01f81dcf2****'], ], ], 'responses' => [ @@ -1850,18 +1192,12 @@ 'description' => 'SuccessResponse', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], @@ -1878,12 +1214,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateRevokeClientCertificate', - ], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRevokeClientCertificate'], ], ], 'ramActions' => [ @@ -1894,12 +1225,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -1907,14 +1233,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","type":"json"}]', ], 'CreateRootCACertificate' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1927,9 +1247,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83507', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -1937,112 +1255,66 @@ [ 'name' => 'CommonName', 'in' => 'query', - 'schema' => [ - 'description' => '组织机构的通用名称或简称。支持使用中文、英文字符等。', - 'type' => 'string', - 'required' => true, - 'example' => 'Alibaba', - ], + 'schema' => ['description' => '组织机构的通用名称或简称。支持使用中文、英文字符等。', 'type' => 'string', 'required' => true, 'example' => 'Alibaba'], ], [ 'name' => 'OrganizationUnit', 'in' => 'query', - 'schema' => [ - 'description' => '组织机构下部门或分支的名称。支持使用中文、英文字符等。', - 'type' => 'string', - 'required' => true, - 'example' => 'Security', - ], + 'schema' => ['description' => '组织机构下部门或分支的名称。支持使用中文、英文字符等。', 'type' => 'string', 'required' => true, 'example' => 'Security'], ], [ 'name' => 'Organization', 'in' => 'query', - 'schema' => [ - 'description' => '根CA证书关联的组织机构(对应您的企业或单位)的名称。支持使用中文、英文字符等。', - 'type' => 'string', - 'required' => true, - 'example' => 'Aliyun', - ], + 'schema' => ['description' => '根CA证书关联的组织机构(对应您的企业或单位)的名称。支持使用中文、英文字符等。', 'type' => 'string', 'required' => true, 'example' => 'Aliyun'], ], [ 'name' => 'Locality', 'in' => 'query', - 'schema' => [ - 'description' => '组织机构所在城市的名称。支持使用中文、英文字符等。', - 'type' => 'string', - 'required' => true, - 'example' => 'Hangzhou', - ], + 'schema' => ['description' => '组织机构所在城市的名称。支持使用中文、英文字符等。', 'type' => 'string', 'required' => true, 'example' => 'Hangzhou'], ], [ 'name' => 'State', 'in' => 'query', - 'schema' => [ - 'description' => '<props="china">组织机构所在省份、直辖市或自治区的名称。支持使用中文、英文字符等。</props>'."\n" - .'<props="intl">组织机构所在省份或州的名称。支持使用中文、英文字符等。</props>', - 'type' => 'string', - 'required' => true, - 'example' => 'Zhejiang', - ], + 'schema' => ['description' => '<props="china">组织机构所在省份、直辖市或自治区的名称。支持使用中文、英文字符等。</props>'."\n" + .'<props="intl">组织机构所在省份或州的名称。支持使用中文、英文字符等。</props>', 'type' => 'string', 'required' => true, 'example' => 'Zhejiang'], ], [ 'name' => 'CountryCode', 'in' => 'query', - 'schema' => [ - 'description' => '组织机构所在国家或地区的代码,使用两位大写英文字母缩写表示。例如,**CN**表示中国,**US**表示美国。'."\n" - ."\n" - .'关于不同国家的代码,请参见[管理公司信息](~~198289~~)中的**国际代号**章节。', - 'type' => 'string', - 'required' => false, - 'example' => 'CN', - ], + 'schema' => ['description' => '组织机构所在国家或地区的代码,使用两位大写英文字母缩写表示。例如,**CN**表示中国,**US**表示美国。'."\n" + ."\n" + .'关于不同国家的代码,请参见[管理公司信息](~~198289~~)中的**国际代号**章节。', 'type' => 'string', 'required' => false, 'example' => 'CN'], ], [ 'name' => 'Algorithm', 'in' => 'query', - 'schema' => [ - 'description' => '根CA证书的密钥算法类型。密钥算法使用`<加密算法>_<密钥长度>`格式表示。取值:'."\n" - ."\n" - .'- **RSA_1024**:对应签名算法为Sha256WithRSA。'."\n" - .'- **RSA_2048**:对应签名算法为Sha256WithRSA。'."\n" - .'- **RSA_4096**:对应签名算法为Sha256WithRSA。'."\n" - .'- **ECC_256**:对应签名算法为Sha256WithECDSA。'."\n" - .'- **ECC_384**:对应签名算法为Sha256WithECDSA。'."\n" - .'- **ECC_512**:对应签名算法为Sha256WithECDSA。'."\n" - .'- **SM2_256**:对应签名算法为SM3WithSM2。'."\n" - ."\n\n" - .'根CA证书的加密算法必须与您购买的私有根CA的**证书算法**一致。示例:如果您购买私有根CA时选择的**证书算法**为**RSA**,则根CA证书的密钥算法必须是**RSA\\_1024**、**RSA\\_2048**或**RSA\\_4096**。', - 'type' => 'string', - 'required' => false, - 'example' => 'RSA_2048', - ], + 'schema' => ['description' => '根CA证书的密钥算法类型。密钥算法使用`<加密算法>_<密钥长度>`格式表示。取值:'."\n" + ."\n" + .'- **RSA_1024**:对应签名算法为Sha256WithRSA。'."\n" + .'- **RSA_2048**:对应签名算法为Sha256WithRSA。'."\n" + .'- **RSA_4096**:对应签名算法为Sha256WithRSA。'."\n" + .'- **ECC_256**:对应签名算法为Sha256WithECDSA。'."\n" + .'- **ECC_384**:对应签名算法为Sha256WithECDSA。'."\n" + .'- **ECC_512**:对应签名算法为Sha256WithECDSA。'."\n" + .'- **SM2_256**:对应签名算法为SM3WithSM2。'."\n" + ."\n\n" + .'根CA证书的加密算法必须与您购买的私有根CA的**证书算法**一致。示例:如果您购买私有根CA时选择的**证书算法**为**RSA**,则根CA证书的密钥算法必须是**RSA\\_1024**、**RSA\\_2048**或**RSA\\_4096**。', 'type' => 'string', 'required' => false, 'example' => 'RSA_2048'], ], [ 'name' => 'Years', 'in' => 'query', - 'schema' => [ - 'description' => '根CA证书的有效期,单位:年。'."\n" - ."\n" - .'> 建议设置为5~10年。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '根CA证书的有效期,单位:年。'."\n" + ."\n" + .'> 建议设置为5~10年。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '客户端Token,用于保证请求的幂等性。'."\n" - ."\n" - .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" - ."\n" - .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**可能不一样。', - 'type' => 'string', - 'required' => false, - 'example' => '3838B684-3075-582B-9A45-8C99104029DF', - ], + 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**可能不一样。', 'type' => 'string', 'required' => false, 'example' => '3838B684-3075-582B-9A45-8C99104029DF'], ], [ 'name' => 'Tags', @@ -2055,18 +1327,8 @@ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'runtime', - ], - 'Value' => [ - 'description' => '标签值。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'runtime'], + 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => '1'], ], 'required' => false, ], @@ -2077,12 +1339,7 @@ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '资源分组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aek****wia', - ], + 'schema' => ['description' => '资源分组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-aek****wia'], ], ], 'responses' => [ @@ -2092,33 +1349,15 @@ 'description' => '对象。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '6D9B4C5F-7140-5B41-924C-329181DC00C1', - ], - 'Identifier' => [ - 'description' => '本次请求创建的根CA证书的唯一识别码。', - 'type' => 'string', - 'example' => '1a83bcbb89e562885e40aa0108f5****', - ], - 'Certificate' => [ - 'description' => '本次调用创建的PEM格式根证书。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----', - ], - 'CertificateChain' => [ - 'description' => '本次调用创建的根证书的CA证书链。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n', - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '6D9B4C5F-7140-5B41-924C-329181DC00C1'], + 'Identifier' => ['description' => '本次请求创建的根CA证书的唯一识别码。', 'type' => 'string', 'example' => '1a83bcbb89e562885e40aa0108f5****'], + 'Certificate' => ['description' => '本次调用创建的PEM格式根证书。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----'], + 'CertificateChain' => ['description' => '本次调用创建的根证书的CA证书链。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], @@ -2137,12 +1376,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateRootCACertificate', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRootCACertificate'], ], ], 'ramActions' => [ @@ -2153,12 +1387,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -2167,14 +1396,8 @@ ], 'CreateServerCertificate' => [ 'summary' => '基于系统自动生成的CSR签发单个服务端证书', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2187,9 +1410,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83508', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -2197,204 +1418,117 @@ [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '服务端证书的扩展域名、扩展IP地址。为证书添加扩展信息后,您可以将证书应用到多个域名、IP地址。'."\n" - ."\n" - .'多个域名、IP地址之间需用半角逗号(,)隔开。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '服务端证书的扩展域名、扩展IP地址。为证书添加扩展信息后,您可以将证书应用到多个域名、IP地址。'."\n" + ."\n" + .'多个域名、IP地址之间需用半角逗号(,)隔开。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ 'name' => 'Organization', 'in' => 'query', - 'schema' => [ - 'description' => '机构名称,默认:Alibaba Inc。', - 'type' => 'string', - 'required' => false, - 'example' => '阿里云', - ], + 'schema' => ['description' => '机构名称,默认:Alibaba Inc。', 'type' => 'string', 'required' => false, 'example' => '阿里云'], ], [ 'name' => 'OrganizationUnit', 'in' => 'query', - 'schema' => [ - 'description' => '部门名称,默认:Aliyun CDN。', - 'type' => 'string', - 'required' => false, - 'example' => 'IT', - ], + 'schema' => ['description' => '部门名称,默认:Aliyun CDN。', 'type' => 'string', 'required' => false, 'example' => 'IT'], ], [ 'name' => 'Country', 'in' => 'query', - 'schema' => [ - 'description' => '国家代码,如CN,US。', - 'type' => 'string', - 'required' => false, - 'example' => 'CN', - ], + 'schema' => ['description' => '国家代码,如CN,US。', 'type' => 'string', 'required' => false, 'example' => 'CN'], ], [ 'name' => 'CommonName', 'in' => 'query', - 'schema' => [ - 'description' => '表示证书使用者的名称。服务端认证(ServerAuth)证书使用者是服务器,建议填写服务器绑定的域名或IP。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.example.com', - ], + 'schema' => ['description' => '表示证书使用者的名称。服务端认证(ServerAuth)证书使用者是服务器,建议填写服务器绑定的域名或IP。', 'type' => 'string', 'required' => true, 'example' => 'www.example.com'], ], [ 'name' => 'State', 'in' => 'query', - 'schema' => [ - 'description' => '<props="china">设置证书组织机构所在省份、直辖市或自治区的名称。支持使用中文、英文字符等。默认为签发该证书的子CA证书组织机构所在省份、直辖市或自治区的名称。</props>'."\n" - .'<props="intl">设置证书组织机构所在省份或州的名称。支持使用中文、英文字符等。默认为签发该证书的子CA证书组织机构所在省份或州的名称。</props>'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Zhejiang', - ], + 'schema' => ['description' => '<props="china">设置证书组织机构所在省份、直辖市或自治区的名称。支持使用中文、英文字符等。默认为签发该证书的子CA证书组织机构所在省份、直辖市或自治区的名称。</props>'."\n" + .'<props="intl">设置证书组织机构所在省份或州的名称。支持使用中文、英文字符等。默认为签发该证书的子CA证书组织机构所在省份或州的名称。</props>'."\n", 'type' => 'string', 'required' => false, 'example' => 'Zhejiang'], ], [ 'name' => 'Locality', 'in' => 'query', - 'schema' => [ - 'description' => '设置证书组织机构所在城市的名称。支持使用中文、英文字符等。'."\n" - .'默认为签发该证书的子CA证书的组织机构所在城市的名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'Hangzhou', - ], + 'schema' => ['description' => '设置证书组织机构所在城市的名称。支持使用中文、英文字符等。'."\n" + .'默认为签发该证书的子CA证书的组织机构所在城市的名称。', 'type' => 'string', 'required' => false, 'example' => 'Hangzhou'], ], [ 'name' => 'Algorithm', 'in' => 'query', - 'schema' => [ - 'description' => '服务端证书的密钥算法。密钥算法使用`<加密算法>_<密钥长度>`格式表示。取值:'."\n" - ."\n" - .'- **RSA_1024**:对应签名算法为Sha256WithRSA。'."\n" - .'- **RSA_2048**:对应签名算法为Sha256WithRSA。'."\n" - .'- **RSA_4096**:对应签名算法为Sha256WithRSA。'."\n" - .'- **ECC_256**:对应签名算法为Sha256WithECDSA。'."\n" - .'- **ECC_384**:对应签名算法为Sha256WithECDSA。'."\n" - .'- **ECC_512**:对应签名算法为Sha256WithECDSA。'."\n" - .'- **SM2_256**:对应签名算法为SM3WithSM2。'."\n" - ."\n\n" - .'服务端证书的加密算法必须与子CA证书一致,密钥长度可以不一致。例如:子CA证书的密钥算法为RSA_2048,则服务端证书的密钥算法必须是RSA_1024、RSA_2048、RSA_4096中的一种。'."\n" - ."\n" - .'>您可以调用[DescribeCACertificate](~~465954~~)查询子CA证书的密钥算法。', - 'type' => 'string', - 'required' => true, - 'example' => 'RSA_2048', - ], + 'schema' => ['description' => '服务端证书的密钥算法。密钥算法使用`<加密算法>_<密钥长度>`格式表示。取值:'."\n" + ."\n" + .'- **RSA_1024**:对应签名算法为Sha256WithRSA。'."\n" + .'- **RSA_2048**:对应签名算法为Sha256WithRSA。'."\n" + .'- **RSA_4096**:对应签名算法为Sha256WithRSA。'."\n" + .'- **ECC_256**:对应签名算法为Sha256WithECDSA。'."\n" + .'- **ECC_384**:对应签名算法为Sha256WithECDSA。'."\n" + .'- **ECC_512**:对应签名算法为Sha256WithECDSA。'."\n" + .'- **SM2_256**:对应签名算法为SM3WithSM2。'."\n" + ."\n\n" + .'服务端证书的加密算法必须与子CA证书一致,密钥长度可以不一致。例如:子CA证书的密钥算法为RSA_2048,则服务端证书的密钥算法必须是RSA_1024、RSA_2048、RSA_4096中的一种。'."\n" + ."\n" + .'>您可以调用[DescribeCACertificate](~~465954~~)查询子CA证书的密钥算法。', 'type' => 'string', 'required' => true, 'example' => 'RSA_2048'], ], [ 'name' => 'ParentIdentifier', 'in' => 'query', - 'schema' => [ - 'description' => '签发该证书的子CA证书的唯一识别码。'."\n" - .'>您可以调用[DescribeCACertificateList](~~465957~~)查询子CA证书的唯一识别码。', - 'type' => 'string', - 'required' => true, - 'example' => '271ae6bb538d538c70c01f81dg3****', - ], + 'schema' => ['description' => '签发该证书的子CA证书的唯一识别码。'."\n" + .'>您可以调用[DescribeCACertificateList](~~465957~~)查询子CA证书的唯一识别码。', 'type' => 'string', 'required' => true, 'example' => '271ae6bb538d538c70c01f81dg3****'], ], [ 'name' => 'Years', 'in' => 'query', - 'schema' => [ - 'description' => '证书有效期。单位:年。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '证书有效期。单位:年。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'Months', 'in' => 'query', - 'schema' => [ - 'description' => '证书有效期。单位:月。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '12', - ], + 'schema' => ['description' => '证书有效期。单位:月。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12'], ], [ 'name' => 'Days', 'in' => 'query', - 'schema' => [ - 'description' => '服务端证书的有效期。单位:天。'."\n" - .'**Days**、**BeforeTime**、**AfterTime**参数不能同时为空,并且**BeforeTime**和**AfterTime**参数必须同时为空或者同时设置。该参数具体设置说明如下:'."\n" - ."\n" - .'- 当设置**Days**参数时,您可以选择同时设置**BeforeTime**、**AfterTime**参数或者不设置**BeforeTime**、**AfterTime**参数。'."\n" - ."\n\n" - .'- 当不设置**Days**参数时,您必须设置**BeforeTime**、**AfterTime**参数。'."\n" - ."\n" - .'>- 当您同时设置**Days**、**BeforeTime**、**AfterTime**参数时,服务端证书的有效期以**Days**参数的值为准。'."\n" - .'- 服务端证书的有效期不能超过子CA证书的有效期。您可以调用[DescribeCACertificate](~~465954~~)查看子CA证书的有效期。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '365', - ], + 'schema' => ['description' => '服务端证书的有效期。单位:天。'."\n" + .'**Days**、**BeforeTime**、**AfterTime**参数不能同时为空,并且**BeforeTime**和**AfterTime**参数必须同时为空或者同时设置。该参数具体设置说明如下:'."\n" + ."\n" + .'- 当设置**Days**参数时,您可以选择同时设置**BeforeTime**、**AfterTime**参数或者不设置**BeforeTime**、**AfterTime**参数。'."\n" + ."\n\n" + .'- 当不设置**Days**参数时,您必须设置**BeforeTime**、**AfterTime**参数。'."\n" + ."\n" + .'>- 当您同时设置**Days**、**BeforeTime**、**AfterTime**参数时,服务端证书的有效期以**Days**参数的值为准。'."\n" + .'- 服务端证书的有效期不能超过子CA证书的有效期。您可以调用[DescribeCACertificate](~~465954~~)查看子CA证书的有效期。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '365'], ], [ 'name' => 'BeforeTime', 'in' => 'query', - 'schema' => [ - 'description' => '服务端证书的签发时间,使用时间戳格式,默认为您调用该接口的时间。单位:秒。'."\n" - ."\n" - .'>**BeforeTime**和**AfterTime**参数必须同为空或者同时设置。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1634283958', - ], + 'schema' => ['description' => '服务端证书的签发时间,使用时间戳格式,默认为您调用该接口的时间。单位:秒。'."\n" + ."\n" + .'>**BeforeTime**和**AfterTime**参数必须同为空或者同时设置。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1634283958'], ], [ 'name' => 'AfterTime', 'in' => 'query', - 'schema' => [ - 'description' => '服务端证书的服务到期时间,使用时间戳格式。单位:秒。'."\n" - .'>**BeforeTime**和**AfterTime**参数必须同为空或者同时设置。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1665819958', - ], + 'schema' => ['description' => '服务端证书的服务到期时间,使用时间戳格式。单位:秒。'."\n" + .'>**BeforeTime**和**AfterTime**参数必须同为空或者同时设置。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1665819958'], ], [ 'name' => 'Immediately', 'in' => 'query', - 'schema' => [ - 'description' => '立即返回数字证书。'."\n" - .'- **0**,不返回。默认值。'."\n" - .'- **1**,返回证书。'."\n" - .'- **2**, 返回证书及其证书链 。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '立即返回数字证书。'."\n" + .'- **0**,不返回。默认值。'."\n" + .'- **1**,返回证书。'."\n" + .'- **2**, 返回证书及其证书链 。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'EnableCrl', 'in' => 'query', - 'schema' => [ - 'description' => '是否包含CRL地址'."\n" - ."\n" - .'0 - 否 '."\n" - ."\n" - .'1 - 是', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '是否包含CRL地址'."\n" + ."\n" + .'0 - 否 '."\n" + ."\n" + .'1 - 是', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'Tags', @@ -2407,18 +1541,8 @@ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'account', - ], - 'Value' => [ - 'description' => '标签值。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'account'], + 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'test'], ], 'required' => false, ], @@ -2429,22 +1553,12 @@ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '资源组ID。此ID可通过调用[ListResources](~~2716559~~)接口获取。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '资源组ID。此ID可通过调用[ListResources](~~2716559~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'CustomIdentifier', 'in' => 'query', - 'schema' => [ - 'description' => '用户自定义标识,唯一键。', - 'type' => 'string', - 'required' => false, - 'example' => '****6bb538d538c70c01f81dg3****', - ], + 'schema' => ['description' => '用户自定义标识,唯一键。', 'type' => 'string', 'required' => false, 'example' => '****6bb538d538c70c01f81dg3****'], ], ], 'responses' => [ @@ -2454,43 +1568,20 @@ 'description' => 'CreateCertificateResponse<CertificateIdentifierWithParentDTO>', 'type' => 'object', 'properties' => [ - 'X509Certificate' => [ - 'description' => '服务端证书的内容。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----', - ], - 'CertificateChain' => [ - 'description' => 'CA证书链。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n', - ], - 'Identifier' => [ - 'description' => '服务端证书的唯一识别码。', - 'type' => 'string', - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], - 'SerialNumber' => [ - 'description' => '证书序列号。', - 'type' => 'string', - 'example' => '084bde9cd233f0ddae33adc438cfbbbd****', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', - ], + 'X509Certificate' => ['description' => '服务端证书的内容。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----'], + 'CertificateChain' => ['description' => 'CA证书链。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n'], + 'Identifier' => ['description' => '服务端证书的唯一识别码。', 'type' => 'string', 'example' => '160ae6bb538d538c70c01f81dcf2****'], + 'SerialNumber' => ['description' => '证书序列号。', 'type' => 'string', 'example' => '084bde9cd233f0ddae33adc438cfbbbd****'], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"X509Certificate\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\",\\n \\"CertificateChain\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\\\\\\\n-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\\\\\\\n\\",\\n \\"Identifier\\": \\"160ae6bb538d538c70c01f81dcf2****\\",\\n \\"SerialNumber\\": \\"084bde9cd233f0ddae33adc438cfbbbd****\\",\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateServerCertificateResponse>\\n <Identifier>160ae6bb538d538c70c01f81dcf2****</Identifier>\\n <RootX509Certificate>-----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n </RootX509Certificate>\\n <ParentX509Certificate>-----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n </ParentX509Certificate>\\n <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\n <X509Certificate>-----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n </X509Certificate>\\n <CertificateChain>-----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n -----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n </CertificateChain>\\n</CreateServerCertificateResponse>","errorExample":""}]', 'title' => '基于系统自动生成的CSR签发单个服务端证书', 'description' => '调用本接口前,您必须已经调用[CreateRootCACertificate](~~465962~~)创建了根CA证书,并且调用[CreateSubCACertificate](~~465975~~)创建了子CA证书。只有子CA证书才能签发服务端证书。'."\n" .'## QPS限制'."\n" @@ -2501,12 +1592,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateServerCertificate', - ], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServerCertificate'], ], ], 'ramActions' => [ @@ -2517,27 +1603,17 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"X509Certificate\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\",\\n \\"CertificateChain\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\\\\\\\n-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\\\\\\\n\\",\\n \\"Identifier\\": \\"160ae6bb538d538c70c01f81dcf2****\\",\\n \\"SerialNumber\\": \\"084bde9cd233f0ddae33adc438cfbbbd****\\",\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateServerCertificateResponse>\\n <Identifier>160ae6bb538d538c70c01f81dcf2****</Identifier>\\n <RootX509Certificate>-----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n </RootX509Certificate>\\n <ParentX509Certificate>-----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n </ParentX509Certificate>\\n <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\n <X509Certificate>-----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n </X509Certificate>\\n <CertificateChain>-----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n -----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n </CertificateChain>\\n</CreateServerCertificateResponse>","errorExample":""}]', ], 'CreateServerCertificateWithCsr' => [ 'summary' => '基于自定义的CSR签发单个服务端证书', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2550,9 +1626,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83509', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -2560,217 +1634,125 @@ [ 'name' => 'Csr', 'in' => 'query', - 'schema' => [ - 'description' => 'CSR内容。'."\n" - .'您可以通过OpenSSL工具或者Keytool工具生成CSR。更多信息,请参见[如何制作CSR文件](~~42218~~)。'."\n" - .'<props="china">您也可以通过SSL证书控制台创建CSR。更多信息,请参见[创建CSR](~~313297~~)。</props>'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '-----BEGIN CERTIFICATE REQUEST----- ...... -----END CERTIFICATE REQUEST-----', - ], + 'schema' => ['description' => 'CSR内容。'."\n" + .'您可以通过OpenSSL工具或者Keytool工具生成CSR。更多信息,请参见[如何制作CSR文件](~~42218~~)。'."\n" + .'<props="china">您也可以通过SSL证书控制台创建CSR。更多信息,请参见[创建CSR](~~313297~~)。</props>'."\n", 'type' => 'string', 'required' => true, 'example' => '-----BEGIN CERTIFICATE REQUEST----- ...... -----END CERTIFICATE REQUEST-----'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '服务端证书的扩展域名或者扩展IP地址。为证书添加扩展信息后,您可以将证书应用到多个域名或者IP地址。'."\n" - ."\n" - .'支持同时输入多个域名和IP地址。如果您需要输入多个扩展信息,请用半角逗号(,)将其隔开。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '服务端证书的扩展域名或者扩展IP地址。为证书添加扩展信息后,您可以将证书应用到多个域名或者IP地址。'."\n" + ."\n" + .'支持同时输入多个域名和IP地址。如果您需要输入多个扩展信息,请用半角逗号(,)将其隔开。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ 'name' => 'Organization', 'in' => 'query', - 'schema' => [ - 'description' => '机构名称,默认:Alibaba Inc。', - 'type' => 'string', - 'required' => false, - 'example' => '阿里云', - ], + 'schema' => ['description' => '机构名称,默认:Alibaba Inc。', 'type' => 'string', 'required' => false, 'example' => '阿里云'], ], [ 'name' => 'OrganizationUnit', 'in' => 'query', - 'schema' => [ - 'description' => '部门名称,默认:Aliyun CDN。', - 'type' => 'string', - 'required' => false, - 'example' => 'IT', - ], + 'schema' => ['description' => '部门名称,默认:Aliyun CDN。', 'type' => 'string', 'required' => false, 'example' => 'IT'], ], [ 'name' => 'Country', 'in' => 'query', - 'schema' => [ - 'description' => '国家代码,例如**CN**。', - 'type' => 'string', - 'required' => false, - 'example' => 'CN', - ], + 'schema' => ['description' => '国家代码,例如**CN**。', 'type' => 'string', 'required' => false, 'example' => 'CN'], ], [ 'name' => 'CommonName', 'in' => 'query', - 'schema' => [ - 'description' => '设置证书的公用名。支持使用中文、英文字符等。'."\n" - .'>如果您设置了**Csr**参数,则**CommonName**参数取值以**Csr**参数中的对应信息为准。', - 'type' => 'string', - 'required' => false, - 'example' => 'mtcsq.com', - ], + 'schema' => ['description' => '设置证书的公用名。支持使用中文、英文字符等。'."\n" + .'>如果您设置了**Csr**参数,则**CommonName**参数取值以**Csr**参数中的对应信息为准。', 'type' => 'string', 'required' => false, 'example' => 'mtcsq.com'], ], [ 'name' => 'State', 'in' => 'query', - 'schema' => [ - 'description' => '<props="china">设置证书组织机构所在省份、直辖市或自治区的名称。支持使用中文、英文字符等。默认为签发该证书的子CA证书组织机构所在省份、直辖市或自治区的名称。</props>'."\n" - .'<props="intl">设置证书组织机构所在省份或州的名称。支持使用中文、英文字符等。默认为签发该证书的子CA证书组织机构所在省份或州的名称。</props>'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Zhejiang', - ], + 'schema' => ['description' => '<props="china">设置证书组织机构所在省份、直辖市或自治区的名称。支持使用中文、英文字符等。默认为签发该证书的子CA证书组织机构所在省份、直辖市或自治区的名称。</props>'."\n" + .'<props="intl">设置证书组织机构所在省份或州的名称。支持使用中文、英文字符等。默认为签发该证书的子CA证书组织机构所在省份或州的名称。</props>'."\n", 'type' => 'string', 'required' => false, 'example' => 'Zhejiang'], ], [ 'name' => 'Locality', 'in' => 'query', - 'schema' => [ - 'description' => '设置证书组织机构所在城市的名称。支持使用中文、英文字符等。'."\n" - .'默认为签发该证书的子CA证书的组织机构所在城市的名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'Hangzhou', - ], + 'schema' => ['description' => '设置证书组织机构所在城市的名称。支持使用中文、英文字符等。'."\n" + .'默认为签发该证书的子CA证书的组织机构所在城市的名称。', 'type' => 'string', 'required' => false, 'example' => 'Hangzhou'], ], [ 'name' => 'Algorithm', 'in' => 'query', - 'schema' => [ - 'description' => '服务端证书的密钥算法。密钥算法使用`<加密算法>_<密钥长度>`格式表示。取值:'."\n" - ."\n" - .'- **RSA_1024**:对应签名算法为Sha256WithRSA。'."\n" - .'- **RSA_2048**:对应签名算法为Sha256WithRSA。'."\n" - .'- **RSA_4096**:对应签名算法为Sha256WithRSA。'."\n" - .'- **ECC_256**:对应签名算法为Sha256WithECDSA。'."\n" - .'- **ECC_384**:对应签名算法为Sha256WithECDSA。'."\n" - .'- **ECC_512**:对应签名算法为Sha256WithECDSA。'."\n" - .'- **SM2_256**:对应签名算法为SM3WithSM2。'."\n" - ."\n\n" - .'服务端证书的加密算法必须与子CA证书一致,密钥长度可以不一致。例如:子CA证书的密钥算法为RSA_2048,则服务端证书的密钥算法必须是RSA_1024、RSA_2048、RSA_4096中的一种。'."\n" - ."\n" - .'>您可以调用[DescribeCACertificate](~~465954~~)查询子CA证书的密钥算法。', - 'type' => 'string', - 'required' => false, - 'example' => 'RSA_2048', - ], + 'schema' => ['description' => '服务端证书的密钥算法。密钥算法使用`<加密算法>_<密钥长度>`格式表示。取值:'."\n" + ."\n" + .'- **RSA_1024**:对应签名算法为Sha256WithRSA。'."\n" + .'- **RSA_2048**:对应签名算法为Sha256WithRSA。'."\n" + .'- **RSA_4096**:对应签名算法为Sha256WithRSA。'."\n" + .'- **ECC_256**:对应签名算法为Sha256WithECDSA。'."\n" + .'- **ECC_384**:对应签名算法为Sha256WithECDSA。'."\n" + .'- **ECC_512**:对应签名算法为Sha256WithECDSA。'."\n" + .'- **SM2_256**:对应签名算法为SM3WithSM2。'."\n" + ."\n\n" + .'服务端证书的加密算法必须与子CA证书一致,密钥长度可以不一致。例如:子CA证书的密钥算法为RSA_2048,则服务端证书的密钥算法必须是RSA_1024、RSA_2048、RSA_4096中的一种。'."\n" + ."\n" + .'>您可以调用[DescribeCACertificate](~~465954~~)查询子CA证书的密钥算法。', 'type' => 'string', 'required' => false, 'example' => 'RSA_2048'], ], [ 'name' => 'ParentIdentifier', 'in' => 'query', - 'schema' => [ - 'description' => '签发该证书的子CA证书的唯一识别码。'."\n" - .'>您可以调用[DescribeCACertificateList](~~465957~~)查询子CA证书的唯一识别码。', - 'type' => 'string', - 'required' => true, - 'example' => '270oe6bb538d538c70c01f81hfd3****', - ], + 'schema' => ['description' => '签发该证书的子CA证书的唯一识别码。'."\n" + .'>您可以调用[DescribeCACertificateList](~~465957~~)查询子CA证书的唯一识别码。', 'type' => 'string', 'required' => true, 'example' => '270oe6bb538d538c70c01f81hfd3****'], ], [ 'name' => 'Years', 'in' => 'query', - 'schema' => [ - 'description' => '证书有效期。单位:年。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '证书有效期。单位:年。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'Months', 'in' => 'query', - 'schema' => [ - 'description' => '证书有效期。单位:月。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '12', - ], + 'schema' => ['description' => '证书有效期。单位:月。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12'], ], [ 'name' => 'Days', 'in' => 'query', - 'schema' => [ - 'description' => '服务端证书的有效期。单位:天。'."\n" - .'**Days**、**BeforeTime**、**AfterTime**参数不能同时为空,并且**BeforeTime**、**AfterTime**参数必须同时为空或者同时设置。该参数具体设置说明如下:'."\n" - ."\n" - .'- 当设置**Days**参数时,您可以选择同时设置**BeforeTime**、**AfterTime**参数或者不设置**BeforeTime**、**AfterTime**参数。'."\n" - ."\n\n" - .'- 当不设置**Days**参数时,您必须设置**BeforeTime**、**AfterTime**参数。'."\n" - ."\n" - .'>- 当您同时设置**Days**、**BeforeTime**、**AfterTime**参数时,服务端证书的有效期以**Days**参数的值为准。'."\n" - .'- 服务端证书的有效期不能超过子CA证书的有效期。您可以调用[DescribeCACertificate](~~465954~~)查看子CA证书的有效期。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '365', - ], + 'schema' => ['description' => '服务端证书的有效期。单位:天。'."\n" + .'**Days**、**BeforeTime**、**AfterTime**参数不能同时为空,并且**BeforeTime**、**AfterTime**参数必须同时为空或者同时设置。该参数具体设置说明如下:'."\n" + ."\n" + .'- 当设置**Days**参数时,您可以选择同时设置**BeforeTime**、**AfterTime**参数或者不设置**BeforeTime**、**AfterTime**参数。'."\n" + ."\n\n" + .'- 当不设置**Days**参数时,您必须设置**BeforeTime**、**AfterTime**参数。'."\n" + ."\n" + .'>- 当您同时设置**Days**、**BeforeTime**、**AfterTime**参数时,服务端证书的有效期以**Days**参数的值为准。'."\n" + .'- 服务端证书的有效期不能超过子CA证书的有效期。您可以调用[DescribeCACertificate](~~465954~~)查看子CA证书的有效期。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '365'], ], [ 'name' => 'BeforeTime', 'in' => 'query', - 'schema' => [ - 'description' => '服务端证书的签发时间,使用时间戳格式,默认为您调用该接口的时间。单位:秒。'."\n" - ."\n" - .'>**BeforeTime**和**AfterTime**参数必须同时为空或者同时配置。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1634283958', - ], + 'schema' => ['description' => '服务端证书的签发时间,使用时间戳格式,默认为您调用该接口的时间。单位:秒。'."\n" + ."\n" + .'>**BeforeTime**和**AfterTime**参数必须同时为空或者同时配置。'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1634283958'], ], [ 'name' => 'AfterTime', 'in' => 'query', - 'schema' => [ - 'description' => '服务端证书的服务到期时间,使用时间戳格式。单位:秒。'."\n" - .'>**BeforeTime**和**AfterTime**参数必须同时为空或者同时配置。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1665819958', - ], + 'schema' => ['description' => '服务端证书的服务到期时间,使用时间戳格式。单位:秒。'."\n" + .'>**BeforeTime**和**AfterTime**参数必须同时为空或者同时配置。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1665819958'], ], [ 'name' => 'Immediately', 'in' => 'query', - 'schema' => [ - 'description' => '立即返回数字证书。'."\n" - .'- **0** , 不返回。默认值。'."\n" - .'- **1**,返回证书。'."\n" - .'- **2**, 返回证书及其证书链 。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '立即返回数字证书。'."\n" + .'- **0** , 不返回。默认值。'."\n" + .'- **1**,返回证书。'."\n" + .'- **2**, 返回证书及其证书链 。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'EnableCrl', 'in' => 'query', - 'schema' => [ - 'description' => '是否包含CRL地址'."\n" - ."\n" - .'0 - 否 '."\n" - ."\n" - .'1 - 是', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '是否包含CRL地址'."\n" + ."\n" + .'0 - 否 '."\n" + ."\n" + .'1 - 是', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'Tags', @@ -2783,18 +1765,8 @@ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'account', - ], - 'Value' => [ - 'description' => '标签的值(value)。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'account'], + 'Value' => ['description' => '标签的值(value)。', 'type' => 'string', 'required' => false, 'example' => 'test'], ], 'required' => false, ], @@ -2805,22 +1777,12 @@ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '资源分组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aek****wia', - ], + 'schema' => ['description' => '资源分组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-aek****wia'], ], [ 'name' => 'CustomIdentifier', 'in' => 'query', - 'schema' => [ - 'description' => '用户自定义标识,唯一键。', - 'type' => 'string', - 'required' => false, - 'example' => '***e6bb538d538c70c01f81hfd3****', - ], + 'schema' => ['description' => '用户自定义标识,唯一键。', 'type' => 'string', 'required' => false, 'example' => '***e6bb538d538c70c01f81hfd3****'], ], ], 'responses' => [ @@ -2830,43 +1792,20 @@ 'description' => 'CreateCertificateResponse<CertificateIdentifierWithParentDTO>', 'type' => 'object', 'properties' => [ - 'X509Certificate' => [ - 'description' => '服务端证书的内容。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----', - ], - 'CertificateChain' => [ - 'description' => 'CA证书链。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n', - ], - 'Identifier' => [ - 'description' => '服务端证书的唯一识别码。', - 'type' => 'string', - 'example' => '180ae6bb538d538c70c01f81dcf2****', - ], - 'SerialNumber' => [ - 'description' => '证书序列号。', - 'type' => 'string', - 'example' => '084bde9cd233f0ddae33adc438cfbbbd****', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '55C66C7B-671A-4297-9187-2C4477247A74', - ], + 'X509Certificate' => ['description' => '服务端证书的内容。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----'], + 'CertificateChain' => ['description' => 'CA证书链。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n'], + 'Identifier' => ['description' => '服务端证书的唯一识别码。', 'type' => 'string', 'example' => '180ae6bb538d538c70c01f81dcf2****'], + 'SerialNumber' => ['description' => '证书序列号。', 'type' => 'string', 'example' => '084bde9cd233f0ddae33adc438cfbbbd****'], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '55C66C7B-671A-4297-9187-2C4477247A74'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"X509Certificate\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\",\\n \\"CertificateChain\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\\\\\\\n-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\\\\\\\n\\",\\n \\"Identifier\\": \\"180ae6bb538d538c70c01f81dcf2****\\",\\n \\"SerialNumber\\": \\"084bde9cd233f0ddae33adc438cfbbbd****\\",\\n \\"RequestId\\": \\"55C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateServerCertificateWithCsrResponse>\\n <Identifier>180ae6bb538d538c70c01f81dcf2****</Identifier>\\n <RootX509Certificate>-----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n </RootX509Certificate>\\n <ParentX509Certificate>-----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n </ParentX509Certificate>\\n <RequestId>55C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\n <X509Certificate>-----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n </X509Certificate>\\n <CertificateChain>-----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n -----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n </CertificateChain>\\n</CreateServerCertificateWithCsrResponse>","errorExample":""}]', 'title' => '基于自定义的CSR签发单个服务端证书', 'description' => '调用本接口前,您必须已经调用[CreateRootCACertificate](~~465962~~)创建了根CA证书,并且调用[CreateSubCACertificate](~~465959~~)创建了子CA证书。只有子CA证书才能签发服务端证书。'."\n" .'## QPS限制'."\n" @@ -2877,12 +1816,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateServerCertificateWithCsr', - ], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServerCertificateWithCsr'], ], ], 'ramActions' => [ @@ -2893,26 +1827,16 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"X509Certificate\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\",\\n \\"CertificateChain\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\\\\\\\n-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\\\\\\\n\\",\\n \\"Identifier\\": \\"180ae6bb538d538c70c01f81dcf2****\\",\\n \\"SerialNumber\\": \\"084bde9cd233f0ddae33adc438cfbbbd****\\",\\n \\"RequestId\\": \\"55C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateServerCertificateWithCsrResponse>\\n <Identifier>180ae6bb538d538c70c01f81dcf2****</Identifier>\\n <RootX509Certificate>-----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n </RootX509Certificate>\\n <ParentX509Certificate>-----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n </ParentX509Certificate>\\n <RequestId>55C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\n <X509Certificate>-----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n </X509Certificate>\\n <CertificateChain>-----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n -----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n </CertificateChain>\\n</CreateServerCertificateWithCsrResponse>","errorExample":""}]', ], 'CreateSubCACertificate' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2925,9 +1849,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83510', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -2935,111 +1857,65 @@ [ 'name' => 'ParentIdentifier', 'in' => 'query', - 'schema' => [ - 'description' => '根CA证书的唯一识别码。'."\n" - ."\n\n" - .'> 您可以调用[DescribeCACertificateList](~~465957~~)查询所有CA证书的唯一识别码。', - 'type' => 'string', - 'required' => false, - 'example' => '1a83bcbb89e562885e40aa0108f5****', - ], + 'schema' => ['description' => '根CA证书的唯一识别码。'."\n" + ."\n\n" + .'> 您可以调用[DescribeCACertificateList](~~465957~~)查询所有CA证书的唯一识别码。', 'type' => 'string', 'required' => false, 'example' => '1a83bcbb89e562885e40aa0108f5****'], ], [ 'name' => 'CommonName', 'in' => 'query', - 'schema' => [ - 'description' => '组织机构的通用名称或简称。支持使用中文、英文字符等。', - 'type' => 'string', - 'required' => true, - 'example' => 'Aliyun', - ], + 'schema' => ['description' => '组织机构的通用名称或简称。支持使用中文、英文字符等。', 'type' => 'string', 'required' => true, 'example' => 'Aliyun'], ], [ 'name' => 'OrganizationUnit', 'in' => 'query', - 'schema' => [ - 'description' => '组织机构下部门或分支的名称。支持使用中文、英文字符等。', - 'type' => 'string', - 'required' => true, - 'example' => 'Security', - ], + 'schema' => ['description' => '组织机构下部门或分支的名称。支持使用中文、英文字符等。', 'type' => 'string', 'required' => true, 'example' => 'Security'], ], [ 'name' => 'Organization', 'in' => 'query', - 'schema' => [ - 'description' => '子CA证书关联的组织机构(对应您的企业或单位)的名称。支持使用中文、英文字符等。', - 'type' => 'string', - 'required' => true, - 'example' => 'Alibaba', - ], + 'schema' => ['description' => '子CA证书关联的组织机构(对应您的企业或单位)的名称。支持使用中文、英文字符等。', 'type' => 'string', 'required' => true, 'example' => 'Alibaba'], ], [ 'name' => 'Locality', 'in' => 'query', - 'schema' => [ - 'description' => '组织机构所在城市的名称。支持使用中文、英文字符等。', - 'type' => 'string', - 'required' => true, - 'example' => 'Hangzhou', - ], + 'schema' => ['description' => '组织机构所在城市的名称。支持使用中文、英文字符等。', 'type' => 'string', 'required' => true, 'example' => 'Hangzhou'], ], [ 'name' => 'State', 'in' => 'query', - 'schema' => [ - 'description' => '<props="china">组织机构所在省份、直辖市或自治区的名称。支持使用中文、英文字符等。</props>'."\n" - .'<props="intl">组织机构所在省份或州的名称。支持使用中文、英文字符等。</props>', - 'type' => 'string', - 'required' => true, - 'example' => 'Zhejiang', - ], + 'schema' => ['description' => '<props="china">组织机构所在省份、直辖市或自治区的名称。支持使用中文、英文字符等。</props>'."\n" + .'<props="intl">组织机构所在省份或州的名称。支持使用中文、英文字符等。</props>', 'type' => 'string', 'required' => true, 'example' => 'Zhejiang'], ], [ 'name' => 'CountryCode', 'in' => 'query', - 'schema' => [ - 'description' => '组织机构所在国家或地区的代码,使用两位或三位大写英文字母缩写表示。例如,**CN**表示中国,**US**表示美国。'."\n" - ."\n" - .'关于不同国家的代码,请参见[管理公司信息](~~198289~~)中的**国际代号**章节。', - 'type' => 'string', - 'required' => false, - 'example' => 'CN', - ], + 'schema' => ['description' => '组织机构所在国家或地区的代码,使用两位或三位大写英文字母缩写表示。例如,**CN**表示中国,**US**表示美国。'."\n" + ."\n" + .'关于不同国家的代码,请参见[管理公司信息](~~198289~~)中的**国际代号**章节。', 'type' => 'string', 'required' => false, 'example' => 'CN'], ], [ 'name' => 'Algorithm', 'in' => 'query', - 'schema' => [ - 'description' => '子CA证书的密钥算法类型。密钥算法使用`<加密算法>_<密钥长度>`格式表示。取值:'."\n" - .'- **RSA_1024**:对应签名算法为Sha256WithRSA。'."\n" - .'- **RSA_2048**:对应签名算法为Sha256WithRSA。'."\n" - .'- **RSA_4096**:对应签名算法为Sha256WithRSA。'."\n" - .'- **ECC_256**:对应签名算法为Sha256WithECDSA。'."\n" - .'- **SM2_256**:对应签名算法为SM3WithSM2。'."\n" - ."\n\n" - .'子CA证书的加密算法必须与根CA证书一致,密钥长度可以不一致。示例:根CA证书的密钥算法为**RSA\\_2048**,则子CA证书的密钥算法必须是**RSA\\_1024**、**RSA\\_2048**、**RSA\\_4096**。'."\n" - ."\n" - .'> 您可以调用[DescribeCACertificate](~~465954~~)查询根CA证书的密钥算法。', - 'type' => 'string', - 'required' => true, - 'example' => 'RSA_2048', - ], + 'schema' => ['description' => '子CA证书的密钥算法类型。密钥算法使用`<加密算法>_<密钥长度>`格式表示。取值:'."\n" + .'- **RSA_1024**:对应签名算法为Sha256WithRSA。'."\n" + .'- **RSA_2048**:对应签名算法为Sha256WithRSA。'."\n" + .'- **RSA_4096**:对应签名算法为Sha256WithRSA。'."\n" + .'- **ECC_256**:对应签名算法为Sha256WithECDSA。'."\n" + .'- **SM2_256**:对应签名算法为SM3WithSM2。'."\n" + ."\n\n" + .'子CA证书的加密算法必须与根CA证书一致,密钥长度可以不一致。示例:根CA证书的密钥算法为**RSA\\_2048**,则子CA证书的密钥算法必须是**RSA\\_1024**、**RSA\\_2048**、**RSA\\_4096**。'."\n" + ."\n" + .'> 您可以调用[DescribeCACertificate](~~465954~~)查询根CA证书的密钥算法。', 'type' => 'string', 'required' => true, 'example' => 'RSA_2048'], ], [ 'name' => 'Years', 'in' => 'query', - 'schema' => [ - 'description' => '子CA证书的有效期,单位:年。'."\n" - ."\n" - .'建议设置为5~10年。'."\n" - ."\n\n" - .'> 子CA证书的有效期不能超过根CA证书的有效期。您可以调用[DescribeCACertificate](~~465954~~)查询根CA证书的有效期。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '5', - ], + 'schema' => ['description' => '子CA证书的有效期,单位:年。'."\n" + ."\n" + .'建议设置为5~10年。'."\n" + ."\n\n" + .'> 子CA证书的有效期不能超过根CA证书的有效期。您可以调用[DescribeCACertificate](~~465954~~)查询根CA证书的有效期。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '5'], ], [ 'name' => 'PathLenConstraint', @@ -3073,15 +1949,7 @@ .'- 其他扩展密钥用法OID', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'codeSigning' => '代码签名', - 'emailProtection' => '邮件保护', - 'serverAuth' => '服务器认证', - 'timeStamping' => '签发时间戳', - 'any' => '任意', - 'clientAuth' => '客户端认证', - 'OCSPSigning' => 'OCSP签名', - ], + 'enumValueTitles' => ['codeSigning' => '代码签名', 'emailProtection' => '邮件保护', 'serverAuth' => '服务器认证', 'timeStamping' => '签发时间戳', 'any' => '任意', 'clientAuth' => '客户端认证', 'OCSPSigning' => 'OCSP签名'], 'example' => 'serverAuth', ], 'required' => false, @@ -3098,23 +1966,14 @@ .'- true - 是', 'type' => 'boolean', 'required' => false, - 'enumValueTitles' => [ - 'true' => 'true', - 'false' => 'false', - ], + 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], 'example' => 'true', ], ], [ 'name' => 'CrlDay', 'in' => 'query', - 'schema' => [ - 'description' => 'CRL有效期 1-365天', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - ], + 'schema' => ['description' => 'CRL有效期 1-365天', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30'], ], [ 'name' => 'Tags', @@ -3127,18 +1986,8 @@ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'testKey', - ], - 'Value' => [ - 'description' => '标签值。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'testKey'], + 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'test'], ], 'required' => false, ], @@ -3149,22 +1998,17 @@ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '资源分组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-ae****vty', - ], + 'schema' => ['description' => '资源分组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-ae****vty'], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => '用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符,且该参数值中不能包含非ASCII字符。', - 'type' => 'string', - 'required' => false, - 'example' => 'XXX', - ], + 'schema' => ['description' => '用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符,且该参数值中不能包含非ASCII字符。', 'type' => 'string', 'required' => false, 'example' => 'XXX'], + ], + [ + 'name' => 'CertMaxTime', + 'in' => 'query', + 'schema' => ['description' => '签发证书的最长时间由CA的certMaxTime指定。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30'], ], ], 'responses' => [ @@ -3174,33 +2018,15 @@ 'description' => '对象。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', - ], - 'Identifier' => [ - 'description' => '本次请求创建的子CA证书的唯一识别码。', - 'type' => 'string', - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], - 'Certificate' => [ - 'description' => '本次调用创建的PEM格式证书。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----', - ], - 'CertificateChain' => [ - 'description' => '本次调用创建的证书的CA证书链。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n', - ], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], + 'Identifier' => ['description' => '本次请求创建的子CA证书的唯一识别码。', 'type' => 'string', 'example' => '160ae6bb538d538c70c01f81dcf2****'], + 'Certificate' => ['description' => '本次调用创建的PEM格式证书。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----'], + 'CertificateChain' => ['description' => '本次调用创建的证书的CA证书链。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n-----BEGIN CERTIFICATE-----\\n......\\n-----END CERTIFICATE-----\\n'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], @@ -3223,12 +2049,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateSubCACertificate', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSubCACertificate'], ], ], 'ramActions' => [ @@ -3239,12 +2060,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -3252,15 +2068,8 @@ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\",\\n \\"Identifier\\": \\"160ae6bb538d538c70c01f81dcf2****\\",\\n \\"Certificate\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\",\\n \\"CertificateChain\\": \\"-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\\\\\\\n-----BEGIN CERTIFICATE-----\\\\\\\\n......\\\\\\\\n-----END CERTIFICATE-----\\\\\\\\n\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateSubCACertificateResponse>\\n <Identifier>160ae6bb538d538c70c01f81dcf2****</Identifier>\\n <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\n <Certificate>-----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n </Certificate>\\n <CertificateChain>-----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n -----BEGIN CERTIFICATE-----\\n ......\\n -----END CERTIFICATE-----\\n </CertificateChain>\\n</CreateSubCACertificateResponse>","errorExample":""}]', ], 'DeleteClientCertificate' => [ - 'summary' => '删除已吊销的客户端证书或服务端证书。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3273,9 +2082,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83511', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -3283,15 +2090,10 @@ [ 'name' => 'Identifier', 'in' => 'query', - 'schema' => [ - 'description' => '要删除的客户端证书或服务端证书的唯一识别码。证书的当前状态必须是**REVOKE**。'."\n" - ."\n\n" - ."\n" - .'> 您可以调用[ListClientCertificate](~~465990~~)查询所有客户端证书和服务端证书的唯一识别码和当前状态。', - 'type' => 'string', - 'required' => true, - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], + 'schema' => ['description' => '要删除的客户端证书或服务端证书的唯一识别码。证书的当前状态必须是**REVOKE**。'."\n" + ."\n\n" + ."\n" + .'> 您可以调用[ListClientCertificate](~~465990~~)查询所有客户端证书和服务端证书的唯一识别码和当前状态。', 'type' => 'string', 'required' => true, 'example' => '160ae6bb538d538c70c01f81dcf2****'], ], ], 'responses' => [ @@ -3301,23 +2103,18 @@ 'description' => 'SuccessResponse', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '删除证书', + 'summary' => '删除已吊销的客户端证书或服务端证书。', 'description' => '调用本接口前,您必须先调用[CreateRevokeClientCertificate](~~465972~~)吊销客户端证书或服务端证书。'."\n" ."\n" .'## QPS限制'."\n" @@ -3328,12 +2125,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DeleteClientCertificate', - ], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteClientCertificate'], ], ], 'ramActions' => [ @@ -3344,12 +2136,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -3357,14 +2144,9 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","type":"json"}]', ], 'DescribeCACertificate' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询CA详情。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3377,23 +2159,15 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83512', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - 'FEATUREcasFBEHXR', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ', 'FEATUREcasFBEHXR'], ], 'parameters' => [ [ 'name' => 'Identifier', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的CA证书的唯一识别码。'."\n" - ."\n" - .'> 您可以调用[DescribeCACertificateList](~~465957~~)查询所有CA证书的唯一识别码。', - 'type' => 'string', - 'required' => false, - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], + 'schema' => ['description' => '要查询的CA证书的唯一识别码。'."\n" + ."\n" + .'> 您可以调用[DescribeCACertificateList](~~465957~~)查询所有CA证书的唯一识别码。', 'type' => 'string', 'required' => false, 'example' => '160ae6bb538d538c70c01f81dcf2****'], ], ], 'responses' => [ @@ -3407,219 +2181,74 @@ 'description' => 'CA证书的详细信息。', 'type' => 'object', 'properties' => [ - 'CertificateType' => [ - 'description' => 'CA证书的类型。取值:'."\n" - ."\n" - .'- **ROOT**:表示根CA证书。'."\n" - .'- **SUB_ROOT**:表示子CA证书。', - 'type' => 'string', - 'example' => 'SUB_ROOT', - ], - 'X509Certificate' => [ - 'description' => 'CA证书的内容。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE----- …… -----END CERTIFICATE-----', - ], - 'Identifier' => [ - 'description' => 'CA证书的唯一识别码。', - 'type' => 'string', - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], - 'SerialNumber' => [ - 'description' => 'CA证书的序列号。', - 'type' => 'string', - 'example' => '70e3b2566d92805173767869727fb92e****', - ], - 'SubjectDN' => [ - 'description' => 'CA证书的使用者属性,包含以下信息:'."\n" - ."\n" - .'- **C**:组织机构所在国家代码。'."\n" - .'- **O**:组织机构的名称。'."\n" - .'- **OU**:组织机构下的部门。'."\n" - .'- **L**:组织机构所在城市。'."\n" - .'<props="china">- **ST**:组织机构所在省份、直辖市或自治区。</props>'."\n" - .'<props="intl">- **ST**:组织机构所在省份或州。</props>'."\n" - .'- **CN**:组织机构的通用名称或简称。'."\n", - 'type' => 'string', - 'example' => 'C=CN,O=aliyun,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun', - ], - 'CommonName' => [ - 'description' => 'CA证书关联的组织机构的通用名称或简称。', - 'type' => 'string', - 'example' => 'Aliyun', - ], - 'OrganizationUnit' => [ - 'description' => 'CA证书关联的组织机构下部门的名称。', - 'type' => 'string', - 'example' => 'Security', - ], - 'Organization' => [ - 'description' => 'CA证书关联的组织机构的名称。', - 'type' => 'string', - 'example' => 'aliyun', - ], - 'Locality' => [ - 'description' => 'CA证书关联的组织机构所在城市的名称。', - 'type' => 'string', - 'example' => 'Hangzhou', - ], - 'State' => [ - 'description' => '<props="china">CA证书关联的组织机构所在省份、直辖市或自治区的名称。</props>'."\n" - .'<props="intl">CA证书关联的组织机构所在省份或州的名称。</props>'."\n", - 'type' => 'string', - 'example' => 'Zhejiang', - ], - 'CountryCode' => [ - 'description' => 'CA证书关联的组织机构所在国家的代码。'."\n" - ."\n" - .'关于不同国家代码的含义,请参见[管理公司信息](~~198289~~)中的**国际代号**章节。', - 'type' => 'string', - 'example' => 'CN', - ], - 'Sans' => [ - 'description' => '该参数已废弃。', - 'type' => 'string', - 'example' => '1', - ], - 'Status' => [ - 'description' => 'CA证书的状态。取值:'."\n" - ."\n" - .'- **ISSUE**:表示正常签发。'."\n" - .'- **REVOKE**:表示已被吊销。'."\n", - 'type' => 'string', - 'example' => 'ISSUE', - ], - 'Algorithm' => [ - 'description' => 'CA证书的加密算法类型。取值:'."\n" - ."\n" - .'- **RSA**:表示RSA算法。'."\n" - .'- **ECC**:表示ECC算法。'."\n" - .'- **SM2**:表示SM2(国密)算法。', - 'type' => 'string', - 'example' => 'RSA', - ], - 'KeySize' => [ - 'description' => 'CA证书的密钥长度。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2048', - ], - 'SignAlgorithm' => [ - 'description' => 'CA证书的签名算法。', - 'type' => 'string', - 'example' => 'SHA256WITHRSA', - ], - 'BeforeDate' => [ - 'description' => 'CA证书的签发日期。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1634283958000', - ], - 'AfterDate' => [ - 'description' => 'CA证书的到期日期。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1665819958000', - ], - 'ParentIdentifier' => [ - 'description' => '签发该CA证书的根CA证书的唯一识别码。'."\n" - ."\n" - .'> 只有当**CertificateType**为**SUB_ROOT**(表示子CA证书)时,才会返回该参数。', - 'type' => 'string', - 'example' => '1a83bcbb89e562885e40aa0108f5****', - ], - 'Sha2' => [ - 'description' => 'CA证书的SHA256数字指纹。', - 'type' => 'string', - 'example' => '14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****', - ], - 'Md5' => [ - 'description' => 'CA证书的MD5数字指纹。', - 'type' => 'string', - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], - 'CrlStatus' => [ - 'description' => 'CRL状态(启用状态)。', - 'type' => 'string', - 'example' => 'ACTIVE', - ], - 'CrlUrl' => [ - 'description' => 'CRL地址。', - 'type' => 'string', - 'example' => 'https://crl-cn-publish.oss-cn-hangzhou.aliyuncs.com/pca/crl/1925647866611395/1ed40789-483f-6023-b6b8-29ddd3bb0a9a.crl', - ], - 'CertTotalCount' => [ - 'description' => '已购买证书配额总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '40', - ], - 'CertRemainingCount' => [ - 'description' => '剩余可分配证书配额数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30', - ], - 'CertIssuedCount' => [ - 'description' => '私有CA实例已经签发证书的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'CaCertChain' => [ - 'description' => '完整证书链。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----'."\n" - .'-----END CERTIFICATE-----'."\n" - ."\n" - .'-----BEGIN CERTIFICATE-----'."\n" - .'-----END CERTIFICATE-----'."\n" - ."\n" - .'-----BEGIN CERTIFICATE-----'."\n" - .'-----END CERTIFICATE-----', - ], - 'CrlDay' => [ - 'description' => 'CRL有效期 1-365天。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '90', - ], - 'IssuerType' => [ - 'description' => '签发CA的机构。取值:'."\n" - ."\n" - .'- local:私有证书。'."\n" - .'- iTrusChina: 合规CA。'."\n" - .'- external:外部导入。', - 'type' => 'string', - 'example' => 'local', - ], - 'Years' => [ - 'description' => 'CA证书的有效期,单位:年。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'FullAlgorithm' => [ - 'description' => '携带长度的算法。', - 'type' => 'string', - 'example' => 'RSA_2048', - ], - 'ResourceGroupId' => [ - 'description' => '证书所属资源组的ID。', - 'type' => 'string', - 'example' => 'rg-aek2pxd7ekpoo2y', - ], - 'ClusterId' => [ - 'description' => '加密机集群标识。(通过加密机启用CA)', - 'type' => 'string', - 'example' => 'XXX-id', - ], - 'KeyIndex' => [ - 'description' => '加密机密钥索引位置。(通过加密启用CA)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], + 'CertificateType' => ['description' => 'CA证书的类型。取值:'."\n" + ."\n" + .'- **ROOT**:表示根CA证书。'."\n" + .'- **SUB_ROOT**:表示子CA证书。', 'type' => 'string', 'example' => 'SUB_ROOT'], + 'X509Certificate' => ['description' => 'CA证书的内容。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE----- …… -----END CERTIFICATE-----'], + 'Identifier' => ['description' => 'CA证书的唯一识别码。', 'type' => 'string', 'example' => '160ae6bb538d538c70c01f81dcf2****'], + 'SerialNumber' => ['description' => 'CA证书的序列号。', 'type' => 'string', 'example' => '70e3b2566d92805173767869727fb92e****'], + 'SubjectDN' => ['description' => 'CA证书的使用者属性,包含以下信息:'."\n" + ."\n" + .'- **C**:组织机构所在国家代码。'."\n" + .'- **O**:组织机构的名称。'."\n" + .'- **OU**:组织机构下的部门。'."\n" + .'- **L**:组织机构所在城市。'."\n" + .'<props="china">- **ST**:组织机构所在省份、直辖市或自治区。</props>'."\n" + .'<props="intl">- **ST**:组织机构所在省份或州。</props>'."\n" + .'- **CN**:组织机构的通用名称或简称。'."\n", 'type' => 'string', 'example' => 'C=CN,O=aliyun,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun'], + 'CommonName' => ['description' => 'CA证书关联的组织机构的通用名称或简称。', 'type' => 'string', 'example' => 'Aliyun'], + 'OrganizationUnit' => ['description' => 'CA证书关联的组织机构下部门的名称。', 'type' => 'string', 'example' => 'Security'], + 'Organization' => ['description' => 'CA证书关联的组织机构的名称。', 'type' => 'string', 'example' => 'aliyun'], + 'Locality' => ['description' => 'CA证书关联的组织机构所在城市的名称。', 'type' => 'string', 'example' => 'Hangzhou'], + 'State' => ['description' => '<props="china">CA证书关联的组织机构所在省份、直辖市或自治区的名称。</props>'."\n" + .'<props="intl">CA证书关联的组织机构所在省份或州的名称。</props>'."\n", 'type' => 'string', 'example' => 'Zhejiang'], + 'CountryCode' => ['description' => 'CA证书关联的组织机构所在国家的代码。'."\n" + ."\n" + .'关于不同国家代码的含义,请参见[管理公司信息](~~198289~~)中的**国际代号**章节。', 'type' => 'string', 'example' => 'CN'], + 'Sans' => ['description' => '该参数已废弃。', 'type' => 'string', 'example' => '1'], + 'Status' => ['description' => 'CA证书的状态。取值:'."\n" + ."\n" + .'- **ISSUE**:表示正常签发。'."\n" + .'- **REVOKE**:表示已被吊销。'."\n", 'type' => 'string', 'example' => 'ISSUE'], + 'Algorithm' => ['description' => 'CA证书的加密算法类型。取值:'."\n" + ."\n" + .'- **RSA**:表示RSA算法。'."\n" + .'- **ECC**:表示ECC算法。'."\n" + .'- **SM2**:表示SM2(国密)算法。', 'type' => 'string', 'example' => 'RSA'], + 'KeySize' => ['description' => 'CA证书的密钥长度。', 'type' => 'integer', 'format' => 'int32', 'example' => '2048'], + 'SignAlgorithm' => ['description' => 'CA证书的签名算法。', 'type' => 'string', 'example' => 'SHA256WITHRSA'], + 'BeforeDate' => ['description' => 'CA证书的签发日期。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1634283958000'], + 'AfterDate' => ['description' => 'CA证书的到期日期。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1665819958000'], + 'ParentIdentifier' => ['description' => '签发该CA证书的根CA证书的唯一识别码。'."\n" + ."\n" + .'> 只有当**CertificateType**为**SUB_ROOT**(表示子CA证书)时,才会返回该参数。', 'type' => 'string', 'example' => '1a83bcbb89e562885e40aa0108f5****'], + 'Sha2' => ['description' => 'CA证书的SHA256数字指纹。', 'type' => 'string', 'example' => '14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****'], + 'Md5' => ['description' => 'CA证书的MD5数字指纹。', 'type' => 'string', 'example' => '160ae6bb538d538c70c01f81dcf2****'], + 'CrlStatus' => ['description' => 'CRL状态(启用状态)。', 'type' => 'string', 'example' => 'ACTIVE'], + 'CrlUrl' => ['description' => 'CRL地址。', 'type' => 'string', 'example' => 'https://crl-cn-publish.oss-cn-hangzhou.aliyuncs.com/pca/crl/1925647866611395/1ed40789-483f-6023-b6b8-29ddd3bb0a9a.crl'], + 'CertTotalCount' => ['description' => '已购买证书配额总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '40'], + 'CertRemainingCount' => ['description' => '剩余可分配证书配额数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '30'], + 'CertIssuedCount' => ['description' => '私有CA实例已经签发证书的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'CaCertChain' => ['description' => '完整证书链。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----'."\n" + .'-----END CERTIFICATE-----'."\n" + ."\n" + .'-----BEGIN CERTIFICATE-----'."\n" + .'-----END CERTIFICATE-----'."\n" + ."\n" + .'-----BEGIN CERTIFICATE-----'."\n" + .'-----END CERTIFICATE-----'], + 'CrlDay' => ['description' => 'CRL有效期 1-365天。', 'type' => 'integer', 'format' => 'int32', 'example' => '90'], + 'IssuerType' => ['description' => '签发CA的机构。取值:'."\n" + ."\n" + .'- local:私有证书。'."\n" + .'- iTrusChina: 合规CA。'."\n" + .'- external:外部导入。', 'type' => 'string', 'example' => 'local'], + 'Years' => ['description' => 'CA证书的有效期,单位:年。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'FullAlgorithm' => ['description' => '携带长度的算法。', 'type' => 'string', 'example' => 'RSA_2048'], + 'ResourceGroupId' => ['description' => '证书所属资源组的ID。', 'type' => 'string', 'example' => 'rg-aek2pxd7ekpoo2y'], + 'ClusterId' => ['description' => '加密机集群标识。(通过加密机启用CA)', 'type' => 'string', 'example' => 'XXX-id'], + 'KeyIndex' => ['description' => '加密机密钥索引位置。(通过加密启用CA)', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], 'Tags' => [ 'description' => '标签列表。', 'type' => 'array', @@ -3627,41 +2256,22 @@ 'description' => '标签值。', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => '标签 Key', - 'type' => 'string', - 'example' => '使用状态', - ], - 'TagValue' => [ - 'description' => '标签值。', - 'type' => 'string', - 'example' => 'BMS', - ], + 'TagKey' => ['description' => '标签 Key', 'type' => 'string', 'example' => '使用状态'], + 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'BMS'], ], ], ], + 'CertMaxTime' => ['description' => '签发证书的最长时间由CA的certMaxTime指定。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], ], ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', - ], - 'Years' => [ - 'description' => 'CA证书的有效期,单位:年。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], + 'Years' => ['description' => 'CA证书的有效期,单位:年。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '查询单个根CA证书或子CA证书的详细信息', - 'summary' => '查询CA详情。', 'description' => '本接口用于通过证书的唯一识别码,查询单个根CA证书或子CA证书的详细信息,例如,CA证书的序列号、使用者信息、证书内容等。'."\n" ."\n" .'调用本接口前,您必须已经调用[CreateRootCACertificate](~~465962~~)创建了根CA证书、调用[CreateSubCACertificate](~~465959~~)创建了子CA证书。'."\n" @@ -3671,12 +2281,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeCACertificate', - ], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCACertificate'], ], ], 'ramActions' => [ @@ -3687,27 +2292,16 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Certificate\\": {\\n \\"CertificateType\\": \\"SUB_ROOT\\",\\n \\"X509Certificate\\": \\"-----BEGIN CERTIFICATE----- …… -----END CERTIFICATE-----\\",\\n \\"Identifier\\": \\"160ae6bb538d538c70c01f81dcf2****\\",\\n \\"SerialNumber\\": \\"70e3b2566d92805173767869727fb92e****\\",\\n \\"SubjectDN\\": \\"C=CN,O=aliyun,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun\\",\\n \\"CommonName\\": \\"Aliyun\\",\\n \\"OrganizationUnit\\": \\"Security\\",\\n \\"Organization\\": \\"aliyun\\",\\n \\"Locality\\": \\"Hangzhou\\",\\n \\"State\\": \\"Zhejiang\\",\\n \\"CountryCode\\": \\"CN\\",\\n \\"Sans\\": \\"1\\",\\n \\"Status\\": \\"ISSUE\\",\\n \\"Algorithm\\": \\"RSA\\",\\n \\"KeySize\\": 2048,\\n \\"SignAlgorithm\\": \\"SHA256WITHRSA\\",\\n \\"BeforeDate\\": 1634283958000,\\n \\"AfterDate\\": 1665819958000,\\n \\"ParentIdentifier\\": \\"1a83bcbb89e562885e40aa0108f5****\\",\\n \\"Sha2\\": \\"14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****\\",\\n \\"Md5\\": \\"160ae6bb538d538c70c01f81dcf2****\\",\\n \\"CrlStatus\\": \\"ACTIVE\\",\\n \\"CrlUrl\\": \\"https://crl-cn-publish.oss-cn-hangzhou.aliyuncs.com/pca/crl/1925647866611395/1ed40789-483f-6023-b6b8-29ddd3bb0a9a.crl\\",\\n \\"CertTotalCount\\": 40,\\n \\"CertRemainingCount\\": 30,\\n \\"CertIssuedCount\\": 10,\\n \\"CaCertChain\\": \\"-----BEGIN CERTIFICATE-----\\\\n-----END CERTIFICATE-----\\\\n\\\\n-----BEGIN CERTIFICATE-----\\\\n-----END CERTIFICATE-----\\\\n\\\\n-----BEGIN CERTIFICATE-----\\\\n-----END CERTIFICATE-----\\",\\n \\"CrlDay\\": 90,\\n \\"IssuerType\\": \\"local\\",\\n \\"Years\\": 1,\\n \\"FullAlgorithm\\": \\"RSA_2048\\",\\n \\"ResourceGroupId\\": \\"rg-aek2pxd7ekpoo2y\\",\\n \\"ClusterId\\": \\"XXX-id\\",\\n \\"KeyIndex\\": 8,\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"使用状态\\",\\n \\"TagValue\\": \\"BMS\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\",\\n \\"Years\\": 10\\n}","errorExample":""},{"type":"xml","example":"<DescribeCACertificateResponse>\\n <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\n <Certificate>\\n <Years>5</Years>\\n <Status>ISSUE</Status>\\n <SerialNumber>70e3b2566d92805173767869727fb92e****</SerialNumber>\\n <CertificateType>SUB_ROOT</CertificateType>\\n <Algorithm>RSA</Algorithm>\\n <State>Zhejiang</State>\\n <Organization>阿里云计算有限公司</Organization>\\n <ParentIdentifier>1a83bcbb89e562885e40aa0108f5****</ParentIdentifier>\\n <Locality>Hangzhou</Locality>\\n <Identifier>160ae6bb538d538c70c01f81dcf2****</Identifier>\\n <KeySize>2048</KeySize>\\n <X509Certificate>-----BEGIN CERTIFICATE----- …… -----END CERTIFICATE-----</X509Certificate>\\n <SubjectDN>C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun</SubjectDN>\\n <SignAlgorithm>SHA256WITHRSA</SignAlgorithm>\\n <OrganizationUnit>Security</OrganizationUnit>\\n <AfterDate>1665819958000</AfterDate>\\n <Sha2>14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****</Sha2>\\n <CommonName>Aliyun</CommonName>\\n <Md5>160ae6bb538d538c70c01f81dcf2****</Md5>\\n <CountryCode>CN</CountryCode>\\n <BeforeDate>1634283958000</BeforeDate>\\n </Certificate>\\n</DescribeCACertificateResponse>","errorExample":""}]', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Certificate\\": {\\n \\"CertificateType\\": \\"SUB_ROOT\\",\\n \\"X509Certificate\\": \\"-----BEGIN CERTIFICATE----- …… -----END CERTIFICATE-----\\",\\n \\"Identifier\\": \\"160ae6bb538d538c70c01f81dcf2****\\",\\n \\"SerialNumber\\": \\"70e3b2566d92805173767869727fb92e****\\",\\n \\"SubjectDN\\": \\"C=CN,O=aliyun,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun\\",\\n \\"CommonName\\": \\"Aliyun\\",\\n \\"OrganizationUnit\\": \\"Security\\",\\n \\"Organization\\": \\"aliyun\\",\\n \\"Locality\\": \\"Hangzhou\\",\\n \\"State\\": \\"Zhejiang\\",\\n \\"CountryCode\\": \\"CN\\",\\n \\"Sans\\": \\"1\\",\\n \\"Status\\": \\"ISSUE\\",\\n \\"Algorithm\\": \\"RSA\\",\\n \\"KeySize\\": 2048,\\n \\"SignAlgorithm\\": \\"SHA256WITHRSA\\",\\n \\"BeforeDate\\": 1634283958000,\\n \\"AfterDate\\": 1665819958000,\\n \\"ParentIdentifier\\": \\"1a83bcbb89e562885e40aa0108f5****\\",\\n \\"Sha2\\": \\"14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****\\",\\n \\"Md5\\": \\"160ae6bb538d538c70c01f81dcf2****\\",\\n \\"CrlStatus\\": \\"ACTIVE\\",\\n \\"CrlUrl\\": \\"https://crl-cn-publish.oss-cn-hangzhou.aliyuncs.com/pca/crl/1925647866611395/1ed40789-483f-6023-b6b8-29ddd3bb0a9a.crl\\",\\n \\"CertTotalCount\\": 40,\\n \\"CertRemainingCount\\": 30,\\n \\"CertIssuedCount\\": 10,\\n \\"CaCertChain\\": \\"-----BEGIN CERTIFICATE-----\\\\n-----END CERTIFICATE-----\\\\n\\\\n-----BEGIN CERTIFICATE-----\\\\n-----END CERTIFICATE-----\\\\n\\\\n-----BEGIN CERTIFICATE-----\\\\n-----END CERTIFICATE-----\\",\\n \\"CrlDay\\": 90,\\n \\"IssuerType\\": \\"local\\",\\n \\"Years\\": 1,\\n \\"FullAlgorithm\\": \\"RSA_2048\\",\\n \\"ResourceGroupId\\": \\"rg-aek2pxd7ekpoo2y\\",\\n \\"ClusterId\\": \\"XXX-id\\",\\n \\"KeyIndex\\": 8,\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"使用状态\\",\\n \\"TagValue\\": \\"BMS\\"\\n }\\n ],\\n \\"CertMaxTime\\": 30\\n },\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\",\\n \\"Years\\": 10\\n}","errorExample":""},{"type":"xml","example":"<DescribeCACertificateResponse>\\n <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\n <Certificate>\\n <Years>5</Years>\\n <Status>ISSUE</Status>\\n <SerialNumber>70e3b2566d92805173767869727fb92e****</SerialNumber>\\n <CertificateType>SUB_ROOT</CertificateType>\\n <Algorithm>RSA</Algorithm>\\n <State>Zhejiang</State>\\n <Organization>阿里云计算有限公司</Organization>\\n <ParentIdentifier>1a83bcbb89e562885e40aa0108f5****</ParentIdentifier>\\n <Locality>Hangzhou</Locality>\\n <Identifier>160ae6bb538d538c70c01f81dcf2****</Identifier>\\n <KeySize>2048</KeySize>\\n <X509Certificate>-----BEGIN CERTIFICATE----- …… -----END CERTIFICATE-----</X509Certificate>\\n <SubjectDN>C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun</SubjectDN>\\n <SignAlgorithm>SHA256WITHRSA</SignAlgorithm>\\n <OrganizationUnit>Security</OrganizationUnit>\\n <AfterDate>1665819958000</AfterDate>\\n <Sha2>14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****</Sha2>\\n <CommonName>Aliyun</CommonName>\\n <Md5>160ae6bb538d538c70c01f81dcf2****</Md5>\\n <CountryCode>CN</CountryCode>\\n <BeforeDate>1634283958000</BeforeDate>\\n </Certificate>\\n</DescribeCACertificateResponse>","errorExample":""}]', ], 'DescribeCACertificateCount' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3720,9 +2314,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83513', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -3733,24 +2325,13 @@ 'description' => '对象。', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '已创建的CA证书(包括根CA证书、子CA证书)的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', - ], + 'TotalCount' => ['description' => '已创建的CA证书(包括根CA证书、子CA证书)的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], @@ -3764,12 +2345,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeCACertificateCount', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCACertificateCount'], ], ], 'ramActions' => [ @@ -3780,12 +2356,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -3793,14 +2364,8 @@ 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 2,\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeCACertificateCountResponse>\\n <TotalCount>2</TotalCount>\\n <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\n</DescribeCACertificateCountResponse>","errorExample":""}]', ], 'DescribeCACertificateList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3813,9 +2378,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83514', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -3823,101 +2386,59 @@ [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置当前页面的页码。默认值为**1**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '分页查询时,设置当前页面的页码。默认值为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'ShowSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置每页包含CA证书的数量。默认值为**20**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '分页查询时,设置每页包含CA证书的数量。默认值为**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'Identifier', 'in' => 'query', - 'schema' => [ - 'description' => 'CA证书的唯一识别码。'."\n" - ."\n" - .'> 您可以调用[DescribeCACertificateList](~~328095~~)查询所有CA证书的唯一识别码。', - 'type' => 'string', - 'required' => false, - 'example' => '1ee47e24-c51b-67cc-aa6b-1f7561cf9d9a', - ], + 'schema' => ['description' => 'CA证书的唯一识别码。'."\n" + ."\n" + .'> 您可以调用[DescribeCACertificateList](~~328095~~)查询所有CA证书的唯一识别码。', 'type' => 'string', 'required' => false, 'example' => '1ee47e24-c51b-67cc-aa6b-1f7561cf9d9a'], ], [ 'name' => 'CertType', 'in' => 'query', - 'schema' => [ - 'description' => 'CA的类型 。取值:'."\n" - ."\n" - .'- root:根CA。'."\n" - .'- subRoot:子CA。'."\n" - .'- externalCa:外部导入的CA。', - 'type' => 'string', - 'required' => false, - 'example' => 'subRoot', - ], + 'schema' => ['description' => 'CA的类型 。取值:'."\n" + ."\n" + .'- root:根CA。'."\n" + .'- subRoot:子CA。'."\n" + .'- externalCa:外部导入的CA。', 'type' => 'string', 'required' => false, 'example' => 'subRoot'], ], [ 'name' => 'CaStatus', 'in' => 'query', - 'schema' => [ - 'description' => '当前的CA状态,取值:'."\n" - ."\n" - .'- issue:启用。'."\n" - .'- forbidden:禁用。'."\n" - .'- revoke:已吊销。', - 'type' => 'string', - 'required' => false, - 'example' => 'issue', - ], + 'schema' => ['description' => '当前的CA状态,取值:'."\n" + ."\n" + .'- issue:启用。'."\n" + .'- forbidden:禁用。'."\n" + .'- revoke:已吊销。', 'type' => 'string', 'required' => false, 'example' => 'issue'], ], [ 'name' => 'ValidStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'CA时间状态。取值:'."\n" - ."\n" - .'- valid:表示CA处于有效期内。'."\n" - .'- notValid:表示CA已过期。', - 'type' => 'string', - 'required' => false, - 'example' => 'valid', - ], + 'schema' => ['description' => 'CA时间状态。取值:'."\n" + ."\n" + .'- valid:表示CA处于有效期内。'."\n" + .'- notValid:表示CA已过期。', 'type' => 'string', 'required' => false, 'example' => 'valid'], ], [ 'name' => 'IssuerType', 'in' => 'query', - 'schema' => [ - 'description' => '签发CA的机构。取值:'."\n" - ."\n" - .'- local:私有证书。'."\n" - .'- iTrusChina: 合规CA。'."\n" - .'- external:外部导入。', - 'type' => 'string', - 'required' => false, - 'example' => 'local', - ], + 'schema' => ['description' => '签发CA的机构。取值:'."\n" + ."\n" + .'- local:私有证书。'."\n" + .'- iTrusChina: 合规CA。'."\n" + .'- external:外部导入。', 'type' => 'string', 'required' => false, 'example' => 'local'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '资源组ID。此ID可通过调用[ListResources](~~2716559~~)接口获取。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-ae******4wia', - ], + 'schema' => ['description' => '资源组ID。此ID可通过调用[ListResources](~~2716559~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'rg-ae******4wia'], ], ], 'responses' => [ @@ -3926,35 +2447,11 @@ 'description' => '对象。', 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => '当前页面的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', - ], - 'TotalCount' => [ - 'description' => '查询到的根CA证书和子CA证书的总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'PageCount' => [ - 'description' => '返回结果的页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ShowSize' => [ - 'description' => '每页包含CA证书的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'CurrentPage' => ['description' => '当前页面的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], + 'TotalCount' => ['description' => '查询到的根CA证书和子CA证书的总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'PageCount' => ['description' => '返回结果的页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ShowSize' => ['description' => '每页包含CA证书的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], 'CertificateList' => [ 'description' => 'CA证书的详情列表。', 'type' => 'array', @@ -3962,169 +2459,59 @@ 'description' => '证书信息。', 'type' => 'object', 'properties' => [ - 'Years' => [ - 'description' => 'CA证书的有效期,单位:年。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'Status' => [ - 'description' => 'CA证书的状态。取值:'."\n" - ."\n" - .'- **ISSUE**:表示正常签发。'."\n" - .'- **REVOKE**:表示已被吊销。', - 'type' => 'string', - 'example' => 'ISSUE', - ], - 'SerialNumber' => [ - 'description' => 'CA证书的序列号。', - 'type' => 'string', - 'example' => '70e3b2566d92805173767869727fb92e****', - ], - 'CertificateType' => [ - 'description' => 'CA证书的类型。取值:'."\n" - ."\n" - .'- **ROOT**:表示根CA证书。'."\n" - .'- **SUB_ROOT**:表示子CA证书。', - 'type' => 'string', - 'example' => 'SUB_ROOT', - ], - 'Algorithm' => [ - 'description' => 'CA证书的加密算法类型。取值:'."\n" - ."\n" - .'- **RSA**:表示RSA算法。'."\n" - .'- **ECC**:表示ECC算法。'."\n" - .'- **SM2**:表示SM2(国密)算法。', - 'type' => 'string', - 'example' => 'RSA', - ], - 'State' => [ - 'description' => '<props="china">CA证书关联的组织机构所在省份、直辖市或自治区的名称。</props>'."\n" - .'<props="intl">CA证书关联的组织机构所在省份或州的名称。</props>', - 'type' => 'string', - 'example' => 'Zhejiang', - ], - 'Organization' => [ - 'description' => 'CA证书关联的组织机构的名称。', - 'type' => 'string', - 'example' => '阿里云计算有限公司', - ], - 'ParentIdentifier' => [ - 'description' => '签发该CA证书的根CA证书的唯一识别码。'."\n" - ."\n" - .'> 只有当**CertificateType**为**SUB_ROOT**(表示子CA证书)时,才会返回该参数。', - 'type' => 'string', - 'example' => '1a83bcbb89e562885e40aa0108f5****', - ], - 'Locality' => [ - 'description' => 'CA证书关联的组织机构所在城市的名称。', - 'type' => 'string', - 'example' => 'Hangzhou', - ], - 'Identifier' => [ - 'description' => 'CA证书的唯一识别码。', - 'type' => 'string', - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], - 'Sans' => [ - 'description' => '该参数已废弃。', - 'type' => 'string', - 'example' => '1', - ], - 'KeySize' => [ - 'description' => 'CA证书的密钥长度。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2048', - ], - 'X509Certificate' => [ - 'description' => 'CA证书的内容。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE----- …… -----END CERTIFICATE-----', - ], - 'SubjectDN' => [ - 'description' => 'CA证书的DN(Distinguished Name)属性,表示证书的使用者,具体包含以下信息:'."\n" - ."\n" - .'- **C**:组织机构所在国家代码。'."\n" - .'- **O**:组织机构的名称。'."\n" - .'- **OU**:组织机构下的部门。'."\n" - .'- **L**:组织机构所在城市。'."\n" - .'- **CN**:组织机构的通用名称或简称。', - 'type' => 'string', - 'example' => 'C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun', - ], - 'SignAlgorithm' => [ - 'description' => 'CA证书的签名算法。', - 'type' => 'string', - 'example' => 'SHA256WITHRSA', - ], - 'OrganizationUnit' => [ - 'description' => 'CA证书关联的组织机构下部门的名称。', - 'type' => 'string', - 'example' => 'Security', - ], - 'AfterDate' => [ - 'description' => 'CA证书的到期日期。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1665819958000', - ], - 'Sha2' => [ - 'description' => 'CA证书的SHA256数字指纹。', - 'type' => 'string', - 'example' => '14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****', - ], - 'CommonName' => [ - 'description' => 'CA证书关联的组织机构的通用名称或简称。', - 'type' => 'string', - 'example' => 'Aliyun', - ], - 'Md5' => [ - 'description' => 'CA证书的MD5数字指纹。', - 'type' => 'string', - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], - 'CountryCode' => [ - 'description' => 'CA证书关联的组织机构所在国家的代码。'."\n" - ."\n" - .'关于不同国家代码的含义,请参见[管理公司信息](~~198289~~)中的**国际代号**章节。', - 'type' => 'string', - 'example' => 'CN', - ], - 'BeforeDate' => [ - 'description' => 'CA证书的签发日期。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1634283958000', - ], - 'Alias' => [ - 'description' => '实例别名。', - 'type' => 'string', - 'example' => 'Aliyun_CA', - ], - 'Trial' => [ - 'description' => '是否为试用实例。取值:'."\n" - ."\n" - .'- 0:表示否。'."\n" - .'- 1:表示是。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Gift' => [ - 'description' => '是否为赠送实例。取值:'."\n" - ."\n" - .'- 0:表示否。'."\n" - .'- 1:表示是。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ResourceGroupId' => [ - 'description' => '证书所属资源组的ID。', - 'type' => 'string', - 'example' => 'rg-acfmzjwrhehpavi', - ], + 'Years' => ['description' => 'CA证书的有效期,单位:年。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'Status' => ['description' => 'CA证书的状态。取值:'."\n" + ."\n" + .'- **ISSUE**:表示正常签发。'."\n" + .'- **REVOKE**:表示已被吊销。', 'type' => 'string', 'example' => 'ISSUE'], + 'SerialNumber' => ['description' => 'CA证书的序列号。', 'type' => 'string', 'example' => '70e3b2566d92805173767869727fb92e****'], + 'CertificateType' => ['description' => 'CA证书的类型。取值:'."\n" + ."\n" + .'- **ROOT**:表示根CA证书。'."\n" + .'- **SUB_ROOT**:表示子CA证书。', 'type' => 'string', 'example' => 'SUB_ROOT'], + 'Algorithm' => ['description' => 'CA证书的加密算法类型。取值:'."\n" + ."\n" + .'- **RSA**:表示RSA算法。'."\n" + .'- **ECC**:表示ECC算法。'."\n" + .'- **SM2**:表示SM2(国密)算法。', 'type' => 'string', 'example' => 'RSA'], + 'State' => ['description' => '<props="china">CA证书关联的组织机构所在省份、直辖市或自治区的名称。</props>'."\n" + .'<props="intl">CA证书关联的组织机构所在省份或州的名称。</props>', 'type' => 'string', 'example' => 'Zhejiang'], + 'Organization' => ['description' => 'CA证书关联的组织机构的名称。', 'type' => 'string', 'example' => '阿里云计算有限公司'], + 'ParentIdentifier' => ['description' => '签发该CA证书的根CA证书的唯一识别码。'."\n" + ."\n" + .'> 只有当**CertificateType**为**SUB_ROOT**(表示子CA证书)时,才会返回该参数。', 'type' => 'string', 'example' => '1a83bcbb89e562885e40aa0108f5****'], + 'Locality' => ['description' => 'CA证书关联的组织机构所在城市的名称。', 'type' => 'string', 'example' => 'Hangzhou'], + 'Identifier' => ['description' => 'CA证书的唯一识别码。', 'type' => 'string', 'example' => '160ae6bb538d538c70c01f81dcf2****'], + 'Sans' => ['description' => '该参数已废弃。', 'type' => 'string', 'example' => '1'], + 'KeySize' => ['description' => 'CA证书的密钥长度。', 'type' => 'integer', 'format' => 'int32', 'example' => '2048'], + 'X509Certificate' => ['description' => 'CA证书的内容。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE----- …… -----END CERTIFICATE-----'], + 'SubjectDN' => ['description' => 'CA证书的DN(Distinguished Name)属性,表示证书的使用者,具体包含以下信息:'."\n" + ."\n" + .'- **C**:组织机构所在国家代码。'."\n" + .'- **O**:组织机构的名称。'."\n" + .'- **OU**:组织机构下的部门。'."\n" + .'- **L**:组织机构所在城市。'."\n" + .'- **CN**:组织机构的通用名称或简称。', 'type' => 'string', 'example' => 'C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun'], + 'SignAlgorithm' => ['description' => 'CA证书的签名算法。', 'type' => 'string', 'example' => 'SHA256WITHRSA'], + 'OrganizationUnit' => ['description' => 'CA证书关联的组织机构下部门的名称。', 'type' => 'string', 'example' => 'Security'], + 'AfterDate' => ['description' => 'CA证书的到期日期。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1665819958000'], + 'Sha2' => ['description' => 'CA证书的SHA256数字指纹。', 'type' => 'string', 'example' => '14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****'], + 'CommonName' => ['description' => 'CA证书关联的组织机构的通用名称或简称。', 'type' => 'string', 'example' => 'Aliyun'], + 'Md5' => ['description' => 'CA证书的MD5数字指纹。', 'type' => 'string', 'example' => '160ae6bb538d538c70c01f81dcf2****'], + 'CountryCode' => ['description' => 'CA证书关联的组织机构所在国家的代码。'."\n" + ."\n" + .'关于不同国家代码的含义,请参见[管理公司信息](~~198289~~)中的**国际代号**章节。', 'type' => 'string', 'example' => 'CN'], + 'BeforeDate' => ['description' => 'CA证书的签发日期。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1634283958000'], + 'Alias' => ['description' => '实例别名。', 'type' => 'string', 'example' => 'Aliyun_CA'], + 'Trial' => ['description' => '是否为试用实例。取值:'."\n" + ."\n" + .'- 0:表示否。'."\n" + .'- 1:表示是。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Gift' => ['description' => '是否为赠送实例。取值:'."\n" + ."\n" + .'- 0:表示否。'."\n" + .'- 1:表示是。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ResourceGroupId' => ['description' => '证书所属资源组的ID。', 'type' => 'string', 'example' => 'rg-acfmzjwrhehpavi'], ], ], ], @@ -4132,9 +2519,7 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], @@ -4148,12 +2533,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeCACertificateList', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCACertificateList'], ], ], 'ramActions' => [ @@ -4164,12 +2544,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -4177,14 +2552,9 @@ 'responseDemo' => '[{"type":"json","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\",\\n \\"TotalCount\\": 2,\\n \\"PageCount\\": 1,\\n \\"ShowSize\\": 20,\\n \\"CertificateList\\": [\\n {\\n \\"Years\\": 3,\\n \\"Status\\": \\"ISSUE\\",\\n \\"SerialNumber\\": \\"70e3b2566d92805173767869727fb92e****\\",\\n \\"CertificateType\\": \\"SUB_ROOT\\",\\n \\"Algorithm\\": \\"RSA\\",\\n \\"State\\": \\"Zhejiang\\",\\n \\"Organization\\": \\"阿里云计算有限公司\\",\\n \\"ParentIdentifier\\": \\"1a83bcbb89e562885e40aa0108f5****\\",\\n \\"Locality\\": \\"Hangzhou\\",\\n \\"Identifier\\": \\"160ae6bb538d538c70c01f81dcf2****\\",\\n \\"Sans\\": \\"1\\",\\n \\"KeySize\\": 2048,\\n \\"X509Certificate\\": \\"-----BEGIN CERTIFICATE----- …… -----END CERTIFICATE-----\\",\\n \\"SubjectDN\\": \\"C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun\\",\\n \\"SignAlgorithm\\": \\"SHA256WITHRSA\\",\\n \\"OrganizationUnit\\": \\"Security\\",\\n \\"AfterDate\\": 1665819958000,\\n \\"Sha2\\": \\"14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****\\",\\n \\"CommonName\\": \\"Aliyun\\",\\n \\"Md5\\": \\"160ae6bb538d538c70c01f81dcf2****\\",\\n \\"CountryCode\\": \\"CN\\",\\n \\"BeforeDate\\": 1634283958000,\\n \\"Alias\\": \\"Aliyun_CA\\",\\n \\"Trial\\": 0,\\n \\"Gift\\": 1,\\n \\"ResourceGroupId\\": \\"rg-acfmzjwrhehpavi\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeCACertificateListResponse>\\n <CurrentPage>1</CurrentPage>\\n <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\n <TotalCount>2</TotalCount>\\n <PageCount>1</PageCount>\\n <ShowSize>20</ShowSize>\\n <CertificateList>\\n <Years>1</Years>\\n <Status>ISSUE</Status>\\n <SerialNumber>70e3b2566d92805173767869727fb92e****</SerialNumber>\\n <CertificateType>SUB_ROOT</CertificateType>\\n <Algorithm>RSA</Algorithm>\\n <State>Zhejiang</State>\\n <Organization>阿里云计算有限公司</Organization>\\n <ParentIdentifier>1a83bcbb89e562885e40aa0108f5****</ParentIdentifier>\\n <Locality>Hangzhou</Locality>\\n <Identifier>160ae6bb538d538c70c01f81dcf2****</Identifier>\\n <KeySize>2048</KeySize>\\n <X509Certificate>-----BEGIN CERTIFICATE----- …… -----END CERTIFICATE-----</X509Certificate>\\n <SubjectDN>C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun</SubjectDN>\\n <SignAlgorithm>SHA256WITHRSA</SignAlgorithm>\\n <OrganizationUnit>Security</OrganizationUnit>\\n <AfterDate>1665819958000</AfterDate>\\n <Sha2>14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****</Sha2>\\n <CommonName>Aliyun</CommonName>\\n <Md5>160ae6bb538d538c70c01f81dcf2****</Md5>\\n <CountryCode>CN</CountryCode>\\n <BeforeDate>1634283958000</BeforeDate>\\n </CertificateList>\\n <CertificateList>\\n <Years>1</Years>\\n <Status>ISSUE</Status>\\n <SerialNumber>566d70e3b292805173767869727fb92e****</SerialNumber>\\n <CertificateType>ROOT</CertificateType>\\n <Algorithm>RSA</Algorithm>\\n <State>Zhejiang</State>\\n <Organization>阿里巴巴网络技术有限公司</Organization>\\n <Locality>Hangzhou</Locality>\\n <Identifier>1a83bcbb89e562885e40aa0108f5****</Identifier>\\n <KeySize>2048</KeySize>\\n <X509Certificate>-----BEGIN CERTIFICATE----- …… -----END CERTIFICATE-----</X509Certificate>\\n <SubjectDN>C=CN,O=阿里巴巴网络技术有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Alibaba</SubjectDN>\\n <SignAlgorithm>SHA256WITHRSA</SignAlgorithm>\\n <OrganizationUnit>Security</OrganizationUnit>\\n <AfterDate>1665819958000</AfterDate>\\n <Sha2>1fcec36d65814dcc8afc7578ef7e20de18f6957bbac42b373a66bc9de4e9****</Sha2>\\n <CommonName>Aliyun</CommonName>\\n <Md5>1a83bcbb89e562885e40aa0108f5****</Md5>\\n <CountryCode>CN</CountryCode>\\n <BeforeDate>1634283958000</BeforeDate>\\n </CertificateList>\\n</DescribeCACertificateListResponse>","errorExample":""}]', ], 'DescribeCertificatePrivateKey' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '获取单个客户端证书或服务端证书的私钥(加密格式)。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4197,9 +2567,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '103267', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -4207,37 +2575,22 @@ [ 'name' => 'Identifier', 'in' => 'query', - 'schema' => [ - 'description' => '要获取私钥的客户端证书或服务端证书的唯一识别码。'."\n" - ."\n" - .'> 您可以调用[ListClientCertificate](~~465990~~)查询所有客户端与服务端证书的唯一识别码。', - 'type' => 'string', - 'required' => true, - 'example' => 'bc37133bb7ed68c7938d928fd26d****', - ], + 'schema' => ['description' => '要获取私钥的客户端证书或服务端证书的唯一识别码。'."\n" + ."\n" + .'> 您可以调用[ListClientCertificate](~~465990~~)查询所有客户端与服务端证书的唯一识别码。', 'type' => 'string', 'required' => true, 'example' => 'bc37133bb7ed68c7938d928fd26d****'], ], [ 'name' => 'EncryptedCode', 'in' => 'query', - 'schema' => [ - 'description' => '设置用于加密私钥的密码。支持使用英文大小写字母、数字、特殊字符(例如,`,.+-_#`)等。最大长度为32字节。'."\n" - ."\n" - .'><warning> 请记住您设置的密码,后续您需要使用该密码为私钥(加密格式)解密。如果您忘记了已设置的私钥密码,则本次调用获取的私钥(加密格式)将无法解密,您必须重新调用本接口。'."\n" - .'></warning>', - 'type' => 'string', - 'required' => true, - 'example' => '!Demo@WS3ed', - ], + 'schema' => ['description' => '设置用于加密私钥的密码。支持使用英文大小写字母、数字、特殊字符(例如,`,.+-_#`)等。最大长度为32字节。'."\n" + ."\n" + .'><warning> 请记住您设置的密码,后续您需要使用该密码为私钥(加密格式)解密。如果您忘记了已设置的私钥密码,则本次调用获取的私钥(加密格式)将无法解密,您必须重新调用本接口。'."\n" + .'></warning>', 'type' => 'string', 'required' => true, 'example' => '!Demo@WS3ed'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '证书所属资源组的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '证书所属资源组的ID。', 'type' => 'string', 'required' => false, 'example' => 'test'], ], ], 'responses' => [ @@ -4247,29 +2600,18 @@ 'description' => 'GetCertificatePrivateKeyResponse。', 'type' => 'object', 'properties' => [ - 'EncryptedData' => [ - 'description' => '加密后的私钥内容。', - 'type' => 'string', - 'example' => '-----BEGIN ENCRYPTED PRIVATE KEY----- …… -----END ENCRYPTED PRIVATE KEY-----', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '09470F19-CEE8-5C63-BF2C-02B5E3F07A17', - ], + 'EncryptedData' => ['description' => '加密后的私钥内容。', 'type' => 'string', 'example' => '-----BEGIN ENCRYPTED PRIVATE KEY----- …… -----END ENCRYPTED PRIVATE KEY-----'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '09470F19-CEE8-5C63-BF2C-02B5E3F07A17'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '查询证书的私钥', - 'summary' => '获取单个客户端证书或服务端证书的私钥(加密格式)。', 'description' => '本接口只适用基于系统生成的CSR(Certificate Signing Request)签发的证书,用于获取客户端证书或服务端证书的私钥(加密格式)。调用本接口前,您必须已经调用以下接口签发了客户端证书或服务端证书:'."\n" .'- [CreateClientCertificate](~~465967~~)'."\n" .'- [CreateServerCertificate](~~465975~~)'."\n" @@ -4290,12 +2632,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeCertificatePrivateKey', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCertificatePrivateKey'], ], ], 'ramActions' => [ @@ -4306,12 +2643,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -4320,14 +2652,8 @@ ], 'DescribeClientCertificate' => [ 'summary' => '通过证书的唯一识别码查询单个客户端证书或服务端证书的详细信息。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4340,9 +2666,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83515', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -4350,14 +2674,9 @@ [ 'name' => 'Identifier', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的客户端证书或服务端证书的唯一识别码。'."\n" - ."\n" - .'> 您可以调用[ListClientCertificate](~~465990~~)查询所有客户端证书和服务端证书的唯一识别码。', - 'type' => 'string', - 'required' => true, - 'example' => 'd3b95700998e47afc4d95f886579****', - ], + 'schema' => ['description' => '要查询的客户端证书或服务端证书的唯一识别码。'."\n" + ."\n" + .'> 您可以调用[ListClientCertificate](~~465990~~)查询所有客户端证书和服务端证书的唯一识别码。', 'type' => 'string', 'required' => true, 'example' => 'd3b95700998e47afc4d95f886579****'], ], ], 'responses' => [ @@ -4371,196 +2690,74 @@ 'description' => '客户端证书或服务端证书的详细信息。', 'type' => 'object', 'properties' => [ - 'X509Certificate' => [ - 'description' => '证书的内容。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE-----', - ], - 'Identifier' => [ - 'description' => '证书的唯一识别码。', - 'type' => 'string', - 'example' => 'd3b95700998e47afc4d95f886579****', - ], - 'SerialNumber' => [ - 'description' => '证书的序列号。', - 'type' => 'string', - 'example' => '62b2b943a32d96883a6650e672ea0276****', - ], - 'SubjectDN' => [ - 'description' => '证书的DN(Distinguished Name)属性,表示证书的使用者,具体包含以下信息:'."\n" - ."\n" - .'- **C**:国家。'."\n" - .'- **O**:组织机构。'."\n" - .'- **OU**:部门。'."\n" - .'- **L**:城市。'."\n" - .'<props="china">- **ST**:省份、直辖市或自治区。</props>'."\n" - .'<props="intl">- **ST**:省份或州。</props>'."\n" - .'- **CN**:公用名。', - 'type' => 'string', - 'example' => 'C=CN,O=Aliyun,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun', - ], - 'CommonName' => [ - 'description' => '证书的公用名。', - 'type' => 'string', - 'example' => 'aliyun.com', - ], - 'OrganizationUnit' => [ - 'description' => '签发该证书的子CA证书关联的组织机构下部门的名称。', - 'type' => 'string', - 'example' => 'Security', - ], - 'Organization' => [ - 'description' => '签发该证书的子CA证书关联的组织机构的名称。', - 'type' => 'string', - 'example' => 'Aliyun', - ], - 'Locality' => [ - 'description' => '签发该证书的子CA证书关联的组织机构所在城市的名称。', - 'type' => 'string', - 'example' => 'Hangzhou', - ], - 'State' => [ - 'description' => '<props="china">签发该证书的子CA证书关联的组织机构所在省份、直辖市或自治区的名称。</props>'."\n" - .'<props="intl">签发该证书的子CA证书关联的组织机构所在省份或州的名称。</props>', - 'type' => 'string', - 'example' => 'Zhejiang', - ], - 'CountryCode' => [ - 'description' => '签发该证书的子CA证书关联的组织机构所在国家的代码。'."\n" - ."\n" - .'关于不同国家代码的含义,请参见[管理公司信息](~~198289~~)中的**国际代号**章节。', - 'type' => 'string', - 'example' => 'CN', - ], - 'Sans' => [ - 'description' => '证书的SAN(Subject Alternative Name)扩展属性,表示证书关联的其他域名、IP地址等。'."\n" - ."\n" - .'该参数使用JSON数组转化的字符串表示。JSON数组中的每个元素是一个结构体,对应一个SAN扩展。'."\n" - .'每个SAN扩展结构体包含以下参数:'."\n" - ."\n" - .'- **Type**:Integer类型,表示扩展的类型。取值:'."\n" - .' - **1**:表示邮箱地址。'."\n" - .' - **2**:表示域名。'."\n" - .' - **6**:表示统一资源标志符URI(Uniform Resource Identifier)。'."\n" - .' - **7**:表示IP地址。'."\n" - .'- **Value**:String类型,表示扩展的内容。', - 'type' => 'string', - 'example' => '[ {"Type": 7, "Value": "192.0.XX.XX"}, {"Type": 2, "Value": "www.aliyundoc.com"}, ]', - ], - 'Status' => [ - 'description' => '证书的状态。取值:'."\n" - ."\n" - .'- **ISSUE**:表示正常签发。'."\n" - .'- **REVOKE**:表示已被吊销。', - 'type' => 'string', - 'example' => 'ISSUE', - ], - 'BeforeDate' => [ - 'description' => '证书的签发日期。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1634283958000', - ], - 'AfterDate' => [ - 'description' => '证书的到期日期。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1665819958000', - ], - 'Algorithm' => [ - 'description' => '证书的加密算法类型。取值:'."\n" - ."\n" - .'- **RSA**:表示RSA算法。'."\n" - .'- **ECC**:表示ECC算法。'."\n" - .'- **SM2**:表示SM2(国密)算法。', - 'type' => 'string', - 'example' => 'RSA', - ], - 'KeySize' => [ - 'description' => '证书的密钥长度。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4096', - ], - 'SignAlgorithm' => [ - 'description' => '证书的签名算法。', - 'type' => 'string', - 'example' => 'SHA256WITHRSA', - ], - 'CertificateType' => [ - 'description' => '证书的类型。取值:'."\n" - ."\n" - .'- **CLIENT**:表示客户端证书。'."\n" - .'- **SERVER**:表示服务端证书。', - 'type' => 'string', - 'example' => 'SERVER', - ], - 'ParentIdentifier' => [ - 'description' => '签发该证书的子CA证书的唯一识别码。', - 'type' => 'string', - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], - 'Sha2' => [ - 'description' => '证书的SHA256数字指纹。', - 'type' => 'string', - 'example' => '14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****', - ], - 'Md5' => [ - 'description' => '证书的MD5数字指纹。', - 'type' => 'string', - 'example' => 'd3b95700998e47afc4d95f886579****', - ], - 'Days' => [ - 'description' => '证书的有效期。单位:天。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '365', - ], - 'ResourceGroupId' => [ - 'description' => '证书所属资源组的ID。', - 'type' => 'string', - 'example' => 'rg-acfmxllajdpw3fi', - ], - 'CertChain' => [ - 'description' => '完整的证书链。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE-----'."\n" - .'cert'."\n" - .'-----END CERTIFICATE-----'."\n" - .'-----BEGIN CERTIFICATE-----'."\n" - .'subCA'."\n" - .'-----END CERTIFICATE-----'."\n" - .'-----BEGIN CERTIFICATE-----'."\n" - .'rootCA'."\n" - .'-----END CERTIFICATE-----', - ], - 'CustomIdentifier' => [ - 'description' => '用户自定义标识,唯一键。', - 'type' => 'string', - 'example' => '***3a32d96883a6650e672ea0276****', - ], - 'UploadFlag' => [ - 'description' => '表示该证书是否已同步到数字证书服务。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'FullAlgorithm' => [ - 'description' => '携带长度的算法。', - 'type' => 'string', - 'example' => 'RSA_2048', - ], - 'AliasName' => [ - 'description' => '设置签发证书的名称。', - 'type' => 'string', - 'example' => 'rsa_root_2048', - ], - 'Id' => [ - 'description' => '证书订单所属数据源ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1137354', - ], + 'X509Certificate' => ['description' => '证书的内容。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE-----'], + 'Identifier' => ['description' => '证书的唯一识别码。', 'type' => 'string', 'example' => 'd3b95700998e47afc4d95f886579****'], + 'SerialNumber' => ['description' => '证书的序列号。', 'type' => 'string', 'example' => '62b2b943a32d96883a6650e672ea0276****'], + 'SubjectDN' => ['description' => '证书的DN(Distinguished Name)属性,表示证书的使用者,具体包含以下信息:'."\n" + ."\n" + .'- **C**:国家。'."\n" + .'- **O**:组织机构。'."\n" + .'- **OU**:部门。'."\n" + .'- **L**:城市。'."\n" + .'<props="china">- **ST**:省份、直辖市或自治区。</props>'."\n" + .'<props="intl">- **ST**:省份或州。</props>'."\n" + .'- **CN**:公用名。', 'type' => 'string', 'example' => 'C=CN,O=Aliyun,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun'], + 'CommonName' => ['description' => '证书的公用名。', 'type' => 'string', 'example' => 'aliyun.com'], + 'OrganizationUnit' => ['description' => '签发该证书的子CA证书关联的组织机构下部门的名称。', 'type' => 'string', 'example' => 'Security'], + 'Organization' => ['description' => '签发该证书的子CA证书关联的组织机构的名称。', 'type' => 'string', 'example' => 'Aliyun'], + 'Locality' => ['description' => '签发该证书的子CA证书关联的组织机构所在城市的名称。', 'type' => 'string', 'example' => 'Hangzhou'], + 'State' => ['description' => '<props="china">签发该证书的子CA证书关联的组织机构所在省份、直辖市或自治区的名称。</props>'."\n" + .'<props="intl">签发该证书的子CA证书关联的组织机构所在省份或州的名称。</props>', 'type' => 'string', 'example' => 'Zhejiang'], + 'CountryCode' => ['description' => '签发该证书的子CA证书关联的组织机构所在国家的代码。'."\n" + ."\n" + .'关于不同国家代码的含义,请参见[管理公司信息](~~198289~~)中的**国际代号**章节。', 'type' => 'string', 'example' => 'CN'], + 'Sans' => ['description' => '证书的SAN(Subject Alternative Name)扩展属性,表示证书关联的其他域名、IP地址等。'."\n" + ."\n" + .'该参数使用JSON数组转化的字符串表示。JSON数组中的每个元素是一个结构体,对应一个SAN扩展。'."\n" + .'每个SAN扩展结构体包含以下参数:'."\n" + ."\n" + .'- **Type**:Integer类型,表示扩展的类型。取值:'."\n" + .' - **1**:表示邮箱地址。'."\n" + .' - **2**:表示域名。'."\n" + .' - **6**:表示统一资源标志符URI(Uniform Resource Identifier)。'."\n" + .' - **7**:表示IP地址。'."\n" + .'- **Value**:String类型,表示扩展的内容。', 'type' => 'string', 'example' => '[ {"Type": 7, "Value": "192.0.XX.XX"}, {"Type": 2, "Value": "www.aliyundoc.com"}, ]'], + 'Status' => ['description' => '证书的状态。取值:'."\n" + ."\n" + .'- **ISSUE**:表示正常签发。'."\n" + .'- **REVOKE**:表示已被吊销。', 'type' => 'string', 'example' => 'ISSUE'], + 'BeforeDate' => ['description' => '证书的签发日期。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1634283958000'], + 'AfterDate' => ['description' => '证书的到期日期。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1665819958000'], + 'Algorithm' => ['description' => '证书的加密算法类型。取值:'."\n" + ."\n" + .'- **RSA**:表示RSA算法。'."\n" + .'- **ECC**:表示ECC算法。'."\n" + .'- **SM2**:表示SM2(国密)算法。', 'type' => 'string', 'example' => 'RSA'], + 'KeySize' => ['description' => '证书的密钥长度。', 'type' => 'integer', 'format' => 'int32', 'example' => '4096'], + 'SignAlgorithm' => ['description' => '证书的签名算法。', 'type' => 'string', 'example' => 'SHA256WITHRSA'], + 'CertificateType' => ['description' => '证书的类型。取值:'."\n" + ."\n" + .'- **CLIENT**:表示客户端证书。'."\n" + .'- **SERVER**:表示服务端证书。', 'type' => 'string', 'example' => 'SERVER'], + 'ParentIdentifier' => ['description' => '签发该证书的子CA证书的唯一识别码。', 'type' => 'string', 'example' => '160ae6bb538d538c70c01f81dcf2****'], + 'Sha2' => ['description' => '证书的SHA256数字指纹。', 'type' => 'string', 'example' => '14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****'], + 'Md5' => ['description' => '证书的MD5数字指纹。', 'type' => 'string', 'example' => 'd3b95700998e47afc4d95f886579****'], + 'Days' => ['description' => '证书的有效期。单位:天。', 'type' => 'integer', 'format' => 'int32', 'example' => '365'], + 'ResourceGroupId' => ['description' => '证书所属资源组的ID。', 'type' => 'string', 'example' => 'rg-acfmxllajdpw3fi'], + 'CertChain' => ['description' => '完整的证书链。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE-----'."\n" + .'cert'."\n" + .'-----END CERTIFICATE-----'."\n" + .'-----BEGIN CERTIFICATE-----'."\n" + .'subCA'."\n" + .'-----END CERTIFICATE-----'."\n" + .'-----BEGIN CERTIFICATE-----'."\n" + .'rootCA'."\n" + .'-----END CERTIFICATE-----'], + 'CustomIdentifier' => ['description' => '用户自定义标识,唯一键。', 'type' => 'string', 'example' => '***3a32d96883a6650e672ea0276****'], + 'UploadFlag' => ['description' => '表示该证书是否已同步到数字证书服务。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'FullAlgorithm' => ['description' => '携带长度的算法。', 'type' => 'string', 'example' => 'RSA_2048'], + 'AliasName' => ['description' => '设置签发证书的名称。', 'type' => 'string', 'example' => 'rsa_root_2048'], + 'Id' => ['description' => '证书订单所属数据源ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1137354'], 'Tags' => [ 'description' => '标签列表。', 'type' => 'array', @@ -4568,39 +2765,24 @@ 'description' => '标签值。', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'description' => '标签 Key', - 'type' => 'string', - 'example' => 'testKey', - ], - 'TagValue' => [ - 'description' => '标签值。', - 'type' => 'string', - 'example' => '[{\\"tag\\":\\"PROPERTY_TYPE\\",\\"values\\":[]}]', - ], + 'TagKey' => ['description' => '标签 Key', 'type' => 'string', 'example' => 'testKey'], + 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => '[{\\"tag\\":\\"PROPERTY_TYPE\\",\\"values\\":[]}]'], ], ], 'example' => 'mtls', ], ], ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Certificate\\": {\\n \\"X509Certificate\\": \\"-----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE-----\\",\\n \\"Identifier\\": \\"d3b95700998e47afc4d95f886579****\\",\\n \\"SerialNumber\\": \\"62b2b943a32d96883a6650e672ea0276****\\",\\n \\"SubjectDN\\": \\"C=CN,O=Aliyun,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun\\",\\n \\"CommonName\\": \\"aliyun.com\\",\\n \\"OrganizationUnit\\": \\"Security\\",\\n \\"Organization\\": \\"Aliyun\\",\\n \\"Locality\\": \\"Hangzhou\\",\\n \\"State\\": \\"Zhejiang\\",\\n \\"CountryCode\\": \\"CN\\",\\n \\"Sans\\": \\"[ {\\\\\\"Type\\\\\\": 7, \\\\\\"Value\\\\\\": \\\\\\"192.0.XX.XX\\\\\\"}, {\\\\\\"Type\\\\\\": 2, \\\\\\"Value\\\\\\": \\\\\\"www.aliyundoc.com\\\\\\"}, ]\\",\\n \\"Status\\": \\"ISSUE\\",\\n \\"BeforeDate\\": 1634283958000,\\n \\"AfterDate\\": 1665819958000,\\n \\"Algorithm\\": \\"RSA\\",\\n \\"KeySize\\": 4096,\\n \\"SignAlgorithm\\": \\"SHA256WITHRSA\\",\\n \\"CertificateType\\": \\"SERVER\\",\\n \\"ParentIdentifier\\": \\"160ae6bb538d538c70c01f81dcf2****\\",\\n \\"Sha2\\": \\"14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****\\",\\n \\"Md5\\": \\"d3b95700998e47afc4d95f886579****\\",\\n \\"Days\\": 365,\\n \\"ResourceGroupId\\": \\"rg-acfmxllajdpw3fi\\",\\n \\"CertChain\\": \\"-----BEGIN CERTIFICATE-----\\\\ncert\\\\n-----END CERTIFICATE-----\\\\n-----BEGIN CERTIFICATE-----\\\\nsubCA\\\\n-----END CERTIFICATE-----\\\\n-----BEGIN CERTIFICATE-----\\\\nrootCA\\\\n-----END CERTIFICATE-----\\",\\n \\"CustomIdentifier\\": \\"***3a32d96883a6650e672ea0276****\\",\\n \\"UploadFlag\\": 1,\\n \\"FullAlgorithm\\": \\"RSA_2048\\",\\n \\"AliasName\\": \\"rsa_root_2048\\",\\n \\"Id\\": 1137354,\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"testKey\\",\\n \\"TagValue\\": \\"[{\\\\\\\\\\\\\\"tag\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"PROPERTY_TYPE\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"values\\\\\\\\\\\\\\":[]}]\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeClientCertificateResponse>\\n <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\n <Certificate>\\n <Status>ISSUE</Status>\\n <SerialNumber>62b2b943a32d96883a6650e672ea0276****</SerialNumber>\\n <CertificateType>SERVER</CertificateType>\\n <Algorithm>RSA</Algorithm>\\n <State>Zhejiang</State>\\n <Organization>阿里云计算有限公司</Organization>\\n <ParentIdentifier>160ae6bb538d538c70c01f81dcf2****</ParentIdentifier>\\n <Locality>Hangzhou</Locality>\\n <Identifier>d3b95700998e47afc4d95f886579****</Identifier>\\n <Sans>[ {\\"Type\\": 7, \\"Value\\": \\"192.0.XX.XX\\"}, {\\"Type\\": 2, \\"Value\\": \\"www.aliyundoc.com\\"}, ]</Sans>\\n <Days>365</Days>\\n <KeySize>4096</KeySize>\\n <X509Certificate>-----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE-----</X509Certificate>\\n <SubjectDN>C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun</SubjectDN>\\n <SignAlgorithm>SHA256WITHRSA</SignAlgorithm>\\n <OrganizationUnit>Security</OrganizationUnit>\\n <AfterDate>1665819958000</AfterDate>\\n <Sha2>14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****</Sha2>\\n <CommonName>aliyun.com</CommonName>\\n <Md5>d3b95700998e47afc4d95f886579****</Md5>\\n <CountryCode>CN</CountryCode>\\n <BeforeDate>1634283958000</BeforeDate>\\n </Certificate>\\n</DescribeClientCertificateResponse>","errorExample":""}]', 'title' => '查询证书详细信息', 'description' => '本接口用于通过证书的唯一识别码,查询单个客户端证书或服务端证书的详细信息,例如,证书的序列号、使用者信息、内容、状态等。'."\n" ."\n" @@ -4623,12 +2805,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeClientCertificate', - ], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeClientCertificate'], ], ], 'ramActions' => [ @@ -4639,26 +2816,17 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Certificate\\": {\\n \\"X509Certificate\\": \\"-----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE-----\\",\\n \\"Identifier\\": \\"d3b95700998e47afc4d95f886579****\\",\\n \\"SerialNumber\\": \\"62b2b943a32d96883a6650e672ea0276****\\",\\n \\"SubjectDN\\": \\"C=CN,O=Aliyun,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun\\",\\n \\"CommonName\\": \\"aliyun.com\\",\\n \\"OrganizationUnit\\": \\"Security\\",\\n \\"Organization\\": \\"Aliyun\\",\\n \\"Locality\\": \\"Hangzhou\\",\\n \\"State\\": \\"Zhejiang\\",\\n \\"CountryCode\\": \\"CN\\",\\n \\"Sans\\": \\"[ {\\\\\\"Type\\\\\\": 7, \\\\\\"Value\\\\\\": \\\\\\"192.0.XX.XX\\\\\\"}, {\\\\\\"Type\\\\\\": 2, \\\\\\"Value\\\\\\": \\\\\\"www.aliyundoc.com\\\\\\"}, ]\\",\\n \\"Status\\": \\"ISSUE\\",\\n \\"BeforeDate\\": 1634283958000,\\n \\"AfterDate\\": 1665819958000,\\n \\"Algorithm\\": \\"RSA\\",\\n \\"KeySize\\": 4096,\\n \\"SignAlgorithm\\": \\"SHA256WITHRSA\\",\\n \\"CertificateType\\": \\"SERVER\\",\\n \\"ParentIdentifier\\": \\"160ae6bb538d538c70c01f81dcf2****\\",\\n \\"Sha2\\": \\"14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****\\",\\n \\"Md5\\": \\"d3b95700998e47afc4d95f886579****\\",\\n \\"Days\\": 365,\\n \\"ResourceGroupId\\": \\"rg-acfmxllajdpw3fi\\",\\n \\"CertChain\\": \\"-----BEGIN CERTIFICATE-----\\\\ncert\\\\n-----END CERTIFICATE-----\\\\n-----BEGIN CERTIFICATE-----\\\\nsubCA\\\\n-----END CERTIFICATE-----\\\\n-----BEGIN CERTIFICATE-----\\\\nrootCA\\\\n-----END CERTIFICATE-----\\",\\n \\"CustomIdentifier\\": \\"***3a32d96883a6650e672ea0276****\\",\\n \\"UploadFlag\\": 1,\\n \\"FullAlgorithm\\": \\"RSA_2048\\",\\n \\"AliasName\\": \\"rsa_root_2048\\",\\n \\"Id\\": 1137354,\\n \\"Tags\\": [\\n {\\n \\"TagKey\\": \\"testKey\\",\\n \\"TagValue\\": \\"[{\\\\\\\\\\\\\\"tag\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"PROPERTY_TYPE\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"values\\\\\\\\\\\\\\":[]}]\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeClientCertificateResponse>\\n <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\n <Certificate>\\n <Status>ISSUE</Status>\\n <SerialNumber>62b2b943a32d96883a6650e672ea0276****</SerialNumber>\\n <CertificateType>SERVER</CertificateType>\\n <Algorithm>RSA</Algorithm>\\n <State>Zhejiang</State>\\n <Organization>阿里云计算有限公司</Organization>\\n <ParentIdentifier>160ae6bb538d538c70c01f81dcf2****</ParentIdentifier>\\n <Locality>Hangzhou</Locality>\\n <Identifier>d3b95700998e47afc4d95f886579****</Identifier>\\n <Sans>[ {\\"Type\\": 7, \\"Value\\": \\"192.0.XX.XX\\"}, {\\"Type\\": 2, \\"Value\\": \\"www.aliyundoc.com\\"}, ]</Sans>\\n <Days>365</Days>\\n <KeySize>4096</KeySize>\\n <X509Certificate>-----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE-----</X509Certificate>\\n <SubjectDN>C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun</SubjectDN>\\n <SignAlgorithm>SHA256WITHRSA</SignAlgorithm>\\n <OrganizationUnit>Security</OrganizationUnit>\\n <AfterDate>1665819958000</AfterDate>\\n <Sha2>14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****</Sha2>\\n <CommonName>aliyun.com</CommonName>\\n <Md5>d3b95700998e47afc4d95f886579****</Md5>\\n <CountryCode>CN</CountryCode>\\n <BeforeDate>1634283958000</BeforeDate>\\n </Certificate>\\n</DescribeClientCertificateResponse>","errorExample":""}]', ], 'DescribeClientCertificateForSerialNumber' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '通过证书的序列号批量查询客户端证书或服务端证书的详细信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4670,9 +2838,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcasDX3LGS', - ], + 'abilityTreeNodes' => ['FEATUREcasDX3LGS'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -4680,14 +2846,9 @@ [ 'name' => 'SerialNumber', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的客户端证书或服务端证书的序列号。多个序列号之间使用半角逗号(,)分隔。'."\n" - ."\n" - .'> 您可以调用[ListClientCertificate](~~330884~~)查询所有客户端证书和服务端证书的序列号。', - 'type' => 'string', - 'required' => true, - 'example' => '084bde9cd233f0ddae33adc438cfbbbd****', - ], + 'schema' => ['description' => '要查询的客户端证书或服务端证书的序列号。多个序列号之间使用半角逗号(,)分隔。'."\n" + ."\n" + .'> 您可以调用[ListClientCertificate](~~330884~~)查询所有客户端证书和服务端证书的序列号。', 'type' => 'string', 'required' => true, 'example' => '084bde9cd233f0ddae33adc438cfbbbd****'], ], ], 'responses' => [ @@ -4704,170 +2865,74 @@ 'description' => '证书信息。', 'type' => 'object', 'properties' => [ - 'X509Certificate' => [ - 'description' => '证书的内容。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE-----', - ], - 'Identifier' => [ - 'description' => '证书的唯一识别码。', - 'type' => 'string', - 'example' => 'd3b95700998e47afc4d95f886579****', - ], - 'SerialNumber' => [ - 'description' => '证书的序列号。', - 'type' => 'string', - 'example' => '084bde9cd233f0ddae33adc438cfbbbd****', - ], - 'SubjectDN' => [ - 'description' => '证书的DN(Distinguished Name)属性,表示证书的使用者,具体包含以下信息:'."\n" - ."\n" - .'- **C**:国家。'."\n" - .'- **O**:组织机构。'."\n" - .'- **OU**:部门。'."\n" - .'- **L**:城市。'."\n" - .'<props="china">- **ST**:省份、直辖市或自治区。</props>'."\n" - .'<props="intl">- **ST**:省份或州。</props>'."\n" - .'- **CN**:公用名。', - 'type' => 'string', - 'example' => 'C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun', - ], - 'CommonName' => [ - 'description' => '证书的公用名。', - 'type' => 'string', - 'example' => 'aliyun.com', - ], - 'OrganizationUnit' => [ - 'description' => '签发该证书的子CA证书关联的组织机构下部门的名称。', - 'type' => 'string', - 'example' => 'Security', - ], - 'Organization' => [ - 'description' => '签发该证书的子CA证书关联的组织机构的名称。', - 'type' => 'string', - 'example' => '阿里云计算有限公司', - ], - 'Locality' => [ - 'description' => '签发该证书的子CA证书关联的组织机构所在城市的名称。', - 'type' => 'string', - 'example' => 'Hangzhou', - ], - 'State' => [ - 'description' => '<props="china">签发该证书的子CA证书关联的组织机构所在省份、直辖市或自治区的名称。</props>'."\n" - .'<props="intl">签发该证书的子CA证书关联的组织机构所在省份或州的名称。</props>', - 'type' => 'string', - 'example' => 'Zhejiang', - ], - 'CountryCode' => [ - 'description' => '签发该证书的子CA证书关联的组织机构所在国家的代码。'."\n" - ."\n" - .'关于不同国家代码的含义,请参见[管理公司信息](~~198289~~)中的**国际代号**章节。', - 'type' => 'string', - 'example' => 'CN', - ], - 'Sans' => [ - 'description' => '证书的SAN(Subject Alternative Name)扩展属性,表示证书关联的其他域名、IP地址等。'."\n" - ."\n" - .'该参数使用JSON数组转化的字符串表示。JSON数组中的每个元素是一个结构体,对应一个SAN扩展。'."\n" - .'每个SAN扩展结构体包含以下参数:'."\n" - ."\n" - .'- **Type**:Integer类型,表示扩展的类型。取值:'."\n" - .' - **1**:表示邮箱地址。'."\n" - .' - **2**:表示域名。'."\n" - .' - **6**:表示统一资源标志符URI(Uniform Resource Identifier)。'."\n" - .' - **7**:表示IP地址。'."\n" - .'- **Value**:String类型,表示扩展的内容。', - 'type' => 'string', - 'example' => '[ {"Type": 7, "Value": "192.0.XX.XX"}, {"Type": 2, "Value": "www.aliyundoc.com"}, ]', - ], - 'Status' => [ - 'description' => '证书的状态。取值:'."\n" - ."\n" - .'- **ISSUE**:表示正常签发。'."\n" - .'- **REVOKE**:表示已被吊销。', - 'type' => 'string', - 'example' => 'ISSUE', - ], - 'BeforeDate' => [ - 'description' => '证书的签发时间。', - 'type' => 'string', - 'example' => '2021-10-28T16:15Z', - ], - 'AfterDate' => [ - 'description' => '证书的到期时间。', - 'type' => 'string', - 'example' => '2022-08-23T16:15Z', - ], - 'Algorithm' => [ - 'description' => '证书的加密算法类型。取值:'."\n" - ."\n" - .'- **RSA**:表示RSA算法。'."\n" - .'- **ECC**:表示ECC算法。'."\n" - .'- **SM2**:表示SM2(国密)算法。', - 'type' => 'string', - 'example' => 'RSA', - ], - 'KeySize' => [ - 'description' => '证书的密钥长度。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4096', - ], - 'SignAlgorithm' => [ - 'description' => '证书的签名算法。', - 'type' => 'string', - 'example' => 'SHA256WITHRSA', - ], - 'CertificateType' => [ - 'description' => '证书类型。', - 'type' => 'string', - 'example' => 'SUB_ROOT', - ], - 'ParentIdentifier' => [ - 'description' => '如果该参数不为空,代表该客户端证书的颁发机构为阿里云。', - 'type' => 'string', - 'example' => '1a83bcbb89e562885e40aa0108f5****', - ], - 'Sha2' => [ - 'description' => '证书的SHA256数字指纹。', - 'type' => 'string', - 'example' => '14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****', - ], - 'Md5' => [ - 'description' => '证书的MD5数字指纹。', - 'type' => 'string', - 'example' => 'd3b95700998e47afc4d95f886579****', - ], - 'Years' => [ - 'description' => '该参数已废弃。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'X509Certificate' => ['description' => '证书的内容。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE-----'], + 'Identifier' => ['description' => '证书的唯一识别码。', 'type' => 'string', 'example' => 'd3b95700998e47afc4d95f886579****'], + 'SerialNumber' => ['description' => '证书的序列号。', 'type' => 'string', 'example' => '084bde9cd233f0ddae33adc438cfbbbd****'], + 'SubjectDN' => ['description' => '证书的DN(Distinguished Name)属性,表示证书的使用者,具体包含以下信息:'."\n" + ."\n" + .'- **C**:国家。'."\n" + .'- **O**:组织机构。'."\n" + .'- **OU**:部门。'."\n" + .'- **L**:城市。'."\n" + .'<props="china">- **ST**:省份、直辖市或自治区。</props>'."\n" + .'<props="intl">- **ST**:省份或州。</props>'."\n" + .'- **CN**:公用名。', 'type' => 'string', 'example' => 'C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun'], + 'CommonName' => ['description' => '证书的公用名。', 'type' => 'string', 'example' => 'aliyun.com'], + 'OrganizationUnit' => ['description' => '签发该证书的子CA证书关联的组织机构下部门的名称。', 'type' => 'string', 'example' => 'Security'], + 'Organization' => ['description' => '签发该证书的子CA证书关联的组织机构的名称。', 'type' => 'string', 'example' => '阿里云计算有限公司'], + 'Locality' => ['description' => '签发该证书的子CA证书关联的组织机构所在城市的名称。', 'type' => 'string', 'example' => 'Hangzhou'], + 'State' => ['description' => '<props="china">签发该证书的子CA证书关联的组织机构所在省份、直辖市或自治区的名称。</props>'."\n" + .'<props="intl">签发该证书的子CA证书关联的组织机构所在省份或州的名称。</props>', 'type' => 'string', 'example' => 'Zhejiang'], + 'CountryCode' => ['description' => '签发该证书的子CA证书关联的组织机构所在国家的代码。'."\n" + ."\n" + .'关于不同国家代码的含义,请参见[管理公司信息](~~198289~~)中的**国际代号**章节。', 'type' => 'string', 'example' => 'CN'], + 'Sans' => ['description' => '证书的SAN(Subject Alternative Name)扩展属性,表示证书关联的其他域名、IP地址等。'."\n" + ."\n" + .'该参数使用JSON数组转化的字符串表示。JSON数组中的每个元素是一个结构体,对应一个SAN扩展。'."\n" + .'每个SAN扩展结构体包含以下参数:'."\n" + ."\n" + .'- **Type**:Integer类型,表示扩展的类型。取值:'."\n" + .' - **1**:表示邮箱地址。'."\n" + .' - **2**:表示域名。'."\n" + .' - **6**:表示统一资源标志符URI(Uniform Resource Identifier)。'."\n" + .' - **7**:表示IP地址。'."\n" + .'- **Value**:String类型,表示扩展的内容。', 'type' => 'string', 'example' => '[ {"Type": 7, "Value": "192.0.XX.XX"}, {"Type": 2, "Value": "www.aliyundoc.com"}, ]'], + 'Status' => ['description' => '证书的状态。取值:'."\n" + ."\n" + .'- **ISSUE**:表示正常签发。'."\n" + .'- **REVOKE**:表示已被吊销。', 'type' => 'string', 'example' => 'ISSUE'], + 'BeforeDate' => ['description' => '证书的签发时间。', 'type' => 'string', 'example' => '2021-10-28T16:15Z'], + 'AfterDate' => ['description' => '证书的到期时间。', 'type' => 'string', 'example' => '2022-08-23T16:15Z'], + 'Algorithm' => ['description' => '证书的加密算法类型。取值:'."\n" + ."\n" + .'- **RSA**:表示RSA算法。'."\n" + .'- **ECC**:表示ECC算法。'."\n" + .'- **SM2**:表示SM2(国密)算法。', 'type' => 'string', 'example' => 'RSA'], + 'KeySize' => ['description' => '证书的密钥长度。', 'type' => 'integer', 'format' => 'int32', 'example' => '4096'], + 'SignAlgorithm' => ['description' => '证书的签名算法。', 'type' => 'string', 'example' => 'SHA256WITHRSA'], + 'CertificateType' => ['description' => '证书类型。', 'type' => 'string', 'example' => 'SUB_ROOT'], + 'ParentIdentifier' => ['description' => '如果该参数不为空,代表该客户端证书的颁发机构为阿里云。', 'type' => 'string', 'example' => '1a83bcbb89e562885e40aa0108f5****'], + 'Sha2' => ['description' => '证书的SHA256数字指纹。', 'type' => 'string', 'example' => '14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****'], + 'Md5' => ['description' => '证书的MD5数字指纹。', 'type' => 'string', 'example' => 'd3b95700998e47afc4d95f886579****'], + 'Years' => ['description' => '该参数已废弃。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], ], ], ], ], 'staticInfo' => [ - 'substitutions' => [ - 'cas::2020-06-30::DescribeClientCertificate', - ], + 'substitutions' => ['cas::2020-06-30::DescribeClientCertificate'], 'returnType' => 'synchronous', ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'title' => 'DescribeClientCertificateForSerialNumber', - 'summary' => '通过证书的序列号批量查询客户端证书或服务端证书的详细信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"CertificateList\\": [\\n {\\n \\"X509Certificate\\": \\"-----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE-----\\",\\n \\"Identifier\\": \\"d3b95700998e47afc4d95f886579****\\",\\n \\"SerialNumber\\": \\"084bde9cd233f0ddae33adc438cfbbbd****\\",\\n \\"SubjectDN\\": \\"C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun\\",\\n \\"CommonName\\": \\"aliyun.com\\",\\n \\"OrganizationUnit\\": \\"Security\\",\\n \\"Organization\\": \\"阿里云计算有限公司\\",\\n \\"Locality\\": \\"Hangzhou\\",\\n \\"State\\": \\"Zhejiang\\",\\n \\"CountryCode\\": \\"CN\\",\\n \\"Sans\\": \\"[ {\\\\\\"Type\\\\\\": 7, \\\\\\"Value\\\\\\": \\\\\\"192.0.XX.XX\\\\\\"}, {\\\\\\"Type\\\\\\": 2, \\\\\\"Value\\\\\\": \\\\\\"www.aliyundoc.com\\\\\\"}, ]\\",\\n \\"Status\\": \\"ISSUE\\",\\n \\"BeforeDate\\": \\"2021-10-28T16:15Z\\",\\n \\"AfterDate\\": \\"2022-08-23T16:15Z\\",\\n \\"Algorithm\\": \\"RSA\\",\\n \\"KeySize\\": 4096,\\n \\"SignAlgorithm\\": \\"SHA256WITHRSA\\",\\n \\"CertificateType\\": \\"SUB_ROOT\\",\\n \\"ParentIdentifier\\": \\"1a83bcbb89e562885e40aa0108f5****\\",\\n \\"Sha2\\": \\"14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****\\",\\n \\"Md5\\": \\"d3b95700998e47afc4d95f886579****\\",\\n \\"Years\\": 1\\n }\\n ],\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeClientCertificateForSerialNumberResponse>\\n <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\n <CertificateList>\\n <Status>ISSUE</Status>\\n <SerialNumber>084bde9cd233f0ddae33adc438cfbbbd****</SerialNumber>\\n <Algorithm>RSA</Algorithm>\\n <State>Zhejiang</State>\\n <Organization>阿里云计算有限公司</Organization>\\n <Locality>Hangzhou</Locality>\\n <Identifier>d3b95700998e47afc4d95f886579****</Identifier>\\n <Sans>[ {\\"Type\\": 7, \\"Value\\": \\"192.0.XX.XX\\"}, {\\"Type\\": 2, \\"Value\\": \\"www.aliyundoc.com\\"}, ]</Sans>\\n <KeySize>4096</KeySize>\\n <X509Certificate>-----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE-----</X509Certificate>\\n <SubjectDN>C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun</SubjectDN>\\n <SignAlgorithm>SHA256WITHRSA</SignAlgorithm>\\n <OrganizationUnit>Security</OrganizationUnit>\\n <AfterDate>2022-08-23T16:15Z</AfterDate>\\n <Sha2>14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****</Sha2>\\n <CommonName>aliyun.com</CommonName>\\n <Md5>d3b95700998e47afc4d95f886579****</Md5>\\n <CountryCode>CN</CountryCode>\\n <BeforeDate>2021-10-28T16:15Z</BeforeDate>\\n </CertificateList>\\n</DescribeClientCertificateForSerialNumberResponse>","errorExample":""}]', + 'title' => '根据证书序列号查询证书', 'description' => '# 使用说明'."\n" ."\n" .'本接口用于通过证书的序列号,批量查询客户端证书或服务端证书的详细信息,例如,证书的序列号、使用者信息、内容、状态等。'."\n" @@ -4877,13 +2942,11 @@ .'关于如何调用API创建客户端证书,请参见:'."\n" .'- [CreateClientCertificate](~~330873~~)'."\n" .'- [CreateClientCertificateWithCsr](~~330875~~)'."\n" - .'- [CreateCertificateWithExtension](~~328092~~)'."\n" ."\n" .'关于如何调用API创建服务端证书,请参见:'."\n" .'- [CreateServerCertificate](~~330877~~)'."\n" .'- [CreateServerCertificateWithCsr](~~330878~~)'."\n" - .'- [CreateCertificateWithExtension](~~328092~~)'."\n" - ."\n\n" + ."\n" .'# QPS限制'."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~327167~~)。'."\n" @@ -4901,28 +2964,15 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CertificateList\\": [\\n {\\n \\"X509Certificate\\": \\"-----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE-----\\",\\n \\"Identifier\\": \\"d3b95700998e47afc4d95f886579****\\",\\n \\"SerialNumber\\": \\"084bde9cd233f0ddae33adc438cfbbbd****\\",\\n \\"SubjectDN\\": \\"C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun\\",\\n \\"CommonName\\": \\"aliyun.com\\",\\n \\"OrganizationUnit\\": \\"Security\\",\\n \\"Organization\\": \\"阿里云计算有限公司\\",\\n \\"Locality\\": \\"Hangzhou\\",\\n \\"State\\": \\"Zhejiang\\",\\n \\"CountryCode\\": \\"CN\\",\\n \\"Sans\\": \\"[ {\\\\\\"Type\\\\\\": 7, \\\\\\"Value\\\\\\": \\\\\\"192.0.XX.XX\\\\\\"}, {\\\\\\"Type\\\\\\": 2, \\\\\\"Value\\\\\\": \\\\\\"www.aliyundoc.com\\\\\\"}, ]\\",\\n \\"Status\\": \\"ISSUE\\",\\n \\"BeforeDate\\": \\"2021-10-28T16:15Z\\",\\n \\"AfterDate\\": \\"2022-08-23T16:15Z\\",\\n \\"Algorithm\\": \\"RSA\\",\\n \\"KeySize\\": 4096,\\n \\"SignAlgorithm\\": \\"SHA256WITHRSA\\",\\n \\"CertificateType\\": \\"SUB_ROOT\\",\\n \\"ParentIdentifier\\": \\"1a83bcbb89e562885e40aa0108f5****\\",\\n \\"Sha2\\": \\"14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****\\",\\n \\"Md5\\": \\"d3b95700998e47afc4d95f886579****\\",\\n \\"Years\\": 1\\n }\\n ],\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeClientCertificateForSerialNumberResponse>\\n <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\n <CertificateList>\\n <Status>ISSUE</Status>\\n <SerialNumber>084bde9cd233f0ddae33adc438cfbbbd****</SerialNumber>\\n <Algorithm>RSA</Algorithm>\\n <State>Zhejiang</State>\\n <Organization>阿里云计算有限公司</Organization>\\n <Locality>Hangzhou</Locality>\\n <Identifier>d3b95700998e47afc4d95f886579****</Identifier>\\n <Sans>[ {\\"Type\\": 7, \\"Value\\": \\"192.0.XX.XX\\"}, {\\"Type\\": 2, \\"Value\\": \\"www.aliyundoc.com\\"}, ]</Sans>\\n <KeySize>4096</KeySize>\\n <X509Certificate>-----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE-----</X509Certificate>\\n <SubjectDN>C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun</SubjectDN>\\n <SignAlgorithm>SHA256WITHRSA</SignAlgorithm>\\n <OrganizationUnit>Security</OrganizationUnit>\\n <AfterDate>2022-08-23T16:15Z</AfterDate>\\n <Sha2>14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****</Sha2>\\n <CommonName>aliyun.com</CommonName>\\n <Md5>d3b95700998e47afc4d95f886579****</Md5>\\n <CountryCode>CN</CountryCode>\\n <BeforeDate>2021-10-28T16:15Z</BeforeDate>\\n </CertificateList>\\n</DescribeClientCertificateForSerialNumberResponse>","errorExample":""}]', ], 'DescribeClientCertificateStatus' => [ - 'summary' => '通过证书的唯一识别码查询客户端证书和服务端证书的状态信息。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4935,9 +2985,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83517', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -4945,14 +2993,9 @@ [ 'name' => 'Identifier', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的客户端证书或服务端证书的唯一识别码。多个证书识别码之间使用半角逗号(,)分隔。'."\n" - ."\n\n" - .'> 您可以调用[ListClientCertificate](~~465990~~)查询所有客户端与服务端证书的唯一识别码。', - 'type' => 'string', - 'required' => true, - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], + 'schema' => ['description' => '要查询的客户端证书或服务端证书的唯一识别码。多个证书识别码之间使用半角逗号(,)分隔。'."\n" + ."\n\n" + .'> 您可以调用[ListClientCertificate](~~465990~~)查询所有客户端与服务端证书的唯一识别码。', 'type' => 'string', 'required' => true, 'example' => '160ae6bb538d538c70c01f81dcf2****'], ], ], 'responses' => [ @@ -4961,11 +3004,7 @@ 'description' => '对象。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], 'CertificateStatus' => [ 'description' => '证书状态的详细信息。', 'type' => 'array', @@ -4973,28 +3012,15 @@ 'description' => '对象。', 'type' => 'object', 'properties' => [ - 'SerialNumber' => [ - 'description' => '证书的序列号。', - 'type' => 'string', - 'example' => 'b67e53ebcea9b77d65b0c3236646d715****', - ], - 'Status' => [ - 'description' => '证书的当前状态。取值:'."\n" - ."\n" - .'- **good**:表示该证书未被吊销。'."\n" - .'- **revoked**:表示该证书已被吊销。'."\n" - .'- **unknown**:表示服务器不能判断该证书的状态。', - 'type' => 'string', - 'example' => 'good', - ], - 'RevokeTime' => [ - 'description' => '证书被吊销的日期。'."\n" - ."\n" - .'> 只有当**Status**为**revoked**(表示证书已被吊销)时,才会返回该参数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2021-01-01T00:00Z', - ], + 'SerialNumber' => ['description' => '证书的序列号。', 'type' => 'string', 'example' => 'b67e53ebcea9b77d65b0c3236646d715****'], + 'Status' => ['description' => '证书的当前状态。取值:'."\n" + ."\n" + .'- **good**:表示该证书未被吊销。'."\n" + .'- **revoked**:表示该证书已被吊销。'."\n" + .'- **unknown**:表示服务器不能判断该证书的状态。', 'type' => 'string', 'example' => 'good'], + 'RevokeTime' => ['description' => '证书被吊销的日期。'."\n" + ."\n" + .'> 只有当**Status**为**revoked**(表示证书已被吊销)时,才会返回该参数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-01-01T00:00Z'], ], ], ], @@ -5002,14 +3028,13 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '查询证书的状态信息', + 'summary' => '通过证书的唯一识别码查询客户端证书和服务端证书的状态信息。', 'description' => '本接口用于通过证书的唯一识别码,批量查询客户端证书或服务端证书的状态,例如,证书是否已被吊销。'."\n" .'## QPS限制'."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', @@ -5019,12 +3044,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeClientCertificateStatus', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeClientCertificateStatus'], ], ], 'ramActions' => [ @@ -5035,12 +3055,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -5048,14 +3063,9 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\",\\n \\"CertificateStatus\\": [\\n {\\n \\"SerialNumber\\": \\"b67e53ebcea9b77d65b0c3236646d715****\\",\\n \\"Status\\": \\"good\\",\\n \\"RevokeTime\\": 0\\n }\\n ]\\n}","type":"json"}]', ], 'DescribeClientCertificateStatusForSerialNumber' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '通过证书的序列号查询客户端证书和服务端证书的状态信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5068,9 +3078,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83518', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -5078,79 +3086,53 @@ [ 'name' => 'SerialNumber', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的客户端证书或服务端证书的序列号。多个证书序列号之间使用半角逗号(,)分隔。'."\n" - ."\n\n" - .'> 您可以调用[ListClientCertificate](~~330884~~)查询所有客户端与服务端证书的序列号。', - 'type' => 'string', - 'required' => true, - 'example' => 'b67e53ebcea9b77d65b0c3236646d715****', - ], + 'schema' => ['description' => '要查询的客户端证书或服务端证书的序列号。多个证书序列号之间使用半角逗号(,)分隔。'."\n" + ."\n\n" + .'> 您可以调用[ListClientCertificate](~~330884~~)查询所有客户端与服务端证书的序列号。', 'type' => 'string', 'required' => true, 'example' => 'b67e53ebcea9b77d65b0c3236646d715****'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '对象。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], 'CertificateStatus' => [ 'description' => '证书状态的详细信息。', 'type' => 'array', 'items' => [ + 'description' => '对象。', 'type' => 'object', 'properties' => [ - 'SerialNumber' => [ - 'description' => '证书的序列号。', - 'type' => 'string', - 'example' => 'b67e53ebcea9b77d65b0c3236646d715****', - ], - 'Status' => [ - 'description' => '证书的当前状态。取值:'."\n" - ."\n" - .'- **good**:表示该证书未被吊销。'."\n" - .'- **revoked**:表示该证书已被吊销。'."\n" - .'- **unknown**:表示服务器不能判断该证书的状态。', - 'type' => 'string', - 'example' => 'good', - ], - 'RevokeTime' => [ - 'description' => '证书被吊销的日期。'."\n" - ."\n" - .'> 只有当**Status**为**revoked**(表示证书已被吊销)时,才会返回该参数。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2021-01-01T00:00', - ], + 'SerialNumber' => ['description' => '证书的序列号。', 'type' => 'string', 'example' => 'b67e53ebcea9b77d65b0c3236646d715****'], + 'Status' => ['description' => '证书的当前状态。取值:'."\n" + ."\n" + .'- **good**:表示该证书未被吊销。'."\n" + .'- **revoked**:表示该证书已被吊销。'."\n" + .'- **unknown**:表示服务器不能判断该证书的状态。', 'type' => 'string', 'example' => 'good'], + 'RevokeTime' => ['description' => '证书被吊销的日期。'."\n" + ."\n" + .'> 只有当**Status**为**revoked**(表示证书已被吊销)时,才会返回该参数。'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '2021-01-01T00:00'], ], - 'description' => '', ], ], ], - 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'title' => 'DescribeClientCertificateStatusForSerialNumber', - 'summary' => '通过证书的序列号查询客户端证书和服务端证书的状态信息。', - 'description' => '# 使用说明'."\n" - ."\n" - .'本接口用于通过证书的序列号,批量查询客户端证书或服务端证书的状态,例如,证书是否已被吊销。'."\n" + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\",\\n \\"CertificateStatus\\": [\\n {\\n \\"SerialNumber\\": \\"b67e53ebcea9b77d65b0c3236646d715****\\",\\n \\"Status\\": \\"good\\",\\n \\"RevokeTime\\": 0\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeClientCertificateStatusForSerialNumberResponse>\\n <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\n <CertificateStatus>\\n <SerialNumber>b67e53ebcea9b77d65b0c3236646d715****</SerialNumber>\\n <Status>good</Status>\\n </CertificateStatus>\\n</DescribeClientCertificateStatusForSerialNumberResponse>","errorExample":""}]', + 'title' => '通过序列号查询证书状态', + 'description' => '本接口用于通过证书的序列号,批量查询客户端证书或服务端证书的状态,例如,证书是否已被吊销。'."\n" ."\n\n" - .'# QPS限制'."\n" + .'## QPS限制'."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~327167~~)。'."\n" + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。'."\n" ."\n" .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'changeSet' => [], @@ -5165,64 +3147,51 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\",\\n \\"CertificateStatus\\": [\\n {\\n \\"SerialNumber\\": \\"b67e53ebcea9b77d65b0c3236646d715****\\",\\n \\"Status\\": \\"good\\",\\n \\"RevokeTime\\": 0\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeClientCertificateStatusForSerialNumberResponse>\\n <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\n <CertificateStatus>\\n <SerialNumber>b67e53ebcea9b77d65b0c3236646d715****</SerialNumber>\\n <Status>good</Status>\\n </CertificateStatus>\\n</DescribeClientCertificateStatusForSerialNumberResponse>","errorExample":""}]', ], 'DescribePcaAndExternalCACertificateList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '返回用户所有CaCertificate,包括PCA内部产生的与导入的外部证书。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => true, + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'ShowSize', 'in' => 'query', - 'schema' => [ - 'description' => '指定每页显示多少条记录。默认值为50。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '50', - ], + 'schema' => ['description' => '指定每页显示多少条记录。默认值为50。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'], + ], + [ + 'name' => 'Identifiers', + 'in' => 'query', + 'schema' => ['description' => '证书标识。多个标识间英文逗号间隔。', 'type' => 'string', 'required' => false, 'example' => 'aaa,bbb'], + ], + [ + 'name' => 'KeyWord', + 'in' => 'query', + 'schema' => ['description' => '查询关键字。支持通过名称、域名、SANS模糊查询。', 'type' => 'string', 'required' => false, 'example' => 'test_name'], ], ], 'responses' => [ @@ -5230,35 +3199,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '结果的请求id。', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], - 'TotalCount' => [ - 'description' => '总记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageCount' => [ - 'description' => '列表条目数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ShowSize' => [ - 'description' => '指定每页显示多少条记录。默认值为50。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RequestId' => ['description' => '结果的请求id。', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D'], + 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageCount' => ['description' => '列表条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ShowSize' => ['description' => '指定每页显示多少条记录。默认值为50。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'CertificateList' => [ 'description' => '证书显示列表。', 'type' => 'array', @@ -5266,120 +3211,28 @@ 'description' => '证书显示列表。', 'type' => 'object', 'properties' => [ - 'Years' => [ - 'description' => '证书购买年限。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'Status' => [ - 'description' => '证书状态。取值:-**payed**:已付款-**checking**:审核中-**issued**:已签发-**revoked**:已吊销-**checked_fail**:审核失败', - 'type' => 'string', - 'example' => 'ISSUE', - ], - 'SerialNumber' => [ - 'description' => '证书序列号。', - 'type' => 'string', - 'example' => '62b2b943a32d96883a6650e672ea0276****', - ], - 'CertificateType' => [ - 'description' => '证书类型。', - 'type' => 'string', - 'example' => 'SUB_ROOT', - ], - 'Algorithm' => [ - 'description' => '证书id。', - 'type' => 'string', - 'example' => 'RSA', - ], - 'State' => [ - 'description' => '证书状态。-**success**:已生效-**checking**:检测域名是否在阿里云全站加速-**cname_error**:域名没有切到阿里云全球加速实例-**domain_invalid**:域名包含非法字符-**unsupport_wildcard**:不支持泛域名', - 'type' => 'string', - 'example' => 'Zhejiang', - ], - 'Organization' => [ - 'description' => '证书组织。', - 'type' => 'string', - 'example' => '阿里云计算有限公司', - ], - 'ParentIdentifier' => [ - 'description' => '父证书id。', - 'type' => 'string', - 'example' => '1a83bcbb89e562885e40aa0108f5****', - ], - 'Locality' => [ - 'description' => '证书绑定的主域名。', - 'type' => 'string', - 'example' => 'Hangzhou', - ], - 'Identifier' => [ - 'description' => '证书id。', - 'type' => 'string', - 'example' => '05e148d8d3ecc9976d9ecd2b2f25****', - ], - 'Sans' => [ - 'description' => '证书绑定的所有域名。', - 'type' => 'string', - 'example' => '[ {"Type": 7, "Value": "192.0.XX.XX"}, {"Type": 2, "Value": "www.aliyundoc.com"}, ]', - ], - 'KeySize' => [ - 'description' => '证书key的大小,单位gb。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2048', - ], - 'X509Certificate' => [ - 'description' => 'x09证书。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE----- …… -----END CERTIFICATE-----', - ], - 'SubjectDN' => [ - 'description' => '证书主体(拥有者),采用dn标识。', - 'type' => 'string', - 'example' => 'C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun', - ], - 'SignAlgorithm' => [ - 'description' => '证书签名算法,取值:-**prefix**:前缀验证。-**match**:完全匹配。-**any**:全部匹配。', - 'type' => 'string', - 'example' => 'SHA256WITHRSA', - ], - 'OrganizationUnit' => [ - 'description' => '证书颁发机构。', - 'type' => 'string', - 'example' => 'Security', - ], - 'AfterDate' => [ - 'description' => '证书到期时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2022-08-23T16:15Z', - ], - 'Sha2' => [ - 'description' => '证书绑定的主域名。', - 'type' => 'string', - 'example' => '14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****', - ], - 'CommonName' => [ - 'description' => '证书绑定的主域名。', - 'type' => 'string', - 'example' => 'aliyun.com', - ], - 'Md5' => [ - 'description' => '证书绑定的md5值。', - 'type' => 'string', - 'example' => '05e148d8d3ecc9976d9ecd2b2f25****', - ], - 'CountryCode' => [ - 'description' => '证书国家标准编码。', - 'type' => 'string', - 'example' => 'CN', - ], - 'BeforeDate' => [ - 'description' => '证书签发时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2021-01-01T00:00Z', - ], + 'Years' => ['description' => '证书购买年限。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'Status' => ['description' => '证书状态。取值:-**payed**:已付款-**checking**:审核中-**issued**:已签发-**revoked**:已吊销-**checked_fail**:审核失败', 'type' => 'string', 'example' => 'ISSUE'], + 'SerialNumber' => ['description' => '证书序列号。', 'type' => 'string', 'example' => '62b2b943a32d96883a6650e672ea0276****'], + 'CertificateType' => ['description' => '证书类型。', 'type' => 'string', 'example' => 'SUB_ROOT'], + 'Algorithm' => ['description' => '证书id。', 'type' => 'string', 'example' => 'RSA'], + 'State' => ['description' => '证书状态。-**success**:已生效-**checking**:检测域名是否在阿里云全站加速-**cname_error**:域名没有切到阿里云全球加速实例-**domain_invalid**:域名包含非法字符-**unsupport_wildcard**:不支持泛域名', 'type' => 'string', 'example' => 'Zhejiang'], + 'Organization' => ['description' => '证书组织。', 'type' => 'string', 'example' => '阿里云计算有限公司'], + 'ParentIdentifier' => ['description' => '父证书id。', 'type' => 'string', 'example' => '1a83bcbb89e562885e40aa0108f5****'], + 'Locality' => ['description' => '证书绑定的主域名。', 'type' => 'string', 'example' => 'Hangzhou'], + 'Identifier' => ['description' => '证书id。', 'type' => 'string', 'example' => '05e148d8d3ecc9976d9ecd2b2f25****'], + 'Sans' => ['description' => '证书绑定的所有域名。', 'type' => 'string', 'example' => '[ {"Type": 7, "Value": "192.0.XX.XX"}, {"Type": 2, "Value": "www.aliyundoc.com"}, ]'], + 'KeySize' => ['description' => '证书key的大小,单位gb。', 'type' => 'integer', 'format' => 'int32', 'example' => '2048'], + 'X509Certificate' => ['description' => 'x09证书。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE----- …… -----END CERTIFICATE-----'], + 'SubjectDN' => ['description' => '证书主体(拥有者),采用dn标识。', 'type' => 'string', 'example' => 'C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun'], + 'SignAlgorithm' => ['description' => '证书签名算法,取值:-**prefix**:前缀验证。-**match**:完全匹配。-**any**:全部匹配。', 'type' => 'string', 'example' => 'SHA256WITHRSA'], + 'OrganizationUnit' => ['description' => '证书颁发机构。', 'type' => 'string', 'example' => 'Security'], + 'AfterDate' => ['description' => '证书到期时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-08-23T16:15Z'], + 'Sha2' => ['description' => '证书绑定的主域名。', 'type' => 'string', 'example' => '14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****'], + 'CommonName' => ['description' => '证书绑定的主域名。', 'type' => 'string', 'example' => 'aliyun.com'], + 'Md5' => ['description' => '证书绑定的md5值。', 'type' => 'string', 'example' => '05e148d8d3ecc9976d9ecd2b2f25****'], + 'CountryCode' => ['description' => '证书国家标准编码。', 'type' => 'string', 'example' => 'CN'], + 'BeforeDate' => ['description' => '证书签发时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-01-01T00:00Z'], ], ], ], @@ -5388,13 +3241,8 @@ ], ], ], - 'staticInfo' => [ - 'substitutions' => [ - 'cas::2020-06-30::ListAllEndEntityInstance', - ], - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '获取ipa证书列表', - 'summary' => '返回用户所有CaCertificate,包括PCA内部产生的与导入的外部证书。', 'description' => '本接口用于分页查询您已创建的所有CA证书(包括根CA证书和子CA证书)的详细信息,例如,CA证书的唯一识别码、序列号、使用者信息、证书内容等。'."\n" ."\n\n" .'## QPS限制'."\n" @@ -5411,12 +3259,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -5424,14 +3267,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\",\\n \\"TotalCount\\": 10,\\n \\"PageCount\\": 1,\\n \\"ShowSize\\": 10,\\n \\"CertificateList\\": [\\n {\\n \\"Years\\": 3,\\n \\"Status\\": \\"ISSUE\\",\\n \\"SerialNumber\\": \\"62b2b943a32d96883a6650e672ea0276****\\",\\n \\"CertificateType\\": \\"SUB_ROOT\\",\\n \\"Algorithm\\": \\"RSA\\",\\n \\"State\\": \\"Zhejiang\\",\\n \\"Organization\\": \\"阿里云计算有限公司\\",\\n \\"ParentIdentifier\\": \\"1a83bcbb89e562885e40aa0108f5****\\",\\n \\"Locality\\": \\"Hangzhou\\",\\n \\"Identifier\\": \\"05e148d8d3ecc9976d9ecd2b2f25****\\",\\n \\"Sans\\": \\"[ {\\\\\\"Type\\\\\\": 7, \\\\\\"Value\\\\\\": \\\\\\"192.0.XX.XX\\\\\\"}, {\\\\\\"Type\\\\\\": 2, \\\\\\"Value\\\\\\": \\\\\\"www.aliyundoc.com\\\\\\"}, ]\\",\\n \\"KeySize\\": 2048,\\n \\"X509Certificate\\": \\"-----BEGIN CERTIFICATE----- …… -----END CERTIFICATE-----\\",\\n \\"SubjectDN\\": \\"C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun\\",\\n \\"SignAlgorithm\\": \\"SHA256WITHRSA\\",\\n \\"OrganizationUnit\\": \\"Security\\",\\n \\"AfterDate\\": 0,\\n \\"Sha2\\": \\"14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****\\",\\n \\"CommonName\\": \\"aliyun.com\\",\\n \\"Md5\\": \\"05e148d8d3ecc9976d9ecd2b2f25****\\",\\n \\"CountryCode\\": \\"CN\\",\\n \\"BeforeDate\\": 0\\n }\\n ]\\n}","type":"json"}]', ], 'GetCAInstanceStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5444,9 +3281,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83519', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -5454,26 +3289,16 @@ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的私有CA实例的ID。'."\n" - ."\n" - .'> 您在[数字证书管理服务控制台](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist)购买私有CA实例后,可以在**私有证书**页面,通过查看私有CA实例的**详情**,获取私有CA实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cas-member-0hmi****', - ], + 'schema' => ['description' => '要查询的私有CA实例的ID。'."\n" + ."\n" + .'> 您在[数字证书管理服务控制台](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist)购买私有CA实例后,可以在**私有证书**页面,通过查看私有CA实例的**详情**,获取私有CA实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'cas-member-0hmi****'], ], [ 'name' => 'Identifier', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的客户端证书或服务端证书的唯一识别码。'."\n" - ."\n" - .'> 您可以调用[ListClientCertificate](~~330884~~)查询所有客户端证书和服务端证书的唯一识别码。', - 'type' => 'string', - 'required' => false, - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], + 'schema' => ['description' => '要查询的客户端证书或服务端证书的唯一识别码。'."\n" + ."\n" + .'> 您可以调用[ListClientCertificate](~~330884~~)查询所有客户端证书和服务端证书的唯一识别码。', 'type' => 'string', 'required' => false, 'example' => '160ae6bb538d538c70c01f81dcf2****'], ], ], 'responses' => [ @@ -5482,11 +3307,7 @@ 'description' => '对象。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '25589516-2A56-5159-AB88-4A1D9824E183', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '25589516-2A56-5159-AB88-4A1D9824E183'], 'InstanceStatusList' => [ 'description' => '私有CA实例的状态详情。', 'type' => 'array', @@ -5494,75 +3315,34 @@ 'description' => '对象。', 'type' => 'object', 'properties' => [ - 'CertTotalCount' => [ - 'description' => '私有CA实例能够签发证书的数量。'."\n" - ."\n" - .'对于私有根CA实例(**Type**为**ROOT**),该参数表示能够签发的子CA证书的数量。'."\n" - .'对于私有子CA实例(**Type**为**SUB_ROOT**),该参数表示能够签发的客户端证书和服务端证书的总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Status' => [ - 'description' => '私有CA实例的状态。取值:'."\n" - ."\n" - .'- **BUY**:表示已购买但是未启用。'."\n" - .'- **USED**:表示已启用。'."\n" - .'- **REFUND**:表示已退款。'."\n" - .'- **REVOKE**:表示已被吊销。', - 'type' => 'string', - 'example' => 'USED', - ], - 'Type' => [ - 'description' => '私有CA实例的类型。取值:'."\n" - ."\n" - .'- **ROOT**:表示根CA实例。'."\n" - .'- **SUB_ROOT**:表示子CA实例。', - 'type' => 'string', - 'example' => 'ROOT', - ], - 'CertIssuedCount' => [ - 'description' => '私有CA实例已经签发证书的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'BeforeTime' => [ - 'description' => '私有CA证书的签发日期。使用时间戳表示,单位:毫秒。'."\n" - ."\n" - .'> 只有当**Status**为**USED**(表示私有CA实例已启用)或**REVOKE**(表示私有CA实例已被吊销)时,才会返回该参数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1635177600000', - ], - 'Identifier' => [ - 'description' => '私有CA证书的唯一标识码。'."\n" - ."\n" - .'> 只有当**Status**为**USED**(表示私有CA实例已启用)或**REVOKE**(表示私有CA实例已被吊销)时,才会返回该参数。', - 'type' => 'string', - 'example' => 'a7bb2dd212a2112128cd5cc9b753****', - ], - 'AfterTime' => [ - 'description' => '私有CA证书的到期日期。使用时间戳格式表示,单位:毫秒。'."\n" - ."\n" - .'> 只有当**Status**为**USED**(表示私有CA实例已启用)或**REVOKE**(表示私有CA实例已被吊销)时,才会返回该参数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1792944000000', - ], - 'InstanceId' => [ - 'description' => '私有CA实例的ID。', - 'type' => 'string', - 'example' => 'cas-member-0hmi****', - ], - 'UseExpireTime' => [ - 'description' => '私有CA实例的到期日期。使用时间戳表示,单位:毫秒。'."\n" - ."\n" - .'> 该参数对应您在购买私有CA实例时选择的购买时长,即PCA服务的时长。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1637251200000', - ], + 'CertTotalCount' => ['description' => '私有CA实例能够签发证书的数量。'."\n" + ."\n" + .'对于私有根CA实例(**Type**为**ROOT**),该参数表示能够签发的子CA证书的数量。'."\n" + .'对于私有子CA实例(**Type**为**SUB_ROOT**),该参数表示能够签发的客户端证书和服务端证书的总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'Status' => ['description' => '私有CA实例的状态。取值:'."\n" + ."\n" + .'- **BUY**:表示已购买但是未启用。'."\n" + .'- **USED**:表示已启用。'."\n" + .'- **REFUND**:表示已退款。'."\n" + .'- **REVOKE**:表示已被吊销。', 'type' => 'string', 'example' => 'USED'], + 'Type' => ['description' => '私有CA实例的类型。取值:'."\n" + ."\n" + .'- **ROOT**:表示根CA实例。'."\n" + .'- **SUB_ROOT**:表示子CA实例。', 'type' => 'string', 'example' => 'ROOT'], + 'CertIssuedCount' => ['description' => '私有CA实例已经签发证书的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'BeforeTime' => ['description' => '私有CA证书的签发日期。使用时间戳表示,单位:毫秒。'."\n" + ."\n" + .'> 只有当**Status**为**USED**(表示私有CA实例已启用)或**REVOKE**(表示私有CA实例已被吊销)时,才会返回该参数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1635177600000'], + 'Identifier' => ['description' => '私有CA证书的唯一标识码。'."\n" + ."\n" + .'> 只有当**Status**为**USED**(表示私有CA实例已启用)或**REVOKE**(表示私有CA实例已被吊销)时,才会返回该参数。', 'type' => 'string', 'example' => 'a7bb2dd212a2112128cd5cc9b753****'], + 'AfterTime' => ['description' => '私有CA证书的到期日期。使用时间戳格式表示,单位:毫秒。'."\n" + ."\n" + .'> 只有当**Status**为**USED**(表示私有CA实例已启用)或**REVOKE**(表示私有CA实例已被吊销)时,才会返回该参数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1792944000000'], + 'InstanceId' => ['description' => '私有CA实例的ID。', 'type' => 'string', 'example' => 'cas-member-0hmi****'], + 'UseExpireTime' => ['description' => '私有CA实例的到期日期。使用时间戳表示,单位:毫秒。'."\n" + ."\n" + .'> 该参数对应您在购买私有CA实例时选择的购买时长,即PCA服务的时长。', 'type' => 'integer', 'format' => 'int64', 'example' => '1637251200000'], ], ], ], @@ -5570,9 +3350,7 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], @@ -5588,12 +3366,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetCAInstanceStatus', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCAInstanceStatus'], ], ], 'ramActions' => [ @@ -5604,27 +3377,79 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"25589516-2A56-5159-AB88-4A1D9824E183\\",\\n \\"InstanceStatusList\\": [\\n {\\n \\"CertTotalCount\\": 10,\\n \\"Status\\": \\"USED\\",\\n \\"Type\\": \\"ROOT\\",\\n \\"CertIssuedCount\\": 1,\\n \\"BeforeTime\\": 1635177600000,\\n \\"Identifier\\": \\"a7bb2dd212a2112128cd5cc9b753****\\",\\n \\"AfterTime\\": 1792944000000,\\n \\"InstanceId\\": \\"cas-member-0hmi****\\",\\n \\"UseExpireTime\\": 1637251200000\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetCAInstanceStatusResponse>\\n <RequestId>25589516-2A56-5159-AB88-4A1D9824E183</RequestId>\\n <InstanceStatusList>\\n <Status>USED</Status>\\n <Type>ROOT</Type>\\n <Identifier>a7bb2dd212a2112128cd5cc9b753****</Identifier>\\n <InstanceId>cas-member-0hmi****</InstanceId>\\n <BeforeTime>1635177600000</BeforeTime>\\n <UseExpireTime>1637251200000</UseExpireTime>\\n <AfterTime>1792944000000</AfterTime>\\n <CertTotalCount>10</CertTotalCount>\\n <CertIssuedCount>1</CertIssuedCount>\\n </InstanceStatusList>\\n <InstanceStatusList>\\n <Status>USED</Status>\\n <Type>SUB_ROOT</Type>\\n <Identifier>93b09902767679da31f23adc9513****</Identifier>\\n <InstanceId>cas-member-0hmi****</InstanceId>\\n <BeforeTime>1635177600000</BeforeTime>\\n <UseExpireTime>1637251200000</UseExpireTime>\\n <AfterTime>1792944000000</AfterTime>\\n <CertTotalCount>10</CertTotalCount>\\n <CertIssuedCount>1</CertIssuedCount>\\n </InstanceStatusList>\\n</GetCAInstanceStatusResponse>","errorExample":""}]', ], - 'ListAllEndEntityInstance' => [ - 'summary' => '查询终端实例', - 'methods' => [ - 'get', - 'post', + 'GetCaInstanceCrlAddress' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'Uuid', + 'in' => 'query', + 'schema' => ['description' => 'cas实例所在的可用区id。', 'type' => 'string', 'required' => false, 'example' => '1f047318-0815-XXX-f7ceb76b5c0a'], + ], + [ + 'name' => 'CaIdentifier', + 'in' => 'query', + 'schema' => ['description' => 'CA证书标识。', 'type' => 'string', 'required' => false, 'example' => '1f0167b4-ee84-XXX-49bc4d39fa68'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'C53C2341-F321-55A5-895C-D0746E6DA58E'], + 'CrlUrl' => ['description' => 'cron表达式。', 'type' => 'string', 'example' => 'https://crl-cn-publish.oss-cn-hangzhou.aliyuncs.com/pca/crl/35118048/1f0be094-14bd-6caa-bd7f-db45730d510a.crl'], + 'CaInstanceStatus' => ['description' => 'CA实例的状态。', 'type' => 'string', 'example' => 'normal'], + 'HashCode' => ['description' => '用于标识吊销列表中是否有新的吊销证书。', 'type' => 'string', 'example' => '5481d1b1228fXXX40ee70dc8cd'], + 'NextUpdateTime' => ['description' => '吊销列表的下次更新时间。', 'type' => 'string', 'example' => '1778688000000'], + ], + ], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取CA的吊销列表', + 'summary' => '获取ca的crl地址', + 'description' => '本接口用于通过私有CA实例的ID,查询您通过SSL证书服务控制台购买的私有CA实例的状态信息,例如,CA实例的状态、包含的证书数量、已签发的证书数量等。'."\n" + ."\n" + .'调用本接口前,您必须已经通过[数字证书管理服务控制台](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist)购买了私有CA。具体操作,请参见[购买私有CA](~~208553~~)。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C53C2341-F321-55A5-895C-D0746E6DA58E\\",\\n \\"CrlUrl\\": \\"https://crl-cn-publish.oss-cn-hangzhou.aliyuncs.com/pca/crl/35118048/1f0be094-14bd-6caa-bd7f-db45730d510a.crl\\",\\n \\"CaInstanceStatus\\": \\"normal\\",\\n \\"HashCode\\": \\"5481d1b1228fXXX40ee70dc8cd\\",\\n \\"NextUpdateTime\\": \\"1778688000000\\"\\n}","type":"json"}]', + ], + 'ListAllEndEntityInstance' => [ + 'summary' => '查询终端实例', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -5637,9 +3462,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '121135', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -5647,69 +3470,32 @@ [ 'name' => 'ParentId', 'in' => 'query', - 'schema' => [ - 'description' => '父实例id。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '37633', - ], + 'schema' => ['description' => '父实例id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '37633'], ], [ 'name' => 'RecursiveChildren', 'in' => 'query', - 'schema' => [ - 'description' => '指定显示返回结果中的收费类型信息,取值:-**0**:不返回。-**1**:返回。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '9', - ], + 'schema' => ['description' => '指定显示返回结果中的收费类型信息,取值:-**0**:不返回。-**1**:返回。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '9'], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '实例列表的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '实例列表的页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'ShowSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,显示的每页数据的最大条数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '分页查询时,显示的每页数据的最大条数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '本次读取的最大数据量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '1000', - 'minimum' => '0', - 'example' => '20', - ], + 'schema' => ['description' => '本次读取的最大数据量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '0', 'example' => '20'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '下一个查询开始Token,NextToken为空说明没有下一个。', - 'type' => 'string', - 'required' => false, - 'example' => '1d2db86sca4384811e0b5e8707e68181f', - ], + 'schema' => ['description' => '下一个查询开始Token,NextToken为空说明没有下一个。', 'type' => 'string', 'required' => false, 'example' => '1d2db86sca4384811e0b5e8707e68181f'], ], ], 'responses' => [ @@ -5719,89 +3505,50 @@ 'description' => 'OpenApiResponse<PagedResultData<Map<String, Object>>>', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id。', - 'type' => 'string', - 'example' => '443C05A8-6C16-52B5-BB97-5D8798F7A49A', - ], - 'TotalCount' => [ - 'description' => '总记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '23', - ], - 'PageCount' => [ - 'description' => '总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CurrentPage' => [ - 'description' => '实例列表的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ShowSize' => [ - 'description' => '分页查询时,显示的每页数据的最大条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => '443C05A8-6C16-52B5-BB97-5D8798F7A49A'], + 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '23'], + 'PageCount' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'CurrentPage' => ['description' => '实例列表的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ShowSize' => ['description' => '分页查询时,显示的每页数据的最大条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'List' => [ 'description' => '实例列表。', 'type' => 'array', 'items' => [ 'description' => '实例列表。', 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'any', - 'description' => '终端实例详情。', - 'example' => "\n" - .' {'."\n" - .' "CurrentYearFreeCertCount": 0,'."\n" - .' "ParentId": 36739,'."\n" - .' "Trial": false,'."\n" - .' "InstanceId": "cas_deposit-cn-XXX",'."\n" - .' "IssuedCertCount": 29,'."\n" - .' "Algorithm": "RSA",'."\n" - .' "Gift": true,'."\n" - .' "AliasName": "pca-subordinate-XXX",'."\n" - .' "CertCount": 60,'."\n" - .' "CurrentYearIssuedFreeCertCount": 0,'."\n" - .' "Id": 36740,'."\n" - .' "HistoricalIssuedFreeCertCount": 0,'."\n" - .' "Detail": {'."\n" - .' "Identifier": "1f0d426f-8645-62ef-9bd1-XXX",'."\n" - .' "Organization": "a",'."\n" - .' "SerialNumber": "XXX",'."\n" - .' "OrganizationUnit": "a",'."\n" - .' "SubjectDN": "C=AE,ST=a,L=a,O=a,OU=a,CN=a",'."\n" - .' "CommonName": "a"'."\n" - .' }'."\n" - .' }'."\n" - .' ', - ], + 'additionalProperties' => ['type' => 'any', 'description' => '终端实例详情。', 'example' => "\n" + .' {'."\n" + .' "CurrentYearFreeCertCount": 0,'."\n" + .' "ParentId": 36739,'."\n" + .' "Trial": false,'."\n" + .' "InstanceId": "cas_deposit-cn-XXX",'."\n" + .' "IssuedCertCount": 29,'."\n" + .' "Algorithm": "RSA",'."\n" + .' "Gift": true,'."\n" + .' "AliasName": "pca-subordinate-XXX",'."\n" + .' "CertCount": 60,'."\n" + .' "CurrentYearIssuedFreeCertCount": 0,'."\n" + .' "Id": 36740,'."\n" + .' "HistoricalIssuedFreeCertCount": 0,'."\n" + .' "Detail": {'."\n" + .' "Identifier": "1f0d426f-8645-62ef-9bd1-XXX",'."\n" + .' "Organization": "a",'."\n" + .' "SerialNumber": "XXX",'."\n" + .' "OrganizationUnit": "a",'."\n" + .' "SubjectDN": "C=AE,ST=a,L=a,O=a,OU=a,CN=a",'."\n" + .' "CommonName": "a"'."\n" + .' }'."\n" + .' }'."\n" + .' '], ], ], - 'NextToken' => [ - 'description' => '下一个查询开始Token,NextToken为空说明没有下一个。', - 'type' => 'string', - 'example' => '1d2db86sca4384811e0b5e8707e68181f', - ], - 'MaxResults' => [ - 'description' => '本次读取的最大数据量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'NextToken' => ['description' => '下一个查询开始Token,NextToken为空说明没有下一个。', 'type' => 'string', 'example' => '1d2db86sca4384811e0b5e8707e68181f'], + 'MaxResults' => ['description' => '本次读取的最大数据量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], @@ -5825,12 +3572,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -5838,14 +3580,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"443C05A8-6C16-52B5-BB97-5D8798F7A49A\\",\\n \\"TotalCount\\": 23,\\n \\"PageCount\\": 1,\\n \\"CurrentPage\\": 1,\\n \\"ShowSize\\": 10,\\n \\"List\\": [\\n {\\n \\"key\\": \\"\\\\n {\\\\n \\\\\\"CurrentYearFreeCertCount\\\\\\": 0,\\\\n \\\\\\"ParentId\\\\\\": 36739,\\\\n \\\\\\"Trial\\\\\\": false,\\\\n \\\\\\"InstanceId\\\\\\": \\\\\\"cas_deposit-cn-XXX\\\\\\",\\\\n \\\\\\"IssuedCertCount\\\\\\": 29,\\\\n \\\\\\"Algorithm\\\\\\": \\\\\\"RSA\\\\\\",\\\\n \\\\\\"Gift\\\\\\": true,\\\\n \\\\\\"AliasName\\\\\\": \\\\\\"pca-subordinate-XXX\\\\\\",\\\\n \\\\\\"CertCount\\\\\\": 60,\\\\n \\\\\\"CurrentYearIssuedFreeCertCount\\\\\\": 0,\\\\n \\\\\\"Id\\\\\\": 36740,\\\\n \\\\\\"HistoricalIssuedFreeCertCount\\\\\\": 0,\\\\n \\\\\\"Detail\\\\\\": {\\\\n \\\\\\"Identifier\\\\\\": \\\\\\"1f0d426f-8645-62ef-9bd1-XXX\\\\\\",\\\\n \\\\\\"Organization\\\\\\": \\\\\\"a\\\\\\",\\\\n \\\\\\"SerialNumber\\\\\\": \\\\\\"XXX\\\\\\",\\\\n \\\\\\"OrganizationUnit\\\\\\": \\\\\\"a\\\\\\",\\\\n \\\\\\"SubjectDN\\\\\\": \\\\\\"C=AE,ST=a,L=a,O=a,OU=a,CN=a\\\\\\",\\\\n \\\\\\"CommonName\\\\\\": \\\\\\"a\\\\\\"\\\\n }\\\\n }\\\\n \\"\\n }\\n ],\\n \\"NextToken\\": \\"1d2db86sca4384811e0b5e8707e68181f\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', ], 'ListCACertificateLog' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5858,9 +3594,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83520', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -5868,14 +3602,9 @@ [ 'name' => 'Identifier', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的CA证书的唯一识别码。'."\n" - ."\n" - .'> 您可以调用[DescribeCACertificateList](~~328095~~)查询所有CA证书的唯一识别码。', - 'type' => 'string', - 'required' => true, - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], + 'schema' => ['description' => '要查询的CA证书的唯一识别码。'."\n" + ."\n" + .'> 您可以调用[DescribeCACertificateList](~~328095~~)查询所有CA证书的唯一识别码。', 'type' => 'string', 'required' => true, 'example' => '160ae6bb538d538c70c01f81dcf2****'], ], ], 'responses' => [ @@ -5884,11 +3613,7 @@ 'description' => '对象。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], 'LogList' => [ 'description' => 'CA证书的操作日志列表。', 'type' => 'array', @@ -5896,30 +3621,13 @@ 'description' => '对象。', 'type' => 'object', 'properties' => [ - 'Identifier' => [ - 'description' => 'CA证书的唯一识别码。', - 'type' => 'string', - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], - 'Content' => [ - 'description' => '操作内容描述。', - 'type' => 'string', - 'example' => 'add sub-root ca', - ], - 'CreateTime' => [ - 'description' => '操作时间。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1634539509000', - ], - 'OpType' => [ - 'description' => '操作类型。取值:'."\n" - ."\n" - .'- **ADD**:表示创建CA证书。'."\n" - .'- **UPDATE**:表示修改CA证书的状态。', - 'type' => 'string', - 'example' => 'ADD', - ], + 'Identifier' => ['description' => 'CA证书的唯一识别码。', 'type' => 'string', 'example' => '160ae6bb538d538c70c01f81dcf2****'], + 'Content' => ['description' => '操作内容描述。', 'type' => 'string', 'example' => 'add sub-root ca'], + 'CreateTime' => ['description' => '操作时间。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1634539509000'], + 'OpType' => ['description' => '操作类型。取值:'."\n" + ."\n" + .'- **ADD**:表示创建CA证书。'."\n" + .'- **UPDATE**:表示修改CA证书的状态。', 'type' => 'string', 'example' => 'ADD'], ], ], ], @@ -5927,9 +3635,7 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], @@ -5954,12 +3660,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -5968,13 +3669,8 @@ ], 'ListCert' => [ 'summary' => '获取证书列表。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -5987,9 +3683,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '158822', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -5997,112 +3691,59 @@ [ 'name' => 'InstanceUuid', 'in' => 'query', - 'schema' => [ - 'description' => '实例的uuid。', - 'type' => 'string', - 'required' => false, - 'example' => '1ef79512-569b-6a4e-9105-9b91473562f7', - ], + 'schema' => ['description' => '实例的uuid。', 'type' => 'string', 'required' => false, 'example' => '1ef79512-569b-6a4e-9105-9b91473562f7'], ], [ 'name' => 'BeforeDate', 'in' => 'query', - 'schema' => [ - 'description' => '证书的修改时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2025-09-04', - ], + 'schema' => ['description' => '证书的修改时间。', 'type' => 'string', 'required' => false, 'example' => '2025-09-04'], ], [ 'name' => 'AfterDate', 'in' => 'query', - 'schema' => [ - 'description' => '证书绑定的主机记录。', - 'type' => 'string', - 'required' => false, - 'example' => '2024-05-13 12:59:45', - ], + 'schema' => ['description' => '证书绑定的主机记录。', 'type' => 'string', 'required' => false, 'example' => '2024-05-13 12:59:45'], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '证书状态。取值:'."\n" - ."\n" - .'- ISSUE:正常。'."\n" - .'- REVOKE:已吊销。', - 'type' => 'string', - 'required' => false, - 'example' => 'ISSUE', - ], + 'schema' => ['description' => '证书状态。取值:'."\n" + ."\n" + .'- ISSUE:正常。'."\n" + .'- REVOKE:已吊销。', 'type' => 'string', 'required' => false, 'example' => 'ISSUE'], ], [ 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'description' => '证书类型。取值:'."\n" - ."\n" - .'- SERVER:服务端证书。'."\n" - .'- CLIENT:客户端证书。'."\n" - .'- END_ENTITY:终端证书。', - 'type' => 'string', - 'required' => false, - 'example' => 'CLIENT', - ], + 'schema' => ['description' => '证书类型。取值:'."\n" + ."\n" + .'- SERVER:服务端证书。'."\n" + .'- CLIENT:客户端证书。'."\n" + .'- END_ENTITY:终端证书。', 'type' => 'string', 'required' => false, 'example' => 'CLIENT'], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '当前页的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前页的页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'ShowSize', 'in' => 'query', - 'schema' => [ - 'description' => '证书的总大小。单位:字节。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '50', - ], + 'schema' => ['description' => '证书的总大小。单位:字节。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '本次读取的最大数据量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '本次读取的最大数据量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '下一个查询开始Token,NextToken为空说明没有下一个。', - 'type' => 'string', - 'required' => false, - 'example' => '1d2db86sca4384811e0b5e8707e68181f', - ], + 'schema' => ['description' => '下一个查询开始Token,NextToken为空说明没有下一个。', 'type' => 'string', 'required' => false, 'example' => '1d2db86sca4384811e0b5e8707e68181f'], ], [ 'name' => 'ParentIdentifier', 'in' => 'query', - 'schema' => [ - 'description' => 'CA标识。标识签发证书的中间CA。', - 'type' => 'string', - 'required' => false, - 'example' => '273ae6bb538d538c70c01f81jh2****', - ], + 'schema' => ['description' => 'CA标识。标识签发证书的中间CA。', 'type' => 'string', 'required' => false, 'example' => '273ae6bb538d538c70c01f81jh2****'], ], ], 'responses' => [ @@ -6112,30 +3753,10 @@ 'description' => 'OpenApiResponse<PagedResultData<CertificateMeta>>', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '证书总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'PageCount' => [ - 'description' => '页码数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CurrentPage' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ShowSize' => [ - 'description' => '证书的总大小。单位:字节。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], + 'TotalCount' => ['description' => '证书总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'PageCount' => ['description' => '页码数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ShowSize' => ['description' => '证书的总大小。单位:字节。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], 'List' => [ 'description' => '证书所属数据源id。', 'type' => 'array', @@ -6143,150 +3764,58 @@ 'description' => '证书信息。', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '证书状态。取值:'."\n" - ."\n" - .'- ISSUE:正常。'."\n" - .'- REVOKE:已吊销。', - 'type' => 'string', - 'example' => 'complete', - ], - 'AfterDate' => [ - 'description' => '证书到期时间。', - 'type' => 'string', - 'example' => '2024-05-13 12:59:45', - ], - 'Organization' => [ - 'description' => '证书组织。', - 'type' => 'string', - 'example' => 'test', - ], - 'KeyExportable' => [ - 'description' => '是否可以使用该证书。取值:'."\n" - ."\n" - .'- true:可以使用。'."\n" - .'- false:不可以使用。', - 'type' => 'boolean', - ], - 'SubjectDn' => [ - 'description' => '订阅关系id。', - 'type' => 'string', - 'example' => 'SubjectDn', - ], - 'Algorithm' => [ - 'description' => '算法类型。', - 'type' => 'string', - 'example' => 'RSA', - ], - 'CertificateType' => [ - 'description' => '证书类型。取值:'."\n" - ."\n" - .'- free:免费证书。'."\n" - .'- cas:云盾证书。'."\n" - .'- upload:自定义上传。', - 'type' => 'string', - 'example' => 'Server', - ], - 'Identifier' => [ - 'description' => '证书标识。', - 'type' => 'string', - 'example' => '1ef539a8-1e1f-6b88-8c11-21cf01a203e9', - ], - 'SerialNumber' => [ - 'description' => '证书序列号。', - 'type' => 'string', - 'example' => '3a3ee3c3597d675e', - ], - 'Extra' => [ - 'description' => '扩展字段。', - 'type' => 'string', - 'example' => '{"appId":"APP_PFHMIGUHKDUW6S3N7ZL2"}', - ], - 'OrganizationUnit' => [ - 'description' => '购买证书的用户所属的公司或组织名称。', - 'type' => 'string', - 'example' => 'IT', - ], - 'BeforeTime' => [ - 'description' => '客户端证书的签发时间,使用时间戳格式,默认为您调用该接口的时间。单位:毫秒。'."\n" - ."\n" - .'>**BeforeTime**和**AfterTime**参数必须同时为空或者同时设置。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1728921600000', - ], - 'AliasName' => [ - 'description' => '设置签发证书的名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'AfterTime' => [ - 'description' => '客户端证书的服务到期时间,使用时间戳格式。单位:毫秒。'."\n" - .'>**BeforeTime**和**AfterTime**参数必须同时为空或者同时设置。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1728921600000', - ], - 'Id' => [ - 'description' => '证书订单所属数据源ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1806958', - ], + 'Status' => ['description' => '证书状态。取值:'."\n" + ."\n" + .'- ISSUE:正常。'."\n" + .'- REVOKE:已吊销。', 'type' => 'string', 'example' => 'complete'], + 'AfterDate' => ['description' => '证书到期时间。', 'type' => 'string', 'example' => '2024-05-13 12:59:45'], + 'Organization' => ['description' => '证书组织。', 'type' => 'string', 'example' => 'test'], + 'KeyExportable' => ['description' => '是否可以使用该证书。取值:'."\n" + ."\n" + .'- true:可以使用。'."\n" + .'- false:不可以使用。', 'type' => 'boolean', 'example' => 'true'], + 'SubjectDn' => ['description' => '订阅关系id。', 'type' => 'string', 'example' => 'SubjectDn'], + 'Algorithm' => ['description' => '算法类型。', 'type' => 'string', 'example' => 'RSA'], + 'CertificateType' => ['description' => '证书类型。取值:'."\n" + ."\n" + .'- free:免费证书。'."\n" + .'- cas:云盾证书。'."\n" + .'- upload:自定义上传。', 'type' => 'string', 'example' => 'Server'], + 'Identifier' => ['description' => '证书标识。', 'type' => 'string', 'example' => '1ef539a8-1e1f-6b88-8c11-21cf01a203e9'], + 'SerialNumber' => ['description' => '证书序列号。', 'type' => 'string', 'example' => '3a3ee3c3597d675e'], + 'Extra' => ['description' => '扩展字段。', 'type' => 'string', 'example' => '{"appId":"APP_PFHMIGUHKDUW6S3N7ZL2"}'], + 'OrganizationUnit' => ['description' => '购买证书的用户所属的公司或组织名称。', 'type' => 'string', 'example' => 'IT'], + 'BeforeTime' => ['description' => '客户端证书的签发时间,使用时间戳格式,默认为您调用该接口的时间。单位:毫秒。'."\n" + ."\n" + .'>**BeforeTime**和**AfterTime**参数必须同时为空或者同时设置。', 'type' => 'integer', 'format' => 'int64', 'example' => '1728921600000'], + 'AliasName' => ['description' => '设置签发证书的名称。', 'type' => 'string', 'example' => 'test'], + 'AfterTime' => ['description' => '客户端证书的服务到期时间,使用时间戳格式。单位:毫秒。'."\n" + .'>**BeforeTime**和**AfterTime**参数必须同时为空或者同时设置。', 'type' => 'integer', 'format' => 'int64', 'example' => '1728921600000'], + 'Id' => ['description' => '证书订单所属数据源ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1806958'], 'Tags' => [ 'description' => '证书标签。', 'type' => 'array', - 'items' => [ - 'description' => '证书标签。', - 'type' => 'string', - 'example' => '{"app-57074":"test"}', - ], - ], - 'CommonName' => [ - 'description' => '证书绑定的主域名。', - 'type' => 'string', - 'example' => 'www.kfsjn.xyz', - ], - 'BeforeDate' => [ - 'description' => '证书签发时间。', - 'type' => 'string', - 'example' => '2026-05-19', - ], - 'CustomIdentifier' => [ - 'description' => '用户自定义标识,唯一键。', - 'type' => 'string', - 'example' => '***b86sca4384811e0b5e8707e68***', + 'items' => ['description' => '证书标签。', 'type' => 'string', 'example' => '{"app-57074":"test"}'], ], + 'CommonName' => ['description' => '证书绑定的主域名。', 'type' => 'string', 'example' => 'www.kfsjn.xyz'], + 'BeforeDate' => ['description' => '证书签发时间。', 'type' => 'string', 'example' => '2026-05-19'], + 'CustomIdentifier' => ['description' => '用户自定义标识,唯一键。', 'type' => 'string', 'example' => '***b86sca4384811e0b5e8707e68***'], ], ], ], - 'RequestId' => [ - 'description' => '请求id。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', - ], - 'NextToken' => [ - 'description' => '下一个查询开始Token,NextToken为空说明没有下一个。', - 'type' => 'string', - 'example' => '1d2db86sca4384811e0b5e8707e68181f', - ], - 'MaxResults' => [ - 'description' => '本次读取的最大数据量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], + 'NextToken' => ['description' => '下一个查询开始Token,NextToken为空说明没有下一个。', 'type' => 'string', 'example' => '1d2db86sca4384811e0b5e8707e68181f'], + 'MaxResults' => ['description' => '本次读取的最大数据量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"PageCount\\": 1,\\n \\"CurrentPage\\": 1,\\n \\"ShowSize\\": 50,\\n \\"List\\": [\\n {\\n \\"Status\\": \\"complete\\",\\n \\"AfterDate\\": \\"2024-05-13 12:59:45\\",\\n \\"Organization\\": \\"test\\",\\n \\"KeyExportable\\": true,\\n \\"SubjectDn\\": \\"SubjectDn\\",\\n \\"Algorithm\\": \\"RSA\\",\\n \\"CertificateType\\": \\"Server\\",\\n \\"Identifier\\": \\"1ef539a8-1e1f-6b88-8c11-21cf01a203e9\\",\\n \\"SerialNumber\\": \\"3a3ee3c3597d675e\\",\\n \\"Extra\\": \\"{\\\\\\"appId\\\\\\":\\\\\\"APP_PFHMIGUHKDUW6S3N7ZL2\\\\\\"}\\",\\n \\"OrganizationUnit\\": \\"IT\\",\\n \\"BeforeTime\\": 1728921600000,\\n \\"AliasName\\": \\"test\\",\\n \\"AfterTime\\": 1728921600000,\\n \\"Id\\": 1806958,\\n \\"Tags\\": [\\n \\"{\\\\\\"app-57074\\\\\\":\\\\\\"test\\\\\\"}\\"\\n ],\\n \\"CommonName\\": \\"www.kfsjn.xyz\\",\\n \\"BeforeDate\\": \\"2026-05-19\\",\\n \\"CustomIdentifier\\": \\"***b86sca4384811e0b5e8707e68***\\"\\n }\\n ],\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\",\\n \\"NextToken\\": \\"1d2db86sca4384811e0b5e8707e68181f\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', 'title' => '查询CA签发的证书列表', 'description' => '本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', 'changeSet' => [], @@ -6301,27 +3830,16 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"PageCount\\": 1,\\n \\"CurrentPage\\": 1,\\n \\"ShowSize\\": 50,\\n \\"List\\": [\\n {\\n \\"Status\\": \\"complete\\",\\n \\"AfterDate\\": \\"2024-05-13 12:59:45\\",\\n \\"Organization\\": \\"test\\",\\n \\"KeyExportable\\": true,\\n \\"SubjectDn\\": \\"SubjectDn\\",\\n \\"Algorithm\\": \\"RSA\\",\\n \\"CertificateType\\": \\"Server\\",\\n \\"Identifier\\": \\"1ef539a8-1e1f-6b88-8c11-21cf01a203e9\\",\\n \\"SerialNumber\\": \\"3a3ee3c3597d675e\\",\\n \\"Extra\\": \\"{\\\\\\"appId\\\\\\":\\\\\\"APP_PFHMIGUHKDUW6S3N7ZL2\\\\\\"}\\",\\n \\"OrganizationUnit\\": \\"IT\\",\\n \\"BeforeTime\\": 1728921600000,\\n \\"AliasName\\": \\"test\\",\\n \\"AfterTime\\": 1728921600000,\\n \\"Id\\": 1806958,\\n \\"Tags\\": [\\n \\"{\\\\\\"app-57074\\\\\\":\\\\\\"test\\\\\\"}\\"\\n ],\\n \\"CommonName\\": \\"www.kfsjn.xyz\\",\\n \\"BeforeDate\\": \\"2026-05-19\\",\\n \\"CustomIdentifier\\": \\"***b86sca4384811e0b5e8707e68***\\"\\n }\\n ],\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\",\\n \\"NextToken\\": \\"1d2db86sca4384811e0b5e8707e68181f\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', ], 'ListClientCertificate' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询所有客户端证书和服务端证书的详细信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6334,9 +3852,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83521', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -6344,46 +3860,24 @@ [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置当前页面的页码。默认值为**1**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '分页查询时,设置当前页面的页码。默认值为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'ShowSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置每页显示证书的数量。默认值为**20**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '分页查询时,设置每页显示证书的数量。默认值为**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'Identifier', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的客户端证书或服务端证书的唯一识别码。'."\n" - ."\n" - .'> 您可以调用[ListClientCertificate](~~330884~~)查询所有客户端证书和服务端证书的唯一识别码。', - 'type' => 'string', - 'required' => false, - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], + 'schema' => ['description' => '要查询的客户端证书或服务端证书的唯一识别码。'."\n" + ."\n" + .'> 您可以调用[ListClientCertificate](~~330884~~)查询所有客户端证书和服务端证书的唯一识别码。', 'type' => 'string', 'required' => false, 'example' => '160ae6bb538d538c70c01f81dcf2****'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '资源组ID。此ID可通过调用[ListResources](~~2716559~~)接口获取。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-ae******4wia', - ], + 'schema' => ['description' => '资源组ID。此ID可通过调用[ListResources](~~2716559~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'rg-ae******4wia'], ], ], 'responses' => [ @@ -6400,223 +3894,82 @@ 'description' => '对象。', 'type' => 'object', 'properties' => [ - 'X509Certificate' => [ - 'description' => '证书的内容。', - 'type' => 'string', - 'example' => '-----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE-----', - ], - 'Identifier' => [ - 'description' => '证书的唯一识别码。', - 'type' => 'string', - 'example' => 'd3b95700998e47afc4d95f886579****', - ], - 'SerialNumber' => [ - 'description' => '证书的序列号。', - 'type' => 'string', - 'example' => '62b2b943a32d96883a6650e672ea0276****', - ], - 'SubjectDN' => [ - 'description' => '证书的DN(Distinguished Name)属性,表示证书的使用者,具体包含以下信息:'."\n" - ."\n" - .'- **C**:国家。'."\n" - .'- **O**:组织机构。'."\n" - .'- **OU**:部门。'."\n" - .'- **L**:城市。'."\n" - .'<props="china">- **ST**:省份、直辖市或自治区。</props>'."\n" - .'<props="intl">- **ST**:省份或州。</props>'."\n" - .'- **CN**:公用名。', - 'type' => 'string', - 'example' => 'C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun', - ], - 'CommonName' => [ - 'description' => '证书的公用名。', - 'type' => 'string', - 'example' => 'aliyundoc.com', - ], - 'OrganizationUnit' => [ - 'description' => '签发该证书的子CA证书关联的组织机构下部门的名称。', - 'type' => 'string', - 'example' => 'Security', - ], - 'Organization' => [ - 'description' => '签发该证书的子CA证书关联的组织机构的名称。', - 'type' => 'string', - 'example' => '阿里云计算有限公司', - ], - 'Locality' => [ - 'description' => '签发该证书的子CA证书关联的组织机构所在城市的名称。', - 'type' => 'string', - 'example' => 'Hangzhou', - ], - 'State' => [ - 'description' => '<props="china">签发该证书的子CA证书关联的组织机构所在省份、直辖市或自治区的名称。</props>'."\n" - .'<props="intl">签发该证书的子CA证书关联的组织机构所在省份或州的名称。</props>', - 'type' => 'string', - 'example' => 'Zhejiang', - ], - 'CountryCode' => [ - 'description' => '签发该证书的子CA证书关联的组织机构所在国家的代码。'."\n" - ."\n" - .'关于不同国家代码的含义,请参见[管理公司信息](~~198289~~)中的**国际代号**章节。', - 'type' => 'string', - 'example' => 'CN', - ], - 'Sans' => [ - 'description' => '证书的SAN(Subject Alternative Name)扩展属性,表示证书关联的其他域名、IP地址等。'."\n" - ."\n" - .'该参数使用JSON数组转化的字符串表示。JSON数组中的每个元素是一个结构体,对应一个SAN扩展。'."\n" - .'每个SAN扩展结构体包含以下参数:'."\n" - ."\n" - .'- **Type**:Integer类型,表示扩展的类型。取值:'."\n" - .' - **1**:表示邮箱地址。'."\n" - .' - **2**:表示域名。'."\n" - .' - **6**:表示统一资源标识符URI(Uniform Resource Identifier)。'."\n" - .' - **7**:表示IP地址。'."\n" - .'- **Value**:String类型,表示扩展的内容。', - 'type' => 'string', - 'example' => '[ {"Type": 7, "Value": "192.0.XX.XX"}, {"Type": 2, "Value": "www.aliyundoc.com"}, ]', - ], - 'Status' => [ - 'description' => '证书的状态。取值:'."\n" - ."\n" - .'- **ISSUE**:表示正常签发。'."\n" - .'- **REVOKE**:表示已被吊销。', - 'type' => 'string', - 'example' => 'ISSUE', - ], - 'BeforeDate' => [ - 'description' => '证书的签发日期。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1634283958000', - ], - 'AfterDate' => [ - 'description' => '证书的到期日期。使用时间戳表示,单位:毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1665819958000', - ], - 'Algorithm' => [ - 'description' => '证书的加密算法类型。取值:'."\n" - ."\n" - .'- **RSA**:表示RSA算法。'."\n" - .'- **ECC**:表示ECC算法。'."\n" - .'- **SM2**:表示SM2(国密)算法。', - 'type' => 'string', - 'example' => 'RSA', - ], - 'KeySize' => [ - 'description' => '证书的密钥长度。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4096', - ], - 'SignAlgorithm' => [ - 'description' => '证书的签名算法。', - 'type' => 'string', - 'example' => 'SHA256WITHRSA', - ], - 'CertificateType' => [ - 'description' => '证书的类型。取值:'."\n" - ."\n" - .'- **CLIENT**:表示客户端证书。'."\n" - .'- **SERVER**:表示服务端证书。', - 'type' => 'string', - 'example' => 'SERVER', - ], - 'ParentIdentifier' => [ - 'description' => '签发该证书的子CA证书的唯一识别码。', - 'type' => 'string', - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], - 'Sha2' => [ - 'description' => '证书的SHA256数字指纹。', - 'type' => 'string', - 'example' => '14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****', - ], - 'Md5' => [ - 'description' => '证书的MD5数字指纹。', - 'type' => 'string', - 'example' => 'd3b95700998e47afc4d95f886579****', - ], - 'Days' => [ - 'description' => '证书的有效期。单位:天。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '365', - ], - 'ResourceGroupId' => [ - 'description' => '证书所属资源组的ID。', - 'type' => 'string', - 'example' => 'rg-acfmyxa2uv6cu5a', - ], - 'CustomIdentifier' => [ - 'description' => '用户自定义标识,唯一键。', - 'type' => 'string', - 'example' => '****48d8d3ecc9976d9ecd2b2f25****', - ], - 'Id' => [ - 'description' => '证书主键ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12321', - ], - 'AliasName' => [ - 'description' => '设置签发证书的名称。', - 'type' => 'string', - 'example' => '生产培训10.153.13.177', - ], + 'X509Certificate' => ['description' => '证书的内容。', 'type' => 'string', 'example' => '-----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE-----'], + 'Identifier' => ['description' => '证书的唯一识别码。', 'type' => 'string', 'example' => 'd3b95700998e47afc4d95f886579****'], + 'SerialNumber' => ['description' => '证书的序列号。', 'type' => 'string', 'example' => '62b2b943a32d96883a6650e672ea0276****'], + 'SubjectDN' => ['description' => '证书的DN(Distinguished Name)属性,表示证书的使用者,具体包含以下信息:'."\n" + ."\n" + .'- **C**:国家。'."\n" + .'- **O**:组织机构。'."\n" + .'- **OU**:部门。'."\n" + .'- **L**:城市。'."\n" + .'<props="china">- **ST**:省份、直辖市或自治区。</props>'."\n" + .'<props="intl">- **ST**:省份或州。</props>'."\n" + .'- **CN**:公用名。', 'type' => 'string', 'example' => 'C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun'], + 'CommonName' => ['description' => '证书的公用名。', 'type' => 'string', 'example' => 'aliyundoc.com'], + 'OrganizationUnit' => ['description' => '签发该证书的子CA证书关联的组织机构下部门的名称。', 'type' => 'string', 'example' => 'Security'], + 'Organization' => ['description' => '签发该证书的子CA证书关联的组织机构的名称。', 'type' => 'string', 'example' => '阿里云计算有限公司'], + 'Locality' => ['description' => '签发该证书的子CA证书关联的组织机构所在城市的名称。', 'type' => 'string', 'example' => 'Hangzhou'], + 'State' => ['description' => '<props="china">签发该证书的子CA证书关联的组织机构所在省份、直辖市或自治区的名称。</props>'."\n" + .'<props="intl">签发该证书的子CA证书关联的组织机构所在省份或州的名称。</props>', 'type' => 'string', 'example' => 'Zhejiang'], + 'CountryCode' => ['description' => '签发该证书的子CA证书关联的组织机构所在国家的代码。'."\n" + ."\n" + .'关于不同国家代码的含义,请参见[管理公司信息](~~198289~~)中的**国际代号**章节。', 'type' => 'string', 'example' => 'CN'], + 'Sans' => ['description' => '证书的SAN(Subject Alternative Name)扩展属性,表示证书关联的其他域名、IP地址等。'."\n" + ."\n" + .'该参数使用JSON数组转化的字符串表示。JSON数组中的每个元素是一个结构体,对应一个SAN扩展。'."\n" + .'每个SAN扩展结构体包含以下参数:'."\n" + ."\n" + .'- **Type**:Integer类型,表示扩展的类型。取值:'."\n" + .' - **1**:表示邮箱地址。'."\n" + .' - **2**:表示域名。'."\n" + .' - **6**:表示统一资源标识符URI(Uniform Resource Identifier)。'."\n" + .' - **7**:表示IP地址。'."\n" + .'- **Value**:String类型,表示扩展的内容。', 'type' => 'string', 'example' => '[ {"Type": 7, "Value": "192.0.XX.XX"}, {"Type": 2, "Value": "www.aliyundoc.com"}, ]'], + 'Status' => ['description' => '证书的状态。取值:'."\n" + ."\n" + .'- **ISSUE**:表示正常签发。'."\n" + .'- **REVOKE**:表示已被吊销。', 'type' => 'string', 'example' => 'ISSUE'], + 'BeforeDate' => ['description' => '证书的签发日期。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1634283958000'], + 'AfterDate' => ['description' => '证书的到期日期。使用时间戳表示,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1665819958000'], + 'Algorithm' => ['description' => '证书的加密算法类型。取值:'."\n" + ."\n" + .'- **RSA**:表示RSA算法。'."\n" + .'- **ECC**:表示ECC算法。'."\n" + .'- **SM2**:表示SM2(国密)算法。', 'type' => 'string', 'example' => 'RSA'], + 'KeySize' => ['description' => '证书的密钥长度。', 'type' => 'integer', 'format' => 'int32', 'example' => '4096'], + 'SignAlgorithm' => ['description' => '证书的签名算法。', 'type' => 'string', 'example' => 'SHA256WITHRSA'], + 'CertificateType' => ['description' => '证书的类型。取值:'."\n" + ."\n" + .'- **CLIENT**:表示客户端证书。'."\n" + .'- **SERVER**:表示服务端证书。', 'type' => 'string', 'example' => 'SERVER'], + 'ParentIdentifier' => ['description' => '签发该证书的子CA证书的唯一识别码。', 'type' => 'string', 'example' => '160ae6bb538d538c70c01f81dcf2****'], + 'Sha2' => ['description' => '证书的SHA256数字指纹。', 'type' => 'string', 'example' => '14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****'], + 'Md5' => ['description' => '证书的MD5数字指纹。', 'type' => 'string', 'example' => 'd3b95700998e47afc4d95f886579****'], + 'Days' => ['description' => '证书的有效期。单位:天。', 'type' => 'integer', 'format' => 'int32', 'example' => '365'], + 'ResourceGroupId' => ['description' => '证书所属资源组的ID。', 'type' => 'string', 'example' => 'rg-acfmyxa2uv6cu5a'], + 'CustomIdentifier' => ['description' => '用户自定义标识,唯一键。', 'type' => 'string', 'example' => '****48d8d3ecc9976d9ecd2b2f25****'], + 'Id' => ['description' => '证书主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '12321'], + 'AliasName' => ['description' => '设置签发证书的名称。', 'type' => 'string', 'example' => '生产培训10.153.13.177'], ], ], ], - 'CurrentPage' => [ - 'description' => '当前页面的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageCount' => [ - 'description' => '总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ShowSize' => [ - 'description' => '每页显示证书的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => '查询到的客户端证书和服务端证书的总数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', - ], - 'MaxResults' => [ - 'description' => '分页参数:结果集的最大数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'CurrentPage' => ['description' => '当前页面的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageCount' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ShowSize' => ['description' => '每页显示证书的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['description' => '查询到的客户端证书和服务端证书的总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], + 'MaxResults' => ['description' => '分页参数:结果集的最大数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '查询证书列表', - 'summary' => '查询所有客户端证书和服务端证书的详细信息。', 'description' => '本接口用于分页查询您已创建的所有客户端证书和服务端证书的详细信息,例如,证书的唯一识别码、序列号、使用者信息、内容、状态等。'."\n" ."\n\n" .'## QPS限制'."\n" @@ -6627,12 +3980,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ListClientCertificate', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListClientCertificate'], ], ], 'ramActions' => [ @@ -6643,12 +3991,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -6656,13 +3999,9 @@ 'responseDemo' => '[{"type":"json","example":"{\\n \\"CertificateList\\": [\\n {\\n \\"X509Certificate\\": \\"-----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE-----\\",\\n \\"Identifier\\": \\"d3b95700998e47afc4d95f886579****\\",\\n \\"SerialNumber\\": \\"62b2b943a32d96883a6650e672ea0276****\\",\\n \\"SubjectDN\\": \\"C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun\\",\\n \\"CommonName\\": \\"aliyundoc.com\\",\\n \\"OrganizationUnit\\": \\"Security\\",\\n \\"Organization\\": \\"阿里云计算有限公司\\",\\n \\"Locality\\": \\"Hangzhou\\",\\n \\"State\\": \\"Zhejiang\\",\\n \\"CountryCode\\": \\"CN\\",\\n \\"Sans\\": \\"[ {\\\\\\"Type\\\\\\": 7, \\\\\\"Value\\\\\\": \\\\\\"192.0.XX.XX\\\\\\"}, {\\\\\\"Type\\\\\\": 2, \\\\\\"Value\\\\\\": \\\\\\"www.aliyundoc.com\\\\\\"}, ]\\",\\n \\"Status\\": \\"ISSUE\\",\\n \\"BeforeDate\\": 1634283958000,\\n \\"AfterDate\\": 1665819958000,\\n \\"Algorithm\\": \\"RSA\\",\\n \\"KeySize\\": 4096,\\n \\"SignAlgorithm\\": \\"SHA256WITHRSA\\",\\n \\"CertificateType\\": \\"SERVER\\",\\n \\"ParentIdentifier\\": \\"160ae6bb538d538c70c01f81dcf2****\\",\\n \\"Sha2\\": \\"14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****\\",\\n \\"Md5\\": \\"d3b95700998e47afc4d95f886579****\\",\\n \\"Days\\": 365,\\n \\"ResourceGroupId\\": \\"rg-acfmyxa2uv6cu5a\\",\\n \\"CustomIdentifier\\": \\"****48d8d3ecc9976d9ecd2b2f25****\\",\\n \\"Id\\": 12321,\\n \\"AliasName\\": \\"生产培训10.153.13.177\\"\\n }\\n ],\\n \\"CurrentPage\\": 1,\\n \\"PageCount\\": 1,\\n \\"ShowSize\\": 20,\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\",\\n \\"MaxResults\\": 20\\n}","errorExample":""},{"type":"xml","example":"<ListClientCertificateResponse>\\n <CurrentPage>1</CurrentPage>\\n <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\n <TotalCount>1</TotalCount>\\n <PageCount>1</PageCount>\\n <ShowSize>20</ShowSize>\\n <CertificateList>\\n <Status>ISSUE</Status>\\n <SerialNumber>62b2b943a32d96883a6650e672ea0276****</SerialNumber>\\n <CertificateType>SERVER</CertificateType>\\n <Algorithm>RSA</Algorithm>\\n <State>Zhejiang</State>\\n <Organization>阿里云计算有限公司</Organization>\\n <ParentIdentifier>160ae6bb538d538c70c01f81dcf2****</ParentIdentifier>\\n <Locality>Hangzhou</Locality>\\n <Identifier>d3b95700998e47afc4d95f886579****</Identifier>\\n <Sans>[ {\\"Type\\": 7, \\"Value\\": \\"192.0.XX.XX\\"}, {\\"Type\\": 2, \\"Value\\": \\"www.aliyundoc.com\\"}, ]</Sans>\\n <Days>365</Days>\\n <KeySize>4096</KeySize>\\n <X509Certificate>-----BEGIN CERTIFICATE----- ...... -----END CERTIFICATE-----</X509Certificate>\\n <SubjectDN>C=CN,O=阿里云计算有限公司,OU=Security,L=Hangzhou,ST=Zhejiang,CN=Aliyun</SubjectDN>\\n <SignAlgorithm>SHA256WITHRSA</SignAlgorithm>\\n <OrganizationUnit>Security</OrganizationUnit>\\n <AfterDate>1665819958000</AfterDate>\\n <Sha2>14dcc8afc7578e1fcec36d658f7e20de18f6957bbac42b373a66bc9de4e9****</Sha2>\\n <CommonName>aliyundoc.com</CommonName>\\n <Md5>d3b95700998e47afc4d95f886579****</Md5>\\n <CountryCode>CN</CountryCode>\\n <BeforeDate>1634283958000</BeforeDate>\\n </CertificateList>\\n</ListClientCertificateResponse>","errorExample":""}]', ], 'ListPcaCaCertificate' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'summary' => '查询私有CA机构证书。', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -6675,9 +4014,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '241920', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -6685,25 +4022,14 @@ [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '分页参数:页面令牌。请求置空表示从头开始。返回为空时表示最后一页。', - 'type' => 'string', - 'required' => false, - 'example' => '1d2db86sca4384811e0b5e8707e68181f', - ], + 'schema' => ['description' => '分页参数:页面令牌。请求置空表示从头开始。返回为空时表示最后一页。', 'type' => 'string', 'required' => false, 'example' => '1d2db86sca4384811e0b5e8707e68181f'], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '分页参数:结果集的最大数量,默认值为20。'."\n" - ."\n" - .'取值范围:1~2000', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '分页参数:结果集的最大数量,默认值为20。'."\n" + ."\n" + .'取值范围:1~2000', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], ], 'responses' => [ @@ -6714,93 +4040,37 @@ 'type' => 'object', 'properties' => [ 'List' => [ - 'description' => '蜜罐探针数据。', + 'description' => 'CA证书列表。', 'type' => 'array', 'items' => [ - 'description' => '蜜罐探针数据。', + 'description' => 'CA证书基本信息。', 'type' => 'object', 'properties' => [ - 'CertIdentifier' => [ - 'title' => '证书标识。可用于查询证书详情。', - 'description' => '证书标识。可用于查询证书详情。', - 'type' => 'string', - 'example' => '1ef78be5-******-b5ef0f0eba3d', - ], - 'Status' => [ - 'title' => '证书状态。', - 'description' => '证书状态。', - 'type' => 'string', - 'example' => 'ISSUE', - ], - 'CommonName' => [ - 'title' => '证书通用名称。与证书主体信息(Subject)的CommonName一致。', - 'description' => '证书通用名称。与证书主体信息(Subject)的CommonName一致。', - 'type' => 'string', - 'example' => 'Example Co., Ltd.', - ], - 'IssuerIdentifier' => [ - 'title' => '颁发者证书标识。可用于查询颁发者证书。', - 'description' => '颁发者证书标识。可用于查询颁发者证书。', - 'type' => 'string', - 'example' => '1ef78be5-******-b5ef0f0eba3d', - ], - 'PrivateCaInstanceId' => [ - 'title' => '私有CA实例ID。', - 'description' => '私有CA实例ID。', - 'type' => 'string', - 'example' => 'cas_deposit-cn-******', - ], - 'PrivateCaRegionId' => [ - 'title' => '私有CA实例地域ID。', - 'description' => '私有CA实例地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'UserId' => [ - 'title' => '账号ID。', - 'description' => '账号ID。', - 'type' => 'string', - 'example' => '166********', - ], + 'CertIdentifier' => ['title' => '证书标识。可用于查询证书详情。', 'description' => '证书标识。可用于查询证书详情。', 'type' => 'string', 'example' => '1ef78be5-******-b5ef0f0eba3d'], + 'Status' => ['title' => '证书状态。', 'description' => '证书状态。', 'type' => 'string', 'example' => 'ISSUE'], + 'CommonName' => ['title' => '证书通用名称。与证书主体信息(Subject)的CommonName一致。', 'description' => '证书通用名称。与证书主体信息(Subject)的CommonName一致。', 'type' => 'string', 'example' => 'Example Co., Ltd.'], + 'IssuerIdentifier' => ['title' => '颁发者证书标识。可用于查询颁发者证书。', 'description' => '颁发者证书标识。可用于查询颁发者证书。', 'type' => 'string', 'example' => '1ef78be5-******-b5ef0f0eba3d'], + 'PrivateCaInstanceId' => ['title' => '私有CA实例ID。', 'description' => '私有CA实例ID。', 'type' => 'string', 'example' => 'cas_deposit-cn-******'], + 'PrivateCaRegionId' => ['title' => '私有CA实例地域ID。', 'description' => '私有CA实例地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'UserId' => ['title' => '账号ID。', 'description' => '账号ID。', 'type' => 'string', 'example' => '166********'], ], ], ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '12345678-1234-1234-1234-123456789ABC', - ], - 'TotalCount' => [ - 'description' => '结果集总数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'NextToken' => [ - 'description' => '分页参数:页面令牌。请求置空表示从头开始。返回为空时表示最后一页。', - 'type' => 'string', - 'example' => '1d2db86sca4384811e0b5e8707e68181f', - ], - 'MaxResults' => [ - 'description' => '分页参数:结果集的最大数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '12345678-1234-1234-1234-123456789ABC'], + 'TotalCount' => ['description' => '结果集总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'NextToken' => ['description' => '分页参数:页面令牌。请求置空表示从头开始。返回为空时表示最后一页。', 'type' => 'string', 'example' => '1d2db86sca4384811e0b5e8707e68181f'], + 'MaxResults' => ['description' => '分页参数:结果集的最大数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '获取私有CA列表', - 'summary' => '查询私有CA机构证书。', - 'description' => '本接口用于查询CA证书(包括根CA证书和子CA证书)的操作日志,例如,CA证书的创建日志、状态修改日志。'."\n" + 'description' => '本接口用于查询CA证书列表。(包括根CA证书和子CA证书)'."\n" ."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', 'changeSet' => [], @@ -6815,12 +4085,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -6828,14 +4093,9 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"List\\": [\\n {\\n \\"CertIdentifier\\": \\"1ef78be5-******-b5ef0f0eba3d\\",\\n \\"Status\\": \\"ISSUE\\",\\n \\"CommonName\\": \\"Example Co., Ltd.\\",\\n \\"IssuerIdentifier\\": \\"1ef78be5-******-b5ef0f0eba3d\\",\\n \\"PrivateCaInstanceId\\": \\"cas_deposit-cn-******\\",\\n \\"PrivateCaRegionId\\": \\"cn-hangzhou\\",\\n \\"UserId\\": \\"166********\\"\\n }\\n ],\\n \\"RequestId\\": \\"12345678-1234-1234-1234-123456789ABC\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"1d2db86sca4384811e0b5e8707e68181f\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', ], 'ListRevokeCertificate' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => '查询所有已被吊销的客户端证书和服务端证书的详细信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6848,9 +4108,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83522', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -6858,24 +4116,12 @@ [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置当前页面的页码。默认值为**1**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '分页查询时,设置当前页面的页码。默认值为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'ShowSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置每页包含已被吊销证书的数量。默认值为**20**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '分页查询时,设置每页包含已被吊销证书的数量。默认值为**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], ], 'responses' => [ @@ -6892,186 +4138,70 @@ 'description' => '对象。', 'type' => 'object', 'properties' => [ - 'RevokeDate' => [ - 'description' => '证书被吊销的日期。格式为`yyyy-MM-ddT00:00Z`,例如,`2021-09-01T00:00Z`表示2021年09月01日。'."\n", - 'type' => 'string', - 'example' => '2021-09-01T00:00Z', - ], - 'Identifier' => [ - 'description' => '证书的唯一识别码。', - 'type' => 'string', - 'example' => '05e148d8d3ecc9976d9ecd2b2f25****', - ], - 'SerialNumber' => [ - 'description' => '证书的序列号。', - 'type' => 'string', - 'example' => '168b12c42e62339f8d2340ff530f9365****', - ], - 'SubjectDN' => [ - 'description' => '证书的DN(Distinguished Name)属性,表示证书的使用者,具体包含以下信息:'."\n" - ."\n" - .'- **C**:国家。'."\n" - .'- **O**:组织机构。'."\n" - .'- **OU**:部门。'."\n" - .'- **L**:城市。'."\n" - .'<props="china">- **ST**:省份、直辖市或自治区。</props>'."\n" - .'<props="intl">- **ST**:省份或州。</props>'."\n" - .'- **CN**:公用名。'."\n", - 'type' => 'string', - 'example' => 'C=CN,O=阿里云计算有限公司,OU=Security,L=ZheJiang,ST=HangZhou,CN=aliyundoc.com', - ], - 'CommonName' => [ - 'description' => '证书的公用名。', - 'type' => 'string', - 'example' => 'aliyundoc.com', - ], - 'OrganizationUnit' => [ - 'description' => '签发该证书的子CA证书关联的组织机构下部门的名称。', - 'type' => 'string', - 'example' => 'Security', - ], - 'Organization' => [ - 'description' => '签发该证书的子CA证书关联的组织机构的名称。', - 'type' => 'string', - 'example' => '阿里云计算有限公司', - ], - 'Locality' => [ - 'description' => '签发该证书的子CA证书关联的组织机构所在城市的名称。', - 'type' => 'string', - 'example' => 'Hangzhou', - ], - 'State' => [ - 'description' => '<props="china">签发该证书的子CA证书关联的组织机构所在省份、直辖市或自治区的名称。</props>'."\n" - .'<props="intl">签发该证书的子CA证书关联的组织机构所在省份或州的名称。</props>', - 'type' => 'string', - 'example' => 'Zhejiang', - ], - 'CountryCode' => [ - 'description' => '签发该证书的子CA证书关联的组织机构所在国家的代码。'."\n" - ."\n" - .'关于不同国家代码的含义,请参见[管理公司信息](~~198289~~)中的**国际代号**章节。', - 'type' => 'string', - 'example' => 'CN', - ], - 'Sans' => [ - 'description' => '证书的SAN(Subject Alternative Name)扩展属性。'."\n" - ."\n" - .'该参数使用JSON数组转化的字符串表示。JSON数组中的每个元素是一个结构体,对应一个SAN扩展。每个SAN扩展结构体包含以下参数:'."\n" - ."\n" - .'- **Type**:Integer类型,表示扩展的类型。取值:'."\n" - .' - **1**:表示邮箱地址。'."\n" - .' - **2**:表示域名。'."\n" - .' - **6**:表示统一资源标识符URI(Uniform Resource Identifier)。'."\n" - .' - **7**:表示IP地址。'."\n" - .'- **Value**:String类型,表示扩展的内容。', - 'type' => 'string', - 'example' => '[ {"Type": 7, "Value": "192.0.XX.XX"}, {"Type": 2, "Value": "www.aliyundoc.com"}, ]', - ], - 'Status' => [ - 'description' => '状态。', - 'type' => 'string', - 'example' => 'ISSUE', - ], - 'BeforeDate' => [ - 'description' => '证书的签发日期。格式为`yyyy-MM-ddT00:00Z`,例如,`2021-01-01T00:00Z`表示2021年01月01日。', - 'type' => 'string', - 'example' => '2021-01-01T00:00Z', - ], - 'AfterDate' => [ - 'description' => '证书的到期日期。格式为`yyyy-MM-ddT00:00Z`,例如,`2021-12-31T00:00Z`表示2021年12月31日。', - 'type' => 'string', - 'example' => '2021-12-31T00:00Z', - ], - 'Algorithm' => [ - 'description' => '证书的加密算法类型。取值:'."\n" - ."\n" - .'- **RSA**:表示RSA算法。'."\n" - .'- **ECC**:表示ECC算法。'."\n" - .'- **SM2**:表示SM2(国密)算法。', - 'type' => 'string', - 'example' => 'RSA', - ], - 'KeySize' => [ - 'description' => '证书的密钥长度。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4096', - ], - 'SignAlgorithm' => [ - 'description' => '证书的签名算法。', - 'type' => 'string', - 'example' => 'SHA256WITHRSA', - ], - 'CertificateType' => [ - 'description' => '证书类型。', - 'type' => 'string', - 'example' => 'SERVER', - ], - 'ParentIdentifier' => [ - 'description' => '父证书标识。', - 'type' => 'string', - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], - 'Sha2' => [ - 'description' => '证书的SHA256数字指纹。', - 'type' => 'string', - 'example' => 'b60eff7e04323ff662f9ab5e6986f849f626a9c7bf2c59dcc752fa23779a****', - ], - 'Md5' => [ - 'description' => '证书的MD5数字指纹。', - 'type' => 'string', - 'example' => '05e148d8d3ecc9976d9ecd2b2f25****', - ], - 'CustomIdentifier' => [ - 'description' => '用户自定义标识,唯一键。', - 'type' => 'string', - 'example' => '****48d8d3ecc9976d9ecd2b2f25****', - ], + 'RevokeDate' => ['description' => '证书被吊销的日期。格式为`yyyy-MM-ddT00:00Z`,例如,`2021-09-01T00:00Z`表示2021年09月01日。'."\n", 'type' => 'string', 'example' => '2021-09-01T00:00Z'], + 'Identifier' => ['description' => '证书的唯一识别码。', 'type' => 'string', 'example' => '05e148d8d3ecc9976d9ecd2b2f25****'], + 'SerialNumber' => ['description' => '证书的序列号。', 'type' => 'string', 'example' => '168b12c42e62339f8d2340ff530f9365****'], + 'SubjectDN' => ['description' => '证书的DN(Distinguished Name)属性,表示证书的使用者,具体包含以下信息:'."\n" + ."\n" + .'- **C**:国家。'."\n" + .'- **O**:组织机构。'."\n" + .'- **OU**:部门。'."\n" + .'- **L**:城市。'."\n" + .'<props="china">- **ST**:省份、直辖市或自治区。</props>'."\n" + .'<props="intl">- **ST**:省份或州。</props>'."\n" + .'- **CN**:公用名。'."\n", 'type' => 'string', 'example' => 'C=CN,O=阿里云计算有限公司,OU=Security,L=ZheJiang,ST=HangZhou,CN=aliyundoc.com'], + 'CommonName' => ['description' => '证书的公用名。', 'type' => 'string', 'example' => 'aliyundoc.com'], + 'OrganizationUnit' => ['description' => '签发该证书的子CA证书关联的组织机构下部门的名称。', 'type' => 'string', 'example' => 'Security'], + 'Organization' => ['description' => '签发该证书的子CA证书关联的组织机构的名称。', 'type' => 'string', 'example' => '阿里云计算有限公司'], + 'Locality' => ['description' => '签发该证书的子CA证书关联的组织机构所在城市的名称。', 'type' => 'string', 'example' => 'Hangzhou'], + 'State' => ['description' => '<props="china">签发该证书的子CA证书关联的组织机构所在省份、直辖市或自治区的名称。</props>'."\n" + .'<props="intl">签发该证书的子CA证书关联的组织机构所在省份或州的名称。</props>', 'type' => 'string', 'example' => 'Zhejiang'], + 'CountryCode' => ['description' => '签发该证书的子CA证书关联的组织机构所在国家的代码。'."\n" + ."\n" + .'关于不同国家代码的含义,请参见[管理公司信息](~~198289~~)中的**国际代号**章节。', 'type' => 'string', 'example' => 'CN'], + 'Sans' => ['description' => '证书的SAN(Subject Alternative Name)扩展属性。'."\n" + ."\n" + .'该参数使用JSON数组转化的字符串表示。JSON数组中的每个元素是一个结构体,对应一个SAN扩展。每个SAN扩展结构体包含以下参数:'."\n" + ."\n" + .'- **Type**:Integer类型,表示扩展的类型。取值:'."\n" + .' - **1**:表示邮箱地址。'."\n" + .' - **2**:表示域名。'."\n" + .' - **6**:表示统一资源标识符URI(Uniform Resource Identifier)。'."\n" + .' - **7**:表示IP地址。'."\n" + .'- **Value**:String类型,表示扩展的内容。', 'type' => 'string', 'example' => '[ {"Type": 7, "Value": "192.0.XX.XX"}, {"Type": 2, "Value": "www.aliyundoc.com"}, ]'], + 'Status' => ['description' => '状态。', 'type' => 'string', 'example' => 'ISSUE'], + 'BeforeDate' => ['description' => '证书的签发日期。格式为`yyyy-MM-ddT00:00Z`,例如,`2021-01-01T00:00Z`表示2021年01月01日。', 'type' => 'string', 'example' => '2021-01-01T00:00Z'], + 'AfterDate' => ['description' => '证书的到期日期。格式为`yyyy-MM-ddT00:00Z`,例如,`2021-12-31T00:00Z`表示2021年12月31日。', 'type' => 'string', 'example' => '2021-12-31T00:00Z'], + 'Algorithm' => ['description' => '证书的加密算法类型。取值:'."\n" + ."\n" + .'- **RSA**:表示RSA算法。'."\n" + .'- **ECC**:表示ECC算法。'."\n" + .'- **SM2**:表示SM2(国密)算法。', 'type' => 'string', 'example' => 'RSA'], + 'KeySize' => ['description' => '证书的密钥长度。', 'type' => 'integer', 'format' => 'int32', 'example' => '4096'], + 'SignAlgorithm' => ['description' => '证书的签名算法。', 'type' => 'string', 'example' => 'SHA256WITHRSA'], + 'CertificateType' => ['description' => '证书类型。', 'type' => 'string', 'example' => 'SERVER'], + 'ParentIdentifier' => ['description' => '父证书标识。', 'type' => 'string', 'example' => '160ae6bb538d538c70c01f81dcf2****'], + 'Sha2' => ['description' => '证书的SHA256数字指纹。', 'type' => 'string', 'example' => 'b60eff7e04323ff662f9ab5e6986f849f626a9c7bf2c59dcc752fa23779a****'], + 'Md5' => ['description' => '证书的MD5数字指纹。', 'type' => 'string', 'example' => '05e148d8d3ecc9976d9ecd2b2f25****'], + 'CustomIdentifier' => ['description' => '用户自定义标识,唯一键。', 'type' => 'string', 'example' => '****48d8d3ecc9976d9ecd2b2f25****'], ], ], ], - 'CurrentPage' => [ - 'description' => '当前页面的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageCount' => [ - 'description' => '总页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ShowSize' => [ - 'description' => '每页包含已被吊销证书的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => '已被吊销的客户端证书和服务端证书的总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', - ], + 'CurrentPage' => ['description' => '当前页面的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageCount' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ShowSize' => ['description' => '每页包含已被吊销证书的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['description' => '已被吊销的客户端证书和服务端证书的总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '查询吊销证书列表', - 'summary' => '查询所有已被吊销的客户端证书和服务端证书的详细信息。', 'description' => '本接口用于分页查询所有已被吊销的客户端证书和服务端证书的详细信息,例如,证书的唯一识别码、序列号、吊销日期等。'."\n" ."\n" .'## QPS限制'."\n" @@ -7082,12 +4212,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ListRevokeCertificate', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRevokeCertificate'], ], ], 'ramActions' => [ @@ -7098,12 +4223,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -7111,13 +4231,9 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CertificateList\\": [\\n {\\n \\"RevokeDate\\": \\"2021-09-01T00:00Z\\",\\n \\"Identifier\\": \\"05e148d8d3ecc9976d9ecd2b2f25****\\",\\n \\"SerialNumber\\": \\"168b12c42e62339f8d2340ff530f9365****\\",\\n \\"SubjectDN\\": \\"C=CN,O=阿里云计算有限公司,OU=Security,L=ZheJiang,ST=HangZhou,CN=aliyundoc.com\\",\\n \\"CommonName\\": \\"aliyundoc.com\\",\\n \\"OrganizationUnit\\": \\"Security\\",\\n \\"Organization\\": \\"阿里云计算有限公司\\",\\n \\"Locality\\": \\"Hangzhou\\",\\n \\"State\\": \\"Zhejiang\\",\\n \\"CountryCode\\": \\"CN\\",\\n \\"Sans\\": \\"[ {\\\\\\"Type\\\\\\": 7, \\\\\\"Value\\\\\\": \\\\\\"192.0.XX.XX\\\\\\"}, {\\\\\\"Type\\\\\\": 2, \\\\\\"Value\\\\\\": \\\\\\"www.aliyundoc.com\\\\\\"}, ]\\",\\n \\"Status\\": \\"ISSUE\\",\\n \\"BeforeDate\\": \\"2021-01-01T00:00Z\\",\\n \\"AfterDate\\": \\"2021-12-31T00:00Z\\",\\n \\"Algorithm\\": \\"RSA\\",\\n \\"KeySize\\": 4096,\\n \\"SignAlgorithm\\": \\"SHA256WITHRSA\\",\\n \\"CertificateType\\": \\"SERVER\\",\\n \\"ParentIdentifier\\": \\"160ae6bb538d538c70c01f81dcf2****\\",\\n \\"Sha2\\": \\"b60eff7e04323ff662f9ab5e6986f849f626a9c7bf2c59dcc752fa23779a****\\",\\n \\"Md5\\": \\"05e148d8d3ecc9976d9ecd2b2f25****\\",\\n \\"CustomIdentifier\\": \\"****48d8d3ecc9976d9ecd2b2f25****\\"\\n }\\n ],\\n \\"CurrentPage\\": 1,\\n \\"PageCount\\": 1,\\n \\"ShowSize\\": 20,\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","type":"json"}]', ], 'ListTagResources' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'summary' => '查询资源(SSL证书实例)和标签的对应关系。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7130,9 +4246,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '81794', - 'abilityTreeNodes' => [ - 'FEATUREcasDX3LGS', - ], + 'abilityTreeNodes' => ['FEATUREcasDX3LGS'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -7140,32 +4254,17 @@ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域id。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '地域id。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '资源类型。默认值:**instance**', - 'type' => 'string', - 'required' => true, - 'example' => 'instance', - ], + 'schema' => ['description' => '资源类型。默认值:**instance**', 'type' => 'string', 'required' => true, 'example' => 'instance'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '下一个查询开始token,nexttoken为空说明没有下一个。', - 'type' => 'string', - 'required' => false, - 'example' => '1d2db86sca4384811e0b5e8707e68181f', - ], + 'schema' => ['description' => '下一个查询开始token,nexttoken为空说明没有下一个。', 'type' => 'string', 'required' => false, 'example' => '1d2db86sca4384811e0b5e8707e68181f'], ], [ 'name' => 'ResourceId', @@ -7174,12 +4273,7 @@ 'schema' => [ 'description' => '资源id。', 'type' => 'array', - 'items' => [ - 'description' => '资源id。', - 'type' => 'string', - 'required' => false, - 'example' => 'cas-cn-4591d3xa****', - ], + 'items' => ['description' => '资源id。', 'type' => 'string', 'required' => false, 'example' => 'cas-cn-4591d3xa****'], 'required' => false, 'maxItems' => 51, ], @@ -7195,18 +4289,8 @@ 'description' => '查询到的实例和标签的信息。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '要查询的标签的key,可有多个。n为正整数。', - 'type' => 'string', - 'required' => false, - 'example' => 'testKey1', - ], - 'Value' => [ - 'description' => '标签值。n的取值范围:1~20。', - 'type' => 'string', - 'required' => false, - 'example' => 'testValue1', - ], + 'Key' => ['description' => '要查询的标签的key,可有多个。n为正整数。', 'type' => 'string', 'required' => false, 'example' => 'testKey1'], + 'Value' => ['description' => '标签值。n的取值范围:1~20。', 'type' => 'string', 'required' => false, 'example' => 'testValue1'], ], 'required' => false, ], @@ -7217,16 +4301,7 @@ [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '本次读取的最大数据量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '1000', - 'minimum' => '1', - 'example' => '1000', - 'default' => '1000', - ], + 'schema' => ['description' => '本次读取的最大数据量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '1000', 'default' => '1000'], ], ], 'responses' => [ @@ -7234,20 +4309,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id。', - 'type' => 'string', - 'example' => '2D69A58F-345C-4FDE-88E4-BF5189484043', - ], + 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => '2D69A58F-345C-4FDE-88E4-BF5189484043'], 'Data' => [ 'description' => '请求接口返回的数据。', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => '下一个查询开始Token,NextToken为空说明没有下一个。', - 'type' => 'string', - 'example' => '24262', - ], + 'NextToken' => ['description' => '下一个查询开始Token,NextToken为空说明没有下一个。', 'type' => 'string', 'example' => '24262'], 'TagResources' => [ 'type' => 'object', 'itemNode' => true, @@ -7259,40 +4326,19 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'ResourceId' => [ - 'description' => '要操作的证书实例ID。 '."\n" - .'N的取值范围为\\[1, 50],用于指定多个实例,最多50个。例如:ResourceId.1,ResourceId.2,...,ResourceId.50。', - 'type' => 'string', - 'example' => 'cas-upload-xgjcng', - ], - 'ResourceType' => [ - 'description' => '资源的类型。取值:**instance**。', - 'type' => 'string', - 'example' => 'ALIYUN::CAS::PCACERTIFICATE', - ], - 'TagKey' => [ - 'description' => '要绑定的标签键。 '."\n" - .'N的取值范围为 \\[1, 20],用于指定多个标签键,最多20个。例如:Tag.1.Key,Tag.2.Key,...,Tag.20.Key。', - 'type' => 'string', - 'example' => '正式环境', - ], - 'TagValue' => [ - 'description' => '标签值。', - 'type' => 'string', - 'example' => 'PVDCDC', - ], + 'ResourceId' => ['description' => '要操作的证书实例ID。 '."\n" + .'N的取值范围为\\[1, 50],用于指定多个实例,最多50个。例如:ResourceId.1,ResourceId.2,...,ResourceId.50。', 'type' => 'string', 'example' => 'cas-upload-xgjcng'], + 'ResourceType' => ['description' => '资源的类型。取值:**instance**。', 'type' => 'string', 'example' => 'ALIYUN::CAS::PCACERTIFICATE'], + 'TagKey' => ['description' => '要绑定的标签键。 '."\n" + .'N的取值范围为 \\[1, 20],用于指定多个标签键,最多20个。例如:Tag.1.Key,Tag.2.Key,...,Tag.20.Key。', 'type' => 'string', 'example' => '正式环境'], + 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'PVDCDC'], ], ], ], ], 'description' => '', ], - 'MaxResults' => [ - 'description' => '本次读取的最大数据量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'MaxResults' => ['description' => '本次读取的最大数据量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], ], ], ], @@ -7300,15 +4346,12 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => '查询资源和标签关系', - 'summary' => '查询资源(SSL证书实例)和标签的对应关系。', 'description' => '本接口用于通过私有CA实例的ID,查询您通过SSL证书服务控制台购买的私有CA实例的状态信息,例如,CA实例的状态、包含的证书数量、已签发的证书数量等。'."\n" ."\n" .'调用本接口前,您必须已经通过[数字证书管理服务控制台](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist)购买了私有CA。具体操作,请参见[购买私有CA](~~208553~~)。'."\n" @@ -7319,17 +4362,24 @@ 'flowControl' => [ 'flowControlList' => [], ], - 'ramActions' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cert:ListTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2D69A58F-345C-4FDE-88E4-BF5189484043\\",\\n \\"Data\\": {\\n \\"NextToken\\": \\"24262\\",\\n \\"TagResources\\": {\\n \\"TagResources\\": [\\n {\\n \\"ResourceId\\": \\"cas-upload-xgjcng\\",\\n \\"ResourceType\\": \\"ALIYUN::CAS::PCACERTIFICATE\\",\\n \\"TagKey\\": \\"正式环境\\",\\n \\"TagValue\\": \\"PVDCDC\\"\\n }\\n ]\\n },\\n \\"MaxResults\\": 20\\n }\\n}","type":"json"}]', ], 'MoveResourceGroup' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7342,9 +4392,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '226097', - 'abilityTreeNodes' => [ - 'FEATUREcasDX3LGS', - ], + 'abilityTreeNodes' => ['FEATUREcasDX3LGS'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -7352,42 +4400,22 @@ [ 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => '要迁移的资源组所属的资源id。', - 'type' => 'string', - 'required' => true, - 'example' => 'cas-cn-4591d3xa****', - ], + 'schema' => ['description' => '要迁移的资源组所属的资源id。', 'type' => 'string', 'required' => true, 'example' => 'cas-cn-4591d3xa****'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '资源组id。', - 'type' => 'string', - 'required' => true, - 'example' => 'rg-acfmykgxu5d46ey', - ], + 'schema' => ['description' => '资源组id。', 'type' => 'string', 'required' => true, 'example' => 'rg-acfmykgxu5d46ey'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '资源类型,取值:**instance**。', - 'type' => 'string', - 'required' => true, - 'example' => 'instance', - ], + 'schema' => ['description' => '资源类型,取值:**instance**。', 'type' => 'string', 'required' => true, 'example' => 'instance'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域id。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -7395,19 +4423,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id。', - 'type' => 'string', - 'example' => '5BCD2F6C-7A9D-47C1-8588-2CC6A4E0BE5E', - ], + 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => '5BCD2F6C-7A9D-47C1-8588-2CC6A4E0BE5E'], ], 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], @@ -7424,17 +4446,25 @@ 'flowControl' => [ 'flowControlList' => [], ], - 'ramActions' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cert:MoveResourceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5BCD2F6C-7A9D-47C1-8588-2CC6A4E0BE5E\\"\\n}","type":"json"}]', ], 'TagResources' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'summary' => '为指定资源(SSL证书实例)绑定标签。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7447,9 +4477,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '81796', - 'abilityTreeNodes' => [ - 'FEATUREcasDX3LGS', - ], + 'abilityTreeNodes' => ['FEATUREcasDX3LGS'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -7457,22 +4485,12 @@ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '证书所有者所属组织的区域。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '证书所有者所属组织的区域。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '资源类型。默认值:**instance**', - 'type' => 'string', - 'required' => true, - 'example' => 'instance', - ], + 'schema' => ['description' => '资源类型。默认值:**instance**', 'type' => 'string', 'required' => true, 'example' => 'instance'], ], [ 'name' => 'ResourceId', @@ -7481,12 +4499,7 @@ 'schema' => [ 'description' => '资源id。', 'type' => 'array', - 'items' => [ - 'description' => '资源id。', - 'type' => 'string', - 'required' => false, - 'example' => 'cas-cn-4591d3xa****', - ], + 'items' => ['description' => '资源id。', 'type' => 'string', 'required' => false, 'example' => 'cas-cn-4591d3xa****'], 'required' => true, 'maxItems' => 50, ], @@ -7502,20 +4515,8 @@ 'description' => '资源的标签信息。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '标签键。n的取值范围为\\[1,20],用于指定多个标签键,最多20个。例如:tag.1.key,tag.2.key,...,tag.20.key。', - 'type' => 'string', - 'required' => false, - 'example' => 'testKey1', - 'maxLength' => 128, - ], - 'Value' => [ - 'description' => '标签值。n的取值范围:1~20。', - 'type' => 'string', - 'required' => false, - 'example' => 'testValue1', - 'maxLength' => 256, - ], + 'Key' => ['description' => '标签键。n的取值范围为\\[1,20],用于指定多个标签键,最多20个。例如:tag.1.key,tag.2.key,...,tag.20.key。', 'type' => 'string', 'required' => false, 'example' => 'testKey1', 'maxLength' => 128], + 'Value' => ['description' => '标签值。n的取值范围:1~20。', 'type' => 'string', 'required' => false, 'example' => 'testValue1', 'maxLength' => 256], ], 'required' => false, ], @@ -7529,21 +4530,14 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id。', - 'type' => 'string', - 'example' => '9D85A4B3-8F5B-411B-A91C-EF91B5183E2E', - ], + 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => '9D85A4B3-8F5B-411B-A91C-EF91B5183E2E'], ], 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '为指定资源(SSL证书实例)绑定标签', - 'summary' => '为指定资源(SSL证书实例)绑定标签。', 'description' => '本接口用于通过私有CA实例的ID,查询您通过SSL证书服务控制台购买的私有CA实例的状态信息,例如,CA实例的状态、包含的证书数量、已签发的证书数量等。'."\n" ."\n" .'调用本接口前,您必须已经通过[数字证书管理服务控制台](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist)购买了私有CA。具体操作,请参见[购买私有CA](~~208553~~)。'."\n" @@ -7554,17 +4548,24 @@ 'flowControl' => [ 'flowControlList' => [], ], - 'ramActions' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cert:TagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9D85A4B3-8F5B-411B-A91C-EF91B5183E2E\\"\\n}","type":"json"}]', ], 'UntagResources' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7577,9 +4578,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '81797', - 'abilityTreeNodes' => [ - 'FEATUREcasDX3LGS', - ], + 'abilityTreeNodes' => ['FEATUREcasDX3LGS'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -7587,32 +4586,17 @@ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域id。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '地域id。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '资源类型定义。取值固定为**instance**。', - 'type' => 'string', - 'required' => true, - 'example' => 'instance', - ], + 'schema' => ['description' => '资源类型定义。取值固定为**instance**。', 'type' => 'string', 'required' => true, 'example' => 'instance'], ], [ 'name' => 'All', 'in' => 'query', - 'schema' => [ - 'description' => '是否全部删除,仅当tagkey.n为空时有效。取值范围:-true-false默认值:false', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '是否全部删除,仅当tagkey.n为空时有效。取值范围:-true-false默认值:false', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'ResourceId', @@ -7621,12 +4605,7 @@ 'schema' => [ 'description' => '资源id。', 'type' => 'array', - 'items' => [ - 'description' => '资源id。', - 'type' => 'string', - 'required' => false, - 'example' => 'cas-cn-4591d3xa****', - ], + 'items' => ['description' => '资源id。', 'type' => 'string', 'required' => false, 'example' => 'cas-cn-4591d3xa****'], 'required' => true, 'maxItems' => 50, ], @@ -7638,12 +4617,7 @@ 'schema' => [ 'description' => '标签键。', 'type' => 'array', - 'items' => [ - 'description' => '标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'testKey1', - ], + 'items' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'testKey1'], 'required' => false, 'maxItems' => 21, ], @@ -7654,19 +4628,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id。', - 'type' => 'string', - 'example' => '2D69A58F-345C-4FDE-88E4-BF5189484043', - ], + 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => '2D69A58F-345C-4FDE-88E4-BF5189484043'], ], 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '移除指定资源(SSL证书实例)的标签', 'summary' => '移除标签。', 'description' => '本接口用于通过私有CA实例的ID,查询您通过SSL证书服务控制台购买的私有CA实例的状态信息,例如,CA实例的状态、包含的证书数量、已签发的证书数量等。'."\n" @@ -7679,18 +4647,24 @@ 'flowControl' => [ 'flowControlList' => [], ], - 'ramActions' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cert:UntagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2D69A58F-345C-4FDE-88E4-BF5189484043\\"\\n}","type":"json"}]', ], 'UpdateCACertificateStatus' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7703,9 +4677,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '83523', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -7713,40 +4685,25 @@ [ 'name' => 'Identifier', 'in' => 'query', - 'schema' => [ - 'description' => '要修改状态的CA证书的唯一识别码。'."\n" - ."\n" - .'> 您可以调用[DescribeCACertificateList](~~465957~~)查询所有CA证书的唯一识别码。', - 'type' => 'string', - 'required' => true, - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], + 'schema' => ['description' => '要修改状态的CA证书的唯一识别码。'."\n" + ."\n" + .'> 您可以调用[DescribeCACertificateList](~~465957~~)查询所有CA证书的唯一识别码。', 'type' => 'string', 'required' => true, 'example' => '160ae6bb538d538c70c01f81dcf2****'], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '对该CA证书执行的操作。取值固定为**REVOKE**,表示吊销CA证书,即将CA证书的状态修改为**REVOKE**。'."\n" - ."\n" - .'> 只有当CA证书的当前状态为**ISSUE**时,才支持该操作。您可以调用[DescribeCACertificate](~~465954~~)查询CA证书的当前状态。', - 'type' => 'string', - 'required' => false, - 'example' => 'REVOKE', - ], + 'schema' => ['description' => '对该CA证书执行的操作。取值固定为**REVOKE**,表示吊销CA证书,即将CA证书的状态修改为**REVOKE**。'."\n" + ."\n" + .'> 只有当CA证书的当前状态为**ISSUE**时,才支持该操作。您可以调用[DescribeCACertificate](~~465954~~)查询CA证书的当前状态。', 'type' => 'string', 'required' => false, 'example' => 'REVOKE'], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '客户端Token,用于保证请求的幂等性。'."\n" - ."\n" - .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" - ."\n" - .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', - 'type' => 'string', - 'required' => false, - 'example' => '3838B684-3075-582B-9A45-8C99104029DF', - ], + 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', 'type' => 'string', 'required' => false, 'example' => '3838B684-3075-582B-9A45-8C99104029DF'], ], ], 'responses' => [ @@ -7755,18 +4712,12 @@ 'description' => '对象。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '15C66C7B-671A-4297-9187-2C4477247A74', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '15C66C7B-671A-4297-9187-2C4477247A74'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], @@ -7783,12 +4734,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'UpdateCACertificateStatus', - ], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCACertificateStatus'], ], ], 'ramActions' => [ @@ -7799,12 +4745,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -7812,12 +4753,8 @@ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"15C66C7B-671A-4297-9187-2C4477247A74\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateCACertificateStatusResponse>\\n <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>\\n</UpdateCACertificateStatusResponse>","errorExample":""}]', ], 'UpdatePcaCertificate' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7830,9 +4767,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '200358', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -7840,24 +4775,14 @@ [ 'name' => 'AliasName', 'in' => 'query', - 'schema' => [ - 'description' => '设置签发证书的名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'cert-name', - ], + 'schema' => ['description' => '设置签发证书的名称。', 'type' => 'string', 'required' => false, 'example' => 'cert-name'], ], [ 'name' => 'Identifier', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的CA证书的唯一识别码。'."\n" - ."\n" - .'> 您可以调用[DescribeCACertificateList](~~328095~~)查询所有CA证书的唯一识别码。', - 'type' => 'string', - 'required' => false, - 'example' => '160ae6bb538d538c70c01f81dcf2****', - ], + 'schema' => ['description' => '要查询的CA证书的唯一识别码。'."\n" + ."\n" + .'> 您可以调用[DescribeCACertificateList](~~328095~~)查询所有CA证书的唯一识别码。', 'type' => 'string', 'required' => false, 'example' => '160ae6bb538d538c70c01f81dcf2****'], ], [ 'name' => 'Tags', @@ -7870,18 +4795,8 @@ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'runtime', - ], - 'Value' => [ - 'description' => '标签值。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'runtime'], + 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'test'], ], 'required' => false, ], @@ -7892,22 +4807,12 @@ [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '资源分组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-ae******4wia', - ], + 'schema' => ['description' => '资源分组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-ae******4wia'], ], [ 'name' => 'ClientToken', 'in' => 'formData', - 'schema' => [ - 'description' => '用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符,且该参数值中不能包含非ASCII字符。', - 'type' => 'string', - 'required' => false, - 'example' => 'XXX', - ], + 'schema' => ['description' => '用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符,且该参数值中不能包含非ASCII字符。', 'type' => 'string', 'required' => false, 'example' => 'XXX'], ], ], 'responses' => [ @@ -7917,66 +4822,31 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '09470F19-CEE8-5C63-BF2C-02B5E3F07A17', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '09470F19-CEE8-5C63-BF2C-02B5E3F07A17'], 'AccessDeniedDetail' => [ 'description' => '鉴权报错信息', 'type' => 'object', 'properties' => [ - 'AuthAction' => [ - 'description' => '尝试执行的未授权操作。'."\n" - ."\n", - 'type' => 'string', - 'example' => 'yundun-cert:XXX', - ], - 'AuthPrincipalDisplayName' => [ - 'description' => '请求中用于鉴权的身份标识。具体取值为:'."\n" - .'- RAM 用户:RAM 用户 UID'."\n" - .'- RAM 角色:RoleName:RoleSessionName'."\n" - .'- Federated:ProviderType/ProviderName', - 'type' => 'string', - 'example' => 'RoleSessionName', - ], - 'AuthPrincipalOwnerId' => [ - 'description' => 'AuthPrincipalOwnerId', - 'type' => 'string', - 'example' => '186XXX', - ], - 'AuthPrincipalType' => [ - 'description' => '身份类型', - 'type' => 'string', - 'example' => 'SubUser', - ], - 'EncodedDiagnosticMessage' => [ - 'description' => '加密后的完整诊断信息。', - 'type' => 'string', - 'example' => 'AQEAAAAAaEjlETkzRkQ5QjVELTI3NTEtM0I2Ni1BM0E1LThBQUYzMkJBNEJCQg==', - ], - 'NoPermissionType' => [ - 'description' => '导致鉴权失败的原因。具体取值为:'."\n" - .'ExplicitDeny:显示拒绝'."\n" - .'ImplicitDeny:隐式拒绝', - 'type' => 'string', - 'example' => 'ImplicitDeny', - ], - 'PolicyType' => [ - 'description' => '策略类型', - 'type' => 'string', - 'example' => 'Custom', - ], + 'AuthAction' => ['description' => '尝试执行的未授权操作。'."\n" + ."\n", 'type' => 'string', 'example' => 'yundun-cert:XXX'], + 'AuthPrincipalDisplayName' => ['description' => '请求中用于鉴权的身份标识。具体取值为:'."\n" + .'- RAM 用户:RAM 用户 UID'."\n" + .'- RAM 角色:RoleName:RoleSessionName'."\n" + .'- Federated:ProviderType/ProviderName', 'type' => 'string', 'example' => 'RoleSessionName'], + 'AuthPrincipalOwnerId' => ['description' => 'AuthPrincipalOwnerId', 'type' => 'string', 'example' => '186XXX'], + 'AuthPrincipalType' => ['description' => '身份类型', 'type' => 'string', 'example' => 'SubUser'], + 'EncodedDiagnosticMessage' => ['description' => '加密后的完整诊断信息。', 'type' => 'string', 'example' => 'AQEAAAAAaEjlETkzRkQ5QjVELTI3NTEtM0I2Ni1BM0E1LThBQUYzMkJBNEJCQg=='], + 'NoPermissionType' => ['description' => '导致鉴权失败的原因。具体取值为:'."\n" + .'ExplicitDeny:显示拒绝'."\n" + .'ImplicitDeny:隐式拒绝', 'type' => 'string', 'example' => 'ImplicitDeny'], + 'PolicyType' => ['description' => '策略类型', 'type' => 'string', 'example' => 'Custom'], ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], @@ -8002,12 +4872,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -8015,12 +4880,8 @@ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"09470F19-CEE8-5C63-BF2C-02B5E3F07A17\\",\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"yundun-cert:XXX\\",\\n \\"AuthPrincipalDisplayName\\": \\"RoleSessionName\\",\\n \\"AuthPrincipalOwnerId\\": \\"186XXX\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQEAAAAAaEjlETkzRkQ5QjVELTI3NTEtM0I2Ni1BM0E1LThBQUYzMkJBNEJCQg==\\",\\n \\"NoPermissionType\\": \\"ImplicitDeny\\",\\n \\"PolicyType\\": \\"Custom\\"\\n }\\n}","type":"json"}]', ], 'UploadPcaCertToCas' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -8032,9 +4893,7 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcasPYG3UJ', - ], + 'abilityTreeNodes' => ['FEATUREcasPYG3UJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -8042,12 +4901,7 @@ [ 'name' => 'Ids', 'in' => 'query', - 'schema' => [ - 'description' => '待同步到证书服务的主键标识列表。多个ID使用半角逗号(,)间隔。', - 'type' => 'string', - 'required' => true, - 'example' => '59425,59426', - ], + 'schema' => ['description' => '待同步到证书服务的主键标识列表。多个ID使用半角逗号(,)间隔。', 'type' => 'string', 'required' => true, 'example' => '59425,59426'], ], ], 'responses' => [ @@ -8057,22 +4911,12 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'asynchronous', - 'callback' => 'cas::2020-06-30::ListCert', - 'callbackInterval' => 3000, - 'maxCallbackTimes' => 10, - ], + 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'cas::2020-06-30::ListCert', 'callbackInterval' => 3000, 'maxCallbackTimes' => 10], 'title' => '同步私有证书到证书服务', 'summary' => '上传PCA证书到SSL上传证书。', 'description' => '本接口一般用于在证书仓库中上传PCA证书。'."\n" @@ -8081,12 +4925,7 @@ 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'UploadPcaCertToCas', - ], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UploadPcaCertToCas'], ], ], 'ramActions' => [ @@ -8097,12 +4936,7 @@ 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], @@ -8111,1426 +4945,604 @@ ], ], 'endpoints' => [ - [ - 'regionId' => 'ap-southeast-2', - 'regionName' => '澳大利亚(悉尼)已关停', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - 'public' => 'cas.ap-southeast-2.aliyuncs.com', - 'endpoint' => 'cas.ap-southeast-2.aliyuncs.com', - 'vpc' => '', - ], - [ - 'regionId' => 'cn-hongkong', - 'regionName' => '中国香港', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - 'public' => 'cas.cn-hongkong.aliyuncs.com', - 'endpoint' => 'cas.cn-hongkong.aliyuncs.com', - 'vpc' => 'cas.vpc-proxy.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'regionName' => '日本(东京)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - 'public' => 'cas.ap-northeast-1.aliyuncs.com', - 'endpoint' => 'cas.ap-northeast-1.aliyuncs.com', - 'vpc' => 'cas.vpc-proxy.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'regionName' => '新加坡', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - 'public' => 'cas.ap-southeast-1.aliyuncs.com', - 'endpoint' => 'cas.ap-southeast-1.aliyuncs.com', - 'vpc' => 'cas.vpc-proxy.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'regionName' => '马来西亚(吉隆坡)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - 'public' => 'cas.ap-southeast-3.aliyuncs.com', - 'endpoint' => 'cas.ap-southeast-3.aliyuncs.com', - 'vpc' => 'cas.vpc-proxy.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'regionName' => '印度尼西亚(雅加达)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - 'public' => 'cas.ap-southeast-5.aliyuncs.com', - 'endpoint' => 'cas.ap-southeast-5.aliyuncs.com', - 'vpc' => 'cas.vpc-proxy.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'regionName' => '华东1(杭州)', - 'areaId' => 'asiaPacific', - 'areaName' => '亚太', - 'public' => 'cas.aliyuncs.com', - 'endpoint' => 'cas.aliyuncs.com', - 'vpc' => 'cas.vpc-proxy.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'regionName' => '德国(法兰克福)', - 'areaId' => 'europeAmerica', - 'areaName' => '欧洲与美洲', - 'public' => 'cas.eu-central-1.aliyuncs.com', - 'endpoint' => 'cas.eu-central-1.aliyuncs.com', - 'vpc' => 'cas.vpc-proxy.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'regionName' => '阿联酋(迪拜)', - 'areaId' => 'middleEast', - 'areaName' => '中东', - 'public' => 'cas.me-east-1.aliyuncs.com', - 'endpoint' => 'cas.me-east-1.aliyuncs.com', - 'vpc' => '', - ], - [ - 'regionId' => 'ap-south-1', - 'regionName' => '印度(孟买)已关停', - 'areaId' => 'middleEast', - 'areaName' => '中东', - 'public' => 'cas.ap-south-1.aliyuncs.com', - 'endpoint' => 'cas.ap-south-1.aliyuncs.com', - 'vpc' => '', - ], + ['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cas.ap-southeast-2.aliyuncs.com', 'endpoint' => 'cas.ap-southeast-2.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cas.cn-hongkong.aliyuncs.com', 'endpoint' => 'cas.cn-hongkong.aliyuncs.com', 'vpc' => 'cas.vpc-proxy.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cas.ap-northeast-1.aliyuncs.com', 'endpoint' => 'cas.ap-northeast-1.aliyuncs.com', 'vpc' => 'cas.vpc-proxy.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cas.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cas.ap-southeast-1.aliyuncs.com', 'vpc' => 'cas.vpc-proxy.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cas.ap-southeast-3.aliyuncs.com', 'endpoint' => 'cas.ap-southeast-3.aliyuncs.com', 'vpc' => 'cas.vpc-proxy.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cas.ap-southeast-5.aliyuncs.com', 'endpoint' => 'cas.ap-southeast-5.aliyuncs.com', 'vpc' => 'cas.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cas.aliyuncs.com', 'endpoint' => 'cas.aliyuncs.com', 'vpc' => 'cas.vpc-proxy.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'cas.eu-central-1.aliyuncs.com', 'endpoint' => 'cas.eu-central-1.aliyuncs.com', 'vpc' => 'cas.vpc-proxy.aliyuncs.com'], + ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'cas.me-east-1.aliyuncs.com', 'endpoint' => 'cas.me-east-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'cas.ap-south-1.aliyuncs.com', 'endpoint' => 'cas.ap-south-1.aliyuncs.com', 'vpc' => ''], ], 'errorCodes' => [ - [ - 'code' => 'AccessDenied.NoAuth', - 'message' => '访问拒绝,没有权限。', - 'http_code' => 400, - 'description' => '访问拒绝,没有权限。', - ], - [ - 'code' => 'AlreadyExists.%s', - 'message' => 'A %s with the same value already exists.', - 'http_code' => 400, - 'description' => '已存在相同的 %s 。', - ], - [ - 'code' => 'AlreadyExistsTry', - 'message' => 'You have already created a trial instance and cannot create it again.', - 'http_code' => 400, - 'description' => '您已经创建过试用实例,无法再次创建', - ], - [ - 'code' => 'CertificateChainNotMatch', - 'message' => 'The certificate chain does not match.', - 'http_code' => 400, - 'description' => '证书链不匹配。', - ], - [ - 'code' => 'CertificateExpired', - 'message' => '证书已经过期。', - 'http_code' => 400, - 'description' => '证书已经过期。', - ], - [ - 'code' => 'CertificateFormatException', - 'message' => '证书格式异常,请检查输入内容。', - 'http_code' => 400, - 'description' => '证书格式异常,请检查输入内容。', - ], - [ - 'code' => 'CertificatePrivateKey.Existed', - 'message' => '证书私钥已经存在。', - 'http_code' => 400, - 'description' => '证书私钥已经存在。', - ], - [ - 'code' => 'CouldNotRefund.InsufficientQuota', - 'message' => '该订单额度不足,无法退款。', - 'http_code' => 400, - 'description' => '该订单额度不足,无法退款。', - ], - [ - 'code' => 'CouldNotRefund.NotSupport', - 'message' => '不支持退款。', - 'http_code' => 400, - 'description' => '不支持退款。', - ], - [ - 'code' => 'CouldNotRefund.OverTime', - 'message' => '超过退款期限,无法退款。', - 'http_code' => 400, - 'description' => '超过退款期限,无法退款。', - ], - [ - 'code' => 'CreateCsrFailed', - 'message' => '创建CSR失败。', - 'http_code' => 400, - 'description' => '创建CSR失败。', - ], - [ - 'code' => 'CreateOrderFailed', - 'message' => '创建订单失败。', - 'http_code' => 400, - 'description' => '创建订单失败。', - ], - [ - 'code' => 'DataTooLongException', - 'message' => '存在超长输入值。', - 'http_code' => 400, - 'description' => '存在超长输入值。', - ], - [ - 'code' => 'DecryptError', - 'message' => '解密错误。', - 'http_code' => 400, - 'description' => '解密错误。', - ], - [ - 'code' => 'DeductQuotaFailed', - 'message' => '扣除额度失败,请稍后重试。', - 'http_code' => 400, - 'description' => '扣除额度失败,请稍后重试。', - ], - [ - 'code' => 'DeployFailed', - 'message' => 'Deployment failed.', - 'http_code' => 400, - 'description' => '部署失败。', - ], - [ - 'code' => 'DeployFailed.CertBackupFailed', - 'message' => '部署失败,备份证书失败。', - 'http_code' => 400, - 'description' => '部署失败,备份证书失败。', - ], - [ - 'code' => 'DeployFailed.InvalidCertChainPath', - 'message' => '部署失败,无效的证书链路径。', - 'http_code' => 400, - 'description' => '部署失败,无效的证书链路径。', - ], - [ - 'code' => 'DeployFailed.InvalidCertPath', - 'message' => '部署失败,无效的证书路径。', - 'http_code' => 400, - 'description' => '部署失败,无效的证书路径。', - ], - [ - 'code' => 'DeployFailed.InvalidPrivatePath', - 'message' => '部署失败,无效的私钥路径。', - 'http_code' => 400, - 'description' => '部署失败,无效的私钥路径。', - ], - [ - 'code' => 'DigestError', - 'message' => '摘要错误。', - 'http_code' => 400, - 'description' => '摘要错误。', - ], - [ - 'code' => 'DomainAlreadyExist', - 'message' => 'Domain name already exists.', - 'http_code' => 400, - 'description' => '域名已存在。', - ], - [ - 'code' => 'DomainAlreadyUsed', - 'message' => '域名已经被使用。', - 'http_code' => 400, - 'description' => '域名已经被使用。', - ], - [ - 'code' => 'DomainAndProductNotMatch', - 'message' => '域名和规格不匹配。', - 'http_code' => 400, - 'description' => '域名和规格不匹配。', - ], - [ - 'code' => 'DomainFormatError', - 'message' => '域名格式错误,请检查输入内容。', - 'http_code' => 400, - 'description' => '域名格式错误,请检查输入内容。', - ], - [ - 'code' => 'DomainParseError', - 'message' => 'Failed to parse the domain name. Check the input.', - 'http_code' => 400, - 'description' => '解析域名失败,请检查输入是否正确。', - ], - [ - 'code' => 'DomainQuotaExceeded', - 'message' => '域名超出额度。', - 'http_code' => 400, - 'description' => '域名超出额度。', - ], - [ - 'code' => 'DomainRepeat', - 'message' => '域名重复。', - 'http_code' => 400, - 'description' => '域名重复。', - ], - [ - 'code' => 'EncryptError', - 'message' => '加密错误。', - 'http_code' => 400, - 'description' => '加密错误。', - ], - [ - 'code' => 'FileValueNotMatch', - 'message' => '文件校验值不匹配。', - 'http_code' => 400, - 'description' => '文件校验值不匹配。', - ], - [ - 'code' => 'FileValueNotMatch.EndWrapCharacter', - 'message' => '文件校验值不匹配,结尾不能有换行符。', - 'http_code' => 400, - 'description' => '文件校验值不匹配,结尾不能有换行符。', - ], - [ - 'code' => 'FlowControlError', - 'message' => '超过限流QPS,请稍后重试。', - 'http_code' => 400, - 'description' => '超过限流QPS,请稍后重试。', - ], - [ - 'code' => 'Forbidden.NoPermission', - 'message' => 'No permissions.', - 'http_code' => 403, - 'description' => '当前操作未被授权,请联系管理员授权。', - ], - [ - 'code' => 'GetDNSFailed', - 'message' => '获取DNS失败。', - 'http_code' => 400, - 'description' => '获取DNS失败。', - ], - [ - 'code' => 'GetFileValueFailed', - 'message' => '获取文件校验值失败。', - 'http_code' => 400, - 'description' => '获取文件校验值失败。', - ], - [ - 'code' => 'IncorrectFormat.%s', - 'message' => 'The %s parameter format is incorrect.', - 'http_code' => 400, - 'description' => '%s参数值格式错误。', - ], - [ - 'code' => 'InsufficientQuota', - 'message' => '额度不足。', - 'http_code' => 400, - 'description' => '额度不足。', - ], - [ - 'code' => 'InternalError', - 'message' => 'An internal error occurred. Try again later.', - 'http_code' => 400, - 'description' => '内部错误,请稍后重试。', - ], - [ - 'code' => 'InvaildParameterSource', - 'message' => 'The parameter is invalid.', - 'http_code' => 400, - 'description' => '参数无效。', - ], - [ - 'code' => 'InvalidParameter', - 'message' => '无效参数,请检查参数输入。', - 'http_code' => 400, - 'description' => '无效参数,请检查参数输入。', - ], - [ - 'code' => 'InvalidParameter.%s', - 'message' => 'Invalid parameter: %s .', - 'http_code' => 400, - 'description' => '无效参数: %s ,请检查参数内容。', - ], - [ - 'code' => 'InvalidParameter.MobileIllegal', - 'message' => '手机号非法,请输入正确手机号', - 'http_code' => 400, - 'description' => '手机号非法,请输入正确手机号', - ], - [ - 'code' => 'InvalidSource.Content.Malformed', - 'message' => 'Incorrect format.', - 'http_code' => 400, - 'description' => '格式不正确。', - ], - [ - 'code' => 'InvalidStatus.DeleteProtection', - 'message' => '当前状态不允许删除,请稍后重试。', - 'http_code' => 400, - 'description' => '当前状态不允许删除,请稍后重试。', - ], - [ - 'code' => 'InvalidStatus.UpdateProtection', - 'message' => '当前状态不允许更新,请稍后重试。', - 'http_code' => 400, - 'description' => '当前状态不允许更新,请稍后重试。', - ], - [ - 'code' => 'LimitExceeded.%s', - 'message' => 'The maximum number of %s is exceeded.', - 'http_code' => 400, - 'description' => '%s 数量超出限额。', - ], - [ - 'code' => 'MissingDocument', - 'message' => '必填文档缺失,请检查输入。', - 'http_code' => 400, - 'description' => '必填文档缺失,请检查输入。', - ], - [ - 'code' => 'MissingParameter', - 'message' => '缺失必填参数,请检查参数输入。', - 'http_code' => 400, - 'description' => '缺失必填参数,请检查参数输入。', - ], - [ - 'code' => 'MissingParameter.%s', - 'message' => '%s is required for this operation.', - 'http_code' => 400, - 'description' => '当前操作需要提供 %s 参数。请注意补充。', - ], - [ - 'code' => 'NameRepeat', - 'message' => '名称重复,请重新输入。', - 'http_code' => 400, - 'description' => '名称重复,请重新输入。', - ], - [ - 'code' => 'NameTooLongException', - 'message' => '名称太长,请重新输入。', - 'http_code' => 400, - 'description' => '名称太长,请重新输入。', - ], - [ - 'code' => 'NotExpired.DeleteProtection', - 'message' => '未过期证书不允许删除,请稍后重试。', - 'http_code' => 400, - 'description' => '未过期证书不允许删除,请稍后重试。', - ], - [ - 'code' => 'NotFound', - 'message' => 'The resource not found. Check the input parameters.', - 'http_code' => 400, - 'description' => '没有找到必要内容,请检查参数输入是否正确。', - ], - [ - 'code' => 'NotFound.%s', - 'message' => 'Resource not found: %s .', - 'http_code' => 404, - 'description' => '未找到资源: %s 。', - ], - [ - 'code' => 'NotMatch.CertificateAndPrivateKey', - 'message' => '证书和私钥不匹配,请检查输入内容。', - 'http_code' => 400, - 'description' => '证书和私钥不匹配,请检查输入内容。', - ], - [ - 'code' => 'NotMatch.CertificateChain', - 'message' => '证书链不匹配,请检查证书链内容。', - 'http_code' => 400, - 'description' => '证书链不匹配,请检查证书链内容。', - ], - [ - 'code' => 'NotMatch.CsrAndPrivateKey', - 'message' => 'CSR和私钥不匹配,请检查输入内容。', - 'http_code' => 400, - 'description' => 'CSR和私钥不匹配,请检查输入内容。', - ], - [ - 'code' => 'NotSupport.MissingPrivateKey', - 'message' => '缺失私钥,不支持当前操作。', - 'http_code' => 400, - 'description' => '缺失私钥,不支持当前操作。', - ], - [ - 'code' => 'NotSupport.ProductAlgorithm', - 'message' => '当前规格不支持指定算法。', - 'http_code' => 400, - 'description' => '当前规格不支持指定算法。', - ], - [ - 'code' => 'NotSupportAlgorithm', - 'message' => '当前操作不支持指定算法。', - 'http_code' => 400, - 'description' => '当前操作不支持指定算法。', - ], - [ - 'code' => 'OperationDenied.AlreadyReissuing', - 'message' => '已经存在重签发订单,请稍后重试。', - 'http_code' => 400, - 'description' => '已经存在重签发订单,请稍后重试。', - ], - [ - 'code' => 'OperationDenied.CSRExisted', - 'message' => 'CSR已经存在,不支持当前操作。', - 'http_code' => 400, - 'description' => 'CSR已经存在,不支持当前操作。', - ], - [ - 'code' => 'OperationDenied.CSRPrivateKeyExisted', - 'message' => 'CSR私钥已经存在,不支持当前操作。', - 'http_code' => 400, - 'description' => 'CSR私钥已经存在,不支持当前操作。', - ], - [ - 'code' => 'OperationDenied.ExistedTrusteeOrder', - 'message' => '存在托管订单,不支持当前操作。', - 'http_code' => 400, - 'description' => '存在托管订单,不支持当前操作。', - ], - [ - 'code' => 'OperationDenied.IPFormatError', - 'message' => 'IP格式错误,不支持操作。', - 'http_code' => 400, - 'description' => 'IP格式错误,不支持操作。', - ], - [ - 'code' => 'OperationDenied.IPNotSupport', - 'message' => 'IP不支持当前操作。', - 'http_code' => 400, - 'description' => 'IP不支持当前操作。', - ], - [ - 'code' => 'OperationDenied.IssuedTimeNotSupport', - 'message' => '当前签发时间内不支持当前操作。', - 'http_code' => 400, - 'description' => '当前签发时间内不支持当前操作。', - ], - [ - 'code' => 'OperationDenied.NameContainsIllegalCharacters', - 'message' => '名称包含非法字符,请检查输入内容。', - 'http_code' => 400, - 'description' => '名称包含非法字符,请检查输入内容。', - ], - [ - 'code' => 'OperationDenied.NotSameCompanyEntity', - 'message' => 'not allowed to operate.', - 'http_code' => 400, - 'description' => '不是一个公司实体,不允许操作。', - ], - [ - 'code' => 'OperationDenied.NotSupport', - 'message' => 'The resource does not support this operation.', - 'http_code' => 400, - 'description' => '当前资源不支持该操作。', - ], - [ - 'code' => 'OperationDenied.NotSupportAddWildDomain', - 'message' => '当前操作不支持泛域名。', - 'http_code' => 400, - 'description' => '当前操作不支持泛域名。', - ], - [ - 'code' => 'OperationDenied.NotSupportSM2', - 'message' => '当前操作不支持国密算法。', - 'http_code' => 400, - 'description' => '当前操作不支持国密算法。', - ], - [ - 'code' => 'OperationDenied.ProductNotSupport', - 'message' => '规格不支持。', - 'http_code' => 400, - 'description' => '规格不支持。', - ], - [ - 'code' => 'OperationDenied.RepeatedOperation', - 'message' => '重复操作,请刷新页面稍后重试。', - 'http_code' => 400, - 'description' => '重复操作,请刷新页面稍后重试。', - ], - [ - 'code' => 'OperationDenied.StatusNotSupport', - 'message' => '当前状态不支持当前操作。', - 'http_code' => 400, - 'description' => '当前状态不支持当前操作。', - ], - [ - 'code' => 'OperationDenied.SystemUpgrading', - 'message' => 'The operation failed because the system is under maintenance.', - 'http_code' => 400, - 'description' => '系统正在维护中,暂不支持该操作,请稍后重试。', - ], - [ - 'code' => 'OperationDenied.TypeNotSupport', - 'message' => '该类型不支持当前操作。', - 'http_code' => 400, - 'description' => '该类型不支持当前操作。', - ], - [ - 'code' => 'OrderExpired', - 'message' => 'Order is Expired.', - 'http_code' => 400, - 'description' => '订单已过期', - ], - [ - 'code' => 'ParamRepeat', - 'message' => 'A specified parameter value already exists.', - 'http_code' => 400, - 'description' => '入参和后端已有数据重复,不允许数据重复保存。', - ], - [ - 'code' => 'ParamRepeat', - 'message' => 'The input parameter and the backend have duplicate data, and duplicate data storage is not allowed.', - 'http_code' => 400, - 'description' => '入参和后端已有数据重复,不允许数据重复保存。', - ], - [ - 'code' => 'ParseCertificateFailed', - 'message' => '解析证书失败,请检查证书内容。', - 'http_code' => 400, - 'description' => '解析证书失败,请检查证书内容。', - ], - [ - 'code' => 'ParsePrivateKeyFailed', - 'message' => '解析私钥失败,请检查私钥内容。', - 'http_code' => 400, - 'description' => '解析私钥失败,请检查私钥内容。', - ], - [ - 'code' => 'PermissionDenied', - 'message' => '没有权限。', - 'http_code' => 400, - 'description' => '没有权限。', - ], - [ - 'code' => 'PrivateKeyFormatException', - 'message' => '私钥格式异常,请检查输入内容。', - 'http_code' => 400, - 'description' => '私钥格式异常,请检查输入内容。', - ], - [ - 'code' => 'QuotaExceeded', - 'message' => 'The resource exceeds the quota limit.', - 'http_code' => 400, - 'description' => '资源超出配额。', - ], - [ - 'code' => 'QuotaExceeded.SlbCertificate', - 'message' => 'SLB证书管理证书数量达到上限。', - 'http_code' => 400, - 'description' => 'SLB证书管理证书数量达到上限。', - ], - [ - 'code' => 'RequestsTooMany', - 'message' => '请求次数太频繁,请稍后重试。', - 'http_code' => 400, - 'description' => '请求次数太频繁,请稍后重试。', - ], - [ - 'code' => 'ResourceAlreadyAssociated', - 'message' => 'The specified resource is already associated.', - 'http_code' => 400, - 'description' => '该证书已关联到此监听上。', - ], - [ - 'code' => 'RevokeLimit', - 'message' => '超过吊销次数限制,无法吊销。', - 'http_code' => 400, - 'description' => '超过吊销次数限制,无法吊销。', - ], - [ - 'code' => 'SignError', - 'message' => '签名错误。', - 'http_code' => 400, - 'description' => '签名错误。', - ], - [ - 'code' => 'SignVerifyError', - 'message' => '签名验证错误。', - 'http_code' => 400, - 'description' => '签名验证错误。', - ], - [ - 'code' => 'UpdateConflict', - 'message' => 'The data you are trying to update has been modified by another user. Please refresh and try again.', - 'http_code' => 409, - 'description' => '您正在尝试更新的数据已被其他用户修改,请刷新后重试。', - ], - [ - 'code' => 'ValidateCsrFailed', - 'message' => '校验CSR失败,请检查输入内容。', - 'http_code' => 400, - 'description' => '校验CSR失败,请检查输入内容。', - ], - [ - 'code' => 'WarehouseUnavailable', - 'message' => '仓库不可用。', - 'http_code' => 400, - 'description' => '仓库不可用。', - ], - [ - 'code' => 'WebHookFailed', - 'message' => 'Failed to send WebHook.', - 'http_code' => 400, - 'description' => '发送WebHook失败。', - ], - [ - 'code' => 'CertificateExpired', - 'message' => 'The certificate has expired, please purchase a new certificate.', - 'http_code' => 400, - 'description' => '证书已经过期,请购买新证书.', - ], + ['code' => 'AccessDenied.NoAuth', 'message' => '访问拒绝,没有权限。', 'http_code' => 400, 'description' => '访问拒绝,没有权限。'], + ['code' => 'AlreadyExists.%s', 'message' => 'A %s with the same value already exists.', 'http_code' => 400, 'description' => '已存在相同的 %s 。'], + ['code' => 'AlreadyExistsTry', 'message' => 'You have already created a trial instance and cannot create it again.', 'http_code' => 400, 'description' => '您已经创建过试用实例,无法再次创建'], + ['code' => 'CertificateChainNotMatch', 'message' => 'The certificate chain does not match.', 'http_code' => 400, 'description' => '证书链不匹配。'], + ['code' => 'CertificateExpired', 'message' => '证书已经过期。', 'http_code' => 400, 'description' => '证书已经过期。'], + ['code' => 'CertificateFormatException', 'message' => '证书格式异常,请检查输入内容。', 'http_code' => 400, 'description' => '证书格式异常,请检查输入内容。'], + ['code' => 'CertificatePrivateKey.Existed', 'message' => '证书私钥已经存在。', 'http_code' => 400, 'description' => '证书私钥已经存在。'], + ['code' => 'CouldNotRefund.InsufficientQuota', 'message' => '该订单额度不足,无法退款。', 'http_code' => 400, 'description' => '该订单额度不足,无法退款。'], + ['code' => 'CouldNotRefund.NotSupport', 'message' => '不支持退款。', 'http_code' => 400, 'description' => '不支持退款。'], + ['code' => 'CouldNotRefund.OverTime', 'message' => '超过退款期限,无法退款。', 'http_code' => 400, 'description' => '超过退款期限,无法退款。'], + ['code' => 'CreateCsrFailed', 'message' => '创建CSR失败。', 'http_code' => 400, 'description' => '创建CSR失败。'], + ['code' => 'CreateOrderFailed', 'message' => '创建订单失败。', 'http_code' => 400, 'description' => '创建订单失败。'], + ['code' => 'DataTooLongException', 'message' => '存在超长输入值。', 'http_code' => 400, 'description' => '存在超长输入值。'], + ['code' => 'DecryptError', 'message' => '解密错误。', 'http_code' => 400, 'description' => '解密错误。'], + ['code' => 'DeductQuotaFailed', 'message' => '扣除额度失败,请稍后重试。', 'http_code' => 400, 'description' => '扣除额度失败,请稍后重试。'], + ['code' => 'DeployFailed', 'message' => 'Deployment failed.', 'http_code' => 400, 'description' => '部署失败。'], + ['code' => 'DeployFailed.CertBackupFailed', 'message' => '部署失败,备份证书失败。', 'http_code' => 400, 'description' => '部署失败,备份证书失败。'], + ['code' => 'DeployFailed.InvalidCertChainPath', 'message' => '部署失败,无效的证书链路径。', 'http_code' => 400, 'description' => '部署失败,无效的证书链路径。'], + ['code' => 'DeployFailed.InvalidCertPath', 'message' => '部署失败,无效的证书路径。', 'http_code' => 400, 'description' => '部署失败,无效的证书路径。'], + ['code' => 'DeployFailed.InvalidPrivatePath', 'message' => '部署失败,无效的私钥路径。', 'http_code' => 400, 'description' => '部署失败,无效的私钥路径。'], + ['code' => 'DigestError', 'message' => '摘要错误。', 'http_code' => 400, 'description' => '摘要错误。'], + ['code' => 'DomainAlreadyExist', 'message' => 'Domain name already exists.', 'http_code' => 400, 'description' => '域名已存在。'], + ['code' => 'DomainAlreadyUsed', 'message' => '域名已经被使用。', 'http_code' => 400, 'description' => '域名已经被使用。'], + ['code' => 'DomainAndProductNotMatch', 'message' => '域名和规格不匹配。', 'http_code' => 400, 'description' => '域名和规格不匹配。'], + ['code' => 'DomainFormatError', 'message' => '域名格式错误,请检查输入内容。', 'http_code' => 400, 'description' => '域名格式错误,请检查输入内容。'], + ['code' => 'DomainParseError', 'message' => 'Failed to parse the domain name. Check the input.', 'http_code' => 400, 'description' => '解析域名失败,请检查输入是否正确。'], + ['code' => 'DomainQuotaExceeded', 'message' => '域名超出额度。', 'http_code' => 400, 'description' => '域名超出额度。'], + ['code' => 'DomainRepeat', 'message' => '域名重复。', 'http_code' => 400, 'description' => '域名重复。'], + ['code' => 'EncryptError', 'message' => '加密错误。', 'http_code' => 400, 'description' => '加密错误。'], + ['code' => 'FileValueNotMatch', 'message' => '文件校验值不匹配。', 'http_code' => 400, 'description' => '文件校验值不匹配。'], + ['code' => 'FileValueNotMatch.EndWrapCharacter', 'message' => '文件校验值不匹配,结尾不能有换行符。', 'http_code' => 400, 'description' => '文件校验值不匹配,结尾不能有换行符。'], + ['code' => 'FlowControlError', 'message' => '超过限流QPS,请稍后重试。', 'http_code' => 400, 'description' => '超过限流QPS,请稍后重试。'], + ['code' => 'Forbidden.NoPermission', 'message' => 'No permissions.', 'http_code' => 403, 'description' => '当前操作未被授权,请联系管理员授权。'], + ['code' => 'GetDNSFailed', 'message' => '获取DNS失败。', 'http_code' => 400, 'description' => '获取DNS失败。'], + ['code' => 'GetFileValueFailed', 'message' => '获取文件校验值失败。', 'http_code' => 400, 'description' => '获取文件校验值失败。'], + ['code' => 'IncorrectFormat.%s', 'message' => 'The %s parameter format is incorrect.', 'http_code' => 400, 'description' => '%s参数值格式错误。'], + ['code' => 'InsufficientQuota', 'message' => '额度不足。', 'http_code' => 400, 'description' => '额度不足。'], + ['code' => 'InternalError', 'message' => 'An internal error occurred. Try again later.', 'http_code' => 400, 'description' => '内部错误,请稍后重试。'], + ['code' => 'InvaildParameterSource', 'message' => 'The parameter is invalid.', 'http_code' => 400, 'description' => '参数无效。'], + ['code' => 'InvalidParameter', 'message' => '无效参数,请检查参数输入。', 'http_code' => 400, 'description' => '无效参数,请检查参数输入。'], + ['code' => 'InvalidParameter.%s', 'message' => 'Invalid parameter: %s .', 'http_code' => 400, 'description' => '无效参数: %s ,请检查参数内容。'], + ['code' => 'InvalidParameter.MobileIllegal', 'message' => '手机号非法,请输入正确手机号', 'http_code' => 400, 'description' => '手机号非法,请输入正确手机号'], + ['code' => 'InvalidSource.Content.Malformed', 'message' => 'Incorrect format.', 'http_code' => 400, 'description' => '格式不正确。'], + ['code' => 'InvalidStatus.DeleteProtection', 'message' => '当前状态不允许删除,请稍后重试。', 'http_code' => 400, 'description' => '当前状态不允许删除,请稍后重试。'], + ['code' => 'InvalidStatus.UpdateProtection', 'message' => '当前状态不允许更新,请稍后重试。', 'http_code' => 400, 'description' => '当前状态不允许更新,请稍后重试。'], + ['code' => 'LimitExceeded.%s', 'message' => 'The maximum number of %s is exceeded.', 'http_code' => 400, 'description' => '%s 数量超出限额。'], + ['code' => 'MissingDocument', 'message' => '必填文档缺失,请检查输入。', 'http_code' => 400, 'description' => '必填文档缺失,请检查输入。'], + ['code' => 'MissingParameter', 'message' => '缺失必填参数,请检查参数输入。', 'http_code' => 400, 'description' => '缺失必填参数,请检查参数输入。'], + ['code' => 'MissingParameter.%s', 'message' => '%s is required for this operation.', 'http_code' => 400, 'description' => '当前操作需要提供 %s 参数。请注意补充。'], + ['code' => 'NameRepeat', 'message' => '名称重复,请重新输入。', 'http_code' => 400, 'description' => '名称重复,请重新输入。'], + ['code' => 'NameTooLongException', 'message' => '名称太长,请重新输入。', 'http_code' => 400, 'description' => '名称太长,请重新输入。'], + ['code' => 'NotExpired.DeleteProtection', 'message' => '未过期证书不允许删除,请稍后重试。', 'http_code' => 400, 'description' => '未过期证书不允许删除,请稍后重试。'], + ['code' => 'NotFound', 'message' => 'The resource not found. Check the input parameters.', 'http_code' => 400, 'description' => '没有找到必要内容,请检查参数输入是否正确。'], + ['code' => 'NotFound.%s', 'message' => 'Resource not found: %s .', 'http_code' => 404, 'description' => '未找到资源: %s 。'], + ['code' => 'NotMatch.CertificateAndPrivateKey', 'message' => '证书和私钥不匹配,请检查输入内容。', 'http_code' => 400, 'description' => '证书和私钥不匹配,请检查输入内容。'], + ['code' => 'NotMatch.CertificateChain', 'message' => '证书链不匹配,请检查证书链内容。', 'http_code' => 400, 'description' => '证书链不匹配,请检查证书链内容。'], + ['code' => 'NotMatch.CsrAndPrivateKey', 'message' => 'CSR和私钥不匹配,请检查输入内容。', 'http_code' => 400, 'description' => 'CSR和私钥不匹配,请检查输入内容。'], + ['code' => 'NotSupport.MissingPrivateKey', 'message' => '缺失私钥,不支持当前操作。', 'http_code' => 400, 'description' => '缺失私钥,不支持当前操作。'], + ['code' => 'NotSupport.ProductAlgorithm', 'message' => '当前规格不支持指定算法。', 'http_code' => 400, 'description' => '当前规格不支持指定算法。'], + ['code' => 'NotSupportAlgorithm', 'message' => '当前操作不支持指定算法。', 'http_code' => 400, 'description' => '当前操作不支持指定算法。'], + ['code' => 'OperationDenied.AlreadyReissuing', 'message' => '已经存在重签发订单,请稍后重试。', 'http_code' => 400, 'description' => '已经存在重签发订单,请稍后重试。'], + ['code' => 'OperationDenied.CSRExisted', 'message' => 'CSR已经存在,不支持当前操作。', 'http_code' => 400, 'description' => 'CSR已经存在,不支持当前操作。'], + ['code' => 'OperationDenied.CSRPrivateKeyExisted', 'message' => 'CSR私钥已经存在,不支持当前操作。', 'http_code' => 400, 'description' => 'CSR私钥已经存在,不支持当前操作。'], + ['code' => 'OperationDenied.ExistedTrusteeOrder', 'message' => '存在托管订单,不支持当前操作。', 'http_code' => 400, 'description' => '存在托管订单,不支持当前操作。'], + ['code' => 'OperationDenied.IPFormatError', 'message' => 'IP格式错误,不支持操作。', 'http_code' => 400, 'description' => 'IP格式错误,不支持操作。'], + ['code' => 'OperationDenied.IPNotSupport', 'message' => 'IP不支持当前操作。', 'http_code' => 400, 'description' => 'IP不支持当前操作。'], + ['code' => 'OperationDenied.IssuedTimeNotSupport', 'message' => '当前签发时间内不支持当前操作。', 'http_code' => 400, 'description' => '当前签发时间内不支持当前操作。'], + ['code' => 'OperationDenied.NameContainsIllegalCharacters', 'message' => '名称包含非法字符,请检查输入内容。', 'http_code' => 400, 'description' => '名称包含非法字符,请检查输入内容。'], + ['code' => 'OperationDenied.NotSameCompanyEntity', 'message' => 'not allowed to operate.', 'http_code' => 400, 'description' => '不是一个公司实体,不允许操作。'], + ['code' => 'OperationDenied.NotSupport', 'message' => 'The resource does not support this operation.', 'http_code' => 400, 'description' => '当前资源不支持该操作。'], + ['code' => 'OperationDenied.NotSupportAddWildDomain', 'message' => '当前操作不支持泛域名。', 'http_code' => 400, 'description' => '当前操作不支持泛域名。'], + ['code' => 'OperationDenied.NotSupportSM2', 'message' => '当前操作不支持国密算法。', 'http_code' => 400, 'description' => '当前操作不支持国密算法。'], + ['code' => 'OperationDenied.ProductNotSupport', 'message' => '规格不支持。', 'http_code' => 400, 'description' => '规格不支持。'], + ['code' => 'OperationDenied.RepeatedOperation', 'message' => '重复操作,请刷新页面稍后重试。', 'http_code' => 400, 'description' => '重复操作,请刷新页面稍后重试。'], + ['code' => 'OperationDenied.StatusNotSupport', 'message' => '当前状态不支持当前操作。', 'http_code' => 400, 'description' => '当前状态不支持当前操作。'], + ['code' => 'OperationDenied.SystemUpgrading', 'message' => 'The operation failed because the system is under maintenance.', 'http_code' => 400, 'description' => '系统正在维护中,暂不支持该操作,请稍后重试。'], + ['code' => 'OperationDenied.TypeNotSupport', 'message' => '该类型不支持当前操作。', 'http_code' => 400, 'description' => '该类型不支持当前操作。'], + ['code' => 'OrderExpired', 'message' => 'Order is Expired.', 'http_code' => 400, 'description' => '订单已过期'], + ['code' => 'ParamRepeat', 'message' => 'A specified parameter value already exists.', 'http_code' => 400, 'description' => '入参和后端已有数据重复,不允许数据重复保存。'], + ['code' => 'ParamRepeat', 'message' => 'The input parameter and the backend have duplicate data, and duplicate data storage is not allowed.', 'http_code' => 400, 'description' => '入参和后端已有数据重复,不允许数据重复保存。'], + ['code' => 'ParseCertificateFailed', 'message' => '解析证书失败,请检查证书内容。', 'http_code' => 400, 'description' => '解析证书失败,请检查证书内容。'], + ['code' => 'ParsePrivateKeyFailed', 'message' => '解析私钥失败,请检查私钥内容。', 'http_code' => 400, 'description' => '解析私钥失败,请检查私钥内容。'], + ['code' => 'PermissionDenied', 'message' => '没有权限。', 'http_code' => 400, 'description' => '没有权限。'], + ['code' => 'PrivateKeyFormatException', 'message' => '私钥格式异常,请检查输入内容。', 'http_code' => 400, 'description' => '私钥格式异常,请检查输入内容。'], + ['code' => 'QuotaExceeded', 'message' => 'The resource exceeds the quota limit.', 'http_code' => 400, 'description' => '资源超出配额。'], + ['code' => 'QuotaExceeded.SlbCertificate', 'message' => 'SLB证书管理证书数量达到上限。', 'http_code' => 400, 'description' => 'SLB证书管理证书数量达到上限。'], + ['code' => 'RequestsTooMany', 'message' => '请求次数太频繁,请稍后重试。', 'http_code' => 400, 'description' => '请求次数太频繁,请稍后重试。'], + ['code' => 'ResourceAlreadyAssociated', 'message' => 'The specified resource is already associated.', 'http_code' => 400, 'description' => '该证书已关联到此监听上。'], + ['code' => 'RevokeLimit', 'message' => '超过吊销次数限制,无法吊销。', 'http_code' => 400, 'description' => '超过吊销次数限制,无法吊销。'], + ['code' => 'SignError', 'message' => '签名错误。', 'http_code' => 400, 'description' => '签名错误。'], + ['code' => 'SignVerifyError', 'message' => '签名验证错误。', 'http_code' => 400, 'description' => '签名验证错误。'], + ['code' => 'UpdateConflict', 'message' => 'The data you are trying to update has been modified by another user. Please refresh and try again.', 'http_code' => 409, 'description' => '您正在尝试更新的数据已被其他用户修改,请刷新后重试。'], + ['code' => 'ValidateCsrFailed', 'message' => '校验CSR失败,请检查输入内容。', 'http_code' => 400, 'description' => '校验CSR失败,请检查输入内容。'], + ['code' => 'WarehouseUnavailable', 'message' => '仓库不可用。', 'http_code' => 400, 'description' => '仓库不可用。'], + ['code' => 'WebHookFailed', 'message' => 'Failed to send WebHook.', 'http_code' => 400, 'description' => '发送WebHook失败。'], + ['code' => 'CertificateExpired', 'message' => 'The certificate has expired, please purchase a new certificate.', 'http_code' => 400, 'description' => '证书已经过期,请购买新证书.'], ], 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateServerCertificate', - ], - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DeleteClientCertificate', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeCACertificateCount', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'GetCAInstanceStatus', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ListRevokeCertificate', - ], - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeClientCertificate', - ], - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateServerCertificateWithCsr', - ], - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateCustomCertificate', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'ListClientCertificate', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'UploadPcaCertToCas', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeClientCertificateStatus', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateRootCACertificate', - ], - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateClientCertificateWithCsr', - ], - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateRevokeClientCertificate', - ], - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateClientCertificate', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'CreateSubCACertificate', - ], - [ - 'threshold' => '1000', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeCACertificate', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeCertificatePrivateKey', - ], - [ - 'threshold' => '100', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'DescribeCACertificateList', - ], - [ - 'threshold' => '10', - 'countWindow' => 1, - 'regionId' => '*', - 'api' => 'UpdateCACertificateStatus', - ], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServerCertificate'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteClientCertificate'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCACertificateCount'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCAInstanceStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRevokeCertificate'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeClientCertificate'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServerCertificateWithCsr'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCustomCertificate'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListClientCertificate'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UploadPcaCertToCas'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeClientCertificateStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRootCACertificate'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateClientCertificateWithCsr'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRevokeClientCertificate'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateClientCertificate'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSubCACertificate'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCACertificate'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCertificatePrivateKey'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCACertificateList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCACertificateStatus'], ], ], 'ram' => [ 'productCode' => 'SSLCertificatesService', 'productName' => '数字证书管理服务(原SSL证书)', - 'ramCodes' => [ - 'yundun-cert', - ], + 'ramCodes' => ['yundun-cert'], 'ramLevel' => '操作级', 'ramConditions' => [ [ 'name' => 'acs:ResourceGroupId', - 'schema' => [ - 'type' => 'String', - 'description' => '资源组权限', - ], + 'schema' => ['type' => 'String', 'description' => '资源组权限'], ], ], 'ramActions' => [ [ - 'apiName' => 'AssignCertificateCount', - 'description' => '分配证书数量', - 'operationType' => 'update', + 'apiName' => 'DescribeClientCertificate', + 'description' => '查询证书详细信息', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'yundun-cert:AssignCertificateCount', + 'action' => 'yundun-cert:DescribeClientCertificate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeCACertificateCount', - 'description' => '查询已创建的CA证书的数量', - 'operationType' => 'get', + 'apiName' => 'ListCACertificateLog', + 'description' => '查询CA证书的操作日志', + 'operationType' => 'list', 'ramAction' => [ - 'action' => 'yundun-cert:DescribeCACertificateCount', + 'action' => 'yundun-cert:ListCACertificateLog', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'UntagResources', - 'description' => '移除指定资源(SSL证书实例)的标签', - 'operationType' => 'update', + 'apiName' => 'CreateRevokeClientCertificate', + 'description' => '吊销证书', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'yundun-cert:UntagResources', + 'action' => 'yundun-cert:CreateRevokeClientCertificate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CreateServerCertificateWithCsr', - 'description' => '基于自定义的CSR签发单个服务端证书', - 'operationType' => 'create', + 'apiName' => 'DescribeCACertificateList', + 'description' => '查询所有根CA证书和子CA证书的信息', + 'operationType' => 'list', 'ramAction' => [ - 'action' => 'yundun-cert:CreateServerCertificateWithCsr', + 'action' => 'yundun-cert:DescribeCACertificateList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CreateSubCACertificate', - 'description' => '创建子CA证书', - 'operationType' => 'create', + 'apiName' => 'DescribeClientCertificateStatusForSerialNumber', + 'description' => '通过序列号查询证书状态', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'yundun-cert:CreateSubCACertificate', + 'action' => 'yundun-cert:DescribeClientCertificateStatusForSerialNumber', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DeleteClientCertificate', - 'description' => '删除证书', - 'operationType' => 'delete', + 'apiName' => 'GetCAInstanceStatus', + 'description' => '查询CA实例的状态信息', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'yundun-cert:DeleteClientCertificate', + 'action' => 'yundun-cert:GetCAInstanceStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CreateClientCertificateWithCsr', - 'description' => '基于自定义的CSR签发单个客户端证书', - 'operationType' => 'create', + 'apiName' => 'UpdatePcaCertificate', + 'description' => '更新PCA资源属性', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'yundun-cert:CreateClientCertificateWithCsr', + 'action' => 'yundun-cert:UpdatePcaCertificate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListCACertificateLog', - 'description' => '查询CA证书的操作日志', + 'apiName' => 'DescribeClientCertificateStatus', + 'description' => '查询证书的状态信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cert:DescribeClientCertificateStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListClientCertificate', + 'description' => '查询证书列表', 'operationType' => 'list', 'ramAction' => [ - 'action' => 'yundun-cert:ListCACertificateLog', + 'action' => 'yundun-cert:ListClientCertificate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'UpdatePcaCertificate', - 'description' => '更新PCA资源属性', + 'apiName' => 'TagResources', + 'description' => '为指定资源(SSL证书实例)绑定标签', 'operationType' => 'update', 'ramAction' => [ - 'action' => 'yundun-cert:UpdatePcaCertificate', + 'action' => 'yundun-cert:TagResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListAllEndEntityInstance', - 'description' => '获取可分配证书的终端CA', - 'operationType' => 'list', + 'apiName' => 'UpdateCACertificateStatus', + 'description' => '更新CA证书状态', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'yundun-cert:ListAllEndEntityInstance', + 'action' => 'yundun-cert:UpdateCACertificateStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeClientCertificateStatusForSerialNumber', - 'description' => 'DescribeClientCertificateStatusForSerialNumber', - 'operationType' => 'get', + 'apiName' => 'CreateClientCertificate', + 'description' => '基于系统自动生成的CSR签发单个客户端证书', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'yundun-cert:DescribeClientCertificateStatusForSerialNumber', + 'action' => 'yundun-cert:CreateClientCertificate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CreateCustomCertificate', - 'description' => '颁发自定义证书', + 'apiName' => 'CreateExternalCACertificate', + 'description' => '创建外部子CA证书', 'operationType' => 'create', 'ramAction' => [ - 'action' => 'yundun-cert:CreateCustomCertificate', + 'action' => 'yundun-cert:CreateExternalCACertificate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeCACertificate', - 'description' => '查询单个根CA证书或子CA证书的详细信息', - 'operationType' => 'get', + 'apiName' => 'CreateClientCertificateWithCsr', + 'description' => '基于自定义的CSR签发单个客户端证书', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'yundun-cert:DescribeCACertificate', + 'action' => 'yundun-cert:CreateClientCertificateWithCsr', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeCertificatePrivateKey', - 'description' => '查询证书的私钥', - 'operationType' => 'get', + 'apiName' => 'ListPcaCaCertificate', + 'description' => '获取私有CA列表', + 'operationType' => 'list', 'ramAction' => [ - 'action' => 'yundun-cert:DescribeCertificatePrivateKey', + 'action' => 'yundun-cert:ListPcaCaCertificate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'UpdateCACertificateStatus', - 'description' => '更新CA证书状态', - 'operationType' => 'update', + 'apiName' => 'DescribePcaAndExternalCACertificateList', + 'description' => '获取ipa证书列表', + 'operationType' => 'list', 'ramAction' => [ - 'action' => 'yundun-cert:UpdateCACertificateStatus', + 'action' => 'yundun-cert:DescribePcaAndExternalCACertificateList', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeCACertificateList', - 'description' => '查询所有根CA证书和子CA证书的信息', + 'apiName' => 'ListTagResources', + 'description' => '查询资源和标签关系', 'operationType' => 'list', 'ramAction' => [ - 'action' => 'yundun-cert:DescribeCACertificateList', + 'action' => 'yundun-cert:ListTagResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListClientCertificate', - 'description' => '查询证书列表', + 'apiName' => 'ListCert', + 'description' => '查询CA签发的证书列表', 'operationType' => 'list', 'ramAction' => [ - 'action' => 'yundun-cert:ListClientCertificate', + 'action' => 'yundun-cert:ListCert', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeClientCertificateForSerialNumber', - 'description' => 'DescribeClientCertificateForSerialNumber', + 'apiName' => 'DescribeCACertificateCount', + 'description' => '查询已创建的CA证书的数量', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'yundun-cert:DescribeClientCertificateForSerialNumber', + 'action' => 'yundun-cert:DescribeCACertificateCount', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeClientCertificateStatus', - 'description' => '查询证书的状态信息', - 'operationType' => 'get', + 'apiName' => 'ListAllEndEntityInstance', + 'description' => '获取可分配证书的终端CA', + 'operationType' => 'list', 'ramAction' => [ - 'action' => 'yundun-cert:DescribeClientCertificateStatus', + 'action' => 'yundun-cert:ListAllEndEntityInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListPcaCaCertificate', - 'description' => '获取私有CA列表', - 'operationType' => 'list', + 'apiName' => 'DeleteClientCertificate', + 'description' => '删除证书', + 'operationType' => 'delete', 'ramAction' => [ - 'action' => 'yundun-cert:ListPcaCaCertificate', + 'action' => 'yundun-cert:DeleteClientCertificate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CreateServerCertificate', - 'description' => '基于系统自动生成的CSR签发单个服务端证书', + 'apiName' => 'CreateCustomCertificate', + 'description' => '颁发自定义证书', 'operationType' => 'create', 'ramAction' => [ - 'action' => 'yundun-cert:CreateServerCertificate', + 'action' => 'yundun-cert:CreateCustomCertificate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListCert', - 'description' => '查询CA签发的证书列表', - 'operationType' => 'list', + 'apiName' => 'DescribeClientCertificateForSerialNumber', + 'description' => '根据证书序列号查询证书', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'yundun-cert:ListCert', + 'action' => 'yundun-cert:DescribeClientCertificateForSerialNumber', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribePcaAndExternalCACertificateList', - 'description' => '获取ipa证书列表', - 'operationType' => 'get', + 'apiName' => 'UntagResources', + 'description' => '移除指定资源(SSL证书实例)的标签', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'yundun-cert:DescribePcaAndExternalCACertificateList', + 'action' => 'yundun-cert:UntagResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'DescribeClientCertificate', - 'description' => '查询证书详细信息', + 'apiName' => 'GetCaInstanceCrlAddress', + 'description' => '获取CA的吊销列表', 'operationType' => 'get', 'ramAction' => [ - 'action' => 'yundun-cert:DescribeClientCertificate', + 'action' => 'yundun-cert:GetCaInstanceCrlAddress', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'UploadPcaCertToCas', - 'description' => '同步私有证书到证书服务', + 'apiName' => 'MoveResourceGroup', + 'description' => '删除资源组', 'operationType' => 'update', 'ramAction' => [ - 'action' => 'yundun-cert:UploadPcaCertToCas', + 'action' => 'yundun-cert:MoveResourceGroup', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CreateExternalCACertificate', - 'description' => '创建外部子CA证书', + 'apiName' => 'CreateServerCertificateWithCsr', + 'description' => '基于自定义的CSR签发单个服务端证书', 'operationType' => 'create', 'ramAction' => [ - 'action' => 'yundun-cert:CreateExternalCACertificate', + 'action' => 'yundun-cert:CreateServerCertificateWithCsr', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'MoveResourceGroup', - 'description' => '删除资源组', - 'operationType' => 'update', + 'apiName' => 'CreateSubCACertificate', + 'description' => '创建子CA证书', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'yundun-cert:MoveResourceGroup', + 'action' => 'yundun-cert:CreateSubCACertificate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListRevokeCertificate', - 'description' => '查询吊销证书列表', - 'operationType' => 'list', + 'apiName' => 'DescribeCACertificate', + 'description' => '查询单个根CA证书或子CA证书的详细信息', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'yundun-cert:ListRevokeCertificate', + 'action' => 'yundun-cert:DescribeCACertificate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'TagResources', - 'description' => '为指定资源(SSL证书实例)绑定标签', + 'apiName' => 'UploadPcaCertToCas', + 'description' => '同步私有证书到证书服务', 'operationType' => 'update', 'ramAction' => [ - 'action' => 'yundun-cert:TagResources', + 'action' => 'yundun-cert:UploadPcaCertToCas', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'GetCAInstanceStatus', - 'description' => '查询CA实例的状态信息', - 'operationType' => 'get', + 'apiName' => 'CreateServerCertificate', + 'description' => '基于系统自动生成的CSR签发单个服务端证书', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'yundun-cert:GetCAInstanceStatus', + 'action' => 'yundun-cert:CreateServerCertificate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CreateRootCACertificate', - 'description' => '创建根CA证书', - 'operationType' => 'create', + 'apiName' => 'DescribeCertificatePrivateKey', + 'description' => '查询证书的私钥', + 'operationType' => 'get', 'ramAction' => [ - 'action' => 'yundun-cert:CreateRootCACertificate', + 'action' => 'yundun-cert:DescribeCertificatePrivateKey', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CreateRevokeClientCertificate', - 'description' => '吊销证书', - 'operationType' => 'create', + 'apiName' => 'ListRevokeCertificate', + 'description' => '查询吊销证书列表', + 'operationType' => 'list', 'ramAction' => [ - 'action' => 'yundun-cert:CreateRevokeClientCertificate', + 'action' => 'yundun-cert:ListRevokeCertificate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'CreateClientCertificate', - 'description' => '基于系统自动生成的CSR签发单个客户端证书', - 'operationType' => 'create', + 'apiName' => 'AssignCertificateCount', + 'description' => '分配证书数量', + 'operationType' => 'update', 'ramAction' => [ - 'action' => 'yundun-cert:CreateClientCertificate', + 'action' => 'yundun-cert:AssignCertificateCount', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ - 'apiName' => 'ListTagResources', - 'description' => '查询资源和标签关系', - 'operationType' => 'list', + 'apiName' => 'CreateRootCACertificate', + 'description' => '创建根CA证书', + 'operationType' => 'create', 'ramAction' => [ - 'action' => 'yundun-cert:ListTagResources', + 'action' => 'yundun-cert:CreateRootCACertificate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ - [ - 'validationType' => 'always', - 'product' => 'SSLCertificatesService', - 'resourceType' => '全部资源', - 'arn' => '*', - ], + ['validationType' => 'always', 'product' => 'SSLCertificatesService', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], |
