Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting aws_key and as_secret in CI environment #52

Closed
faceleg opened this issue Jan 25, 2016 · 5 comments
Closed

Getting aws_key and as_secret in CI environment #52

faceleg opened this issue Jan 25, 2016 · 5 comments

Comments

@faceleg
Copy link

faceleg commented Jan 25, 2016

I want to use this awesome repo as a mock for tests running in a CI environment. This is for node-s3-client.

How do I get the AWS_KEY and AWS_SECRET in this situation? Is it randomly generated each time s3ninja is started or static?

@scireumskip
Copy link
Contributor

It is static. We use the credentials used by the examples from Amazon.
Am 25.01.2016 1:22 vorm. schrieb "Michael Robinson" <
[email protected]>:

I want to use this awesome repo as a mock for tests running in a CI
environment. This is for node-s3-client.

How do I get the AWS_KEY and AWS_SECRET in this situation? Is it randomly
generated each time s3ninja is started or static?


Reply to this email directly or view it on GitHub
#52.

@faceleg
Copy link
Author

faceleg commented Jan 25, 2016

Ok thanks!

I also seem to be suffering from the "401 all the things" syndrome.

Is there anything special I have to do other then using the right secret and key?

This is the code: andrewrk/node-s3-client#119

And thanks for making this tool, it's great!

One more thing - I "dockerised" it:

@andyHa
Copy link
Member

andyHa commented Mar 7, 2016

Is the problem still presistent? We use the latest SDK from aws along with the latest version of s3ninja and it works great...

@faceleg
Copy link
Author

faceleg commented Mar 14, 2016

I haven't had time to try again since your comment, if I do I'll come back and report

@andyHa
Copy link
Member

andyHa commented Jul 20, 2018

We now provided a new release which fixes a bunch of issues concerning signed chunks / uris / ...

The credentials as fixed (in application.conf) and by default the ones from the S3 examples^^. You can provide a custom config to overwrite them or to supply custom ones via env variable.

Also, there is now an "official" docker image: https://hub.docker.com/r/scireum/s3-ninja - feel free to provide any suggestions / improvments....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants