@tinycloud/cli 0.5.0 → 0.6.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -2
- package/dist/index.js +596 -49
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -24,6 +24,11 @@ tc kv put greeting "Hello, world"
|
|
|
24
24
|
tc kv get greeting
|
|
25
25
|
tc kv list
|
|
26
26
|
|
|
27
|
+
# Manage network-encrypted secrets on the default network
|
|
28
|
+
tc secrets network init
|
|
29
|
+
tc secrets put ANTHROPIC_API_KEY "sk-..."
|
|
30
|
+
tc secrets get ANTHROPIC_API_KEY
|
|
31
|
+
|
|
27
32
|
# Manage spaces
|
|
28
33
|
tc space list
|
|
29
34
|
tc space create
|
|
@@ -55,12 +60,21 @@ tc delegation create --to did:pkh:eip155:1:0x...
|
|
|
55
60
|
| `tc profile list` | List profiles |
|
|
56
61
|
| `tc profile show` | Show profile details |
|
|
57
62
|
| `tc profile create` | Create a new profile |
|
|
58
|
-
| `tc vault` | Manage encrypted vaults |
|
|
59
|
-
| `tc secrets` | Manage secrets |
|
|
63
|
+
| `tc vault` | Manage encrypted KV vaults |
|
|
64
|
+
| `tc secrets` | Manage network-encrypted secrets |
|
|
65
|
+
| `tc secrets network show` | Show a secrets decryption network |
|
|
66
|
+
| `tc secrets network init` | Create or fetch the default secrets network |
|
|
67
|
+
| `tc secrets network grant` | Grant `tinycloud.encryption/decrypt` on a secrets network |
|
|
60
68
|
| `tc vars` | Manage environment variables |
|
|
61
69
|
| `tc doctor` | Run diagnostic checks |
|
|
62
70
|
| `tc completion` | Generate shell completions |
|
|
63
71
|
|
|
72
|
+
Secret names are env-style uppercase identifiers such as `FIREFLIES_API_KEY`.
|
|
73
|
+
`tc secrets network show` accepts either a short network name or a full
|
|
74
|
+
`urn:tinycloud:encryption:<principal>:<network>` identifier. `tc secrets
|
|
75
|
+
network grant` takes the short name, resolves the network, and grants
|
|
76
|
+
`tinycloud.encryption/decrypt`.
|
|
77
|
+
|
|
64
78
|
## Global Options
|
|
65
79
|
|
|
66
80
|
```
|