You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 5, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: automation/Getting_Started.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ The following steps walk you through how to get a pre-built fhe-toolkit docker i
7
7
* You can use any Linux or Unix based (Mac will work) computer that the ibm cloud supports
8
8
9
9
* If the deploy script will be run on MacOS:
10
-
* Requires a `python` installation
10
+
* Requires a `python` installation, python 3.6+
11
11
* Install `gpg`
12
12
* MacOS with homebrew: `brew install gpg`
13
13
* To install homebrew: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`
@@ -16,14 +16,15 @@ The following steps walk you through how to get a pre-built fhe-toolkit docker i
16
16
* Install `pyenv`
17
17
* MacOS with homebrew: `brew install pyenv`
18
18
* MacOS without homebrew: `curl https://pyenv.run | bash`
19
+
19
20
* Otherwise, install these dependencies with your Linux distro's package manager
20
21
21
22
### Creating an IBM Cloud account
22
23
* Create an IBM Cloud account if you have never done so. To do this, go to [https://cloud.ibm.com/login](https://cloud.ibm.com/login) in your web browser.
23
24
24
25
If you don't have an account, select the "Create an account" link. [https://cloud.ibm.com/registration](https://cloud.ibm.com/registration)
25
26
26
-
* Once you have made an account or logged into your existing account, you must then make an API Key in your ibm cloud account
27
+
* Once you have made an account or logged into your existing account, you must then make an API Key in your IBM Cloud account
27
28
28
29
* At the top of the screen navigate the menus from Manage > Access (IAM). From the screen shown select the *My IBM Cloud API keys* tile. .
29
30
@@ -40,6 +41,7 @@ The following steps walk you through how to get a pre-built fhe-toolkit docker i
40
41
41
42
42
43
* Update or install `ibmcloud` CLI on the machine you will be using.
NOTE: If you have a mac, you can just open a terminal and issue the following command:
@@ -113,7 +115,7 @@ Space:
113
115
114
116
* Create a Resource Group in your account
115
117
116
-
my resource group is : `super_secret`
118
+
my resource group is called : `super_secret`
117
119
118
120
Login to cloud.ibm.com -> `Manage -> Account -> Account Resources -> Resource Groups -> Create`
119
121
@@ -134,7 +136,7 @@ Before you can run `DeployToHPVS.sh`, you must tell it:
134
136
##### Automatic key generation
135
137
If `DeployToHPVS.sh` called with the `-c` option, the interactive wizard will walk you through the process of key generation.
136
138
137
-
The root and repository keys are generated automatically by `docker trust`, which is invoked by `DeployToHPVS.sh`. The HPVS registration encryption key is hardcoded into `DeployToHPVS.sh`. The other keys (the vendor and delegation keys) must be generated ahead of time.
139
+
The root and repository keys are generated automatically by `docker trust`, which is invoked by `DeployToHPVS.sh`. The HPVS registration encryption key is hardcoded into `DeployToHPVS.sh`. The other keys (the vendor and delegation keys) the interactive wizard will prompt if you want to generate them. If you want to do it manually, follow the next two steps. If you want the interactive wizard to do it for you, skip ahead to "Running the HPVS Deploy script" section.
138
140
139
141
##### Vendor key
140
142
@@ -232,7 +234,7 @@ Find the reclamation id of the running resource and use that in the next command
232
234
233
235
docker image rmi -f [docker image id in this example it was 86c15e968f8b]
234
236
235
-
When a new image is signed there are a few keys that are created and become associated with that image. If you wish to push that image to the virtual server again, you will need those keys to sign and verify. This is the key pair in the config file called the delegation key. It is signed using a repo key that is stored in `~/.docker/trust/private`. The name of the key is a random string that is generated. You will need to hang onto this key to re-sign this image and any others associated with it. You can remove the delegation key if you no longer need it, but leave the repo key unless you are going to create a new one.
237
+
When a new image is signed, there are a few keys that are created and become associated with that image. If you wish to push that image to the virtual server again, you will need those keys to sign and verify. This is the key pair in the config file called the delegation key. It is signed using a repo key that is stored in `~/.docker/trust/private`. The name of the key is a random string that is generated. You will need to hang onto this key to re-sign this image and any others associated with it. You can remove the delegation key if you no longer need it, but leave the repo key unless you are going to create a new one.
0 commit comments