Docs for Credential class and Credential.fromFile()
Docs for Credential fromInstance fromEnvironment