Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
add details on how to use it to get secrets
Matheus Nogueiraae8f2ab8ecc3
diff --git a/docs/integrations/platforms/kubernetes/infisical-static-secret-crd.mdx b/docs/integrations/platforms/kubernetes/infisical-static-secret-crd.mdxindex f28e246621..a6f2c5cf0b 100644--- a/docs/integrations/platforms/kubernetes/infisical-static-secret-crd.mdx+++ b/docs/integrations/platforms/kubernetes/infisical-static-secret-crd.mdx@@ -74,6 +74,8 @@ spec:When multiple sources produce a secret with the same key, the **first occurrence wins** — sources listed earlier in the array take precedence over later ones. Direct secrets always take precedence over imported secrets, regardless of source order.+ To access a secret that was dropped by the merge (e.g. a duplicate key under a different path or source), use the `resolveSecretFromPath` template function to select it by its full path.+| Field | Required | Description || ------------------ | -------- | ------------------------------------------------------------- || `projectId` | Yes | The Infisical project ID. |diff --git a/docs/snippets/kubernetes-operator-templating-helpers.mdx b/docs/snippets/kubernetes-operator-templating-helpers.mdxindex 48ce963897..37370766fd 100644--- a/docs/snippets/kubernetes-operator-templating-helpers.mdx+++ b/docs/snippets/kubernetes-operator-templating-helpers.mdx@@ -281,8 +281,11 @@ The Infisical Secrets Operator exposes a wide range of helper functions to makeThe path follows the format `folder.subfolder.SECRET_NAME.Value`, where each segment before the secret name represents a folder level, and `.Value` returns the secret's value. You can also access the secret path by using `.SecretPath` instead of `.Value`.- This is especially useful for selecting secrets that have the same key and are ignored by our merge strategy (read more [here](/integrations/platforms/kubernetes/infisical-static-secret-crd#sources)).- If two sources have conflicting secrets under the same path, the secret from the first source will be used.+ This is especially useful when multiple secrets share the same key, either from recursive fetches across different paths or from multiple sources. In both cases, the merge strategy only keeps the first occurrence (read more [here](/integrations/platforms/kubernetes/infisical-static-secret-crd#sources)), so `resolveSecretFromPath` lets you explicitly select the one you need by its full path.++ <Note>+ If multiple sources contain a secret with the same name and path, the secret from the first source listed in the `sources` array will be used.+ </Note>**Signature**```go