{
  "opencollection": "1.0.0",
  "info": {
    "name": "Infisical Admin Kubernetes Auth API",
    "version": "0.0.1"
  },
  "items": [
    {
      "info": {
        "name": "Kubernetes Auth",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "loginWithKubernetesAuth",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://us.infisical.com/api/v1/auth/kubernetes-auth/login",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Login with Kubernetes Auth for machine identity"
        },
        {
          "info": {
            "name": "getKubernetesAuth",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://us.infisical.com/api/v1/auth/kubernetes-auth/identities/:identityId",
            "params": [
              {
                "name": "identityId",
                "value": "",
                "type": "path",
                "description": "The ID of the machine identity to retrieve the auth method for."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve Kubernetes Auth configuration on machine identity"
        },
        {
          "info": {
            "name": "attachKubernetesAuth",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://us.infisical.com/api/v1/auth/kubernetes-auth/identities/:identityId",
            "params": [
              {
                "name": "identityId",
                "value": "",
                "type": "path",
                "description": "The ID of the machine identity to attach the configuration onto."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Attach Kubernetes Auth configuration onto machine identity"
        },
        {
          "info": {
            "name": "updateKubernetesAuth",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://us.infisical.com/api/v1/auth/kubernetes-auth/identities/:identityId",
            "params": [
              {
                "name": "identityId",
                "value": "",
                "type": "path",
                "description": "The ID of the machine identity to update the auth method for."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update Kubernetes Auth configuration on machine identity"
        },
        {
          "info": {
            "name": "deleteKubernetesAuth",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://us.infisical.com/api/v1/auth/kubernetes-auth/identities/:identityId",
            "params": [
              {
                "name": "identityId",
                "value": "",
                "type": "path",
                "description": "The ID of the machine identity to revoke the auth method for."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete Kubernetes Auth configuration on machine identity"
        }
      ]
    }
  ],
  "bundled": true
}