Skip to content

Commit 6425f8f

Browse files
committed
details for slugs, user-defined params
attribute descriptions added for user defined params character set and case-sensitivity added for user defined params and slugs
1 parent c522b2e commit 6425f8f

2 files changed

Lines changed: 16 additions & 10 deletions

File tree

docs/artifact-configuration/syntax.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,16 @@ Parameter values can be set when submitting a signing request via the user inter
236236

237237
Parameters are defined in an optional `parameters` block at the beginning of the artifact configuration and can be referenced using the `${parameterName}` syntax in any XML attribute.
238238

239+
| Attribute | Value
240+
|-----------------|---------
241+
| `name` | Parameter name (required, case-sensitive). Valid characters: ASCII letters, digits, and the characters `.`, `-`, and `_`.
242+
| `default-value` | Optional default value if parameter is not provided with signing request. No leading or trailing whitespace.
243+
| `required` | If `true`, the parameter must be provided and must not be empty (`""`). Default is `false`.
244+
239245
~~~xml
240246
<artifact-configuration xmlns="http://signpath.io/artifact-configuration/v1">
241247
<parameters>
242-
<parameter name="version" default-value="1.0.0" required="true" />
248+
<parameter name="version" default-value="1.0.0" />
243249
</parameters>
244250
<pe-file path="my-installer-${version}.exe" product-name="myproduct" product-version="${version}">
245251
</artifact-configuration>

docs/projects.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ Projects consist of these configuration sections:
2121

2222
## Project settings {#project-settings}
2323

24-
| Property | Value | Editions
25-
|----------------------------|---------------------------------------------------------------------------------------------------------------------------|-----
26-
| **Name** | Display name
27-
| **Slug** | Project name/identfier used for URLs, APIs etc.
28-
| **Status** | _Valid_, _inactive_, or _invalid_
29-
| **Readers** | Users or groups who can read all information of this project, including signing request artifacts of all signing policies | {{ site.data.editions | where: "user_management.admin_delegation", "true" | map: "name" | join: ", " }}
30-
| **Configurators** | Users or groups who can modify artifact configurations and Webhooks | {{ site.data.editions | where: "user_management.admin_delegation", "true" | map: "name" | join: ", " }}
31-
| **Repository URL** | URL of the source code repository, for information and/or [origin verification](#signing-policy-origin-verification)
32-
| **Description** | Free text description of the project
24+
| Property | Value | Editions
25+
|--------------------|---------------------------------------------------------------------------------------------------------------------------|-----
26+
| **Name** | Display name
27+
| **Slug** | Name/identfier used for APIs access. Valid characters: ASCII letters, digits, and the characters `.`, `-`, and `_`. Case-insensitive.
28+
| **Status** | _Valid_, _inactive_, or _invalid_
29+
| **Readers** | Users or groups who can read all information of this project, including signing request artifacts of all signing policies | {{ site.data.editions | where: "user_management.admin_delegation", "true" | map: "name" | join: ", " }}
30+
| **Configurators** | Users or groups who can modify artifact configurations and Webhooks | {{ site.data.editions | where: "user_management.admin_delegation", "true" | map: "name" | join: ", " }}
31+
| **Repository URL** | URL of the source code repository, for information and/or [origin verification](#signing-policy-origin-verification)
32+
| **Description** | Free text description of the project
3333

3434
## Signing policies {#signing-policies}
3535

0 commit comments

Comments
 (0)