Add shortcut to generate and store credentials.