You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2026. It is now read-only.
Hi,
I've been communicating with AWS support on this issue and it's been verified that JAVA_TOOLS_OPTIONS is getting displayed from Runtime Init phase. I'm filing this issue to request this to be optionally turned off so that custom SSL trustStore password can be hidden in the logs for custom certificates to be used for on-premise connection.
Ultimately, I need to pass in SSL information to override the trustStore used in runtime with below, without exposing the password in cloudwatch.
JAVA_TOOL_OPTIONS: "-Djavax.net.ssl.trustStore=./mycacerts -Djavax.net.ssl.trustStorePassword=xyz"
Hi,
I've been communicating with AWS support on this issue and it's been verified that JAVA_TOOLS_OPTIONS is getting displayed from Runtime Init phase. I'm filing this issue to request this to be optionally turned off so that custom SSL trustStore password can be hidden in the logs for custom certificates to be used for on-premise connection.
To reproduce,
Resources:
HelloWorldFunction:
Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
Properties:
CodeUri: HelloWorldFunction
Handler: helloworld.App::handleRequest
Runtime: java8
MemorySize: 2048
Environment: # More info about Env Vars: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#environment-object
Variables:
PARAM1: VALUE
JAVA_TOOL_OPTIONS: -XX:+TieredCompilation -XX:TieredStopAtLevel=1 # More info about tiered compilation https://aws.amazon.com/blogs/compute/optimizing-aws-lambda-function-performance-for-java/
Ultimately, I need to pass in SSL information to override the trustStore used in runtime with below, without exposing the password in cloudwatch.
JAVA_TOOL_OPTIONS: "-Djavax.net.ssl.trustStore=./mycacerts -Djavax.net.ssl.trustStorePassword=xyz"