{ "opencollection": "1.0.0", "info": { "name": "Infisical Admin Secrets API", "version": "0.0.1" }, "items": [ { "info": { "name": "Secrets", "type": "folder" }, "items": [ { "info": { "name": "POST /api/v3/secrets/tags/{secretName}", "type": "http" }, "http": { "method": "POST", "url": "https://us.infisical.com/api/v3/secrets/tags/:secretName", "params": [ { "name": "secretName", "value": "", "type": "path", "description": "The name of the secret to attach tags to." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Attach tags to a secret" }, { "info": { "name": "DELETE /api/v3/secrets/tags/{secretName}", "type": "http" }, "http": { "method": "DELETE", "url": "https://us.infisical.com/api/v3/secrets/tags/:secretName", "params": [ { "name": "secretName", "value": "", "type": "path", "description": "The name of the secret to detach tags from." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Detach tags from a secret" }, { "info": { "name": "GET /api/v3/secrets/raw", "type": "http" }, "http": { "method": "GET", "url": "https://us.infisical.com/api/v3/secrets/raw", "params": [ { "name": "metadataFilter", "value": "", "type": "query", "description": "Unencrypted secret metadata key-value pairs used to filter secrets. Only metadata with unencrypted values is supported. When querying for multiple metadata pairs, the query is treated as an AND operation. Secret metadata format is key=value1,value=value2|key=value3,value=value4." }, { "name": "workspaceId", "value": "", "type": "query", "description": "The ID of the project to list secrets from." }, { "name": "workspaceSlug", "value": "", "type": "query", "description": "The slug of the project to list secrets from. This parameter is only applicable by machine identities." }, { "name": "environment", "value": "", "type": "query", "description": "The slug of the environment to list secrets from." }, { "name": "secretPath", "value": "", "type": "query", "description": "The secret path to list secrets from." }, { "name": "viewSecretValue", "value": "", "type": "query", "description": "Whether or not to retrieve the secret value." }, { "name": "expandSecretReferences", "value": "", "type": "query", "description": "Whether or not to expand secret references." }, { "name": "recursive", "value": "", "type": "query", "description": "Whether or not to fetch all secrets from the specified base path, and all of its subdirectories. Note, the max depth is 20 deep." }, { "name": "include_imports", "value": "", "type": "query", "description": "Weather to include imported secrets or not." }, { "name": "tagSlugs", "value": "", "type": "query", "description": "The comma separated tag slugs to filter secrets." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List secrets" }, { "info": { "name": "GET /api/v3/secrets/raw/id/{secretId}", "type": "http" }, "http": { "method": "GET", "url": "https://us.infisical.com/api/v3/secrets/raw/id/:secretId", "params": [ { "name": "secretId", "value": "", "type": "path" } ] } }, { "info": { "name": "GET /api/v3/secrets/raw/{secretName}", "type": "http" }, "http": { "method": "GET", "url": "https://us.infisical.com/api/v3/secrets/raw/:secretName", "params": [ { "name": "workspaceId", "value": "", "type": "query", "description": "The ID of the project to get the secret from." }, { "name": "workspaceSlug", "value": "", "type": "query", "description": "The slug of the project to get the secret from." }, { "name": "environment", "value": "", "type": "query", "description": "The slug of the environment to get the secret from." }, { "name": "secretPath", "value": "", "type": "query", "description": "The path of the secret to get." }, { "name": "version", "value": "", "type": "query", "description": "The version of the secret to get." }, { "name": "type", "value": "", "type": "query", "description": "The type of the secret to get." }, { "name": "viewSecretValue", "value": "", "type": "query", "description": "Whether or not to retrieve the secret value." }, { "name": "expandSecretReferences", "value": "", "type": "query", "description": "Whether or not to expand secret references." }, { "name": "include_imports", "value": "", "type": "query", "description": "Weather to include imported secrets or not." }, { "name": "secretName", "value": "", "type": "path", "description": "The name of the secret to get." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get a secret by name" }, { "info": { "name": "POST /api/v3/secrets/raw/{secretName}", "type": "http" }, "http": { "method": "POST", "url": "https://us.infisical.com/api/v3/secrets/raw/:secretName", "params": [ { "name": "secretName", "value": "", "type": "path", "description": "The name of the secret to create." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create secret" }, { "info": { "name": "PATCH /api/v3/secrets/raw/{secretName}", "type": "http" }, "http": { "method": "PATCH", "url": "https://us.infisical.com/api/v3/secrets/raw/:secretName", "params": [ { "name": "secretName", "value": "", "type": "path", "description": "The name of the secret to update." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update secret" }, { "info": { "name": "DELETE /api/v3/secrets/raw/{secretName}", "type": "http" }, "http": { "method": "DELETE", "url": "https://us.infisical.com/api/v3/secrets/raw/:secretName", "params": [ { "name": "secretName", "value": "", "type": "path", "description": "The name of the secret to delete." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete secret" }, { "info": { "name": "POST /api/v3/secrets/move", "type": "http" }, "http": { "method": "POST", "url": "https://us.infisical.com/api/v3/secrets/move", "body": { "type": "json", "data": "{}" } } }, { "info": { "name": "POST /api/v3/secrets/batch/raw", "type": "http" }, "http": { "method": "POST", "url": "https://us.infisical.com/api/v3/secrets/batch/raw", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create many secrets" }, { "info": { "name": "PATCH /api/v3/secrets/batch/raw", "type": "http" }, "http": { "method": "PATCH", "url": "https://us.infisical.com/api/v3/secrets/batch/raw", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update many secrets" }, { "info": { "name": "DELETE /api/v3/secrets/batch/raw", "type": "http" }, "http": { "method": "DELETE", "url": "https://us.infisical.com/api/v3/secrets/batch/raw", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete many secrets" }, { "info": { "name": "listSecretsV4", "type": "http" }, "http": { "method": "GET", "url": "https://us.infisical.com/api/v4/secrets", "params": [ { "name": "metadataFilter", "value": "", "type": "query", "description": "Unencrypted secret metadata key-value pairs used to filter secrets. Only metadata with unencrypted values is supported. When querying for multiple metadata pairs, the query is treated as an AND operation. Secret metadata format is key=value1,value=value2|key=value3,value=value4." }, { "name": "projectId", "value": "", "type": "query", "description": "The ID of the project to list secrets from." }, { "name": "environment", "value": "", "type": "query", "description": "The slug of the environment to list secrets from." }, { "name": "secretPath", "value": "", "type": "query", "description": "The secret path to list secrets from." }, { "name": "viewSecretValue", "value": "", "type": "query", "description": "Whether or not to retrieve the secret value." }, { "name": "expandSecretReferences", "value": "", "type": "query", "description": "Whether or not to expand secret references." }, { "name": "recursive", "value": "", "type": "query", "description": "Whether or not to fetch all secrets from the specified base path, and all of its subdirectories. Note, the max depth is 20 deep." }, { "name": "includePersonalOverrides", "value": "", "type": "query", "description": "Whether or not to include personal secrets in the response. When enabled, personal secrets will be included in the response. Shared secrets will still be included, but personal secrets will take priority, and the corresponding shared secrets will be replaced with the personal secrets." }, { "name": "includeImports", "value": "", "type": "query", "description": "Weather to include imported secrets or not." }, { "name": "tagSlugs", "value": "", "type": "query", "description": "The comma separated tag slugs to filter secrets." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List secrets" }, { "info": { "name": "getSecretByIdV4", "type": "http" }, "http": { "method": "GET", "url": "https://us.infisical.com/api/v4/secrets/id/:secretId", "params": [ { "name": "secretId", "value": "", "type": "path" } ] } }, { "info": { "name": "getSecretByNameV4", "type": "http" }, "http": { "method": "GET", "url": "https://us.infisical.com/api/v4/secrets/:secretName", "params": [ { "name": "projectId", "value": "", "type": "query", "description": "The ID of the project to get the secret from." }, { "name": "environment", "value": "", "type": "query", "description": "The slug of the environment to get the secret from." }, { "name": "secretPath", "value": "", "type": "query", "description": "The path of the secret to get." }, { "name": "version", "value": "", "type": "query", "description": "The version of the secret to get." }, { "name": "type", "value": "", "type": "query", "description": "The type of the secret to get." }, { "name": "viewSecretValue", "value": "", "type": "query", "description": "Whether or not to retrieve the secret value." }, { "name": "expandSecretReferences", "value": "", "type": "query", "description": "Whether or not to expand secret references." }, { "name": "includeImports", "value": "", "type": "query", "description": "Weather to include imported secrets or not." }, { "name": "secretName", "value": "", "type": "path", "description": "The name of the secret to get." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get a secret by name" }, { "info": { "name": "createSecretV4", "type": "http" }, "http": { "method": "POST", "url": "https://us.infisical.com/api/v4/secrets/:secretName", "params": [ { "name": "secretName", "value": "", "type": "path", "description": "The name of the secret to create." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create secret" }, { "info": { "name": "updateSecretV4", "type": "http" }, "http": { "method": "PATCH", "url": "https://us.infisical.com/api/v4/secrets/:secretName", "params": [ { "name": "secretName", "value": "", "type": "path", "description": "The name of the secret to update." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update secret" }, { "info": { "name": "deleteSecretV4", "type": "http" }, "http": { "method": "DELETE", "url": "https://us.infisical.com/api/v4/secrets/:secretName", "params": [ { "name": "secretName", "value": "", "type": "path", "description": "The name of the secret to delete." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete secret" }, { "info": { "name": "moveSecretsV4", "type": "http" }, "http": { "method": "POST", "url": "https://us.infisical.com/api/v4/secrets/move", "body": { "type": "json", "data": "{}" } } }, { "info": { "name": "duplicateSecretV4", "type": "http" }, "http": { "method": "POST", "url": "https://us.infisical.com/api/v4/secrets/duplicate", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Duplicate one or more static secrets into another environment" }, { "info": { "name": "createManySecretsV4", "type": "http" }, "http": { "method": "POST", "url": "https://us.infisical.com/api/v4/secrets/batch", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create many secrets" }, { "info": { "name": "updateManySecretsV4", "type": "http" }, "http": { "method": "PATCH", "url": "https://us.infisical.com/api/v4/secrets/batch", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update many secrets" }, { "info": { "name": "deleteManySecretsV4", "type": "http" }, "http": { "method": "DELETE", "url": "https://us.infisical.com/api/v4/secrets/batch", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete many secrets" }, { "info": { "name": "getSecretReferencesV4", "type": "http" }, "http": { "method": "GET", "url": "https://us.infisical.com/api/v4/secrets/:secretName/reference-dependency-tree", "params": [ { "name": "projectId", "value": "", "type": "query", "description": "The ID of the project where the secret is located." }, { "name": "environment", "value": "", "type": "query", "description": "The slug of the environment where the the secret is located." }, { "name": "secretPath", "value": "", "type": "query", "description": "The folder path where the secret is located." }, { "name": "secretName", "value": "", "type": "path", "description": "The name of the secret to get the reference tree for." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get secret reference dependency tree" }, { "info": { "name": "getSecretReferenceTreeV4", "type": "http" }, "http": { "method": "GET", "url": "https://us.infisical.com/api/v4/secrets/:secretName/secret-reference-tree", "params": [ { "name": "projectId", "value": "", "type": "query", "description": "The ID of the project where the secret is located." }, { "name": "environment", "value": "", "type": "query", "description": "The slug of the environment where the the secret is located." }, { "name": "secretPath", "value": "", "type": "query", "description": "The folder path where the secret is located." }, { "name": "secretName", "value": "", "type": "path", "description": "The name of the secret to get the reference tree for." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get secret reference tree" } ] } ], "bundled": true }