This page describes how to view, list, and delete Exascale Storage Vaults Exascale Storage Vaults on dedicated infrastructure in Google Cloud.

## Before you begin

- Make sure that you have the required Identity and Access Management (IAM) roles and
  permissions to perform the tasks described in this page:

  - `roles/oracledatabase.exascaleDbStorageVaultAdmin`
  - `roles/oracledatabase.exascaleDbStorageVaultViewer`

  For more information about how to assign roles, see
  [Apply IAM roles](https://docs.cloud.google.com/oracle/database/docs/iam-roles.md.txt).

## View Exascale Storage Vault details

To view information about your Exascale Storage Vaults, do the following:

### gcloud

- **List Exascale Storage Vaults**

  Use the `gcloud oracle-database exascale-db-storage-vaults list` command to
  list vaults.

  ```
  gcloud oracle-database exascale-db-storage-vaults list \
  --project=PROJECT_ID \
  --location=REGION
  ```

  Replace the following:
  - <var translate="no">PROJECT_ID</var>: the ID of your Google Cloud project.
  - <var translate="no">REGION</var>: the region where your Exascale Storage Vaults are located.
- **View Exascale Storage Vault details**

  Use the `gcloud oracle-database exascale-db-storage-vaults describe` command
  to view the details of an Exascale Storage Vault.

  ```
  gcloud oracle-database exascale-db-storage-vaults describe VAULT_ID \
  --project=PROJECT_ID \
  --location=REGION
  ```

  Replace <var translate="no">VAULT_ID</var> with the ID of your Exascale Storage Vault.

### API

- **List Exascale Storage Vaults**

  ```
  curl -X GET \
  -H "Authorization: Bearer $(gcloud auth print-access-token)" \
  -H "Content-Type: application/json" \
  "https://oracledatabase.googleapis.com/v1/projects/PROJECT_ID/locations/REGION/exascaleDbStorageVaults"
  ```

  Replace the following:
  - <var translate="no">PROJECT_ID</var>: the ID of your Google Cloud project.
  - <var translate="no">REGION</var>: the region where your Exascale Storage Vaults are located.
- **View Exascale Storage Vault details**

  ```
  curl -X GET \
  -H "Authorization: Bearer $(gcloud auth print-access-token)" \
  -H "Content-Type: application/json" \
  "https://oracledatabase.googleapis.com/v1/projects/PROJECT_ID/locations/REGION/exascaleDbStorageVaults/VAULT_ID"
  ```

  Replace <var translate="no">VAULT_ID</var> with the ID of your Exascale Storage Vault.

## Delete an Exascale Storage Vault

To delete an Exascale Storage Vault, do the following:

### gcloud

Use the `gcloud oracle-database exascale-db-storage-vaults delete` command to
delete an Exascale Storage Vault.

```
gcloud oracle-database exascale-db-storage-vaults delete VAULT_ID \
--project=PROJECT_ID \
--location=REGION
```

Replace the following:

- <var translate="no">VAULT_ID</var>: the ID of the vault.
- <var translate="no">PROJECT_ID</var>: the ID of your Google Cloud project.
- <var translate="no">REGION</var>: the region where your vault is located.

### API

To delete an Exascale Storage Vault, run the following `curl` command:

```
curl -X DELETE \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "Content-Type: application/json" \
"https://oracledatabase.googleapis.com/v1/projects/PROJECT_ID/locations/REGION/exascaleDbStorageVaults/VAULT_ID"
```

Replace the following:

- <var translate="no">PROJECT_ID</var>: the ID of your Google Cloud project.
- <var translate="no">REGION</var>: the region where your Exascale Storage Vault is located.
- <var translate="no">VAULT_ID</var>: the ID of your Exascale Storage Vault.