Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
发布日志: 1, Add APIs: CreateAlias, UpdateAlias, DeleteAlias, ListAliases, ListAliasesByKeyId. 2, Add APIs: GetParametersForImport, ImportKeyMaterial, DeleteKeyMaterial. 3, Update KeyMetadata for CreateKey and DescribeKey.
- Loading branch information
1 parent
53aaa02
commit a468a58
Showing
20 changed files
with
658 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
2018-03-29 Version: 2.5.0 | ||
1, Add APIs: CreateAlias, UpdateAlias, DeleteAlias, ListAliases, ListAliasesByKeyId. | ||
2, Add APIs: GetParametersForImport, ImportKeyMaterial, DeleteKeyMaterial. | ||
3, Update KeyMetadata for CreateKey and DescribeKey. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
aliyun-php-sdk-kms/Kms/Request/V20160120/CreateAliasRequest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?php | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
namespace Kms\Request\V20160120; | ||
|
||
class CreateAliasRequest extends \RpcAcsRequest | ||
{ | ||
function __construct() | ||
{ | ||
parent::__construct("Kms", "2016-01-20", "CreateAlias", "kms", "openAPI"); | ||
$this->setProtocol("https"); | ||
$this->setMethod("POST"); | ||
} | ||
|
||
private $aliasName; | ||
|
||
private $keyId; | ||
|
||
private $sTSToken; | ||
|
||
public function getAliasName() { | ||
return $this->aliasName; | ||
} | ||
|
||
public function setAliasName($aliasName) { | ||
$this->aliasName = $aliasName; | ||
$this->queryParameters["AliasName"]=$aliasName; | ||
} | ||
|
||
public function getKeyId() { | ||
return $this->keyId; | ||
} | ||
|
||
public function setKeyId($keyId) { | ||
$this->keyId = $keyId; | ||
$this->queryParameters["KeyId"]=$keyId; | ||
} | ||
|
||
public function getSTSToken() { | ||
return $this->sTSToken; | ||
} | ||
|
||
public function setSTSToken($sTSToken) { | ||
$this->sTSToken = $sTSToken; | ||
$this->queryParameters["STSToken"]=$sTSToken; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
aliyun-php-sdk-kms/Kms/Request/V20160120/DeleteAliasRequest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?php | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
namespace Kms\Request\V20160120; | ||
|
||
class DeleteAliasRequest extends \RpcAcsRequest | ||
{ | ||
function __construct() | ||
{ | ||
parent::__construct("Kms", "2016-01-20", "DeleteAlias", "kms", "openAPI"); | ||
$this->setProtocol("https"); | ||
$this->setMethod("POST"); | ||
} | ||
|
||
private $aliasName; | ||
|
||
private $sTSToken; | ||
|
||
public function getAliasName() { | ||
return $this->aliasName; | ||
} | ||
|
||
public function setAliasName($aliasName) { | ||
$this->aliasName = $aliasName; | ||
$this->queryParameters["AliasName"]=$aliasName; | ||
} | ||
|
||
public function getSTSToken() { | ||
return $this->sTSToken; | ||
} | ||
|
||
public function setSTSToken($sTSToken) { | ||
$this->sTSToken = $sTSToken; | ||
$this->queryParameters["STSToken"]=$sTSToken; | ||
} | ||
|
||
} |
53 changes: 53 additions & 0 deletions
53
aliyun-php-sdk-kms/Kms/Request/V20160120/DeleteKeyMaterialRequest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?php | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
namespace Kms\Request\V20160120; | ||
|
||
class DeleteKeyMaterialRequest extends \RpcAcsRequest | ||
{ | ||
function __construct() | ||
{ | ||
parent::__construct("Kms", "2016-01-20", "DeleteKeyMaterial", "kms", "openAPI"); | ||
$this->setProtocol("https"); | ||
$this->setMethod("POST"); | ||
} | ||
|
||
private $keyId; | ||
|
||
private $sTSToken; | ||
|
||
public function getKeyId() { | ||
return $this->keyId; | ||
} | ||
|
||
public function setKeyId($keyId) { | ||
$this->keyId = $keyId; | ||
$this->queryParameters["KeyId"]=$keyId; | ||
} | ||
|
||
public function getSTSToken() { | ||
return $this->sTSToken; | ||
} | ||
|
||
public function setSTSToken($sTSToken) { | ||
$this->sTSToken = $sTSToken; | ||
$this->queryParameters["STSToken"]=$sTSToken; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.