Upload Global Connection Wallet File
/essbase/rest/v1/connections/{connectionName}/wallet
Upload a connection wallet file for a global connection. Oracle client credentials (wallet files) are downloaded from Autonomous Data Warehouse by a service administrator. If you are not an Autonomous Data Warehouse administrator, your administrator should provide you with the client credentials.
Request
- application/octet-stream
-
connectionName(required): string
Connection name.
Response
- application/json
- application/xml
200 Response
OK
Return the wallet file location in catalog.
400 Response
Bad Request
Unable to process wallet file.
Examples
The following example shows how to upload a wallet file to a global connection. Primarily, wallet uploads are used for connections to Oracle Autonomous Data Warehouse.
This example uses cURL to access the REST API from a Windows shell script. The calling user's ID and password are variables whose values are set in properties.bat
.
Script with cURL Command
call properties.bat
curl -X PUT "https://myserver.example.com:9001/essbase/rest/v1/connections/oraConn/wallet" -H Accept:application/json -H Content-Type:application/octet-stream --data-binary "@./dbwallet.zip" -u %User%:%Password%
Example of Response Body
The following example shows the contents of the response body in JSON format.
{
"path" : "/system/wallets/oraConn"
}