Signature Auth
Signature Auth resource type schema.
| 1 | { |
| 2 | "type": "object", |
| 3 | "order": [ |
| 4 | "signature_provider", |
| 5 | "secret_key", |
| 6 | "authentication_config" |
| 7 | ], |
| 8 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 9 | "required": [ |
| 10 | "signature_provider", |
| 11 | "secret_key" |
| 12 | ], |
| 13 | "properties": { |
| 14 | "signature_provider": { |
| 15 | "enum": [ |
| 16 | "Github", |
| 17 | "Slack", |
| 18 | "Stripe", |
| 19 | "TikTok", |
| 20 | "Twitch", |
| 21 | "Zoom", |
| 22 | "Custom" |
| 23 | ], |
| 24 | "type": "string", |
| 25 | "default": "Custom", |
| 26 | "nullable": false, |
| 27 | "enumLabels": {}, |
| 28 | "description": "", |
| 29 | "disableCreate": true |
| 30 | }, |
| 31 | "secret_key": { |
| 32 | "type": "string", |
| 33 | "default": "" |
| 34 | }, |
| 35 | "authentication_config": { |
| 36 | "type": "object", |
| 37 | "order": [ |
| 38 | "signature_header_name", |
| 39 | "algorithm", |
| 40 | "encoding", |
| 41 | "signature_prefix" |
| 42 | ], |
| 43 | "format": "", |
| 44 | "required": [ |
| 45 | "signature_header_name", |
| 46 | "algorithm", |
| 47 | "encoding" |
| 48 | ], |
| 49 | "showExpr": "fields.signature_provider === 'Custom'", |
| 50 | "properties": { |
| 51 | "encoding": { |
| 52 | "enum": [ |
| 53 | "hex", |
| 54 | "base64", |
| 55 | "base64uri" |
| 56 | ], |
| 57 | "type": "string", |
| 58 | "default": "hex", |
| 59 | "nullable": false, |
| 60 | "enumLabels": {}, |
| 61 | "description": "", |
| 62 | "disableCreate": true |
| 63 | }, |
| 64 | "algorithm": { |
| 65 | "enum": [ |
| 66 | "sha1", |
| 67 | "sha256", |
| 68 | "sha512" |
| 69 | ], |
| 70 | "type": "string", |
| 71 | "default": "sha256", |
| 72 | "nullable": false, |
| 73 | "enumLabels": {}, |
| 74 | "description": "", |
| 75 | "disableCreate": true |
| 76 | }, |
| 77 | "signature_prefix": { |
| 78 | "type": "string", |
| 79 | "default": "", |
| 80 | "description": "" |
| 81 | }, |
| 82 | "signature_header_name": { |
| 83 | "type": "string", |
| 84 | "default": "", |
| 85 | "nullable": false, |
| 86 | "description": "" |
| 87 | } |
| 88 | }, |
| 89 | "description": "" |
| 90 | } |
| 91 | } |
| 92 | } |