Features

Everything DotAuth does.

Switching, Health, the Keychain and an editor for every file your tools keep. Each part works with the files where they are, and nothing is written until you click.

Switching

Switch every terminal at once.

Pick an AWS profile, a gcloud configuration, a Kubernetes context, an Oracle Cloud profile or an Azure CLI folder. Every terminal that follows DotAuth picks it up at its next prompt.

  • The shell hook sets AWS_PROFILE, CLOUDSDK_ACTIVE_CONFIG_NAME, KUBECONFIG, OCI_CLI_PROFILE and AZURE_CONFIG_DIR at each prompt.
  • dotauth here switches only the terminal you’re in, and dotauth pin keeps a terminal where it is.
  • A variable you set yourself in a shell is left alone.
  • Every switch works from the dotauth command too, in Free and Pro alike.
dotauth use aws acme-prod-admin
dotauth here kube staging-gke web
dotauth status

Contexts

Contexts and folder rules.

A context bundles the settings you use together: AWS profile, gcloud configuration, Azure subscription, OCI profile, Kubernetes context and namespace, GitHub account, and git’s name, email, signing key and SSH key.

  • Switch them all at once, from the window, the menu bar or the Quick Switcher.
  • Free makes two contexts. Pro makes one for every client, project and environment.Pro
  • Folder rules switch a terminal’s context when it enters a project’s folder.Pro

⌥⌘K

The Quick Switcher and the menu bar.

Press ⌥⌘K in any app to search every profile, context and cluster on your Mac.

  • ↵ switches every terminal; ⌥↵ only the one you came from.
  • ⌘C copies the export line, and ⌘O opens the console.
  • The menu bar shows what’s active, and how long each SSO sign-in has left.
  • A notification before tokens, keys and sessions run out.Pro
The Quick Switcher searching for “prod” across contexts, AWS profiles and Kubernetes clusters

Health

Health, with a fix for everything it finds.

Health checks every credential and config file on your Mac and lists what needs attention, worst first.

  • Old or unused access keys, and tokens and keys about to expire.
  • Secrets in plaintext, and key files other users can read.
  • Weak SSH keys, keys without a passphrase, and archived keys something still uses.
  • Profiles and clusters that point at something missing.
  • Each finding fixed in a click, one at a time.
DotAuth’s Health page: findings by severity, each with a button that fixes it

Keychain

Secrets in the Keychain, when you ask.

Plaintext keys and tokens move into the macOS Keychain, wired up so every tool still finds them.

  • AWS access keys, which the AWS CLI reads back through credential_process.
  • Tokens such as NPM_TOKEN, filled in by the shell hook.
  • glab’s tokens, moved to the Keychain item glab reads itself.
  • twine and Poetry tokens, as the Keychain item Python’s keyring looks for.
  • Touch ID before a secret is shown or copied, if you want it.

~/.aws

AWS SSO, role chains and access keys.

Every profile, grouped by SSO session and role chain, with how each signs in and whether it still works.

  • SSO sign-in, with how long each session has left.
  • Role chains with MFA, and a profile editor.
  • Access key age, and console links for any profile.
  • AWS SSO Import: a profile for every account and role in one step.Pro
  • Access key rotation: a new key made, tested and swapped in, and the old one retired.Pro
AWS profiles in DotAuth, grouped by SSO session and role chain

~/.ssh

SSH keys and hosts, checked by ssh itself.

Every key in ~/.ssh and the folders in it, and every host in ~/.ssh/config the way ssh reads it, with the entry each inherited setting comes from.

  • Keys with their type, passphrase, permissions and agent.
  • Config Check finds misspelled, dead and unsafe settings and missing key files, each with a fix.
  • Every save is checked by each ssh on your Mac, Apple’s and Homebrew’s, so none of them is broken.
  • Fix All, and the full editor: every setting, renaming hosts, and the file as text.Pro
  • Retired keys archived in ~/.ssh/.archive, out of ssh’s way.Pro
SSH keys in ~/.ssh/.keys, and an archived key that a host still uses

GitHub and GitLab

Keys on your accounts, kept in step.

See which of your GitHub and GitLab accounts have each SSH and GPG key on this Mac, and what for: sign-in, signing or both.

  • GitLab token scopes and expiry, with Rotate and Revoke.
  • After a change to a key, the new copy put on every account that has it.Pro
  • Keys added and removed, and gh’s token scopes edited from the full list.Pro
A GitHub account’s SSH and GPG keys, matched with the keys on this Mac

GPG and git

Signing keys and git’s settings, in order.

GPG keys are changed with gpg’s own commands, and git’s settings are shown the way git reads them, including the files they include.

  • Keys and subkeys with their expiry, and an expiry extended in a click.
  • What gives git your password for each site, from the Keychain to a plaintext store.
  • ~/.gitconfig moved to ~/.config/git/config, with git checking nothing changed.
  • User IDs, subkeys, revoking, the passphrase and trust.Pro
  • Identities per folder, URL shortcuts, ssh commands and every setting.Pro

npm and Python

Package registries and their tokens.

Every npm registry and Python repository, from ~/.npmrc, ~/.yarnrc.yml, ~/.pypirc, Poetry and pip, with what kind of token each has and where it’s kept.

  • Plaintext tokens, PyPI passwords and PyPI tokens that can upload to every project, flagged.
  • Move to Keychain, the way npm, twine and Poetry each read it.
  • Registries added with their token in the Keychain from the start, and checked.Pro

Sign-ins

Sign-ins without the Terminal.

gh, glab, gcloud, az, oci and wrangler sign in inside DotAuth. A window shows the command’s output and takes your answers, hiding what you type when it asks for a password.

  • For a browser sign-in, DotAuth shows the one-time code and opens the page.
  • SSH passphrases and setup wizards run there too.
  • Each account’s sign-ins and console open in the browser profile or Firefox container you pick.Pro

Activity

Every change kept. Every version restorable.

DotAuth only writes when you click, and keeps a copy of the file first. When another tool edits one of these files, DotAuth keeps that version too and shows what changed.

  • Any earlier version of a file, restored in a click.
  • Activity for the last 30 days in Free.
  • All of Activity, a year of it, in Pro.Pro
DotAuth’s Overview: the current context, what needs attention, and every provider on this Mac

Coming soon to your Mac.

DotAuth isn’t out yet. When it is, it will be free to download and free to keep, with Pro when you want what it adds.

macOS 14 Sonoma or later, on Apple silicon or Intel.