Skip to content

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

start agent docs overview

Maidul Islamc8951f347bb9
diff --git a/docs/images/agent/infisical-agent-diagram.png b/docs/images/agent/infisical-agent-diagram.png
new file mode 100644
index 0000000000..27356ba11c
Binary files /dev/null and b/docs/images/agent/infisical-agent-diagram.png differ
diff --git a/docs/infisical-agent/overview.mdx b/docs/infisical-agent/overview.mdx
new file mode 100644
index 0000000000..db245f6054
--- /dev/null
+++ b/docs/infisical-agent/overview.mdx
@@ -0,0 +1,59 @@
+---
+title: "Infisical Agent"
+---
+
+Infisical Agent is a client daemon that simplifies the adoption of Infisical by providing a more scalable and user-friendly approach for applications to interact with Infisical.
+It eliminates the need to modify application logic by enabling clients to decide how they want their secrets rendered through the use of templates.
+
+<img height="200" src="../images/agent/infisical-agent-diagram.png" />
+
+### Key features:
+- Token renewal: Automatically authenticates with Infisical and deposits renewed access tokens at specified path for applications to consume
+- Templating: Renders secrets via user provided templates to desired formats for applications to consume
+
+### Token renewal
+
+### Templating
+
+### Configuration
+
+| Field | Description |
+| ---------------------------- | ----------- |
+| `infisical.address` | The URL of the Infisical service. Default: `"https://app.infisical.com"`. |
+| `auth.type` | The type of authentication method used. |
+| `auth.config.token-path` | The file path where the initial token for authentication is stored. |
+| `sinks[].type` | The type of sink in a list of sinks. Each item specifies a sink type, default is `"file"`. |
+| `sinks[].config.path` | The file path where the token is stored for each sink in the list. Default: `"/some/path/to/store/token/toke-name"`. |
+| `templates[].source-path` | The path to the source template file in a list of templates. Default: `/some/path/template-name`. |
+| `templates[].destination-path` | The path where the output file from the template will be saved in a list of templates. Default: `/some/path/output-file-name`. |
+
+
+## Quick start Infisical Agent
+
+```bash
+infisical agent --config agent-config-file.yaml
+```
+
+```text secret-template-file
+{{- with secret "6553ccb2b7da580d7f6e7260" "dev" "/" }}
+{{- range . }}
+{{ .Key }}={{ .Value }}
+{{- end }}
+{{- end }}
+```
+
+```yaml agent-config-file.yaml
+infisical:
+ address: "https://app.infisical.com"
+auth:
+ type: "token"
+ config:
+ token-path: "/path/where/to/file/with/initial/token"
+sinks:
+ - type: "file"
+ config:
+ path: "/some/path/to/store/token/toke-name"
+templates:
+ - source-path: /some/path/template-name
+ destination-path: /some/path/output-file-name
+```
\ No newline at end of file
diff --git a/docs/mint.json b/docs/mint.json
index e46b6fa25e..c5c9fc4074 100644
--- a/docs/mint.json
+++ b/docs/mint.json
@@ -195,6 +195,12 @@
"cli/faq"
]
},
+ {
+ "group": "Agent",
+ "pages": [
+ "infisical-agent/overview"
+ ]
+ },
{
"group": "Integrations",
"pages": ["integrations/overview"]