

Set this to the name of role that you want to use.Ĭompile and run the sample code. Set this to the name of warehouse that you want to use. Set this to the name of schema that you want to use. Set this to the name of the database that you want to use. If you generated an encrypted key, implement the getPrivateKeyPassphrase() method to return the passphrase for decrypting that key. Set this to the path and name of the private key file that you generated earlier. Where versions specifies the versions of the JDK that the JAR file supports.Ĭopy the sample code below, and replace the following placeholder values: The PKIX / CMS / EAC / PKCS / OCSP / TSP / OPENSSL JAR file ( bcpkix-jdk versions. The provider JAR file ( bcprov-jdk versions. In order to compile and run thisĮxample, you must include the following JAR files in your classpath: This example uses the Bouncy Castle Crypto APIs. This section provides an example of setting the privateKey property to a private key in a file. PrivateKey Property in Connection Properties ¶ Use the Right Values for Connection String and Account Simple Logging Facade for Java ( org.slf4j)
Dbvisualizer change user password driver#
Verifying the OCSP Connector or Driver Version Specifying a Proxy Server in the JDBC Connection String Specifying a Proxy Server by Setting Java System Properties Verifying the Network Connection to Snowflake with SnowCD Private Key File Name and Password in Connection String Private Key File Name and Password as Connection Properties PrivateKey Property in Connection Properties

Using Key Pair Authentication & Key Rotation Using Single Sign-on (SSO) For Authentication
