LoginSignup
2
1

More than 3 years have passed since last update.

[AWS Amplify] amplify init して "InvalidSignatureException: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details." と言われたら確認するとこ

Last updated at Posted at 2021-04-19

事象

こうすると

% amplify init

こう言われました。

InvalidSignatureException: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.

DeepL様の翻訳

InvalidSignatureException: 私たちが計算したリクエスト署名は、あなたが提供した署名と一致しません。AWSシークレットアクセスキーと署名方法を確認してください。詳細は、サービスのドキュメントを参照してください。

解決策

~/.aws/credentialsaws_access_key_idaws_secret_access_key が間違えている可能性があるので確認しましょう。

% cat ~/.aws/credentials
[default]
aws_access_key_id=XXXXXXXXXXXXXXXXXXXX
aws_secret_access_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1