{
  "opencollection": "1.0.0",
  "info": {
    "name": "TensorDock Instances Secrets API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Secrets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Secrets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dashboard.tensordock.com/api/v2/secrets"
          },
          "docs": "List all secrets registered for the calling organization. The `value` of `GENERIC` / `SECRET` typed entries is never returned."
        },
        {
          "info": {
            "name": "Create Secret",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://dashboard.tensordock.com/api/v2/secrets",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new SSH key or generic secret. The `value` of `GENERIC` / `SECRET` typed entries is encrypted at rest and never returned after creation."
        },
        {
          "info": {
            "name": "Get Secret",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dashboard.tensordock.com/api/v2/secrets/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a secret by ID. For secrets of type `GENERIC` / `SECRET`, the `value` field is never returned."
        },
        {
          "info": {
            "name": "Delete Secret",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://dashboard.tensordock.com/api/v2/secrets/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Permanently delete a secret."
        }
      ]
    }
  ],
  "bundled": true
}