SOPS · JSON Structure

Sops Config Structure

Structure of a .sops.yaml configuration file for SOPS creation rules and key management

Type: object Properties: 0
Secrets ManagementEncryptionConfiguration ManagementDevOpsSecurityKubernetesCNCF

Sops Config Structure is a JSON Structure definition published by SOPS.

Meta-schema:

JSON Structure

sops-config-structure.json Raw ↑
{
  "title": "SOPS Configuration Structure",
  "description": "Structure of a .sops.yaml configuration file for SOPS creation rules and key management",
  "type": "object",
  "fields": [
    {
      "name": "creation_rules",
      "type": "array",
      "description": "Rules governing which keys to use when creating new encrypted files",
      "items": {
        "type": "object",
        "fields": [
          {
            "name": "path_regex",
            "type": "string",
            "description": "Regex pattern matching file paths this rule applies to"
          },
          {
            "name": "kms",
            "type": "string",
            "description": "Comma-separated list of AWS KMS key ARNs"
          },
          {
            "name": "gcp_kms",
            "type": "string",
            "description": "Comma-separated list of GCP KMS resource IDs"
          },
          {
            "name": "azure_keyvault",
            "type": "string",
            "description": "Azure Key Vault key URL"
          },
          {
            "name": "age",
            "type": "string",
            "description": "Comma-separated list of age public keys"
          },
          {
            "name": "pgp",
            "type": "string",
            "description": "Comma-separated list of PGP fingerprints"
          },
          {
            "name": "encrypted_regex",
            "type": "string",
            "description": "Regex matching YAML/JSON keys whose values should be encrypted"
          },
          {
            "name": "unencrypted_regex",
            "type": "string",
            "description": "Regex matching YAML/JSON keys whose values should NOT be encrypted"
          },
          {
            "name": "key_groups",
            "type": "array",
            "description": "Key groups for Shamir Secret Sharing multi-factor access",
            "items": {
              "type": "object",
              "fields": [
                { "name": "kms", "type": "array", "items": "object" },
                { "name": "pgp", "type": "array", "items": "string" },
                { "name": "age", "type": "array", "items": "string" }
              ]
            }
          },
          {
            "name": "shamir_threshold",
            "type": "integer",
            "description": "Minimum number of key groups required for decryption"
          }
        ]
      }
    }
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/sops-config-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.