Added constants for file and env creds.
Added support functions for getting file-based creds.