{
  "opencollection": "1.0.0",
  "info": {
    "name": "OneSchema AWS Secrets Manager AWS Secrets Manager Accounts Azure Key Vault Accounts API",
    "version": "1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-KEY",
      "value": "{{X-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Azure Key Vault Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Azure Key Vault Accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.oneschema.co/v0/azure-key-vault/accounts"
          },
          "docs": "Returns a list of Azure Key Vault account connections for the organization."
        },
        {
          "info": {
            "name": "Create Azure Key Vault Account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.oneschema.co/v0/azure-key-vault/accounts",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new Azure Key Vault account connection for the organization."
        },
        {
          "info": {
            "name": "Get Azure Key Vault Account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.oneschema.co/v0/azure-key-vault/accounts/:account-id",
            "params": [
              {
                "name": "account-id",
                "value": "",
                "type": "path",
                "description": "The ID of the Azure Key Vault account"
              }
            ]
          },
          "docs": "Get a specific Azure Key Vault account connection."
        },
        {
          "info": {
            "name": "Update Azure Key Vault Account",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.oneschema.co/v0/azure-key-vault/accounts/:account-id",
            "params": [
              {
                "name": "account-id",
                "value": "",
                "type": "path",
                "description": "The ID of the Azure Key Vault account"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a specific Azure Key Vault account connection."
        },
        {
          "info": {
            "name": "Delete Azure Key Vault Account",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.oneschema.co/v0/azure-key-vault/accounts/:account-id",
            "params": [
              {
                "name": "account-id",
                "value": "",
                "type": "path",
                "description": "The ID of the Azure Key Vault account"
              }
            ]
          },
          "docs": "Delete a specific Azure Key Vault account connection. The account cannot be deleted while it has managed secrets attached."
        },
        {
          "info": {
            "name": "Test Azure Key Vault Connection",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.oneschema.co/v0/azure-key-vault/accounts/:account-id/test",
            "params": [
              {
                "name": "account-id",
                "value": "",
                "type": "path",
                "description": "The ID of the Azure Key Vault account"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Test that OneSchema can authenticate via the configured App Registration and retrieve a specific secret. The secret value is not returned."
        }
      ]
    }
  ],
  "bundled": true
}