2.2.9 WALLET Connection Type
Connect to a database using a wallet. The connection spec parameter has the form:
[<username>][/<password>][@<url>]
Options
| Option | Description |
|---|---|
| -wallet, w | Specifies a WALLET connection type. |
| -cloudconfig, cc | Specifies the wallet to establish the connection. |
| -proxy, p | Specifies the network proxy to use. |
| -user, u | Specifies the user name. This is an alternative to providing it in the connection spec parameter. |
| -password, pw | Specifies the password. This is an alternative to providing it in the connection spec parameter. |
| -url | Specifies the URL. This is an alternative to providing it in the connection spec parameter. |
| -role, r | Specifies the database role. This is an alternative to providing it in the connection spec parameter. |
| -edition, ed | Specifies the Oracle database edition. This is an alternative to providing it in the connection spec parameter. |
| -verbose, v | Requests output of diagnostic information about the connection. |
Parameters
| Parameter | Description |
|---|---|
| <connectionspec> | Provides the connection specification for the target database. |
Example
To set the wallet property and then connect:
SQL> SET cloudconfig mywallet.zip
SQL> CONNECT myuser/passwd@mycloudtns
Alternatively, do it using one command:
SQL> CONNECT -cloudconfig mywallet.zip myuser/passwd@mycloudtns