Common commands
tc profile create also takes --posture (owner-openkey, delegate-session,
or local-owner-key) and --operator (human or agent).
The profile is chosen from --profile, then TC_PROFILE, then the configured
default, then default. The node host is chosen from --host, then TC_HOST,
then a discovered local node, then the profile’s host, then
https://tee.node.tinycloud.xyz.
Inspect a profile
tc context reports the profile, owner and session DIDs, host, space, and
whether the local session is present, expired, missing, or has an unknown
expiry. It reads local state only and does not test access.
Default space
--space on tc kv and tc sql.
What each profile stores
profile.jsonfor host, DID, owner, posture, and default spacekey.jsonfor the local keypairsession.jsonfor the active sessionadditional-delegations.jsonandauth-grants.jsonlfor imported and granted access
~/.tinycloud/profiles/<name>/ (or under TC_HOME), with
files written 0600 in 0700 directories.
Practical use
- Create one profile for each environment or identity
- Use
TC_PROFILEto pick a default profile in a shell session - Use
TC_HOSTwhen you want a per-command node override
