你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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: 1
maxLength: 30
pattern: .*

The database name.

resourceGroupName
path True

string

minLength: 1
maxLength: 90

The name of the resource group. The name is case insensitive.

subscriptionId
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

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

AutonomousDatabaseWalletFile

Azure operation completed successfully.

Other Status Codes

ErrorResponse

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
AutonomousDatabaseWalletFile

Autonomous Database Wallet File resource model.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

GenerateAutonomousDatabaseWalletDetails

Autonomous Database Generate Wallet resource model.

GenerateType

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

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

GenerateAutonomousDatabaseWalletDetails

Autonomous Database Generate Wallet resource model.

Name Type Description
generateType

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