Amazon EC2:PHP SDK config.inc.php的关键和秘密字段是什么?

时间:2011-12-24 09:00:11

标签: amazon-ec2 amazon-web-services ec2-api-tools

我知道.ssh目录中的amazon ec2公钥,密钥对名称和SSH authorized_keys 在PHP SDK配置期间,我已经使用密钥和密码字段填充config.inc.php。

我无法将公钥,密钥对名称和SSH authorized_keys与密钥和密钥字段相关联。

我将从哪里获得这些价值?

// Amazon Web Services Key. Found in the AWS Security Credentials. You can also pass
// this value as the first parameter to a service constructor.
'key' => 'development-key',

// Amazon Web Services Secret Key. Found in the AWS Security Credentials. You can also
// pass this value as the second parameter to a service constructor.
'secret' => 'development-secret',

1 个答案:

答案 0 :(得分:1)

api凭证与ssh密钥完全无关。您可以在安全凭证页面上找到您的api密钥信息(按照亚马逊网络控制台上的我的帐户链接)

您可以阅读各种亚马逊凭据及其用途here