Method: projects.locations.autonomousDatabases.generateWallet

Generates a wallet for an Autonomous Database.

HTTP request

POST https://oracledatabase.googleapis.com/v1/{name=projects/*/locations/*/autonomousDatabases/*}:generateWallet

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the Autonomous Database in the following format: projects/{project}/locations/{location}/autonomousDatabases/{autonomousDatabase}.

Request body

The request body contains data with the following structure:

JSON representation
{
  "type": enum (GenerateType),
  "isRegional": boolean,
  "password": string
}
Fields
type

enum (GenerateType)

Optional. The type of wallet generation for the Autonomous Database. The default value is SINGLE.

isRegional

boolean

Optional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only.

password

string

Required. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters.

Response body

The response for AutonomousDatabase.GenerateWallet.

If successful, the response body contains data with the following structure:

JSON representation
{
  "archiveContent": string
}
Fields
archiveContent

string (bytes format)

Output only. The base64 encoded wallet files.

A base64-encoded string.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • oracledatabase.autonomousDatabases.generateWallet

For more information, see the IAM documentation.

GenerateType

The type of wallet generation.

Enums
GENERATE_TYPE_UNSPECIFIED Default unspecified value.
ALL Used to generate wallet for all databases in the region.
SINGLE Used to generate wallet for a single database.