Closed nadnerb closed 8 years ago
Dumb question: does the key you're specifying exist?
Keys are region-specific, so you might need to use --region
to target the right one.
If that doesn't work, please provide more detail: how are you invoking it?
Yep, it exists, I am on a box that has the role that can use it as well. I will look at the cli tomorrow to see where I am going wrong.
On Thu, Feb 18, 2016 at 9:37 PM, Mike Williams notifications@github.com wrote:
Dumb question: does the key you're specifying exist?
Keys are region-specific, so you might need to use --region to target the right one.
If that doesn't work, please provide more detail: how are you invoking it?
— Reply to this email directly or view it on GitHub https://github.com/realestate-com-au/shush/pull/1#issuecomment-185646239 .
Ok, I thought I would have a quick look before I went to bed and now feel a bit silly, I was using the alias name, not the id. It all works now.. however you still won't be able to compile against later version of the aws-sdk-go unless you update to use github.com/aws/aws-sdk-go/aws/session
.
Righto. I'm pretty sure aliases work, if you prefix them with "alias/".
Oh wait, this is a PR - sorry.
Hey mate, this compiles, however I am getting a
ERROR: NotFoundException: Invalid keyId
exception when trying to encrypt. Everything looks ok, never used KMS before though.