pub fn with_default_credentials<P>(profile: P) -> Result<ProfileProvider, CredentialsError>
        where
            P: Into<String>,
    {
        let profile_location = ProfileProvider::default_profile_location()?;
        Ok(ProfileProvider {
            file_path: profile_location.into(),
            profile: profile.into(),
        })
    }
Create a new `ProfileProvider` for the default credentials file path using
the given profile.
rusoto/credential/src/profile.rs