Infisical

Use Infisical to list, read, create, update, or delete secrets in a project environment. Configure the API key, project ID, environment slug, and any secret path required by the selected operation.

Usage Instructions

Integrate Infisical into your workflow. List, get, create, update, and delete secrets across project environments.

Actions

Infisical List Secrets

List all secrets in a project environment. Returns secret keys, values, comments, tags, and metadata.

Input

ParameterTypeRequiredDescription
apiKeystringYesInfisical API token
baseUrlstringNoInfisical instance URL (default: "https://us.infisical.com"). Use "https://eu.infisical.com" for EU Cloud or your self-hosted URL.
projectIdstringYesThe ID of the project to list secrets from
environmentstringYesThe environment slug (e.g., "dev", "staging", "prod")
secretPathstringNoThe path of the secrets (default: "/")
recursivebooleanNoWhether to fetch secrets recursively from subdirectories
expandSecretReferencesbooleanNoWhether to expand secret references (default: true)
viewSecretValuebooleanNoWhether to include secret values in the response (default: true)
includeImportsbooleanNoWhether to include imported secrets (default: true)
tagSlugsstringNoComma-separated tag slugs to filter secrets by

Output

ParameterTypeDescription
secretsarrayArray of secrets
↳ idstringSecret ID
↳ workspacestringWorkspace/project ID
↳ secretKeystringSecret name/key
↳ secretValuestringSecret value
↳ secretCommentstringSecret comment
↳ secretPathstringSecret path
↳ versionnumberSecret version
↳ typestringSecret type (shared or personal)
↳ environmentstringEnvironment slug
↳ secretValueHiddenbooleanWhether the secret value was hidden in the response
↳ isRotatedSecretbooleanWhether the secret is managed by secret rotation
↳ rotationIdstringSecret rotation ID
↳ secretReminderNotestringRotation reminder note
↳ secretReminderRepeatDaysnumberRotation reminder interval in days
↳ skipMultilineEncodingbooleanWhether multiline encoding is skipped for this secret
↳ tagsarrayTags attached to the secret
↳ idstringTag ID
↳ slugstringTag slug
↳ colorstringTag color
↳ namestringTag name
↳ secretMetadataarrayCustom metadata key-value pairs
↳ keystringMetadata key
↳ valuestringMetadata value
↳ isEncryptedbooleanWhether the metadata value is encrypted
↳ actorobjectIdentity that last modified the secret
↳ actorIdstringActor ID
↳ actorTypestringActor type
↳ namestringActor name
↳ membershipIdstringMembership ID
↳ groupIdstringGroup ID
↳ createdAtstringCreation timestamp
↳ updatedAtstringLast update timestamp
countnumberTotal number of secrets returned

Infisical Get Secret

Retrieve a single secret by name from a project environment.

Input

ParameterTypeRequiredDescription
apiKeystringYesInfisical API token
baseUrlstringNoInfisical instance URL (default: "https://us.infisical.com"). Use "https://eu.infisical.com" for EU Cloud or your self-hosted URL.
projectIdstringYesThe ID of the project
environmentstringYesThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringYesThe name of the secret to retrieve
secretPathstringNoThe path of the secret (default: "/")
versionnumberNoSpecific version of the secret to retrieve
typestringNoSecret type: "shared" or "personal" (default: "shared")
viewSecretValuebooleanNoWhether to include the secret value in the response (default: true)
expandSecretReferencesbooleanNoWhether to expand secret references (default: true)

Output

ParameterTypeDescription
secretobjectThe retrieved secret
↳ idstringSecret ID
↳ workspacestringWorkspace/project ID
↳ secretKeystringSecret name/key
↳ secretValuestringSecret value
↳ secretCommentstringSecret comment
↳ secretPathstringSecret path
↳ versionnumberSecret version
↳ typestringSecret type (shared or personal)
↳ environmentstringEnvironment slug
↳ secretValueHiddenbooleanWhether the secret value was hidden in the response
↳ isRotatedSecretbooleanWhether the secret is managed by secret rotation
↳ rotationIdstringSecret rotation ID
↳ secretReminderNotestringRotation reminder note
↳ secretReminderRepeatDaysnumberRotation reminder interval in days
↳ skipMultilineEncodingbooleanWhether multiline encoding is skipped for this secret
↳ tagsarrayTags attached to the secret
↳ idstringTag ID
↳ slugstringTag slug
↳ colorstringTag color
↳ namestringTag name
↳ secretMetadataarrayCustom metadata key-value pairs
↳ keystringMetadata key
↳ valuestringMetadata value
↳ isEncryptedbooleanWhether the metadata value is encrypted
↳ actorobjectIdentity that last modified the secret
↳ actorIdstringActor ID
↳ actorTypestringActor type
↳ namestringActor name
↳ membershipIdstringMembership ID
↳ groupIdstringGroup ID
↳ createdAtstringCreation timestamp
↳ updatedAtstringLast update timestamp

Infisical Create Secret

Create a new secret in a project environment.

Input

ParameterTypeRequiredDescription
apiKeystringYesInfisical API token
baseUrlstringNoInfisical instance URL (default: "https://us.infisical.com"). Use "https://eu.infisical.com" for EU Cloud or your self-hosted URL.
projectIdstringYesThe ID of the project
environmentstringYesThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringYesThe name of the secret to create
secretValuestringYesThe value of the secret
secretPathstringNoThe path for the secret (default: "/")
secretCommentstringNoA comment for the secret
typestringNoSecret type: "shared" or "personal" (default: "shared")
tagIdsstringNoComma-separated tag IDs to attach to the secret

Output

