Closed hradec closed 1 year ago
Hello @hradec! The *.groovy files are unit tests. When running them, a special instance of S3 Ninja is booted that uses the default key. Without having checked it (as I am currently on vacation without my work computer 😇), you should be able to change the key for your local instance. You could try to create a file instance.conf
, put it into the working directory, and within that, overwrite the respective two keys:
storage.awsAccessKey = "ABC"
storage.awsSecretKey = "XYZ"
Please let me know whether this works. 😊
Lacking further input, we assume this to be solved.
I didn't have time to test yet. I'll reply here as soon as I do! Thanks for the help, really appreciate!
Is it possible to configure different keys than
AKIAIOSFODNN7EXAMPLE
andwJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
?I did a grep on the source, and it seems those 2 keys are hardcoded in some places:
But they are also setup on
src/main/resources/application.conf
file. I'm wondering if changing then in that application.conf file would work? or do I need to change then on the other files too?