presto-base-jdbc/src/main/java/io/prestosql/plugin/jdbc/credential/CredentialProviderModule.java/CredentialProviderModule/KeyStoreBasedCredentialProviderFactory
class CredentialProviderModule:        @Inject
        public KeyStoreBasedCredentialProviderFactory(KeyStoreBasedCredentialProviderConfig config)
                throws IOException, CertificateException, NoSuchAlgorithmException, KeyStoreException, InvalidKeySpecException, UnrecoverableEntryException
        {
            requireNonNull(config, "config is null");
            KeyStore keyStore = loadKeyStore(config.getKeyStoreType(), config.getKeyStoreFilePath(), config.getKeyStorePassword());

            credentialsConfig = new CredentialConfig()
                    .setConnectionUser(readEntity(keyStore, config.getUserCredentialName(), config.getPasswordForUserCredentialName()))
                    .setConnectionPassword(readEntity(keyStore, config.getPasswordCredentialName(), config.getPasswordForPasswordCredentialName()));
        }