docs: updated dynamic secret mysql doc and improved explanation for renew and revoke

This commit is contained in:
Akhil Mohan
2024-04-17 19:49:30 +05:30
parent 02e423f52c
commit 08420cc38d
9 changed files with 131 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ The Infisical PostgreSQL secret rotation allows you to automatically rotate your
</ParamField>
<ParamField path="Service" type="string" required>
Choose the service you want to generate dynamic secrets for
Choose the service you want to generate dynamic secrets for. This must be selected as **PostgreSQL**.
</ParamField>
<ParamField path="Host" type="string" required>
@@ -82,7 +82,12 @@ The Infisical PostgreSQL secret rotation allows you to automatically rotate your
![Dynamic Secret](../../../images/platform/dynamic-secrets/dynamic-secret.png)
</Step>
<Step title="Generate dynamic secrets">
Now that the dynamic secret is created, you can start generating unique secret values by specifying the Time-to-live within the predefined range.
Once you've successfully created the dynamic secret, you're all set to generate unique secret values. To do this, simply click on the Generate button located in the respective row. Alternatively, you can initiate the creation of a new lease by selecting New Leases from the dynamic secret lease list section, accessible by clicking on the relevant row.
![Dynamic Secret](../../../images/platform/dynamic-secrets/dynamic-secret-generate.png)
![Dynamic Secret](../../../images/platform/dynamic-secrets/dynamic-secret-lease-empty.png)
When generating these secrets, it's important to specify a Time-to-Live (TTL) duration within the predefined range. Ensure that the TTL falls within the maximum TTL defined in the previous step to maintain consistency and security.
![Provision Lease](../../../images/platform/dynamic-secrets/provision-lease.png)
@@ -90,9 +95,16 @@ The Infisical PostgreSQL secret rotation allows you to automatically rotate your
![Provision Lease](../../../images/platform/dynamic-secrets/lease-values.png)
</Step>
<Step title="Audit or Revoke Leases">
As soon as you have generated a few secret leases, you will be able to access them by clicking `Generate` on the dynamic secret row. In this modal, you are able to see the expiration time or delete a secret preemptively.
![Provision Lease](../../../images/platform/dynamic-secrets/lease-data.png)
</Step>
</Steps>
## Audit or Revoke Leases
As soon as you have generated a few secret leases, you will be able to access them by clicking on the respective dynamic secret row. In this modal, you are able to see the expiration time or delete a secret preemptively.
![Provision Lease](../../../images/platform/dynamic-secrets/lease-data.png)
## Renew Leases
![Provision Lease](../../../images/platform/dynamic-secrets/dynamic-secret-lease-renew.png)
To extend the expiration of generated dynamic secret leases, simply click on the **Renew** button located above, as illustrated. This action also allows for an extension of the Time-to-Live (TTL).
However, it's crucial to note that the expiry cannot exceed the maximum TTL from created, specified in the configuration settings.