1 | # Secrets Schema
|
2 |
|
3 | ```txt
|
4 | https://ns.adobe.com/helix/pipeline/secrets#/properties/secrets
|
5 | ```
|
6 |
|
7 | Secrets passed into the pipeline such as API Keys or configuration settings.
|
8 |
|
9 |
|
10 | | Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
11 | | :------------------ | ---------- | ------ | ------------ | :---------------- | --------------------- | ------------------- | ----------------------------------------------------------------- |
|
12 | | Can be instantiated | No | Stable | No | Forbidden | Forbidden | none | [action.schema.json\*](action.schema.json "open original schema") |
|
13 |
|
14 | ## secrets Type
|
15 |
|
16 | `object` ([Secrets](action-properties-secrets.md))
|
17 |
|
18 | # Secrets Properties
|
19 |
|
20 | | Property | Type | Required | Nullable | Defined by |
|
21 | | :------------------------------------------------ | ------------ | -------- | -------------- | :-------------------------------------------------------------------------------------------------------------------------------------------- |
|
22 | | [REPO_RAW_ROOT](#REPO_RAW_ROOT) | `string` | Optional | cannot be null | [Secrets](secrets-properties-repo_raw_root.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/REPO_RAW_ROOT") |
|
23 | | [REPO_API_ROOT](#REPO_API_ROOT) | `string` | Optional | cannot be null | [Secrets](secrets-properties-repo_api_root.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/REPO_API_ROOT") |
|
24 | | [EMBED_WHITELIST](#EMBED_WHITELIST) | `string` | Optional | cannot be null | [Secrets](secrets-properties-embed_whitelist.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/EMBED_WHITELIST") |
|
25 | | [DATA_EMBED_WHITELIST](#DATA_EMBED_WHITELIST) | `string` | Optional | cannot be null | [Secrets](secrets-properties-data_embed_whitelist.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/DATA_EMBED_WHITELIST") |
|
26 | | [EMBED_SERVICE](#EMBED_SERVICE) | `string` | Optional | cannot be null | [Secrets](secrets-properties-embed_service.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/EMBED_SERVICE") |
|
27 | | [DATA_EMBED_SERVICE](#DATA_EMBED_SERVICE) | `string` | Optional | cannot be null | [Secrets](secrets-properties-data_embed_service.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/DATA_EMBED_SERVICE") |
|
28 | | [EMBED_SELECTOR](#EMBED_SELECTOR) | `string` | Optional | cannot be null | [Secrets](secrets-properties-embed_selector.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/EMBED_SELECTOR") |
|
29 | | [IMAGES_MIN_SIZE](#IMAGES_MIN_SIZE) | `integer` | Optional | cannot be null | [Secrets](secrets-properties-images_min_size.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/IMAGES_MIN_SIZE") |
|
30 | | [HTTP_TIMEOUT](#HTTP_TIMEOUT) | `integer` | Optional | cannot be null | [Secrets](secrets-properties-http_timeout.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/HTTP_TIMEOUT") |
|
31 | | [HTTP_TIMEOUT_EXTERNAL](#HTTP_TIMEOUT_EXTERNAL) | `integer` | Optional | cannot be null | [Secrets](secrets-properties-http_timeout_external.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/HTTP_TIMEOUT_EXTERNAL") |
|
32 | | [TEST_BOOLEAN](#TEST_BOOLEAN) | `boolean` | Optional | cannot be null | [Secrets](secrets-properties-test_boolean.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/TEST_BOOLEAN") |
|
33 | | [XML_PRETTY](#XML_PRETTY) | `boolean` | Optional | cannot be null | [Secrets](secrets-properties-xml_pretty.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/XML_PRETTY") |
|
34 | | [SANITIZE_DOM](#SANITIZE_DOM) | `boolean` | Optional | cannot be null | [Secrets](secrets-properties-sanitize_dom.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/SANITIZE_DOM") |
|
35 | | [RESOLVE_GITREF_SERVICE](#RESOLVE_GITREF_SERVICE) | `string` | Optional | cannot be null | [Secrets](secrets-properties-resolve_gitref_service.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/RESOLVE_GITREF_SERVICE") |
|
36 | | [GITHUB_TOKEN](#GITHUB_TOKEN) | `string` | Optional | cannot be null | [Secrets](secrets-properties-github_token.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/GITHUB_TOKEN") |
|
37 | | `[A-Z0-9_]+` | Unknown Type | Optional | cannot be null | [Secrets](secrets-patternproperties-a-z0-9_.md "https://ns.adobe.com/helix/pipeline/secrets#/patternProperties/\[A-Z0-9\_]+") |
|
38 |
|
39 | ## REPO_RAW_ROOT
|
40 |
|
41 | The Base URL for retrieving raw text files from GitHub
|
42 |
|
43 |
|
44 | `REPO_RAW_ROOT`
|
45 |
|
46 | - is optional
|
47 | - Type: `string`
|
48 | - cannot be null
|
49 | - defined in: [Secrets](secrets-properties-repo_raw_root.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/REPO_RAW_ROOT")
|
50 |
|
51 | ### REPO_RAW_ROOT Type
|
52 |
|
53 | `string`
|
54 |
|
55 | ### REPO_RAW_ROOT Constraints
|
56 |
|
57 | **URI**: the string must be a URI, according to [RFC 3986](https://tools.ietf.org/html/rfc4291 "check the specification")
|
58 |
|
59 | ### REPO_RAW_ROOT Default Value
|
60 |
|
61 | The default value is:
|
62 |
|
63 | ```json
|
64 | "https://raw.githubusercontent.com/"
|
65 | ```
|
66 |
|
67 | ## REPO_API_ROOT
|
68 |
|
69 | The base URL for all GitHub API operations
|
70 |
|
71 |
|
72 | `REPO_API_ROOT`
|
73 |
|
74 | - is optional
|
75 | - Type: `string`
|
76 | - cannot be null
|
77 | - defined in: [Secrets](secrets-properties-repo_api_root.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/REPO_API_ROOT")
|
78 |
|
79 | ### REPO_API_ROOT Type
|
80 |
|
81 | `string`
|
82 |
|
83 | ### REPO_API_ROOT Constraints
|
84 |
|
85 | **URI**: the string must be a URI, according to [RFC 3986](https://tools.ietf.org/html/rfc4291 "check the specification")
|
86 |
|
87 | ### REPO_API_ROOT Default Value
|
88 |
|
89 | The default value is:
|
90 |
|
91 | ```json
|
92 | "https://api.github.com/"
|
93 | ```
|
94 |
|
95 | ## EMBED_WHITELIST
|
96 |
|
97 | Comma-separated list of allowed hostnames for embeds. Supports `*.example.com` as a subdomain wildcard. Use `*` to allow all embeds (potentially insecure and conflicting with `DATA_EMBED_WHITELIST`)
|
98 |
|
99 |
|
100 | `EMBED_WHITELIST`
|
101 |
|
102 | - is optional
|
103 | - Type: `string`
|
104 | - cannot be null
|
105 | - defined in: [Secrets](secrets-properties-embed_whitelist.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/EMBED_WHITELIST")
|
106 |
|
107 | ### EMBED_WHITELIST Type
|
108 |
|
109 | `string`
|
110 |
|
111 | ### EMBED_WHITELIST Default Value
|
112 |
|
113 | The default value is:
|
114 |
|
115 | ```json
|
116 | "www.youtube.com, spark.adobe.com, unsplash.com, soundcloud.com, lottiefiles.com, www.slideshare.net, vimeo.com, www.instagram.com, twitter.com, open.spotify.com"
|
117 | ```
|
118 |
|
119 | ## DATA_EMBED_WHITELIST
|
120 |
|
121 | Comma-separated list of allowed hostnames for data embeds. Supports `*.example.com` as a subdomain wildcard. Use `*` to allow all embeds (potentially insecure and conflicting with `EMBED_WHITELIST`)
|
122 |
|
123 |
|
124 | `DATA_EMBED_WHITELIST`
|
125 |
|
126 | - is optional
|
127 | - Type: `string`
|
128 | - cannot be null
|
129 | - defined in: [Secrets](secrets-properties-data_embed_whitelist.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/DATA_EMBED_WHITELIST")
|
130 |
|
131 | ### DATA_EMBED_WHITELIST Type
|
132 |
|
133 | `string`
|
134 |
|
135 | ### DATA_EMBED_WHITELIST Default Value
|
136 |
|
137 | The default value is:
|
138 |
|
139 | ```json
|
140 | "docs.google.com, *.sharepoint.com"
|
141 | ```
|
142 |
|
143 | ## EMBED_SERVICE
|
144 |
|
145 | URL of an Embed Service that takes the appended URL and returns an embeddable HTML representation.
|
146 |
|
147 |
|
148 | `EMBED_SERVICE`
|
149 |
|
150 | - is optional
|
151 | - Type: `string`
|
152 | - cannot be null
|
153 | - defined in: [Secrets](secrets-properties-embed_service.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/EMBED_SERVICE")
|
154 |
|
155 | ### EMBED_SERVICE Type
|
156 |
|
157 | `string`
|
158 |
|
159 | ### EMBED_SERVICE Default Value
|
160 |
|
161 | The default value is:
|
162 |
|
163 | ```json
|
164 | "https://adobeioruntime.net/api/v1/web/helix/helix-services/embed@v1"
|
165 | ```
|
166 |
|
167 | ## DATA_EMBED_SERVICE
|
168 |
|
169 | URL of a DataEmbed Service that takes the appended URL and returns an iterable JSON representation.
|
170 |
|
171 |
|
172 | `DATA_EMBED_SERVICE`
|
173 |
|
174 | - is optional
|
175 | - Type: `string`
|
176 | - cannot be null
|
177 | - defined in: [Secrets](secrets-properties-data_embed_service.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/DATA_EMBED_SERVICE")
|
178 |
|
179 | ### DATA_EMBED_SERVICE Type
|
180 |
|
181 | `string`
|
182 |
|
183 | ### DATA_EMBED_SERVICE Default Value
|
184 |
|
185 | The default value is:
|
186 |
|
187 | ```json
|
188 | "https://adobeioruntime.net/api/v1/web/helix/helix-services/data-embed@v1"
|
189 | ```
|
190 |
|
191 | ## EMBED_SELECTOR
|
192 |
|
193 | Selector to be used when resolving internal embeds.
|
194 |
|
195 |
|
196 | `EMBED_SELECTOR`
|
197 |
|
198 | - is optional
|
199 | - Type: `string`
|
200 | - cannot be null
|
201 | - defined in: [Secrets](secrets-properties-embed_selector.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/EMBED_SELECTOR")
|
202 |
|
203 | ### EMBED_SELECTOR Type
|
204 |
|
205 | `string`
|
206 |
|
207 | ### EMBED_SELECTOR Default Value
|
208 |
|
209 | The default value is:
|
210 |
|
211 | ```json
|
212 | "embed"
|
213 | ```
|
214 |
|
215 | ## IMAGES_MIN_SIZE
|
216 |
|
217 | Minimum physical width of responsive images to generate
|
218 |
|
219 |
|
220 | `IMAGES_MIN_SIZE`
|
221 |
|
222 | - is optional
|
223 | - Type: `integer`
|
224 | - cannot be null
|
225 | - defined in: [Secrets](secrets-properties-images_min_size.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/IMAGES_MIN_SIZE")
|
226 |
|
227 | ### IMAGES_MIN_SIZE Type
|
228 |
|
229 | `integer`
|
230 |
|
231 | ### IMAGES_MIN_SIZE Default Value
|
232 |
|
233 | The default value is:
|
234 |
|
235 | ```json
|
236 | 480
|
237 | ```
|
238 |
|
239 | ## HTTP_TIMEOUT
|
240 |
|
241 | Timeout for outgoing HTTP requests in milliseconds
|
242 |
|
243 |
|
244 | `HTTP_TIMEOUT`
|
245 |
|
246 | - is optional
|
247 | - Type: `integer`
|
248 | - cannot be null
|
249 | - defined in: [Secrets](secrets-properties-http_timeout.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/HTTP_TIMEOUT")
|
250 |
|
251 | ### HTTP_TIMEOUT Type
|
252 |
|
253 | `integer`
|
254 |
|
255 | ### HTTP_TIMEOUT Default Value
|
256 |
|
257 | The default value is:
|
258 |
|
259 | ```json
|
260 | 1000
|
261 | ```
|
262 |
|
263 | ## HTTP_TIMEOUT_EXTERNAL
|
264 |
|
265 | Timeout for outgoing HTTP requests to external services in milliseconds
|
266 |
|
267 |
|
268 | `HTTP_TIMEOUT_EXTERNAL`
|
269 |
|
270 | - is optional
|
271 | - Type: `integer`
|
272 | - cannot be null
|
273 | - defined in: [Secrets](secrets-properties-http_timeout_external.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/HTTP_TIMEOUT_EXTERNAL")
|
274 |
|
275 | ### HTTP_TIMEOUT_EXTERNAL Type
|
276 |
|
277 | `integer`
|
278 |
|
279 | ### HTTP_TIMEOUT_EXTERNAL Default Value
|
280 |
|
281 | The default value is:
|
282 |
|
283 | ```json
|
284 | 20000
|
285 | ```
|
286 |
|
287 | ## TEST_BOOLEAN
|
288 |
|
289 |
|
290 |
|
291 |
|
292 | `TEST_BOOLEAN`
|
293 |
|
294 | - is optional
|
295 | - Type: `boolean`
|
296 | - cannot be null
|
297 | - defined in: [Secrets](secrets-properties-test_boolean.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/TEST_BOOLEAN")
|
298 |
|
299 | ### TEST_BOOLEAN Type
|
300 |
|
301 | `boolean`
|
302 |
|
303 | ### TEST_BOOLEAN Default Value
|
304 |
|
305 | The default value is:
|
306 |
|
307 | ```json
|
308 | true
|
309 | ```
|
310 |
|
311 | ## XML_PRETTY
|
312 |
|
313 | Print XML with line breaks and indentation
|
314 |
|
315 |
|
316 | `XML_PRETTY`
|
317 |
|
318 | - is optional
|
319 | - Type: `boolean`
|
320 | - cannot be null
|
321 | - defined in: [Secrets](secrets-properties-xml_pretty.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/XML_PRETTY")
|
322 |
|
323 | ### XML_PRETTY Type
|
324 |
|
325 | `boolean`
|
326 |
|
327 | ### XML_PRETTY Default Value
|
328 |
|
329 | The default value is:
|
330 |
|
331 | ```json
|
332 | true
|
333 | ```
|
334 |
|
335 | ## SANITIZE_DOM
|
336 |
|
337 | Sanitize the HTML output to guard against XSS attacks.
|
338 |
|
339 | **Note:** this flag applies a pretty aggressive DOM filtering that will strip out a lot of HTML that your authors might find useful. The setting is meant for processing truly untrusted inputs, such as comments in a social media site.
|
340 |
|
341 |
|
342 | `SANITIZE_DOM`
|
343 |
|
344 | - is optional
|
345 | - Type: `boolean`
|
346 | - cannot be null
|
347 | - defined in: [Secrets](secrets-properties-sanitize_dom.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/SANITIZE_DOM")
|
348 |
|
349 | ### SANITIZE_DOM Type
|
350 |
|
351 | `boolean`
|
352 |
|
353 | ## RESOLVE_GITREF_SERVICE
|
354 |
|
355 | API endpoint or action name to the service that resolves github refs to commit SHAs.
|
356 |
|
357 |
|
358 | `RESOLVE_GITREF_SERVICE`
|
359 |
|
360 | - is optional
|
361 | - Type: `string`
|
362 | - cannot be null
|
363 | - defined in: [Secrets](secrets-properties-resolve_gitref_service.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/RESOLVE_GITREF_SERVICE")
|
364 |
|
365 | ### RESOLVE_GITREF_SERVICE Type
|
366 |
|
367 | `string`
|
368 |
|
369 | ## GITHUB_TOKEN
|
370 |
|
371 | GitHub access token to use while fetching markdown. See <https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line>.
|
372 |
|
373 |
|
374 | `GITHUB_TOKEN`
|
375 |
|
376 | - is optional
|
377 | - Type: `string`
|
378 | - cannot be null
|
379 | - defined in: [Secrets](secrets-properties-github_token.md "https://ns.adobe.com/helix/pipeline/secrets#/properties/GITHUB_TOKEN")
|
380 |
|
381 | ### GITHUB_TOKEN Type
|
382 |
|
383 | `string`
|
384 |
|
385 | ## Pattern: `[A-Z0-9_]+`
|
386 |
|
387 |
|
388 |
|
389 |
|
390 | `[A-Z0-9_]+`
|
391 |
|
392 | - is optional
|
393 | - Type: any of the folllowing: `boolean` or `integer` or `number` or `string` ([Details](secrets-patternproperties-a-z0-9_.md))
|
394 | - cannot be null
|
395 | - defined in: [Secrets](secrets-patternproperties-a-z0-9_.md "https://ns.adobe.com/helix/pipeline/secrets#/patternProperties/\[A-Z0-9\_]+")
|
396 |
|
397 | ### \[A-Z0-9\_]+ Type
|
398 |
|
399 | any of the folllowing: `boolean` or `integer` or `number` or `string` ([Details](secrets-patternproperties-a-z0-9_.md))
|