Skip to content

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

update copy and docs

adilson83da2ce1c0bd
diff --git a/docs/documentation/platform/identities/oidc-auth/azure.mdx b/docs/documentation/platform/identities/oidc-auth/azure.mdx
index f5239a806d..a96d8c8ad6 100644
--- a/docs/documentation/platform/identities/oidc-auth/azure.mdx
+++ b/docs/documentation/platform/identities/oidc-auth/azure.mdx
@@ -93,7 +93,17 @@ In the following steps, we explore how to create and use identities to access th
- **Access Token Trusted IPs**: List of allowed IP ranges (defaults to `0.0.0.0/0`)
<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 (e.g., `user-*`, `{admin,service}-**`); however, we highly recommend using hardcoded values whenever possible.</Info>
+ <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">
To enable the identity to access project-level resources such as secrets within a specific project, you should add it to that project.
diff --git a/docs/documentation/platform/identities/oidc-auth/spire.mdx b/docs/documentation/platform/identities/oidc-auth/spire.mdx
index bd776b7ce3..d3b3d67751 100644
--- a/docs/documentation/platform/identities/oidc-auth/spire.mdx
+++ b/docs/documentation/platform/identities/oidc-auth/spire.mdx
@@ -129,6 +129,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.
<Tip>SPIRE JWT-SVIDs contain standard claims like `sub` (SPIFFE ID), `aud` (audience), `exp`, and `iat`. The audience is typically specified when requesting the JWT-SVID (e.g., `spire-agent api fetch jwt -audience infisical`).</Tip>
<Info>The `subject`, `audiences`, and `claims` fields support [glob pattern](https://www.malikbrowne.com/blog/a-beginners-guide-glob-patterns/) matching (e.g., `spiffe://example.org/ns/*`, `{dev,staging}-*`); however, we highly recommend using hardcoded SPIFFE IDs whenever possible for better security.</Info>
+
+ Note that `*` does not match across `:` or `/` boundaries — use `**` when you need to match across separators.
+
+ | Pattern | Matches | Does not match |
+ |---------|---------|----------------|
+ | `repo:my-org/*:ref:refs/heads/main` | `repo:my-org/any-repo:ref:refs/heads/main` | `repo:my-org/repo:ref:refs/heads/dev` |
+ | `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` |
+
</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.
diff --git a/frontend/src/components/permissions/GlobPermissionInfo.tsx b/frontend/src/components/permissions/GlobPermissionInfo.tsx
index 683a713338..1dbcb08244 100644
--- a/frontend/src/components/permissions/GlobPermissionInfo.tsx
+++ b/frontend/src/components/permissions/GlobPermissionInfo.tsx
@@ -6,7 +6,7 @@ import { Input } from "../v2/Input";
export const GlobPatternTooltip = () => (
<div className="space-y-1.5 text-left text-xs">
- <p className="text-sm font-medium text-mineshaft-200">Glob pattern matching:</p>
+ <p className="text-sm font-medium text-mineshaft-200">This field supports glob patterns:</p>
<ul className="list-disc pl-3.5 text-mineshaft-300">
<li>
<code className="text-yellow-500/80">*</code> matches a single path segment
@@ -31,13 +31,15 @@ export const GlobPatternTooltip = () => (
export const BashGlobPatternTooltip = () => (
<div className="space-y-1.5 text-left text-xs">
- <p className="text-sm font-medium text-mineshaft-200">Glob pattern matching:</p>
+ <p className="text-sm font-medium text-mineshaft-200">This field supports glob patterns:</p>
<ul className="list-disc pl-3.5 text-mineshaft-300">
<li>
<code className="text-yellow-500/80">*</code> matches any characters (including{" "}
<code className="text-yellow-500/80">/</code>)
<br />
- <span className="text-mineshaft-400">user/* matches user/admin and user/admin/service</span>
+ <span className="text-mineshaft-400">
+ user/* matches user/admin, user/admin/service, etc.
+ </span>
</li>
<li>
<code className="text-yellow-500/80">?</code> matches exactly one character