お世話になっております。
以下のHPを参考に、slack、api-gateway,lambadaを連動させて動かしてみようと思っています。
<参考HP>
http://dev.classmethod.jp/cloud/aws/slack-integration-blueprint-for-aws-lambda/
http://qiita.com/ketancho/items/41ccf435c6fcc324b1e1
書いてある通りに進めていき、slackのTockenを暗号化するところまでいったのですが、
暗号化のコマンド時に、以下のようなエラーとなってしまいます。
(コマンド)
aws kms encrypt --key-id alias/lambdaSlackTest --plaintext="xxxxxxxxxxxxxxxxxxx"
(結果)
An error occurred (UnrecognizedClientException) when calling the Encrypt operation: The security token included in the request is invalid.
どうしてこのようなエラーとなるのかさっぱり分からない状況なのですが、
どなたか原因に心当たりがございましたら、ご教授頂けないでしょうか?

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。