2011-12-24 5 views
0

amazon ec2公開鍵、.sshディレクトリ内の鍵ペア名とSSH authorized_keysを知っています。
PHP SDKの設定中、私はconfig.inc.phpにキーと秘密のフィールドを書きます。Amazon EC2: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

api資格情報は、sshキーとはまったく関係ありません。あなたのAPIキー情報セキュリティ資格情報ページで見つけることができます(アマゾンのWebコンソールからアカウントのリンクをたどる)

さまざまなアマゾンの資格情報とその用途についてhere

+0

感謝フレデリックを読むことができます。.. –