Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Minor changes to README
Tuan Dang9ff0b7bc1885
diff --git a/README.md b/README.mdindex aaafca43a9..0312669b75 100644--- a/README.md+++ b/README.md@@ -42,9 +42,9 @@- **Navigate Multiple Environments** per project (e.g. development, staging, production, etc.)- **Personal overrides** for environment variables- **[Integrations](https://infisical.com/docs/integrations/overview)** with CI/CD and production infrastructure-- **[Secret Versioning](https://infisical.com/docs/getting-started/dashboard/versioning)** - check the history of change for any secret-- **[Activity Logs](https://infisical.com/docs/getting-started/dashboard/audit-logs)** - check what user in the project is performing what actions with secrets-- **[Point-in-time Secrets Recovery](https://infisical.com/docs/getting-started/dashboard/pit-recovery)** - roll back to any snapshot of you secrets+- **[Secret Versioning](https://infisical.com/docs/getting-started/dashboard/versioning)** to view the change history for any secret+- **[Activity Logs](https://infisical.com/docs/getting-started/dashboard/audit-logs)** to record every action taken in a project.+- **[Point-in-time Secrets Recovery](https://infisical.com/docs/getting-started/dashboard/pit-recovery)** for rolling back to any snapshot of your secrets- π **1-Click Deploy** to Digital Ocean and Heroku- π **Authentication/Authorization** for projects (read/write controls soon)- π **Automatic Secret Rotation**@@ -337,6 +337,6 @@ Infisical officially launched as v.1.0 on November 21st, 2022. There are a lot o## π Translations-Infisical is currently aviable in English and Korean. Help us translate Infisical to your language!+Infisical is currently aviable in English and Korean. Help us translate Infisical to your language!-You can find all the info in [this issue](https://github.com/Infisical/infisical/issues/181).\ No newline at end of file+You can find all the info in [this issue](https://github.com/Infisical/infisical/issues/181).diff --git a/docs/api-reference/endpoints/secrets/create.mdx b/docs/api-reference/endpoints/secrets/create.mdxnew file mode 100644index 0000000000..27c167f76c--- /dev/null+++ b/docs/api-reference/endpoints/secrets/create.mdx@@ -0,0 +1,4 @@+---+title: "Create"+openapi: "POST /api/v2/secrets/"+---diff --git a/docs/api-reference/endpoints/secrets/delete.mdx b/docs/api-reference/endpoints/secrets/delete.mdxnew file mode 100644index 0000000000..af87e7120a--- /dev/null+++ b/docs/api-reference/endpoints/secrets/delete.mdx@@ -0,0 +1,4 @@+---+title: "Delete"+openapi: "DELETE /api/v2/secrets/"+---diff --git a/docs/api-reference/endpoints/secrets/read.mdx b/docs/api-reference/endpoints/secrets/read.mdxnew file mode 100644index 0000000000..4305f192c5--- /dev/null+++ b/docs/api-reference/endpoints/secrets/read.mdx@@ -0,0 +1,4 @@+---+title: "Read"+openapi: "GET /api/v2/secrets/"+---diff --git a/docs/api-reference/endpoints/secrets/update.mdx b/docs/api-reference/endpoints/secrets/update.mdxnew file mode 100644index 0000000000..2193fccc35--- /dev/null+++ b/docs/api-reference/endpoints/secrets/update.mdx@@ -0,0 +1,4 @@+---+title: "Update"+openapi: "PATCH /api/v2/secrets/"+---diff --git a/docs/api-reference/overview/authentication.mdx b/docs/api-reference/overview/authentication.mdxnew file mode 100644index 0000000000..27a2dc1345--- /dev/null+++ b/docs/api-reference/overview/authentication.mdx@@ -0,0 +1,3 @@+---+title: "Authentication"+---diff --git a/docs/api-reference/overview/introduction.mdx b/docs/api-reference/overview/introduction.mdxnew file mode 100644index 0000000000..9632e3788d--- /dev/null+++ b/docs/api-reference/overview/introduction.mdx@@ -0,0 +1,3 @@+---+title: "Introduction"+---diff --git a/docs/mint.json b/docs/mint.jsonindex 4b83b5c171..363b27a3e0 100644--- a/docs/mint.json+++ b/docs/mint.json@@ -39,6 +39,11 @@"icon": "server","url": "self-hosting"},+ {+ "name": "API Reference",+ "icon": "cloud",+ "url": "api-reference"+ },{"name": "Integrations","icon": "plug",@@ -125,6 +130,27 @@"self-hosting/configuration/email"]},+ {+ "group": "Overview",+ "pages": [+ "api-reference/overview/introduction",+ "api-reference/overview/authentication"+ ]+ },+ {+ "group": "Endpoints",+ "pages": [+ {+ "group": "Secrets",+ "pages": [+ "api-reference/endpoints/secrets/create",+ "api-reference/endpoints/secrets/read",+ "api-reference/endpoints/secrets/update",+ "api-reference/endpoints/secrets/delete"+ ]+ }+ ]+ },{"group": "Integrations","pages": ["integrations/overview"]diff --git a/docs/spec.yaml b/docs/spec.yamlnew file mode 100644index 0000000000..a0271395b1--- /dev/null+++ b/docs/spec.yaml@@ -0,0 +1,1690 @@+openapi: 3.0.0+info:+ title: Infisical API+ description: List of all available APIs that can be consumed+ version: 1.0.0+servers:+ - url: http://localhost:8080+paths:+ /api/v1/secret/{secretId}/secret-versions:+ get:+ description: ''+ parameters:+ - name: secretId+ in: path+ required: true+ schema:+ type: string+ - name: offset+ in: query+ schema:+ type: string+ - name: limit+ in: query+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/secret/{secretId}/secret-versions/rollback:+ post:+ description: ''+ parameters:+ - name: secretId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ version:+ example: any+ /api/v1/secret-snapshot/{secretSnapshotId}:+ get:+ description: ''+ parameters:+ - name: secretSnapshotId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/workspace/{workspaceId}/secret-snapshots:+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ - name: offset+ in: query+ schema:+ type: string+ - name: limit+ in: query+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/workspace/{workspaceId}/secret-snapshots/count:+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/workspace/{workspaceId}/secret-snapshots/rollback:+ post:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ version:+ example: any+ /api/v1/workspace/{workspaceId}/logs:+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ - name: offset+ in: query+ schema:+ type: string+ - name: limit+ in: query+ schema:+ type: string+ - name: sortBy+ in: query+ schema:+ type: string+ - name: userId+ in: query+ schema:+ type: string+ - name: actionNames+ in: query+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/action/{actionId}:+ get:+ description: ''+ parameters:+ - name: actionId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ /api/v1/signup/email/signup:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ '403':+ description: Forbidden+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ email:+ example: any+ /api/v1/signup/email/verify:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ '403':+ description: Forbidden+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ email:+ example: any+ code:+ example: any+ /api/v1/signup/complete-account/signup:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ '403':+ description: Forbidden+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ email:+ example: any+ firstName:+ example: any+ lastName:+ example: any+ publicKey:+ example: any+ encryptedPrivateKey:+ example: any+ iv:+ example: any+ tag:+ example: any+ salt:+ example: any+ verifier:+ example: any+ organizationName:+ example: any+ /api/v1/signup/complete-account/invite:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ '403':+ description: Forbidden+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ email:+ example: any+ firstName:+ example: any+ lastName:+ example: any+ publicKey:+ example: any+ encryptedPrivateKey:+ example: any+ iv:+ example: any+ tag:+ example: any+ salt:+ example: any+ verifier:+ example: any+ /api/v1/auth/token:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/auth/login1:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ email:+ example: any+ clientPublicKey:+ example: any+ /api/v1/auth/login2:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ email:+ example: any+ clientProof:+ example: any+ /api/v1/auth/logout:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/auth/checkAuth:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ /api/v1/bot/{workspaceId}:+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/bot/{botId}/active:+ patch:+ description: ''+ parameters:+ - name: botId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ isActive:+ example: any+ botKey:+ example: any+ /api/v1/user/:+ get:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ /api/v1/user-action/:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ action:+ example: any+ get:+ description: ''+ parameters:+ - name: action+ in: query+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/organization/:+ get:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ organizationName:+ example: any+ /api/v1/organization/{organizationId}:+ get:+ description: ''+ parameters:+ - name: organizationId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/organization/{organizationId}/users:+ get:+ description: ''+ parameters:+ - name: organizationId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/organization/{organizationId}/my-workspaces:+ get:+ description: ''+ parameters:+ - name: organizationId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/organization/{organizationId}/name:+ patch:+ description: ''+ parameters:+ - name: organizationId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ name:+ example: any+ /api/v1/organization/{organizationId}/incidentContactOrg:+ get:+ description: ''+ parameters:+ - name: organizationId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ post:+ description: ''+ parameters:+ - name: organizationId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ email:+ example: any+ delete:+ description: ''+ parameters:+ - name: organizationId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ email:+ example: any+ /api/v1/organization/{organizationId}/customer-portal-session:+ post:+ description: ''+ parameters:+ - name: organizationId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/organization/{organizationId}/subscriptions:+ get:+ description: ''+ parameters:+ - name: organizationId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/workspace/{workspaceId}/keys:+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/workspace/{workspaceId}/users:+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/workspace/:+ get:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ workspaceName:+ example: any+ organizationId:+ example: any+ /api/v1/workspace/{workspaceId}:+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ delete:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/workspace/{workspaceId}/name:+ post:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ name:+ example: any+ /api/v1/workspace/{workspaceId}/invite-signup:+ post:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ email:+ example: any+ /api/v1/workspace/{workspaceId}/integrations:+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/workspace/{workspaceId}/authorizations:+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/workspace/{workspaceId}/service-tokens:+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/membership-org/membershipOrg/{membershipOrgId}/change-role:+ post:+ description: ''+ parameters:+ - name: membershipOrgId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ /api/v1/membership-org/{membershipOrgId}:+ delete:+ description: ''+ parameters:+ - name: membershipOrgId+ in: path+ required: true+ schema:+ type: string+ responses:+ '400':+ description: Bad Request+ /api/v1/membership/{workspaceId}/connect:+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/membership/{membershipId}:+ delete:+ description: ''+ parameters:+ - name: membershipId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/membership/{membershipId}/change-role:+ post:+ description: ''+ parameters:+ - name: membershipId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ role:+ example: any+ /api/v1/key/{workspaceId}:+ post:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ key:+ example: any+ /api/v1/key/{workspaceId}/latest:+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/invite-org/signup:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ organizationId:+ example: any+ inviteeEmail:+ example: any+ /api/v1/invite-org/verify:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ email:+ example: any+ code:+ example: any+ /api/v1/secret/{workspaceId}:+ post:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ secrets:+ example: any+ keys:+ example: any+ environment:+ example: any+ channel:+ example: any+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ - name: environment+ in: query+ schema:+ type: string+ - name: channel+ in: query+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/secret/{workspaceId}/service-token:+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ - name: environment+ in: query+ schema:+ type: string+ - name: channel+ in: query+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/service-token/:+ get:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ name:+ example: any+ workspaceId:+ example: any+ environment:+ example: any+ expiresIn:+ example: any+ publicKey:+ example: any+ encryptedKey:+ example: any+ nonce:+ example: any+ /api/v1/password/srp1:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ clientPublicKey:+ example: any+ /api/v1/password/change-password:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ clientProof:+ example: any+ encryptedPrivateKey:+ example: any+ iv:+ example: any+ tag:+ example: any+ salt:+ example: any+ verifier:+ example: any+ /api/v1/password/email/password-reset:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ '403':+ description: Forbidden+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ email:+ example: any+ /api/v1/password/email/password-reset-verify:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ '403':+ description: Forbidden+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ email:+ example: any+ code:+ example: any+ /api/v1/password/backup-private-key:+ get:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ clientProof:+ example: any+ encryptedPrivateKey:+ example: any+ iv:+ example: any+ tag:+ example: any+ salt:+ example: any+ verifier:+ example: any+ /api/v1/password/password-reset:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ encryptedPrivateKey:+ example: any+ iv:+ example: any+ tag:+ example: any+ salt:+ example: any+ verifier:+ example: any+ /api/v1/stripe/webhook:+ post:+ description: ''+ parameters:+ - name: stripe-signature+ in: header+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/integration/{integrationId}:+ patch:+ description: ''+ parameters:+ - name: integrationId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ app:+ example: any+ environment:+ example: any+ isActive:+ example: any+ target:+ example: any+ context:+ example: any+ siteId:+ example: any+ delete:+ description: ''+ parameters:+ - name: integrationId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/integration-auth/integration-options:+ get:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ /api/v1/integration-auth/oauth-token:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ workspaceId:+ example: any+ code:+ example: any+ integration:+ example: any+ /api/v1/integration-auth/{integrationAuthId}/apps:+ get:+ description: ''+ parameters:+ - name: integrationAuthId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v1/integration-auth/{integrationAuthId}:+ delete:+ description: ''+ parameters:+ - name: integrationAuthId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v2/workspace/{workspaceId}/secrets:+ post:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ secrets:+ example: any+ keys:+ example: any+ environment:+ example: any+ channel:+ example: any+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ - name: environment+ in: query+ schema:+ type: string+ - name: channel+ in: query+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v2/workspace/{workspaceId}/encrypted-key:+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v2/workspace/{workspaceId}/service-token-data:+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v2/secret/batch-create/workspace/{workspaceId}/environment/{environment}:+ post:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ - name: environment+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ secrets:+ example: any+ /api/v2/secret/workspace/{workspaceId}/environment/{environment}:+ post:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ - name: environment+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ secret:+ example: any+ /api/v2/secret/workspace/{workspaceId}:+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ - name: environment+ in: query+ schema:+ type: string+ responses:+ '200':+ description: OK+ /api/v2/secret/{secretId}:+ get:+ description: ''+ parameters:+ - name: secretId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ delete:+ description: ''+ parameters:+ - name: secretId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ /api/v2/secret/batch/workspace/{workspaceId}/environment/{environmentName}:+ delete:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ - name: environmentName+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ secretIds:+ example: any+ /api/v2/secret/batch-modify/workspace/{workspaceId}/environment/{environmentName}:+ patch:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ - name: environmentName+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ secrets:+ example: any+ /api/v2/secret/workspace/{workspaceId}/environment/{environmentName}:+ patch:+ description: ''+ parameters:+ - name: workspaceId+ in: path+ required: true+ schema:+ type: string+ - name: environmentName+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ secret:+ example: any+ /api/v2/secrets/:+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ secrets:+ example: any+ workspaceId:+ example: any+ environment:+ example: any+ get:+ description: ''+ parameters:+ - name: workspaceId+ in: query+ schema:+ type: string+ - name: environment+ in: query+ schema:+ type: string+ responses:+ '200':+ description: OK+ patch:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ secrets:+ example: any+ delete:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ /api/v2/service-token/:+ get:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ name:+ example: any+ workspaceId:+ example: any+ environment:+ example: any+ encryptedKey:+ example: any+ iv:+ example: any+ tag:+ example: any+ expiresIn:+ example: any+ /api/v2/service-token/{serviceTokenDataId}:+ delete:+ description: ''+ parameters:+ - name: serviceTokenDataId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/v2/api-key-data/:+ get:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ post:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ name:+ example: any+ expiresIn:+ example: any+ /api/v2/api-key-data/{apiKeyDataId}:+ delete:+ description: ''+ parameters:+ - name: apiKeyDataId+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: OK+ '400':+ description: Bad Request+ /api/status:+ get:+ description: ''+ parameters: []+ responses:+ '200':+ description: OK+components:+ schemas:+ secret:+ type: object+ properties:+ type:+ type: string+ example: object+ properties:+ type: object+ properties:+ test:+ type: object+ properties:+ type:+ type: string+ example: integer+ description:+ type: string+ example: '123'+ securitySchemes:+ bearerAuth:+ type: http+ scheme: bearer+ bearerFormat: JWT