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
| Name | Required | Description | Default |
|---|---|---|---|
| environmentSlug | Yes | The slug of the environment to get the secret from (required) | |
| expandSecretReferences | No | Whether to expand secret references (Defaults to true) | |
| includeImports | No | 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) | |
| projectId | Yes | The ID of the project to get the secret from (required) | |
| secretName | Yes | The name of the secret to get (required) | |
| secretPath | No | The path of the secret to get (Defaults to /) |