Infisical MCP Server

Official

get-secret

Retrieve a specific secret from a designated project and environment in Infisical. Specify the secret name, project ID, and environment slug to securely access stored secrets and manage configurations.

Instructions

Get a secret in Infisical

Input Schema

NameRequiredDescriptionDefault
environmentSlugYesThe slug of the environment to get the secret from (required)
expandSecretReferencesNoWhether to expand secret references (Defaults to true)
includeImportsNoWhether to include secret imports. If the secret isn't found, it will try to find a secret in a secret import that matches the requested secret name (Defaults to true)
projectIdYesThe ID of the project to get the secret from (required)
secretNameYesThe name of the secret to get (required)
secretPathNoThe path of the secret to get (Defaults to /)

Input Schema (JSON Schema)

{ "properties": { "environmentSlug": { "description": "The slug of the environment to get the secret from (required)", "type": "string" }, "expandSecretReferences": { "description": "Whether to expand secret references (Defaults to true)", "type": "boolean" }, "includeImports": { "description": "Whether to include secret imports. If the secret isn't found, it will try to find a secret in a secret import that matches the requested secret name (Defaults to true)", "type": "boolean" }, "projectId": { "description": "The ID of the project to get the secret from (required)", "type": "string" }, "secretName": { "description": "The name of the secret to get (required)", "type": "string" }, "secretPath": { "description": "The path of the secret to get (Defaults to /)", "type": "string" } }, "required": [ "projectId", "environmentSlug", "secretName" ], "type": "object" }

You must be authenticated.

Other Tools from Infisical MCP Server

Related Tools

ID: 09hrd7ngqm