mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-15 15:50:38 +08:00
This is a fairly substantial change, which adds a new configuration file to the user's `$RAD_HOME` that includes node configuration, including the alias, and also makes node aliases required. When running `rad auth`, the user is now prompted for an alias, which defaults to `$USER`. When running `rad self`, the alias is now shown. If the user runs radicle without a config file, the defaults are loaded, and `$USER` is used as the alias.
27 lines
612 B
Markdown
27 lines
612 B
Markdown
Initializing a new identity with `rad-auth`.
|
|
The example below is run with `RAD_PASSPHRASE` set.
|
|
|
|
```
|
|
$ rad auth --alias "alice"
|
|
|
|
Initializing your radicle 👾 identity
|
|
|
|
✓ Creating your Ed25519 keypair...
|
|
✓ Your Radicle DID is did:key:z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi. This identifies your device.
|
|
|
|
To create a radicle project, run `rad init` from a git repository.
|
|
```
|
|
|
|
You can get the above information at all times using the `self` command:
|
|
|
|
```
|
|
$ rad self --did
|
|
did:key:z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
|
|
```
|
|
|
|
You can also show your alias:
|
|
```
|
|
$ rad self --alias
|
|
alice
|
|
```
|