AptlyStar

Infisical

Manage secrets with Infisical

Instructions d'utilisation

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

Outils

infisical_list_secrets

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

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiInfisical API token
baseUrlstringNonInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringOuiThe ID of the project to list secrets from
environmentstringOuiThe environment slug (e.g., "dev", "staging", "prod")
secretPathstringNonThe path of the secrets (default: "/")
recursivebooleanNonWhether to fetch secrets recursively from subdirectories
expandSecretReferencesbooleanNonWhether to expand secret references (default: true)
viewSecretValuebooleanNonWhether to include secret values in the response (default: true)
includeImportsbooleanNonWhether to include imported secrets (default: true)
tagSlugsstringNonComma-separated tag slugs to filter secrets by

Sortie

ParamètreTypeDescription
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
↳ tagsarrayTags attached to the secret
↳ idstringTag ID
↳ slugstringTag slug
↳ colorstringTag color
↳ namestringTag name
↳ secretMetadataarrayCustom metadata key-value pairs
↳ keystringMetadata key
↳ valuestringMetadata value
↳ createdAtstringCreation timestamp
↳ updatedAtstringLast update timestamp
countnumberTotal number of secrets returned

infisical_get_secret

Retrieve a single secret by name from a project environment.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiInfisical API token
baseUrlstringNonInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringOuiThe ID of the project
environmentstringOuiThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringOuiThe name of the secret to retrieve
secretPathstringNonThe path of the secret (default: "/")
versionnumberNonSpecific version of the secret to retrieve
typestringNonSecret type: "shared" or "personal" (default: "shared")
viewSecretValuebooleanNonWhether to include the secret value in the response (default: true)
expandSecretReferencesbooleanNonWhether to expand secret references (default: true)

Sortie

ParamètreTypeDescription
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
↳ tagsarrayTags attached to the secret
↳ idstringTag ID
↳ slugstringTag slug
↳ colorstringTag color
↳ namestringTag name
↳ secretMetadataarrayCustom metadata key-value pairs
↳ keystringMetadata key
↳ valuestringMetadata value
↳ createdAtstringCreation timestamp
↳ updatedAtstringLast update timestamp

infisical_create_secret

Create a new secret in a project environment.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiInfisical API token
baseUrlstringNonInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringOuiThe ID of the project
environmentstringOuiThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringOuiThe name of the secret to create
secretValuestringOuiThe value of the secret
secretPathstringNonThe path for the secret (default: "/")
secretCommentstringNonA comment for the secret
typestringNonSecret type: "shared" or "personal" (default: "shared")
tagIdsstringNonComma-separated tag IDs to attach to the secret

Sortie

ParamètreTypeDescription
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
↳ tagsarrayTags attached to the secret
↳ idstringTag ID
↳ slugstringTag slug
↳ colorstringTag color
↳ namestringTag name
↳ secretMetadataarrayCustom metadata key-value pairs
↳ keystringMetadata key
↳ valuestringMetadata value
↳ createdAtstringCreation timestamp
↳ updatedAtstringLast update timestamp

infisical_update_secret

Update an existing secret in a project environment.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiInfisical API token
baseUrlstringNonInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringOuiThe ID of the project
environmentstringOuiThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringOuiThe name of the secret to update
secretValuestringNonThe new value for the secret
secretPathstringNonThe path of the secret (default: "/")
secretCommentstringNonA comment for the secret
newSecretNamestringNonNew name for the secret (to rename it)
typestringNonSecret type: "shared" or "personal" (default: "shared")
tagIdsstringNonComma-separated tag IDs to set on the secret

Sortie

ParamètreTypeDescription
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
↳ tagsarrayTags attached to the secret
↳ idstringTag ID
↳ slugstringTag slug
↳ colorstringTag color
↳ namestringTag name
↳ secretMetadataarrayCustom metadata key-value pairs
↳ keystringMetadata key
↳ valuestringMetadata value
↳ createdAtstringCreation timestamp
↳ updatedAtstringLast update timestamp

infisical_delete_secret

Delete a secret from a project environment.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiInfisical API token
baseUrlstringNonInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringOuiThe ID of the project
environmentstringOuiThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringOuiThe name of the secret to delete
secretPathstringNonThe path of the secret (default: "/")
typestringNonSecret type: "shared" or "personal" (default: "shared")

Sortie

ParamètreTypeDescription
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
↳ tagsarrayTags attached to the secret
↳ idstringTag ID
↳ slugstringTag slug
↳ colorstringTag color
↳ namestringTag name
↳ secretMetadataarrayCustom metadata key-value pairs
↳ keystringMetadata key
↳ valuestringMetadata value
↳ createdAtstringCreation timestamp
↳ updatedAtstringLast update timestamp

On this page