profile
alchemy profile <subcommand> [options]Inspect and manage credentials stored in ~/.alchemy/profiles.json.
See Profiles.
profile show
Section titled “profile show”alchemy profile show [options]Print every auth method configured under a profile, along with its
resolved credentials (redacted). Unlike login, this does not
import your stack file — it reads the profile store directly and uses
the bundled providers (AWS, Axiom, Cloudflare, GitHub, Neon,
Planetscale) to pretty-print each entry.
Profile: default ── AWS ── accessKeyId: ASIA**** secretAccessKey: Pj5T**** sessionToken: IQoJ**** region: us-west-2 source: sso - default ── Cloudflare ── accessToken: Xl06**** expires: in 59m 58s 999ms (2026-04-27T20:45:47.937Z) accountId: 123456789... source: oauth
If the profile doesn’t exist, the command lists the available profile
names — or suggests running alchemy login when none are
configured.
| Option | Description |
|---|---|
--profile <name> | Profile to show (defaults to default or $ALCHEMY_PROFILE) |
--env-file <path> | Load environment variables from a file |
# Show the default profilealchemy profile show
# Show a named profilealchemy profile show --profile prodprofile clear
Section titled “profile clear”alchemy profile clear [options]Delete a profile from ~/.alchemy/profiles.json and remove its
credentials directory. If the profile isn’t in profiles.json, the
command still removes any stray credentials directory.
| Option | Description |
|---|---|
--profile <name> | Profile to clear (defaults to default or $ALCHEMY_PROFILE) |
# Remove the prod profile and its credentialsalchemy profile clear --profile prod