AptlyStar

Infisical

Manage secrets with Infisical

Nutzungsanweisungen

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

Tools

infisical_list_secrets

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

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaInfisical API token
baseUrlstringNeinInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringJaThe ID of the project to list secrets from
environmentstringJaThe environment slug (e.g., "dev", "staging", "prod")
secretPathstringNeinThe path of the secrets (default: "/")
recursivebooleanNeinWhether to fetch secrets recursively from subdirectories
expandSecretReferencesbooleanNeinWhether to expand secret references (default: true)
viewSecretValuebooleanNeinWhether to include secret values in the response (default: true)
includeImportsbooleanNeinWhether to include imported secrets (default: true)
tagSlugsstringNeinComma-separated tag slugs to filter secrets by

Ausgabe

ParameterTypBeschreibung
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.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaInfisical API token
baseUrlstringNeinInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringJaThe ID of the project
environmentstringJaThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringJaThe name of the secret to retrieve
secretPathstringNeinThe path of the secret (default: "/")
versionnumberNeinSpecific version of the secret to retrieve
typestringNeinSecret type: "shared" or "personal" (default: "shared")
viewSecretValuebooleanNeinWhether to include the secret value in the response (default: true)
expandSecretReferencesbooleanNeinWhether to expand secret references (default: true)

Ausgabe

ParameterTypBeschreibung
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.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaInfisical API token
baseUrlstringNeinInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringJaThe ID of the project
environmentstringJaThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringJaThe name of the secret to create
secretValuestringJaThe value of the secret
secretPathstringNeinThe path for the secret (default: "/")
secretCommentstringNeinA comment for the secret
typestringNeinSecret type: "shared" or "personal" (default: "shared")
tagIdsstringNeinComma-separated tag IDs to attach to the secret

Ausgabe

ParameterTypBeschreibung
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.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaInfisical API token
baseUrlstringNeinInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringJaThe ID of the project
environmentstringJaThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringJaThe name of the secret to update
secretValuestringNeinThe new value for the secret
secretPathstringNeinThe path of the secret (default: "/")
secretCommentstringNeinA comment for the secret
newSecretNamestringNeinNew name for the secret (to rename it)
typestringNeinSecret type: "shared" or "personal" (default: "shared")
tagIdsstringNeinComma-separated tag IDs to set on the secret

Ausgabe

ParameterTypBeschreibung
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.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaInfisical API token
baseUrlstringNeinInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringJaThe ID of the project
environmentstringJaThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringJaThe name of the secret to delete
secretPathstringNeinThe path of the secret (default: "/")
typestringNeinSecret type: "shared" or "personal" (default: "shared")

Ausgabe

ParameterTypBeschreibung
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