All tools/keytool

keytool

keytool

A key and certificate management utility that lets users administer their own public/private key pairs and associated certificates.

Detected by keytool | macOS, Linux, Windows |docs.oracle.com

Sync rules

What travels, what stays, what never leaves
keytool in your home directory Every rule on this page, by file
· ~/.keystore Never synced

Only what the catalog names. A directory that syncs brings everything inside it except what is listed as excluded here.

Use it with your dotfile manager

Same data, in the shape your tool already reads
Opens Otty and adds this tool to what it syncs

Opens otty://sync/add/keytool. Otty ships with this catalog, so the link only has to name the tool — nothing is downloaded.

Every one of these keeps the credential file out.