---
title: "POST /v1/projects/{projectsId}/locations/{locationsId}/autonomousDatabases/{autonomousDatabasesId}:generateWallet"
method: POST
path: "/v1/projects/{projectsId}/locations/{locationsId}/autonomousDatabases/{autonomousDatabasesId}:generateWallet"
tags: ["projects"]
---

# POST /v1/projects/{projectsId}/locations/{locationsId}/autonomousDatabases/{autonomousDatabasesId}:generateWallet

`POST /v1/projects/{projectsId}/locations/{locationsId}/autonomousDatabases/{autonomousDatabasesId}:generateWallet`

## Request

- Base URL: `https://oracledatabase.googleapis.com`
- URL: `https://oracledatabase.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/autonomousDatabases/{autonomousDatabasesId}:generateWallet`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Generates a wallet for an Autonomous Database.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `autonomousDatabasesId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Request body

- GenerateAutonomousDatabaseWalletRequest: The request for `AutonomousDatabase.GenerateWallet`.
  - `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.
  - `type` 'GENERATE_TYPE_UNSPECIFIED' | 'ALL' | 'SINGLE': Optional. The type of wallet generation for the Autonomous Database. The default value is SINGLE.

## Response `200`

Successful response

- GenerateAutonomousDatabaseWalletResponse: The response for `AutonomousDatabase.GenerateWallet`.
  - `archiveContent` string, byte: Output only. The base64 encoded wallet files.

---

[API](https://skmtc.dev/google/apis/oracledatabase.md) - [All operations](https://skmtc.dev/google/apis/oracledatabase/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/oracledatabase/revisions/215e9c1e9c3f?raw)
