AptlyStar

Infisical

Manage secrets with Infisical

Instrucciones de uso

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

Herramientas

infisical_list_secrets

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

Entrada

ParámetroTipoObligatorioDescripción
apiKeystringSíInfisical API token
baseUrlstringNoInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringSíThe ID of the project to list secrets from
environmentstringSíThe 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

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
apiKeystringSíInfisical API token
baseUrlstringNoInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringSíThe ID of the project
environmentstringSíThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringSíThe 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)

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
apiKeystringSíInfisical API token
baseUrlstringNoInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringSíThe ID of the project
environmentstringSíThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringSíThe name of the secret to create
secretValuestringSíThe 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

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
apiKeystringSíInfisical API token
baseUrlstringNoInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringSíThe ID of the project
environmentstringSíThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringSíThe 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

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
apiKeystringSíInfisical API token
baseUrlstringNoInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringSíThe ID of the project
environmentstringSíThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringSíThe name of the secret to delete
secretPathstringNoThe path of the secret (default: "/")
typestringNoSecret type: "shared" or "personal" (default: "shared")

Salida

ParámetroTipoDescripción
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