AptlyStar

Infisical

Manage secrets with Infisical

使用方法

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

ツール

infisical_list_secrets

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

入力

パラメータ型必須説明
apiKeystringはいInfisical API token
baseUrlstringいいえInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringはいThe ID of the project to list secrets from
environmentstringはいThe environment slug (e.g., "dev", "staging", "prod")
secretPathstringいいえThe path of the secrets (default: "/")
recursivebooleanいいえWhether to fetch secrets recursively from subdirectories
expandSecretReferencesbooleanいいえWhether to expand secret references (default: true)
viewSecretValuebooleanいいえWhether to include secret values in the response (default: true)
includeImportsbooleanいいえWhether to include imported secrets (default: true)
tagSlugsstringいいえComma-separated tag slugs to filter secrets by

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいInfisical API token
baseUrlstringいいえInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringはいThe ID of the project
environmentstringはいThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringはいThe name of the secret to retrieve
secretPathstringいいえThe path of the secret (default: "/")
versionnumberいいえSpecific version of the secret to retrieve
typestringいいえSecret type: "shared" or "personal" (default: "shared")
viewSecretValuebooleanいいえWhether to include the secret value in the response (default: true)
expandSecretReferencesbooleanいいえWhether to expand secret references (default: true)

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいInfisical API token
baseUrlstringいいえInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringはいThe ID of the project
environmentstringはいThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringはいThe name of the secret to create
secretValuestringはいThe value of the secret
secretPathstringいいえThe path for the secret (default: "/")
secretCommentstringいいえA comment for the secret
typestringいいえSecret type: "shared" or "personal" (default: "shared")
tagIdsstringいいえComma-separated tag IDs to attach to the secret

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいInfisical API token
baseUrlstringいいえInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringはいThe ID of the project
environmentstringはいThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringはいThe name of the secret to update
secretValuestringいいえThe new value for the secret
secretPathstringいいえThe path of the secret (default: "/")
secretCommentstringいいえA comment for the secret
newSecretNamestringいいえNew name for the secret (to rename it)
typestringいいえSecret type: "shared" or "personal" (default: "shared")
tagIdsstringいいえComma-separated tag IDs to set on the secret

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいInfisical API token
baseUrlstringいいえInfisical instance URL (default: "https://us.infisical.com"\). Use "https://eu.infisical.com" for EU Cloud or your dedicated Infisical base URL.
projectIdstringはいThe ID of the project
environmentstringはいThe environment slug (e.g., "dev", "staging", "prod")
secretNamestringはいThe name of the secret to delete
secretPathstringいいえThe path of the secret (default: "/")
typestringいいえSecret type: "shared" or "personal" (default: "shared")

出力

パラメータ型説明
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