list-secrets
Retrieve and display all secrets within a specified project and environment in Infisical. Supports custom paths, expanded references, and included imports for comprehensive secret management.
Instructions
List all secrets in a given Infisical project and environment
Input Schema
Name | Required | Description | Default |
---|---|---|---|
environmentSlug | Yes | The slug of the environment to list the secrets from (required) | |
expandSecretReferences | No | Whether to expand secret references (Defaults to true) | |
includeImports | No | Whether to include secret imports (Defaults to true) | |
projectId | Yes | The ID of the project to list the secrets from (required) | |
secretPath | No | The path of the secrets to list (Defaults to /) |
Input Schema (JSON Schema)
{
"properties": {
"environmentSlug": {
"description": "The slug of the environment to list the secrets from (required)",
"type": "string"
},
"expandSecretReferences": {
"description": "Whether to expand secret references (Defaults to true)",
"type": "boolean"
},
"includeImports": {
"description": "Whether to include secret imports (Defaults to true)",
"type": "boolean"
},
"projectId": {
"description": "The ID of the project to list the secrets from (required)",
"type": "string"
},
"secretPath": {
"description": "The path of the secrets to list (Defaults to /)",
"type": "string"
}
},
"required": [
"projectId",
"environmentSlug"
],
"type": "object"
}