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
requested changes
Daniel Hougaard1b5b937db50b
diff --git a/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/create.mdx b/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/create.mdxnew file mode 100644index 0000000000..82456fb6c0--- /dev/null+++ b/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/create.mdx@@ -0,0 +1,4 @@+---+title: "Create"+openapi: "POST /api/v1/secret-syncs/azure-app-configuration"+---diff --git a/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/delete.mdx b/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/delete.mdxnew file mode 100644index 0000000000..23c2ad27b5--- /dev/null+++ b/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/delete.mdx@@ -0,0 +1,4 @@+---+title: "Delete"+openapi: "DELETE /api/v1/secret-syncs/azure-app-configuration/{syncId}"+---diff --git a/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/get-by-id.mdx b/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/get-by-id.mdxnew file mode 100644index 0000000000..45418f047e--- /dev/null+++ b/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/get-by-id.mdx@@ -0,0 +1,4 @@+---+title: "Get by ID"+openapi: "GET /api/v1/secret-syncs/azure-app-configuration/{syncId}"+---diff --git a/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/get-by-name.mdx b/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/get-by-name.mdxnew file mode 100644index 0000000000..488a159747--- /dev/null+++ b/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/get-by-name.mdx@@ -0,0 +1,4 @@+---+title: "Get by Name"+openapi: "GET /api/v1/secret-syncs/azure-app-configuration/sync-name/{syncName}"+---diff --git a/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/import-secrets.mdx b/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/import-secrets.mdxnew file mode 100644index 0000000000..b449449511--- /dev/null+++ b/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/import-secrets.mdx@@ -0,0 +1,4 @@+---+title: "Import Secrets"+openapi: "POST /api/v1/secret-syncs/azure-app-configuration/{syncId}/import-secrets"+---diff --git a/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/list.mdx b/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/list.mdxnew file mode 100644index 0000000000..2ea72fb208--- /dev/null+++ b/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/list.mdx@@ -0,0 +1,4 @@+---+title: "List"+openapi: "GET /api/v1/secret-syncs/azure-app-configuration"+---diff --git a/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/remove-secrets.mdx b/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/remove-secrets.mdxnew file mode 100644index 0000000000..952a852d2a--- /dev/null+++ b/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/remove-secrets.mdx@@ -0,0 +1,4 @@+---+title: "Remove Secrets"+openapi: "POST /api/v1/secret-syncs/azure-app-configuration/{syncId}/remove-secrets"+---diff --git a/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/sync-secrets.mdx b/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/sync-secrets.mdxnew file mode 100644index 0000000000..e3d37dd56a--- /dev/null+++ b/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/sync-secrets.mdx@@ -0,0 +1,4 @@+---+title: "Sync Secrets"+openapi: "POST /api/v1/secret-syncs/azure-app-configuration/{syncId}/sync-secrets"+---diff --git a/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/update.mdx b/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/update.mdxnew file mode 100644index 0000000000..b22a302dc0--- /dev/null+++ b/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/update.mdx@@ -0,0 +1,4 @@+---+title: "Update"+openapi: "PATCH /api/v1/secret-syncs/azure-app-configuration/{syncId}"+---diff --git a/docs/api-reference/endpoints/secret-syncs/azure-key-vault/create.mdx b/docs/api-reference/endpoints/secret-syncs/azure-key-vault/create.mdxnew file mode 100644index 0000000000..493e41abd2--- /dev/null+++ b/docs/api-reference/endpoints/secret-syncs/azure-key-vault/create.mdx@@ -0,0 +1,4 @@+---+title: "Create"+openapi: "POST /api/v1/secret-syncs/azure-key-vault"+---diff --git a/docs/api-reference/endpoints/secret-syncs/azure-key-vault/delete.mdx b/docs/api-reference/endpoints/secret-syncs/azure-key-vault/delete.mdxnew file mode 100644index 0000000000..7b02b6f68b--- /dev/null+++ b/docs/api-reference/endpoints/secret-syncs/azure-key-vault/delete.mdx@@ -0,0 +1,4 @@+---+title: "Delete"+openapi: "DELETE /api/v1/secret-syncs/azure-key-vault/{syncId}"+---diff --git a/docs/api-reference/endpoints/secret-syncs/azure-key-vault/get-by-id.mdx b/docs/api-reference/endpoints/secret-syncs/azure-key-vault/get-by-id.mdxnew file mode 100644index 0000000000..5b8ecd8c72--- /dev/null+++ b/docs/api-reference/endpoints/secret-syncs/azure-key-vault/get-by-id.mdx@@ -0,0 +1,4 @@+---+title: "Get by ID"+openapi: "GET /api/v1/secret-syncs/azure-key-vault/{syncId}"+---diff --git a/docs/api-reference/endpoints/secret-syncs/azure-key-vault/get-by-name.mdx b/docs/api-reference/endpoints/secret-syncs/azure-key-vault/get-by-name.mdxnew file mode 100644index 0000000000..dbb7b6f5c8--- /dev/null+++ b/docs/api-reference/endpoints/secret-syncs/azure-key-vault/get-by-name.mdx@@ -0,0 +1,4 @@+---+title: "Get by Name"+openapi: "GET /api/v1/secret-syncs/azure-key-vault/sync-name/{syncName}"+---diff --git a/docs/api-reference/endpoints/secret-syncs/azure-key-vault/import-secrets.mdx b/docs/api-reference/endpoints/secret-syncs/azure-key-vault/import-secrets.mdxnew file mode 100644index 0000000000..08ac487c93--- /dev/null+++ b/docs/api-reference/endpoints/secret-syncs/azure-key-vault/import-secrets.mdx@@ -0,0 +1,4 @@+---+title: "Import Secrets"+openapi: "POST /api/v1/secret-syncs/azure-key-vault/{syncId}/import-secrets"+---diff --git a/docs/api-reference/endpoints/secret-syncs/azure-key-vault/list.mdx b/docs/api-reference/endpoints/secret-syncs/azure-key-vault/list.mdxnew file mode 100644index 0000000000..a462739f7a--- /dev/null+++ b/docs/api-reference/endpoints/secret-syncs/azure-key-vault/list.mdx@@ -0,0 +1,4 @@+---+title: "List"+openapi: "GET /api/v1/secret-syncs/azure-key-vault"+---diff --git a/docs/api-reference/endpoints/secret-syncs/azure-key-vault/remove-secrets.mdx b/docs/api-reference/endpoints/secret-syncs/azure-key-vault/remove-secrets.mdxnew file mode 100644index 0000000000..8882c5e470--- /dev/null+++ b/docs/api-reference/endpoints/secret-syncs/azure-key-vault/remove-secrets.mdx@@ -0,0 +1,4 @@+---+title: "Remove Secrets"+openapi: "POST /api/v1/secret-syncs/azure-key-vault/{syncId}/remove-secrets"+---diff --git a/docs/api-reference/endpoints/secret-syncs/azure-key-vault/sync-secrets.mdx b/docs/api-reference/endpoints/secret-syncs/azure-key-vault/sync-secrets.mdxnew file mode 100644index 0000000000..87f6b4f569--- /dev/null+++ b/docs/api-reference/endpoints/secret-syncs/azure-key-vault/sync-secrets.mdx@@ -0,0 +1,4 @@+---+title: "Sync Secrets"+openapi: "POST /api/v1/secret-syncs/azure-key-vault/{syncId}/sync-secrets"+---diff --git a/docs/api-reference/endpoints/secret-syncs/azure-key-vault/update.mdx b/docs/api-reference/endpoints/secret-syncs/azure-key-vault/update.mdxnew file mode 100644index 0000000000..2d390ab8bc--- /dev/null+++ b/docs/api-reference/endpoints/secret-syncs/azure-key-vault/update.mdx@@ -0,0 +1,4 @@+---+title: "Update"+openapi: "PATCH /api/v1/secret-syncs/azure-key-vault/{syncId}"+---diff --git a/docs/images/app-connections/azure/app-configuration/create-oauth-method.png b/docs/images/app-connections/azure/app-configuration/create-oauth-method.pngnew file mode 100644index 0000000000..1c8ed186b3Binary files /dev/null and b/docs/images/app-connections/azure/app-configuration/create-oauth-method.png differdiff --git a/docs/images/app-connections/azure/app-configuration/oauth-connection.png b/docs/images/app-connections/azure/app-configuration/oauth-connection.pngnew file mode 100644index 0000000000..906b308994Binary files /dev/null and b/docs/images/app-connections/azure/app-configuration/oauth-connection.png differdiff --git a/docs/images/app-connections/azure/app-configuration/select-connection.png b/docs/images/app-connections/azure/app-configuration/select-connection.pngnew file mode 100644index 0000000000..ff452fb8b4Binary files /dev/null and b/docs/images/app-connections/azure/app-configuration/select-connection.png differdiff --git a/docs/images/app-connections/azure/create-oauth-method.png b/docs/images/app-connections/azure/create-oauth-method.pngdeleted file mode 100644index a9bd467eaf..0000000000Binary files a/docs/images/app-connections/azure/create-oauth-method.png and /dev/null differdiff --git a/docs/images/app-connections/azure/key-vault/create-oauth-method.png b/docs/images/app-connections/azure/key-vault/create-oauth-method.pngnew file mode 100644index 0000000000..6d7de342aaBinary files /dev/null and b/docs/images/app-connections/azure/key-vault/create-oauth-method.png differdiff --git a/docs/images/app-connections/azure/oauth-connection.png b/docs/images/app-connections/azure/key-vault/oauth-connection.pngsimilarity index 100%rename from docs/images/app-connections/azure/oauth-connection.pngrename to docs/images/app-connections/azure/key-vault/oauth-connection.pngdiff --git a/docs/images/app-connections/azure/key-vault/select-connection.png b/docs/images/app-connections/azure/key-vault/select-connection.pngnew file mode 100644index 0000000000..e55028588cBinary files /dev/null and b/docs/images/app-connections/azure/key-vault/select-connection.png differdiff --git a/docs/images/app-connections/azure/register-callback.png b/docs/images/app-connections/azure/register-callback.pngnew file mode 100644index 0000000000..b06b5ce6f7Binary files /dev/null and b/docs/images/app-connections/azure/register-callback.png differdiff --git a/docs/images/app-connections/azure/select-connection.png b/docs/images/app-connections/azure/select-connection.pngdeleted file mode 100644index d76766f3ab..0000000000Binary files a/docs/images/app-connections/azure/select-connection.png and /dev/null differdiff --git a/docs/integrations/app-connections/azure.mdx b/docs/integrations/app-connections/azure-app-configuration.mdxsimilarity index 55%rename from docs/integrations/app-connections/azure.mdxrename to docs/integrations/app-connections/azure-app-configuration.mdxindex 03cb1fa53d..4c4fcb7336 100644--- a/docs/integrations/app-connections/azure.mdx+++ b/docs/integrations/app-connections/azure-app-configuration.mdx@@ -1,12 +1,12 @@----title: "Azure Connection"-description: "Learn how to configure a Azure Connection for Infisical."+title: "Azure App Configuration Connection"+description: "Learn how to configure a Azure App Configuration Connection for Infisical."---Infisical currently only supports one method for connecting to Azure, which is OAuth.<Accordion title="Self-Hosted Instance">- Using the Azure App Configuration integration on a self-hosted instance of Infisical requires configuring an application in Azure+ Using the Azure App Configuration connection on a self-hosted instance of Infisical requires configuring an application in Azureand registering your instance with it.**Prerequisites:**@@ -20,44 +20,40 @@ Infisical currently only supports one method for connecting to Azure, which is O<Info>Azure Active Directory is now Microsoft Entra ID.</Info>- - + + - Create the application. As part of the form, set the **Redirect URI** to `https://your-domain.com/integrations/azure-app-configuration/oauth2/callback`.+ Create the application. As part of the form, set the **Redirect URI** to `https://your-domain.com/organization/app-connections/azure/oauth/callback`.<Tip>The domain you defined in the Redirect URI should be equivalent to the `SITE_URL` configured in your Infisical instance.</Tip>- + </Step><Step title="Assign API permissions to the application">- For the Azure Connection to work with both Key Vault and App Configuration, you need to assign multiple permissions to the application.+ For the Azure Connection to work with App Configuration, you need to assign multiple permissions to the application.#### Azure App Configuration permissions-+Set the API permissions of the Azure application to include the following Azure App Configuration permissions: `KeyValue.Delete`, `KeyValue.Read`, and `KeyValue.Write`.- + - #### Azure Key Vault permissions-- Set the API permissions of the Azure application to include `user.impersonation` for the Key Vault API.- </Step><Step title="Add your application credentials to Infisical">Obtain the **Application (Client) ID** in Overview and generate a **Client Secret** in Certificate & secrets for your Azure application.- - - + + + Back in your Infisical instance, add two new environment variables for the credentials of your Azure application.- `INF_APP_CONNECTION_AZURE_CLIENT_ID`: The **Application (Client) ID** of your Azure application.- `INF_APP_CONNECTION_AZURE_CLIENT_SECRET`: The **Client Secret** of your Azure application.- Once added, restart your Infisical instance and use the Azure App Configuration integration.+ Once added, restart your Infisical instance and use the Azure App Configuration connection.</Step></Steps>@@ -71,26 +67,24 @@ Infisical currently only supports one method for connecting to Azure, which is OTab](/images/app-connections/general/add-connection.png)</Step><Step title="Add Connection">- Select the **Azure Connection** option from the connection options modal. + Select the **Azure Connection** option from the connection options modal. </Step><Step title="Authorize Connection">- You must select the resource that you intend to use this connection for _(Azure Key Vault or Azure App Configuration)_.-You can optionally authenticate against a specific tenant by providing the Azure Tenant or Directory ID.Now select the **OAuth** method and click **Connect to Azure**.- + </Step><Step title="Grant Access">- You will then be redirected to the GitHub to grant Infisical access to your GitHub account (organization and repo privileges). Once granted,- you will redirect you back to Infisical's App Connections page. </Step><Step title="Connection Created">- Your **GitHub Connection** is now available for use. + Your **Azure App Configuration Connection** is now available for use. </Step></Steps>diff --git a/docs/integrations/app-connections/azure-key-vault.mdx b/docs/integrations/app-connections/azure-key-vault.mdxnew file mode 100644index 0000000000..037337204a--- /dev/null+++ b/docs/integrations/app-connections/azure-key-vault.mdx@@ -0,0 +1,89 @@+---+title: "Azure Key Vault Connection"+description: "Learn how to configure a Azure Key Vault Connection for Infisical."+---++Infisical currently only supports one method for connecting to Azure, which is OAuth.++<Accordion title="Self-Hosted Instance">+ Using the Azure Key Vault connection on a self-hosted instance of Infisical requires configuring an application in Azure+ and registering your instance with it.++ **Prerequisites:**++ - Set up Azure and have an existing Key Vault instance.++ <Steps>+ <Step title="Create an application in Azure">+ Navigate to Azure Active Directory > App registrations to create a new application.++ <Info>+ Azure Active Directory is now Microsoft Entra ID.+ </Info>+ + ++ Create the application. As part of the form, set the **Redirect URI** to `https://your-domain.com/organization/app-connections/azure/oauth/callback`.+ <Tip>+ The domain you defined in the Redirect URI should be equivalent to the `SITE_URL` configured in your Infisical instance.+ </Tip>++ + </Step>+ <Step title="Assign API permissions to the application">++ For the Azure Connection to work with both Key Vault, you need to assign multiple permissions to the application.++ #### Azure Key Vault permissions++ Set the API permissions of the Azure application to include `user.impersonation` for the Key Vault API.+ ++ </Step>+ <Step title="Add your application credentials to Infisical">+ Obtain the **Application (Client) ID** in Overview and generate a **Client Secret** in Certificate & secrets for your Azure application.++ + + ++ Back in your Infisical instance, add two new environment variables for the credentials of your Azure application.++ - `INF_APP_CONNECTION_AZURE_CLIENT_ID`: The **Application (Client) ID** of your Azure application.+ - `INF_APP_CONNECTION_AZURE_CLIENT_SECRET`: The **Client Secret** of your Azure application.++ Once added, restart your Infisical instance and use the Azure Key Vault connection.+ </Step>+ </Steps>++</Accordion>++## Setup Azure Connection in Infisical++<Steps>+ <Step title="Navigate to the App Connections">+ Navigate to the **App Connections** tab on the **Organization Settings** page. + </Step>+ <Step title="Add Connection">+ Select the **Azure Connection** option from the connection options modal. + </Step>+ <Step title="Authorize Connection">+ You can optionally authenticate against a specific tenant by providing the Azure Tenant or Directory ID.++ Now select the **OAuth** method and click **Connect to Azure**.++ ++++ </Step>+ <Step title="Grant Access">+ You will then be redirected to Azure to grant Infisical access to your Azure account (organization and repo privileges). Once granted,+ you will redirect you back to Infisical's App Connections page. + </Step>+ <Step title="Connection Created">+ Your **Azure Key Vault Connection** is now available for use. + </Step>+</Steps>diff --git a/docs/integrations/secret-syncs/azure-app-configuration.mdx b/docs/integrations/secret-syncs/azure-app-configuration.mdxindex 4342cd2b83..924eac5bd2 100644--- a/docs/integrations/secret-syncs/azure-app-configuration.mdx+++ b/docs/integrations/secret-syncs/azure-app-configuration.mdx@@ -8,6 +8,14 @@ description: "Learn how to configure an Azure App Configuration Sync for Infisic- Set up and add secrets to [Infisical Cloud](https://app.infisical.com)- Create a [Azure Connection](/integrations/app-connections/azure), configured for Azure App Configuration.+<Note>+ The Azure App Configuration Secret Sync requires the following permissions to be set on the user / service principal+ for Infisical to sync secrets to Azure App Configuration: `Read Key-Value`, `Write Key-Value`, `Delete Key-Value`.++ Any role with these permissions would work such as the **App Configuration Data Owner** role. Alternatively, you can use the+ **App Configuration Data Reader** role for read-only access or **App Configuration Data Contributor** role for read/write access.+</Note>+<Tabs><Tab title="Infisical UI">1. Navigate to **Project** > **Integrations** and select the **Secret Syncs** tab. Click on the **Add Sync** button.diff --git a/docs/integrations/secret-syncs/azure-key-vault.mdx b/docs/integrations/secret-syncs/azure-key-vault.mdxindex 7e724e7c27..7f6c7ef3b3 100644--- a/docs/integrations/secret-syncs/azure-key-vault.mdx+++ b/docs/integrations/secret-syncs/azure-key-vault.mdx@@ -8,6 +8,17 @@ description: "Learn how to configure a Azure Key Vault Sync for Infisical."- Set up and add secrets to [Infisical Cloud](https://app.infisical.com)- Create a [Azure Connection](/integrations/app-connections/azure), configured for Azure Key Vault.+<Note>+ The Azure Key Vault Secret Sync requires the following secrets permissions to be set on the user / service principal+ for Infisical to sync secrets to Azure Key Vault: `secrets/list`, `secrets/get`, `secrets/set`, `secrets/recover`.++ Any role with these permissions would work such as the **Key Vault Secrets Officer** role.+</Note>++<Note>+ Secrets in Infisical that contain an underscore (`_`) will be converted to a hyphen (`-`) when synced to Azure Key Vault.+</Note>+<Tabs><Tab title="Infisical UI">1. Navigate to **Project** > **Integrations** and select the **Secret Syncs** tab. Click on the **Add Sync** button.diff --git a/docs/mint.json b/docs/mint.jsonindex 263cb7aa21..65adbb7355 100644--- a/docs/mint.json+++ b/docs/mint.json@@ -1,6 +1,6 @@{"name": "Infisical",- "openapi": "https://app.infisical.com/api/docs/json",+ "openapi": "https://2eb781d275f5.ngrok.app/api/docs/json","logo": {"dark": "/logo/dark.svg","light": "/logo/light.svg",@@ -394,7 +394,8 @@"integrations/app-connections/aws","integrations/app-connections/github","integrations/app-connections/gcp",- "integrations/app-connections/azure"+ "integrations/app-connections/azure-key-vault",+ "integrations/app-connections/azure-app-configuration"]}]@@ -908,7 +909,36 @@"api-reference/endpoints/secret-syncs/gcp-secret-manager/import-secrets","api-reference/endpoints/secret-syncs/gcp-secret-manager/remove-secrets"]+ },+ {+ "group": "Azure Key Vault",+ "pages": [+ "api-reference/endpoints/secret-syncs/azure-key-vault/list",+ "api-reference/endpoints/secret-syncs/azure-key-vault/get-by-id",+ "api-reference/endpoints/secret-syncs/azure-key-vault/get-by-name",+ "api-reference/endpoints/secret-syncs/azure-key-vault/create",+ "api-reference/endpoints/secret-syncs/azure-key-vault/update",+ "api-reference/endpoints/secret-syncs/azure-key-vault/delete",+ "api-reference/endpoints/secret-syncs/azure-key-vault/sync-secrets",+ "api-reference/endpoints/secret-syncs/azure-key-vault/import-secrets",+ "api-reference/endpoints/secret-syncs/azure-key-vault/remove-secrets"+ ]+ },+ {+ "group": "Azure App Configuration",+ "pages": [+ "api-reference/endpoints/secret-syncs/azure-app-configuration/list",+ "api-reference/endpoints/secret-syncs/azure-app-configuration/get-by-id",+ "api-reference/endpoints/secret-syncs/azure-app-configuration/get-by-name",+ "api-reference/endpoints/secret-syncs/azure-app-configuration/create",+ "api-reference/endpoints/secret-syncs/azure-app-configuration/update",+ "api-reference/endpoints/secret-syncs/azure-app-configuration/delete",+ "api-reference/endpoints/secret-syncs/azure-app-configuration/sync-secrets",+ "api-reference/endpoints/secret-syncs/azure-app-configuration/import-secrets",+ "api-reference/endpoints/secret-syncs/azure-app-configuration/remove-secrets"+ ]}+]},{