Skip to content

Commit a0d5085

Browse files
committed
chore: note key flag for publishing ipns with kubo
fixes #1760
1 parent 18cb746 commit a0d5085

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/how-to/publish-ipns.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ IPNS names can be published programmatically.
7575
> Published to k51qzi5uqu5dgy6fu9073kabgj2nuq3qyo4f2rcnn4380z6n8i4v2lvo8dln6l: /ipfs/bafkreidbbor7mvra2xzzl4kmr2sxrtkzaxlzs6rsr5ktgmbtousuzrhlxq
7676
```
7777

78+
> **Note:** By default, the `ipns name publish` command will use the `self` key. You can generate additional keys with the `ipfs key gen new-key` command and pass the key name to the publish command using the `--key` flag, e.g. `ipfs name publish --key new-key bafkreidbbor7mvra2xzzl4kmr2sxrtkzaxlzs6rsr5ktgmbtousuzrhlxq`.
79+
7880
1. You can now go back to `https://ipfs.io/ipns/k51qzi5uqu5dgy6fu9073kabgj2nuq3qyo4f2rcnn4380z6n8i4v2lvo8dln6l` to view your updated file using the same address:
7981

8082
```shell

0 commit comments

Comments
 (0)