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
let otherId = Runtime.envVar("PUBLIC_CANISTER_ID:other_canister");
387
387
```
388
+
Note: variables are only updated for canisters at deploy time. When adding a new canister, run `icp deploy` (without specifying a canister name) to update all canisters with the complete ID set.
388
389
389
-
Note: variables are only updated for canisters being deployed. When adding a new canister, run `icp deploy` (without specifying a canister name) to update all canisters with the complete ID set.
390
+
### Using the cli with a web identity
391
+
392
+
Users can link a web identity and use it with icp-cli. This is This is useful to make calls to a canister from the cli using the same identity you would get by logging in through the web UI.
393
+
394
+
```
395
+
# Sign in as your NNS identity
396
+
icp identity link web nns-identity --app nns.ic0.app
397
+
398
+
# Sign in as your OISY identity
399
+
icp identity link web oisy-identity --app oisy.com
0 commit comments