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
simplify examples and add GCP note
Matheus Nogueira798189e106df
diff --git a/docs/integrations/platforms/kubernetes/infisical-static-secret-crd.mdx b/docs/integrations/platforms/kubernetes/infisical-static-secret-crd.mdxindex 39ee87b309..51a3328067 100644--- a/docs/integrations/platforms/kubernetes/infisical-static-secret-crd.mdx+++ b/docs/integrations/platforms/kubernetes/infisical-static-secret-crd.mdx@@ -34,7 +34,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pkind: ServiceAccountmetadata:name: infisical-service-account- namespace: default---# 2. Bind the service account to system:auth-delegator so it can# validate tokens via the Kubernetes TokenReview API@@ -49,14 +48,12 @@ For more details on each resource, see the [InfisicalConnection](/integrations/psubjects:- kind: ServiceAccountname: infisical-service-account- namespace: default---# 3. Kubernetes secret holding the machine identity IDapiVersion: v1kind: Secretmetadata:name: kubernetes-credentials- namespace: defaulttype: OpaquestringData:identityId: <your-machine-identity-id>@@ -77,16 +74,13 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pspec:infisicalConnectionRef:name: my-infisical-connection- namespace: defaultmethod: kuberneteskubernetes:identityIdRef:name: kubernetes-credentials- namespace: defaultkey: identityIdserviceAccountRef:name: infisical-service-account- namespace: default---# 6. Sync secrets into a native Kubernetes SecretapiVersion: secrets.infisical.com/v1beta1@@ -96,7 +90,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pspec:infisicalAuthRef:name: my-infisical-auth- namespace: defaultsyncOptions:refreshInterval: 60ssources:@@ -105,7 +98,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/psecretPath: /targets:- name: managed-secret- namespace: defaultkind: SecretcreationPolicy: Owner```@@ -120,7 +112,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pkind: Secretmetadata:name: universal-auth-credentials- namespace: defaulttype: OpaquestringData:clientId: <your-identity-client-id>@@ -142,16 +133,13 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pspec:infisicalConnectionRef:name: my-infisical-connection- namespace: defaultmethod: universaluniversal:clientIdRef:name: universal-auth-credentials- namespace: defaultkey: clientIdclientSecretRef:name: universal-auth-credentials- namespace: defaultkey: clientSecret---# 4. Sync secrets into a native Kubernetes Secret@@ -162,7 +150,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pspec:infisicalAuthRef:name: my-infisical-auth- namespace: defaultsyncOptions:refreshInterval: 60ssources:@@ -171,7 +158,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/psecretPath: /targets:- name: managed-secret- namespace: defaultkind: SecretcreationPolicy: Owner```@@ -186,7 +172,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pkind: Secretmetadata:name: aws-iam-credentials- namespace: defaulttype: OpaquestringData:identityId: <your-machine-identity-id>@@ -207,12 +192,10 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pspec:infisicalConnectionRef:name: my-infisical-connection- namespace: defaultmethod: aws-iamawsIam:identityIdRef:name: aws-iam-credentials- namespace: defaultkey: identityId---# 4. Sync secrets into a native Kubernetes Secret@@ -223,7 +206,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pspec:infisicalAuthRef:name: my-infisical-auth- namespace: defaultsyncOptions:refreshInterval: 60ssources:@@ -232,7 +214,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/psecretPath: /targets:- name: managed-secret- namespace: defaultkind: SecretcreationPolicy: Owner```@@ -247,7 +228,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pkind: Secretmetadata:name: azure-credentials- namespace: defaulttype: OpaquestringData:identityId: <your-machine-identity-id>@@ -268,12 +248,10 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pspec:infisicalConnectionRef:name: my-infisical-connection- namespace: defaultmethod: azureazure:identityIdRef:name: azure-credentials- namespace: defaultkey: identityId---# 4. Sync secrets into a native Kubernetes Secret@@ -284,7 +262,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pspec:infisicalAuthRef:name: my-infisical-auth- namespace: defaultsyncOptions:refreshInterval: 60ssources:@@ -293,7 +270,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/psecretPath: /targets:- name: managed-secret- namespace: defaultkind: SecretcreationPolicy: Owner```@@ -308,7 +284,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pkind: Secretmetadata:name: gcp-id-token-credentials- namespace: defaulttype: OpaquestringData:identityId: <your-machine-identity-id>@@ -329,12 +304,10 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pspec:infisicalConnectionRef:name: my-infisical-connection- namespace: defaultmethod: gcp-id-tokengcpIdToken:identityIdRef:name: gcp-id-token-credentials- namespace: defaultkey: identityId---# 4. Sync secrets into a native Kubernetes Secret@@ -345,7 +318,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pspec:infisicalAuthRef:name: my-infisical-auth- namespace: defaultsyncOptions:refreshInterval: 60ssources:@@ -354,7 +326,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/psecretPath: /targets:- name: managed-secret- namespace: defaultkind: SecretcreationPolicy: Owner```@@ -363,13 +334,16 @@ For more details on each resource, see the [InfisicalConnection](/integrations/p<Accordion title="GCP IAM Auth">Uses a GCP service account key file for authentication. Works both inside and outside GCP.+ <Note>+ The `serviceAccountKeyFilePath` must point to a file that exists inside the **operator pod**. You will need to create a Kubernetes Secret with your GCP service account key and mount it as a volume in the operator Deployment (or via Helm values). See the [GCP IAM Auth](/documentation/platform/identities/gcp-auth) guide for details.+ </Note>+```yaml complete-gcp-iam-auth.yaml# 1. Kubernetes secret holding the machine identity IDapiVersion: v1kind: Secretmetadata:name: gcp-iam-credentials- namespace: defaulttype: OpaquestringData:identityId: <your-machine-identity-id>@@ -390,12 +364,10 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pspec:infisicalConnectionRef:name: my-infisical-connection- namespace: defaultmethod: gcp-iamgcpIam:identityIdRef:name: gcp-iam-credentials- namespace: defaultkey: identityIdserviceAccountKeyFilePath: /path/to/service-account-key.json---@@ -407,7 +379,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pspec:infisicalAuthRef:name: my-infisical-auth- namespace: defaultsyncOptions:refreshInterval: 60ssources:@@ -416,7 +387,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/psecretPath: /targets:- name: managed-secret- namespace: defaultkind: SecretcreationPolicy: Owner```@@ -431,7 +401,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pkind: Secretmetadata:name: ldap-credentials- namespace: defaulttype: OpaquestringData:identityId: <your-machine-identity-id>@@ -454,20 +423,16 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pspec:infisicalConnectionRef:name: my-infisical-connection- namespace: defaultmethod: ldapldap:identityIdRef:name: ldap-credentials- namespace: defaultkey: identityIdusernameRef:name: ldap-credentials- namespace: defaultkey: usernamepasswordRef:name: ldap-credentials- namespace: defaultkey: password---# 4. Sync secrets into a native Kubernetes Secret@@ -478,7 +443,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/pspec:infisicalAuthRef:name: my-infisical-auth- namespace: defaultsyncOptions:refreshInterval: 60ssources:@@ -487,7 +451,6 @@ For more details on each resource, see the [InfisicalConnection](/integrations/psecretPath: /targets:- name: managed-secret- namespace: defaultkind: SecretcreationPolicy: Owner```