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
Copy file name to clipboardExpand all lines: src/pages/docs/creators/javascript/guides/golem-sdk-cli.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,12 +75,12 @@ The manifest needs to contain the image URL pointing to the GVMI download locati
75
75
To facilitate the process of creating a manifest, `golem-sdk` accepts multiple forms of image argument, where some of them will automatically resolve the URL and/or hash.
76
76
Please consult the table below for more details:
77
77
78
-
| Argument format | Example | Is `--image-hash` required? | Notes |
| Image tag |`golem/node:latest`| No, it will be automatically resolved. | Image hash is fetched from [https://registry.golem.network]. It is the recommended method. |
81
-
| Image hash |`3d6c48bb4c192708168d53cee4f36876b263b7745c3a3c239c6749cd`| No, it is resolved from the image argument. | Image URL will point to [https://registry.golem.network]|
82
-
| URL to registry.golem.network |`https://registry.golem.network/v1/image/download?tag=golem-examples/blender:2.80&https=true`| No, it is automatically resolved. ||
83
-
| URL to arbitrary download location |`https://example.com/my-image`| Yes, image-hash is required. | Image is calculated by the gvmkit-build conversion tool. |
78
+
| Argument format | Example | Is `--image-hash` required? | Notes |
| Image tag |`golem/node:latest`| No, it will be automatically resolved. | Image hash is fetched from [https://registry.golem.network]. It is the recommended method. |
81
+
| Image hash |`3d6c48bb4c192708168d53cee4f36876b263b7745c3a3c239c6749cd`| No, it is resolved from the image argument. | Image URL will point to [https://registry.golem.network]|
82
+
| URL to registry.golem.network |`http://registry.golem.network/v1/image/download?tag=golem-examples/blender:2.80`| No, it is automatically resolved. ||
83
+
| URL to arbitrary download location |`https://example.com/my-image`| Yes, image-hash is required. | Image is calculated by the gvmkit-build conversion tool. |
84
84
85
85
If the hash is not provided or resolved, you will get a warning that the manifest will not be usable until you provide it manually.
JS SDK users can utilize the [SDK CLI tool](https://docs.golem.network/docs/creators/javascript/guides/golem-sdk-cli) to create and sign manifests.
201
+
{% /alert %}
202
+
199
203
### Self signed certificate example
200
204
201
205
A basic example showing the generation of a self-signed root CA certificate to then sign the App author's certificate, and afterwards importing a generated root CA certificate into the Provider's keystore.
To import the certificate into the keystore, use a [`ya-provider keystore add`](/docs/providers/configuration/outbound#managing-your-keystore) command:
283
+
To set the rule to accept payloads with unrestricted outbound access signed by authors who holds certs from a trusted ca, use a the following command:
274
284
275
-
`ya-provider keystore add ca.crt.pem`
285
+
```bash
286
+
ya-provider rule set outbound audited-payload import-cert ca.crt.pem --mode all
0 commit comments