Ms Sql Server
Microsoft SQL Server resource. Supports username/password, AAD token, or Windows Integrated Authentication.
| 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | "order": [ |
| 4 | "host", |
| 5 | "user", |
| 6 | "password", |
| 7 | "integrated_auth", |
| 8 | "aad_token", |
| 9 | "port", |
| 10 | "dbname", |
| 11 | "instance_name", |
| 12 | "trust_cert", |
| 13 | "ca_cert", |
| 14 | "encrypt" |
| 15 | ], |
| 16 | "properties": { |
| 17 | "aad_token": { |
| 18 | "description": "AAD token for authentication", |
| 19 | "format": "resource-azure_oauth", |
| 20 | "nullable": true, |
| 21 | "type": "object" |
| 22 | }, |
| 23 | "ca_cert": { |
| 24 | "default": "", |
| 25 | "description": "CA certificate in PEM format for verifying the server identity. Only needed if the certificate used by the server is not in the workers's trust store.", |
| 26 | "pattern": "^(-----BEGIN CERTIFICATE-----\\s+([A-Za-z0-9+/=\\s]+?)-----END CERTIFICATE-----)?$", |
| 27 | "type": "string" |
| 28 | }, |
| 29 | "dbname": { |
| 30 | "default": "", |
| 31 | "description": "", |
| 32 | "type": "string" |
| 33 | }, |
| 34 | "encrypt": { |
| 35 | "default": true, |
| 36 | "description": "Enable TLS encryption. When false, all data including passwords are sent unencrypted over the network. Set to false only for local development.", |
| 37 | "type": "boolean" |
| 38 | }, |
| 39 | "host": { |
| 40 | "default": "", |
| 41 | "description": "", |
| 42 | "type": "string" |
| 43 | }, |
| 44 | "instance_name": { |
| 45 | "default": "", |
| 46 | "description": "", |
| 47 | "type": "string" |
| 48 | }, |
| 49 | "integrated_auth": { |
| 50 | "default": false, |
| 51 | "description": "Use Windows Integrated Authentication (Kerberos). When enabled, the worker's service account credentials are used instead of username/password. Requires the worker to have a valid Kerberos ticket.", |
| 52 | "type": "boolean" |
| 53 | }, |
| 54 | "password": { |
| 55 | "default": "", |
| 56 | "description": "", |
| 57 | "type": "string" |
| 58 | }, |
| 59 | "port": { |
| 60 | "description": "", |
| 61 | "type": "number" |
| 62 | }, |
| 63 | "trust_cert": { |
| 64 | "default": true, |
| 65 | "description": "Trust any certificate presented by the server", |
| 66 | "type": "boolean" |
| 67 | }, |
| 68 | "user": { |
| 69 | "default": "", |
| 70 | "description": "", |
| 71 | "type": "string" |
| 72 | } |
| 73 | }, |
| 74 | "required": [ |
| 75 | "host", |
| 76 | "dbname" |
| 77 | ], |
| 78 | "type": "object" |
| 79 | } |