Closed Fosol closed 6 years ago
You can set the access key id and secret key to anything you want, these are not checked. The important part is that you set the endpoint on the AWS client to the address on which ElasticMQ is running. I'm not sure what language you are using, but here's the Java version:
As for the queue url, you can obtain in using CreateQueue
or GetQueueUrl
I'm just running the Queue with the java run command.
java -Dconfig.file=custom.conf -jar elasticmq-server-0.13.8.jar
How do I put the access key id and secret key into that?
Ah. Well that's all that you need to do. You only need the access keys on the client side - that is when you try to connect to the server. There, you can use any values that you'd like.
How do you configure elasticmq accessKeyId, secretAccessKey and region? I keep getting
InvalidClientTokenId: The security token included in the request is invalid.
Also what is the default QueueUrl path? I've included a custom configuration file.