Skip to content

Commit 1127e13

Browse files
committed
docs: signing key
1 parent a47a17f commit 1127e13

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Click the "Add to project" button, and select create in new project.
1616
## 3. Set the input configuration for the stack
1717

1818
- Clone this repository locally - and checkout the dev branch.
19-
- Create a file with name ".def.json" with the following content.
19+
- Create a file with name ".def.json" with the following content.
20+
- The signing key is the base64 key obtained from the `gpg --export-secret-key <Email Address> | base64` command. See https://cloud.ibm.com/docs/devsecops?topic=devsecops-devsecops-image-signing#cd-devsecops-gpg-export for details.
2021

2122
**Important**:
2223
- Ensure region is either us-south or eu-de as watsonx can only be deployed in those 2 locations for now.
@@ -30,7 +31,8 @@ Click the "Add to project" button, and select create in new project.
3031
"resource_group_name": "<target resource group - name of a new resource group that the stack will creates>",
3132
"region": "<region where resources are deployed>",
3233
"sample_app_git_url": "https://github.com/IBM/gen-ai-rag-watsonx-sample-application",
33-
"watsonx_admin_api_key": "<optional - admin key to use for watson if different from ibmcloud_api_key>"
34+
"watsonx_admin_api_key": "<optional - admin key to use for watson if different from ibmcloud_api_key>",
35+
"signing_key": "signing key used to sign build artifacts"
3436
}
3537
}
3638
```
@@ -44,7 +46,8 @@ Example:
4446
"resource_group_name": "stack-service-rg",
4547
"region": "eu-de",
4648
"sample_app_git_url": "https://github.com/IBM/gen-ai-rag-watsonx-sample-application",
47-
"watsonx_admin_api_key": "<optional - admin key to use for watson if different from ibmcloud_api_key>"
49+
"watsonx_admin_api_key": "<optional - admin key to use for watson if different from ibmcloud_api_key>",
50+
"signing_key": "signing key used to sign build artifacts"
4851
}
4952
}
5053
```

ibm_catalog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
{
114114
"name": "signing_key",
115115
"required": false,
116-
"type": "string",
116+
"type": "password",
117117
"hidden": false,
118118
"default_value": "replace"
119119
}

stack_definition.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
{
4343
"name": "signing_key",
4444
"required": false,
45-
"type": "string",
45+
"type": "password",
4646
"hidden": false,
4747
"default": "replace"
4848
}

0 commit comments

Comments
 (0)