Skip to content

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

misc: corrected template doc

Sheen Capadngan07d491acd14c
diff --git a/docs/cli/commands/bootstrap.mdx b/docs/cli/commands/bootstrap.mdx
index f85c4167b3..156cfabb8f 100644
--- a/docs/cli/commands/bootstrap.mdx
+++ b/docs/cli/commands/bootstrap.mdx
@@ -107,7 +107,7 @@ When using `k8-secret`, the command will create or update a Kubernetes secret di
infisical bootstrap --k8-secret-template='{"data":{"token":"{{.Identity.Credentials.Token | b64enc}}"}}'
# Example template with multiple fields
-infisical bootstrap --k8-secret-template='{"stringData":{"token":"{{.Identity.Credentials.Token}}","org-id":"{{.Organization.Id}}","user-email":"{{.User.Email}}"}}'
+infisical bootstrap --k8-secret-template='{"stringData":{"token":"{{.Identity.Credentials.Token}}","org-id":"{{.Organization.ID}}","user-email":"{{.User.Email}}"}}'
```
Available template functions:
@@ -117,13 +117,13 @@ Available template functions:
Available data fields:
- `.Identity.Credentials.Token`: The machine identity token
-- `.Identity.Id`: The identity ID
+- `.Identity.ID`: The identity ID
- `.Identity.Name`: The identity name
-- `.Organization.Id`: The organization ID
+- `.Organization.ID`: The organization ID
- `.Organization.Name`: The organization name
- `.Organization.Slug`: The organization slug
- `.User.Email`: The admin user email
-- `.User.Id`: The admin user ID
+- `.User.ID`: The admin user ID
- `.User.FirstName`: The admin user first name
- `.User.LastName`: The admin user last name
diff --git a/docs/self-hosting/guides/automated-bootstrapping.mdx b/docs/self-hosting/guides/automated-bootstrapping.mdx
index 5266c933b7..7a34fc9f8f 100644
--- a/docs/self-hosting/guides/automated-bootstrapping.mdx
+++ b/docs/self-hosting/guides/automated-bootstrapping.mdx
@@ -112,7 +112,7 @@ The Helm chart auto bootstrap feature:
The `secretTemplate` field allows you to customize the data section of the created Kubernetes secret. The template has access to the full bootstrap response and includes helper functions:
- `{{ .Identity.Credentials.Token }}` - The admin machine identity token
-- `{{ .Organization.Id }}` - The created organization ID
+- `{{ .Organization.ID }}` - The created organization ID
- `{{ .Organization.Slug }}` - The organization slug
- `{{ .User.Email }}` - The admin user email
- `b64enc` function for base64 encoding values