Rotate Wallets for Autonomous AI Database

Wallet rotation lets you invalidate existing client certification keys for a database instance or for all Autonomous AI Database instances that a cloud account owns in a region.

About Wallet Rotation

You have the option to perform one of two types of wallet rotation: immediate or with a grace period.

You may want to rotate wallets for any of the following reasons:

Rotate Wallets with Immediate Rotation

Immediate wallet rotation lets you invalidate existing client certification keys for an Autonomous AI Database instance or for all Autonomous AI Database instances that a cloud account owns in a region.

There are two options for immediate client certification key rotation:

To immediately rotate the client certification key for a given database or for all Autonomous AI Database instances that a cloud account owns in a region:

  1. Navigate to the Autonomous AI Database details page.

  2. Click Database connection.

  3. On the Database connection page select the Wallet type:

    • Instance wallet: Wallet rotation for a single database only; this provides a database-specific wallet rotation.

    • Regional wallet: Wallet rotation for all Autonomous AI Databases for a given tenant and region (this option rotates the client certification key for all service instances that a cloud account owns).

  4. Click Rotate wallet.

  5. Enter the name as shown in the dialog to confirm the wallet rotation.

  6. In the Rotate Wallet dialog, click Rotate.

The Database Connection page shows: Rotation in Progress.

After the rotation completes, the Wallet last rotated field shows the last rotation date and time.

Oracle recommends you provide a database-specific instance wallet to end users and for application use whenever possible, with Wallet type set to Instance wallet when you use Download wallet. Regional wallets provide the connection strings to all Autonomous AI Databases within a region and should only be used when there is a need to connect to multiple databases across that region with a single wallet file.

You can also use the Autonomous AI Database API to rotate wallets using UpdateAutonomousDatabaseRegionalWallet and UpdateAutonomousDatabaseWallet. See Autonomous AI Database Wallet Reference for more information.

Rotate Wallets with Grace Period

Autonomous AI Database allows you to rotate wallets for an Autonomous AI Database instance or for all instances that a cloud account owns in a region, with a grace period of 1 hour to 72 hours.

Setting a grace period allows you to perform wallet rotation without down time. During the grace period you can inform users to download the new wallet and to update their applications to use the new wallet. During the grace period both the old and new client certification keys are valid. When the grace period expires, Autonomous AI Database invalidates the old client certification keys and only the new client certification keys are valid.

There are two options for client certification key rotation with a grace period:

To rotate the client certification key with a grace period for a given database or for all for all Autonomous AI Database instances that a cloud account owns in a region:

  1. Navigate to the Autonomous AI Database details page.

  2. Click Database connection.

  3. On the Database connection page select the Wallet type:

    • Instance wallet: Wallet rotation for a single database only; this provides a database-specific wallet rotation.

    • Regional wallet: Wallet rotation for all Autonomous AI Databases for a given tenant and region (this option rotates the client certification key for all service instances in the region that a cloud account owns).

  4. Click Rotate wallet.

  5. Select After a grace period.

  6. In the Grace period (in hours) area, enter a value in the text field.

    Description of adbs_wallet_rotation-scheduled.png follows

    Description of the illustration adbs_wallet_rotation-scheduled.png

  7. Enter the Database name as shown in the dialog to confirm the wallet rotation.

  8. In the Rotate Wallet dialog, click Rotate.

The Database Connection page shows: Rotation in Progress.

After the rotation completes, the Wallet last rotated field shows the last rotation date and time.

Notes for wallet rotation with a grace period:

You can also use the Autonomous AI Database API to rotate wallets using UpdateAutonomousDatabaseRegionalWallet and UpdateAutonomousDatabaseWallet. See Autonomous AI Database Wallet Reference for more information.