--- title: "ES Mode" --- Encrypted Standard (ES) mode is the easiest way to use Infisical's API. With it, you can make HTTP calls to Infisical to read/write secrets in plaintext. Prerequisites: - Set up and add envars to [Infisical Cloud](https://app.infisical.com). - Create an [Infisical Token](/documentation/platform/token) for your project and environment with write access enabled. - [Ensure that your project is blind-indexed](../blind-indices). Below, we showcase how to execute common CRUD operations to manage secrets in **ES** mode: ```bash curl --location --request GET 'http://localhost:8080/api/v3/secrets/raw?environment=dev&workspaceId=xxx' \ --header 'Authorization: Bearer st.xxx' ``` ```bash curl --location --request POST 'http://localhost:8080/api/v3/secrets/raw/SECRET_NAME' \ --header 'Authorization: Bearer st.xxx' \ --header 'Content-Type: application/json' \ --data-raw '{ "workspaceId": "xxx", "environment": "dev", "type": "shared", "secretValue": "SECRET_VALUE", "secretPath": "/" }' ``` ```bash curl --location --request GET 'http://localhost:8080/api/v3/secrets/raw/SECRET_NAME?workspaceId=xxx&environment=dev&secretPath=/' \ --header 'Authorization: Bearer st.xxx' ``` ```bash curl --location --request PATCH 'http://localhost:8080/api/v3/secrets/raw/SECRET_NAME' \ --header 'Authorization: Bearer st.xxx' \ --header 'Content-Type: application/json' \ --data-raw '{ "workspaceId": "xxx", "environment": "dev", "type": "shared", "secretValue": "SECRET_VALUE", "secretPath": "/" }' ``` ```bash curl --location --request DELETE 'http://localhost:8080/api/v3/secrets/raw/SECRET_NAME' \ --header 'Authorization: Bearer st.xxx' \ --header 'Content-Type: application/json' \ --data-raw '{ "workspaceId": "xxx", "environment": "dev", "type": "shared", "secretValue": "SECRET_VALUE", "secretPath": "/" }' ```