CONSOLE

Dynamic Secrets

Manage your Dynamic Secrets in the Phase Console. This page covers the practical steps for creating Dynamic Secrets, generating leases, and managing credential lifecycles through the Console UI.

Create a Dynamic Secret

  1. Navigate to the "Secrets" tab and open a specific Environment.
  2. Click on the Dynamic Secret button under the New Secret menu.
create dynamic secret button
  1. Choose a provider, then fill in the required fields. For details on what each field means, see Platform > Dynamic Secrets > Configuration.
common config
  1. Click Finish to save your configuration. Your dynamic secret will now appear in the list of secrets for the Environment. You can update the configuration at any time by clicking Configure.
created secret

Generate a Lease

To lease credentials for a Dynamic Secret:

  1. Click on the Generate button for the secret.
  2. Provide a name for the lease and a TTL in seconds.
  3. Click "Generate".
generate lease 1

The generated credentials will be displayed along with the lease ID and expiration time. Make sure to copy the credentials, as they will not be displayed again.

generate lease 2

Delete a Dynamic Secret

Click the Delete button next to the secret in the list.

If there are active leases, you will need to confirm by toggling Revoke all active leases, then click Delete Dynamic Secret.

delete secret

Managing Leases

Click the Leases button for a Dynamic Secret to view and manage its leases.

view leases button

This shows all active leases with their lease ID, name, creation time, expiration time, and status.

leases list

Click History to view the complete event log for a specific lease.

lease history

Renew a Lease

Click Renew next to a lease. Provide a TTL in seconds and click Renew. The available TTL for renewal will be displayed in the dialog. For details on renewal limits, see Platform > Dynamic Secrets > Renewing a Lease.

renew lease

Revoke a Lease

Click Revoke next to a lease and confirm. This will immediately delete the credentials on the third-party service.

revoke lease