Connect Go Applications with a Wallet (mTLS)
You can connect Go applications to your Autonomous Database instance with a wallet.
Topics
- Download an Oracle Wallet File
You must download an Oracle Wallet (mTLS) file to obtain client security credentials that enable you to connect to an Autonomous Database instance. - Run Go Applications with a Wallet (mTLS)
You can connect Go applications to your Autonomous Database instance with a wallet. You must download a zipped wallet file from the Autonomous Database instance that contains the client security credentials.
Parent topic: Connect Go Applications to Autonomous Database
Download an Oracle Wallet File
You must download an Oracle Wallet (mTLS) file to obtain client security credentials that enable you to connect to an Autonomous Database instance.
Parent topic: Connect Go Applications with a Wallet (mTLS)
Run Go Applications with a Wallet (mTLS)
You can connect Go applications to your Autonomous Database instance with a wallet. You must download a zipped wallet file from the Autonomous Database instance that contains the client security credentials.
The godror
driver requires Oracle Client Libraries. See Install Oracle Client Library to use Godror. The Oracle Client libraries are installed where you run the Go Application.
The wallet file is in a zip archive format. The database service names can be found in the tnsnames.ora
file in the wallet zip file. In the example given below, you will use the mydb_high
network service name found in the tnsnames.ora
file.
-
tnsnames.ora
: Contains the net service names used for application connection strings and maps the strings to your database services. -
sqlnet.ora
: Specifies the SQLNet client side configuration. -
cwallet.sso
: Contains the auto-open SSO wallet.
Follow these steps to connect your Go application to an Autonomous Database instance using a wallet (mTLS):
Parent topic: Connect Go Applications with a Wallet (mTLS)