ParameterTypeDescription
secretobjectThe created secret
↳ idstringSecret ID
↳ workspacestringWorkspace/project ID
↳ secretKeystringSecret name/key
↳ secretValuestringSecret value
↳ secretCommentstringSecret comment
↳ secretPathstringSecret path
↳ versionnumberSecret version
↳ typestringSecret type (shared or personal)
↳ environmentstringEnvironment slug
↳ secretValueHiddenbooleanWhether the secret value was hidden in the response
↳ isRotatedSecretbooleanWhether the secret is managed by secret rotation
↳ rotationIdstringSecret rotation ID
↳ secretReminderNotestringRotation reminder note
↳ secretReminderRepeatDaysnumberRotation reminder interval in days
↳ skipMultilineEncodingbooleanWhether multiline encoding is skipped for this secret
↳ tagsarrayTags attached to the secret
↳ idstringTag ID
↳ slugstringTag slug
↳ colorstringTag color
↳ namestringTag name
↳ secretMetadataarrayCustom metadata key-value pairs
↳ keystringMetadata key
↳ valuestringMetadata value
↳ isEncryptedbooleanWhether the metadata value is encrypted
↳ actorobjectIdentity that last modified the secret
↳ actorIdstringActor ID
↳ actorTypestringActor type
↳ namestringActor name
↳ membershipIdstringMembership ID
↳ groupIdstringGroup ID
↳ createdAtstringCreation timestamp
↳ updatedAtstringLast update timestamp

Infisical Update Secret

Update an existing secret in a project environment.

Input

ParameterTypeRequiredDescription
apiKeystringYesInfisical API token
baseUrlstringNoInfisical instance URL (default: "https://us.infisical.com"). Use "https://eu.infisical.com" for EU Cloud or your self-hosted URL.
projectIdstringYesThe ID of the project
environmentstringYesThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringYesThe name of the secret to update
secretValuestringNoThe new value for the secret
secretPathstringNoThe path of the secret (default: "/")
secretCommentstringNoA comment for the secret
newSecretNamestringNoNew name for the secret (to rename it)
typestringNoSecret type: "shared" or "personal" (default: "shared")
tagIdsstringNoComma-separated tag IDs to set on the secret

Output

ParameterTypeDescription
secretobjectThe updated secret
↳ idstringSecret ID
↳ workspacestringWorkspace/project ID
↳ secretKeystringSecret name/key
↳ secretValuestringSecret value
↳ secretCommentstringSecret comment
↳ secretPathstringSecret path
↳ versionnumberSecret version
↳ typestringSecret type (shared or personal)
↳ environmentstringEnvironment slug
↳ secretValueHiddenbooleanWhether the secret value was hidden in the response
↳ isRotatedSecretbooleanWhether the secret is managed by secret rotation
↳ rotationIdstringSecret rotation ID
↳ secretReminderNotestringRotation reminder note
↳ secretReminderRepeatDaysnumberRotation reminder interval in days
↳ skipMultilineEncodingbooleanWhether multiline encoding is skipped for this secret
↳ tagsarrayTags attached to the secret
↳ idstringTag ID
↳ slugstringTag slug
↳ colorstringTag color
↳ namestringTag name
↳ secretMetadataarrayCustom metadata key-value pairs
↳ keystringMetadata key
↳ valuestringMetadata value
↳ isEncryptedbooleanWhether the metadata value is encrypted
↳ actorobjectIdentity that last modified the secret
↳ actorIdstringActor ID
↳ actorTypestringActor type
↳ namestringActor name
↳ membershipIdstringMembership ID
↳ groupIdstringGroup ID
↳ createdAtstringCreation timestamp
↳ updatedAtstringLast update timestamp

Infisical Delete Secret

Delete a secret from a project environment.

Input

ParameterTypeRequiredDescription
apiKeystringYesInfisical API token
baseUrlstringNoInfisical instance URL (default: "https://us.infisical.com"). Use "https://eu.infisical.com" for EU Cloud or your self-hosted URL.
projectIdstringYesThe ID of the project
environmentstringYesThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringYesThe name of the secret to delete
secretPathstringNoThe path of the secret (default: "/")
typestringNoSecret type: "shared" or "personal" (default: "shared")

Output

ParameterTypeDescription
secretobjectThe deleted secret
↳ idstringSecret ID
↳ workspacestringWorkspace/project ID
↳ secretKeystringSecret name/key
↳ secretValuestringSecret value
↳ secretCommentstringSecret comment
↳ secretPathstringSecret path
↳ versionnumberSecret version
↳ typestringSecret type (shared or personal)
↳ environmentstringEnvironment slug
↳ secretValueHiddenbooleanWhether the secret value was hidden in the response
↳ isRotatedSecretbooleanWhether the secret is managed by secret rotation
↳ rotationIdstringSecret rotation ID
↳ secretReminderNotestringRotation reminder note
↳ secretReminderRepeatDaysnumberRotation reminder interval in days
↳ skipMultilineEncodingbooleanWhether multiline encoding is skipped for this secret
↳ tagsarrayTags attached to the secret
↳ idstringTag ID
↳ slugstringTag slug
↳ colorstringTag color
↳ namestringTag name
↳ secretMetadataarrayCustom metadata key-value pairs
↳ keystringMetadata key
↳ valuestringMetadata value
↳ isEncryptedbooleanWhether the metadata value is encrypted
↳ actorobjectIdentity that last modified the secret
↳ actorIdstringActor ID
↳ actorTypestringActor type
↳ namestringActor name
↳ membershipIdstringMembership ID
↳ groupIdstringGroup ID
↳ createdAtstringCreation timestamp
↳ updatedAtstringLast update timestamp