github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/internal/fs/ddl/cache/agent/aaa_signer.json (about)

     1  {
     2    "$schema": "https://choria.io/schemas/mcorpc/ddl/v1/agent.json",
     3    "metadata": {
     4      "license": "Apache-2.0",
     5      "author": "R.I.Pienaar \u003crip@devco.net\u003e",
     6      "timeout": 10,
     7      "name": "aaa_signer",
     8      "version": "0.28.0",
     9      "url": "https://github.com/choria-io/aaasvc",
    10      "description": "Request Signer for Choria AAA Service",
    11      "provider": "golang",
    12      "service": true
    13    },
    14    "actions": [
    15      {
    16        "action": "sign",
    17        "input": {
    18          "request": {
    19            "prompt": "RPC Request",
    20            "description": "The request to sign",
    21            "type": "string",
    22            "optional": false,
    23            "validation": "shellsafe",
    24            "maxlength": 100240
    25          },
    26          "token": {
    27            "prompt": "JWT Token",
    28            "description": "The JWT token authenticating the user",
    29            "type": "string",
    30            "optional": false,
    31            "validation": ".",
    32            "maxlength": 10024
    33          },
    34          "signature": {
    35            "prompt": "Request Signature",
    36            "description": "A signature produced using the ed25519 seed of the request, hex encoded",
    37            "type": "string",
    38            "optional": false,
    39            "validation": ".",
    40            "maxlength": 1024
    41          }
    42        },
    43        "output": {
    44          "secure_request": {
    45            "description": "The signed Secure Request",
    46            "display_as": "Secure Request",
    47            "type": "string"
    48          }
    49        },
    50        "display": "always",
    51        "description": "Signs a RPC Request on behalf of a user"
    52      }
    53    ]
    54  }