From fd10d7ed34f9f6d618278102f4e36f8326c0e0a5 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Fri, 7 Jul 2023 18:56:38 -0400 Subject: [PATCH] add docs for k8 secret refs --- docs/documentation/platform/secret-reference.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/documentation/platform/secret-reference.mdx b/docs/documentation/platform/secret-reference.mdx index 663f4ca78..9d24e5255 100644 --- a/docs/documentation/platform/secret-reference.mdx +++ b/docs/documentation/platform/secret-reference.mdx @@ -6,17 +6,17 @@ description: "How to use reference secrets in Infisical" You can use the interpolation syntax to reference a secret in the same environment, another folder, or another environment The interpolation syntax is a way of referencing a secret by using a special placeholder. The placeholder is the name of the secret, followed by the environment or folder name, separated by a colon. -For example, to reference a secret named mysecret in the same environment, you would use the placeholder ${mysecret}. +For example, to reference a secret named mysecret in the same environment, you would use the placeholder `${mysecret}`. -While for another environment like `test` would be ${test.mysecret} +While for another environment like `test` would be `${test.mysecret}` Some more examples of referencing are | Syntax | Environment | Folder | Secret Key | | --------------------- | ----------- | ------------ | ---------- | -| ${KEY1} | same env | ssame folder | KEY1 | -| ${dev.KEY2} | dev | / | KEY2 | -| ${test.frontend.KEY2} | test | /frontend | KEY2 | +| `${KEY1}` | same env | ssame folder | KEY1 | +| `${dev.KEY2}` | dev | / | KEY2 | +| `${test.frontend.KEY2}` | test | /frontend | KEY2 | # Permission system for reference