Please add comments to describe how the credentials are obtained.