{
  "opencollection": "1.0.0",
  "info": {
    "name": "Porter Bundle Bundles CredentialSets API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "CredentialSets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Porter List credential sets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:3000/v1/credentialsets",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "query",
                "description": "Porter namespace to scope the query to. Defaults to the current namespace configured in Porter's context."
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Filter results by resource name."
              },
              {
                "name": "skip",
                "value": "",
                "type": "query",
                "description": "Number of records to skip for pagination."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of records to return per page."
              }
            ]
          },
          "docs": "Returns all credential sets managed by Porter. A credential set maps bundle credential names to their sources, such as environment variables, files, or secret store references."
        },
        {
          "info": {
            "name": "Porter Create a credential set",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:3000/v1/credentialsets",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new credential set defining how bundle credential names are resolved at execution time from sources such as environment variables, files, or secret store integrations."
        },
        {
          "info": {
            "name": "Porter Get a credential set",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:3000/v1/credentialsets/:namespace/:name",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path",
                "description": "Porter namespace of the resource."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "Name of the resource."
              }
            ]
          },
          "docs": "Returns the specified credential set including its credential mappings. Secret values are never included in responses."
        },
        {
          "info": {
            "name": "Porter Update a credential set",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://localhost:3000/v1/credentialsets/:namespace/:name",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path",
                "description": "Porter namespace of the resource."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "Name of the resource."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Replaces the credential mappings in a credential set with the provided definition."
        },
        {
          "info": {
            "name": "Porter Delete a credential set",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://localhost:3000/v1/credentialsets/:namespace/:name",
            "params": [
              {
                "name": "namespace",
                "value": "",
                "type": "path",
                "description": "Porter namespace of the resource."
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "Name of the resource."
              }
            ]
          },
          "docs": "Deletes the specified credential set. Installations referencing this credential set will fail if they are re-run."
        }
      ]
    }
  ],
  "bundled": true
}