0

.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',
4

1 に答える 1

1

API 資格情報は、ssh キーとはまったく関係ありません。API キー情報は、セキュリティ資格情報ページで確認できます (Amazon Web コンソールからマイ アカウント リンクをたどってください)。

さまざまな amazon 資格情報とその使用については、こちらを参照してください。

于 2011-12-24T09:36:52.303 に答える