A profile is a named credential namespace. Connections in one profile are completely isolated from another. Use profiles to keep work credentials separate from personal, to scope a profile to a specific agent, or to test against different OAuth clients without losing the originals. The default profile is always calledDocumentation Index
Fetch the complete documentation index at: https://authsome.mbajaj.me/llms.txt
Use this file to discover all available pages before exploring further.
default. You don’t need to create it — authsome initializes it on first run.
When to use a profile
| Use case | Approach |
|---|---|
| Two GitHub accounts on the same machine | One profile, two connections (--connection personal, --connection work). |
| Personal vs employer’s tooling | Separate profiles so credential sets don’t mix at all. |
| Testing a different OAuth client | A separate profile so the canonical one stays clean. |
| Per-agent credential scoping | A profile per agent (agent-cold-email, agent-pr-bot). |
On-disk layout
CLI-level profile switching is not yet wired up to a
--profile flag. The active profile is whichever default_profile is set to in ~/.authsome/config.json. Profile creation and selection are done programmatically today; CLI-level support is planned.Inspect the active profile
default_profile in ~/.authsome/config.json.
Programmatic profile management
TheAuthLayer exposes profile operations directly. From a Python session:
~/.authsome/config.json:
authsome invocations operate against the work profile.
Connections vs profiles
It’s worth being precise about the two namespaces.- Profile scopes the entire credential set. Different vault, different lock file.
- Connection scopes a credential record within a provider. Same vault, different key.
| Path | Meaning |
|---|---|
default / github / default | The default GitHub login on the default profile. |
default / github / work | A second GitHub login on the same profile. |
work / github / default | A separate GitHub login on the work profile. Invisible to default. |
What’s next
Credential storage
The full storage model and key namespace.
CLI reference
Every command and flag.