Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Infisical Secrets API

The Secrets API from Infisical — 14 operation(s) for secrets.

Infisical Secrets API is one of 73 APIs that Infisical publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Secrets. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and authentication docs.

This API exposes 25 operations across 14 paths. It is described by OpenAPI 3.0.3, at version 0.0.1.

Requests are made against 3 base URLs: https://us.infisical.com, https://eu.infisical.com, http://localhost:8080.

25 operations 14 paths 0 schemas 5 DELETE8 GET4 PATCH8 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
0.0.1
Base URL
https://app.infisical.com
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Infisical Secrets API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth).

  • bearerAuth — An access token in Infisical

Paths & Operations 25

Across 14 paths, the API surfaces 25 operations — 5 DELETE, 8 GET, 4 PATCH, 8 POST. Each is listed below with its method, path, parameters, and response codes.

Secrets 25
POST
/api/v3/secrets/tags/{secretName}
Attach tags to a secret
1 param body → 200400401403404422500
DELETE
/api/v3/secrets/tags/{secretName}
Detach tags from a secret
1 param body → 200400401403404422500
GET
/api/v3/secrets/raw
List secrets
10 params → 200304400401403404422500
GET
/api/v3/secrets/raw/id/{secretId}
1 param → 200400401403404422500
GET
/api/v3/secrets/raw/{secretName}
Get a secret by name
10 params → 200400401403404422500
POST
/api/v3/secrets/raw/{secretName}
Create secret
1 param body → 200400401403404422500
PATCH
/api/v3/secrets/raw/{secretName}
Update secret
1 param body → 200400401403404422500
DELETE
/api/v3/secrets/raw/{secretName}
Delete secret
1 param body → 200400401403404422500
POST
/api/v3/secrets/move
body → 200400401403404422500
POST
/api/v3/secrets/batch/raw
Create many secrets
body → 200400401403404422500
PATCH
/api/v3/secrets/batch/raw
Update many secrets
body → 200400401403404422500
DELETE
/api/v3/secrets/batch/raw
Delete many secrets
body → 200400401403404422500
GET
/api/v4/secrets
List secrets
listSecretsV4 10 params → 200304400401403404422500
GET
/api/v4/secrets/id/{secretId}
getSecretByIdV4 1 param → 200400401403404422500
GET
/api/v4/secrets/{secretName}
Get a secret by name
getSecretByNameV4 9 params → 200400401403404422500
POST
/api/v4/secrets/{secretName}
Create secret
createSecretV4 1 param body → 200400401403404422500
PATCH
/api/v4/secrets/{secretName}
Update secret
updateSecretV4 1 param body → 200400401403404422500
DELETE
/api/v4/secrets/{secretName}
Delete secret
deleteSecretV4 1 param body → 200400401403404422500
POST
/api/v4/secrets/move
moveSecretsV4 body → 200400401403404422500
POST
/api/v4/secrets/duplicate
Duplicate one or more static secrets into another environment
duplicateSecretV4 body → 200400401403404422500
POST
/api/v4/secrets/batch
Create many secrets
createManySecretsV4 body → 200400401403404422500
PATCH
/api/v4/secrets/batch
Update many secrets
updateManySecretsV4 body → 200400401403404422500
DELETE
/api/v4/secrets/batch
Delete many secrets
deleteManySecretsV4 body → 200400401403404422500
GET
/api/v4/secrets/{secretName}/reference-dependency-tree
Get secret reference dependency tree
getSecretReferencesV4 4 params → 200400401403404422500
GET
/api/v4/secrets/{secretName}/secret-reference-tree
Get secret reference tree
getSecretReferenceTreeV4 4 params → 200400401403404422500

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

infisical-secrets-api-openapi.yml Raw ↑

Other APIs Infisical publishes across the network.

Infisical Admin API
Infisical Alibaba Cloud Auth API
Infisical App Connections API
Infisical Audit Logs API
Infisical AWS Auth API
Infisical Azure Auth API
Infisical Cert Manager API
Infisical Dynamic Secrets API
Infisical Environments API
Infisical Event Subscriptions API
Infisical Folders API
Infisical GCP Auth API