Skip to content

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

enhance documentation

adilson55a5f6c88d3a
diff --git a/docs/documentation/platform/identities/jwt-auth.mdx b/docs/documentation/platform/identities/jwt-auth.mdx
index 882a704c59..f9d50918d3 100644
--- a/docs/documentation/platform/identities/jwt-auth.mdx
+++ b/docs/documentation/platform/identities/jwt-auth.mdx
@@ -106,7 +106,7 @@ In the following steps, we explore how to create and use identities to access th
<Info>
The `subject`, `audiences`, and `claims` fields support [glob pattern](https://www.malikbrowne.com/blog/a-beginners-guide-glob-patterns/) matching; however, we highly recommend using hardcoded values whenever possible.
- Note that `*` matches any characters **including** `/` and other separators. Use specific patterns to avoid overly broad matching.
+ Note that `*` acts as `**` in JWT auth and matches any characters **including** `/` and other separators. Use specific patterns to avoid overly broad matching.
| Pattern | Matches | Does not match |
|---------|---------|----------------|
diff --git a/docs/documentation/platform/identities/oidc-auth/azure.mdx b/docs/documentation/platform/identities/oidc-auth/azure.mdx
index a96d8c8ad6..38833b82a1 100644
--- a/docs/documentation/platform/identities/oidc-auth/azure.mdx
+++ b/docs/documentation/platform/identities/oidc-auth/azure.mdx
@@ -95,14 +95,6 @@ In the following steps, we explore how to create and use identities to access th
<Tip>If you are unsure about what to configure for the subject, audience, and claims fields, you can inspect the JWT token from your Azure DevOps pipeline by adding a debug step that outputs the token claims.</Tip>
<Info>
The `subject`, `audiences`, and `claims` fields support [glob pattern](https://www.malikbrowne.com/blog/a-beginners-guide-glob-patterns/) matching; however, we highly recommend using hardcoded values whenever possible.
-
- Note that `*` matches any characters **including** `:` and `/`. Use specific patterns to avoid overly broad matching.
-
- | Pattern | Matches | Does not match |
- |---------|---------|----------------|
- | `repo:my-org/my-repo:*` | `repo:my-org/my-repo:ref:refs/heads/main`, `repo:my-org/my-repo:environment:prod` | `repo:other-org/my-repo:ref:refs/heads/main` |
- | `repo:my-org/{app,api}:*` | `repo:my-org/app:ref:refs/heads/main`, `repo:my-org/api:environment:prod` | `repo:my-org/web:ref:refs/heads/main` |
- | `repo:my-org/my-repo:ref:refs/heads/*` | `repo:my-org/my-repo:ref:refs/heads/main`, `repo:my-org/my-repo:ref:refs/heads/dev` | `repo:my-org/my-repo:environment:prod` |
</Info>
</Step>
<Step title="Adding an identity to a project">
diff --git a/docs/documentation/platform/identities/oidc-auth/general.mdx b/docs/documentation/platform/identities/oidc-auth/general.mdx
index 26f291734d..85bdac3f7e 100644
--- a/docs/documentation/platform/identities/oidc-auth/general.mdx
+++ b/docs/documentation/platform/identities/oidc-auth/general.mdx
@@ -95,6 +95,15 @@ In the following steps, we explore how to create and use identities to access th
- Access Token Trusted IPs: The IPs or CIDR ranges that access tokens can be used from. By default, each token is given the `0.0.0.0/0`, allowing usage from any network address.
<Info>
The `subject`, `audiences`, and `claims` fields support glob pattern matching; however, we highly recommend using hardcoded values whenever possible.
+
+
+ Note that `*` acts as `**` in OIDC auth and matches any characters **including** `:` and `/`. Use specific patterns to avoid overly broad matching.
+
+ | Pattern | Matches | Does not match |
+ |---------|---------|----------------|
+ | `repo:my-org/my-repo:*` | `repo:my-org/my-repo:ref:refs/heads/main`, `repo:my-org/my-repo:environment:prod` | `repo:other-org/my-repo:ref:refs/heads/main` |
+ | `repo:my-org/{app,api}:*` | `repo:my-org/app:ref:refs/heads/main`, `repo:my-org/api:environment:prod` | `repo:my-org/web:ref:refs/heads/main` |
+ | `repo:my-org/my-repo:ref:refs/heads/*` | `repo:my-org/my-repo:ref:refs/heads/main`, `repo:my-org/my-repo:ref:refs/heads/dev` | `repo:my-org/my-repo:environment:prod` |
</Info>
</Step>
diff --git a/docs/documentation/platform/identities/oidc-auth/github.mdx b/docs/documentation/platform/identities/oidc-auth/github.mdx
index 84f1869b18..2fa5978b68 100644
--- a/docs/documentation/platform/identities/oidc-auth/github.mdx
+++ b/docs/documentation/platform/identities/oidc-auth/github.mdx
@@ -96,13 +96,6 @@ In the following steps, we explore how to create and use identities to access th
<Info>
The `subject`, `audiences`, and `claims` fields support [glob pattern](https://www.malikbrowne.com/blog/a-beginners-guide-glob-patterns/) matching; however, we highly recommend using hardcoded values whenever possible.
- Note that `*` matches any characters **including** `:` and `/`. Use specific patterns to avoid overly broad matching.
-
- | Pattern | Matches | Does not match |
- |---------|---------|----------------|
- | `repo:my-org/my-repo:*` | `repo:my-org/my-repo:ref:refs/heads/main`, `repo:my-org/my-repo:environment:prod` | `repo:other-org/my-repo:ref:refs/heads/main` |
- | `repo:my-org/{app,api}:*` | `repo:my-org/app:ref:refs/heads/main`, `repo:my-org/api:environment:prod` | `repo:my-org/web:ref:refs/heads/main` |
- | `repo:my-org/my-repo:ref:refs/heads/*` | `repo:my-org/my-repo:ref:refs/heads/main`, `repo:my-org/my-repo:ref:refs/heads/dev` | `repo:my-org/my-repo:environment:prod` |
</Info>
</Step>
<Step title="Adding an identity to a project">