Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

docs: note UA client secret usage count is approximate for unlimited secrets

Claude556371be0df5
diff --git a/docs/documentation/platform/identities/universal-auth.mdx b/docs/documentation/platform/identities/universal-auth.mdx
index c99d5fa054..2e390eaf24 100644
--- a/docs/documentation/platform/identities/universal-auth.mdx
+++ b/docs/documentation/platform/identities/universal-auth.mdx
@@ -115,6 +115,10 @@ using the Universal Auth authentication method.
- TTL (default is `0`): The time-to-live for the **Client Secret**. By default, the TTL will be set to 0 which implies that the **Client Secret** will never expire; a value of `0` implies an infinite lifetime.
- Max Number of Uses (default is `0`): The maximum number of times that the **Client Secret** can be used together with the **Client ID** to get back an access token; a value of `0` implies infinite number of uses.
+ <Info>
+ When **Max Number of Uses** is set to `0` (unlimited), the usage count and last-used timestamp displayed for a **Client Secret** are approximate. To avoid database contention under high login volume, usage updates for unlimited Client Secrets are batched over a short interval rather than written on every login, so the count may lag slightly behind the true number of uses. Client Secrets configured with a finite **Max Number of Uses** are always counted exactly, since the limit is enforced.
+ </Info>
+
</Step>
<Step title="Adding an identity to a project">
To enable the identity to access project-level resources such as secrets within a specific project, you should add it to that project.