Source
Creating a Session for Snowpark Java
Set the PRIVATE_KEY_FILE property to the path to the private key file. If the private key is encrypted, set the PRIVATE_KEY_FILE_PWD property to the passphrase for decrypting the key.