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
class HelloWorld {
public static void main(String[] args) {
System.setProperty("javax.net.ssl.trustStorePassword", environment.getProperty("truststorePassword"));
}
}
Hello.java
...java.lang.security.system.system-setproperty-hardcoded-
secret.java.lang.security.system.system-setproperty-hardcoded-secret.system-setproperty-hardcoded-secret
A secret is hard-coded in the application. Secrets stored in source code, such as credentials,
identifiers, and other types of sensitive data, can be leaked and used by internal or external
malicious actors. Use environment variables to securely provide credentials and other secrets or
retrieve them from a secure vault or Hardware Security Module (HSM).
Details: https://sg.run/KAzn
3? System.setProperty("javax.net.ssl.trustStorePassword",
environment.getProperty("truststorePassword"));
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: