Closed monkey-jeff closed 6 years ago
Hi this should fix issues #14
This will still work with instance credentials. if you look at the java sdk the ECS credential wrapper loads with the following conditionals
if (System.getenv(ECS_CONTAINER_CREDENTIALS_PATH) != null) { return new ContainerCredentialsProvider(new ECSCredentialsEndpointProvider()); } if (System.getenv(CONTAINER_CREDENTIALS_FULL_URI) != null) { return new ContainerCredentialsProvider(new FullUriCredentialsEndpointProvider()); } return InstanceProfileCredentialsProvider.getInstance();
And falls back to what you already had.
I have tested running this in our environment and it worked like a charm.
-Jeff
I've just released 1.4.3 with this fix, should be available soon
Hi this should fix issues #14
This will still work with instance credentials. if you look at the java sdk the ECS credential wrapper loads with the following conditionals
And falls back to what you already had.
I have tested running this in our environment and it worked like a charm.
-Jeff