{
  "name": "crypto.get-key",
  "description": "Returns or derives a cryptographic key",
  "signature": {
    "input": {
      "kind": "crypto-encrypted-package",
      "description": "Encrypted package to extract the key fingerprint from",
      "required": true,
      "mode": "ValueOrExpression"
    },
    "children": {
      "raw": {
        "type": "bool",
        "description": "Whether to return raw bytes instead of encoded text",
        "required": false,
        "mode": "ValueOrExpression",
        "cardinality": "ZeroOrOne",
        "default": "false",
        "role": "Option",
        "projection": "Value"
      }
    },
    "output": {
      "mode": "Value",
      "kind": "crypto-key-fingerprint",
      "description": "Resolves to the package key fingerprint as text or raw bytes when [raw] is true"
    }
  }
}
