remove creds while secret file is given, Fixes #24