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

Java library for AWS Java SDK v2 #41

Open
jsyrjala opened this issue Nov 7, 2019 · 5 comments
Open

Java library for AWS Java SDK v2 #41

jsyrjala opened this issue Nov 7, 2019 · 5 comments

Comments

@jsyrjala
Copy link
Member

jsyrjala commented Nov 7, 2019

Implement java library for using AWS Java SDK v2
https://docs.aws.amazon.com/sdk-for-java/v2/developer-guide/welcome.html

Make separate maven library for this, e.g com.nitorcreations:aws-vault-v2 so that projects using v2 SDK do not have include v1 stuff.

@jsyrjala
Copy link
Member Author

jsyrjala commented Nov 7, 2019

Let's also make VaultException to be RuntimeException.

@psiniemi
Copy link
Member

This is now in master. Will release once we get node cli and integration tests that cover all the language versions via the cli

@jsyrjala
Copy link
Member Author

I am wondering this difference:

Default stack names are "vault" and "vault2". Why the difference? I think you should be able to use the same CloudFormation stack with both libs.

@psiniemi
Copy link
Member

Yes, good catch. Refactoring bug... BTW this does not work yet - needs to be tested properly.

@jsyrjala
Copy link
Member Author

Also old vault lib has a problem where VaultException is not thrown on all errors, some times you get AWS exceptions, like when key does not exist.

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

No branches or pull requests

2 participants