a simple credentials library for CLIs