I have a custom jar file that makes use of awssdk jar and publishes to SNS. This jar works fine with a demo gradle project but I cannot get it to work with CAS 6.3.x.
java.lang.NullPointerException: Credentials must not be null.
at software.amazon.awssdk.utils.Validate.paramNotNull(Validate.java:156) ~[utils-2.17.216.jar!/:?]
I have tried to included the credentials in the standard ~/aws/credentials file (which the demo finds), tried setting ENV vars, tried passing into gradlew command line with -Daws.accessKeyId=xxx -Daws.secretKey=yyy options but I still get the credentials must not be null.
Is CAS expecting credentials in a different location or is it doing something to clobber the standard location?
-psv