Autonomous Databases - Generate Wallet
Generate wallet action on Autonomous Database
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}/generateWallet?api-version=2025-03-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
autonomousdatabasename
|
path | True |
string minLength: 1maxLength: 30 pattern: .* |
The database name. |
resource
|
path | True |
string minLength: 1maxLength: 90 |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string (uuid) |
The ID of the target subscription. The value must be an UUID. |
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Request Body
Name | Required | Type | Description |
---|---|---|---|
password | True |
string (password) minLength: 8 |
The password to encrypt the keys inside the wallet |
generateType |
The type of wallet to generate. |
||
isRegional |
boolean |
True when requesting regional connection strings in PDB connect info, applicable to cross-region DG only. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Azure operation completed successfully. |
|
Other Status Codes |
An unexpected error response. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Generate wallet action on Autonomous Database
Sample request
POST https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Oracle.Database/autonomousDatabases/databasedb1/generateWallet?api-version=2025-03-01
{
"generateType": "Single",
"isRegional": false,
"password": "********"
}
Sample response
{
"walletFiles": "testEncodedFiles"
}
Definitions
Name | Description |
---|---|
Autonomous |
Autonomous Database Wallet File resource model. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Generate |
Autonomous Database Generate Wallet resource model. |
Generate |
Generate type enum |
AutonomousDatabaseWalletFile
Autonomous Database Wallet File resource model.
Name | Type | Description |
---|---|---|
walletFiles |
string |
The base64 encoded wallet files |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
GenerateAutonomousDatabaseWalletDetails
Autonomous Database Generate Wallet resource model.
Name | Type | Description |
---|---|---|
generateType |
The type of wallet to generate. |
|
isRegional |
boolean |
True when requesting regional connection strings in PDB connect info, applicable to cross-region DG only. |
password |
string (password) minLength: 8 |
The password to encrypt the keys inside the wallet |
GenerateType
Generate type enum
Value | Description |
---|---|
All |
Generate all |
Single |
Generate single |