def remove_profile(self, profile=None):
with self.db:<EOL><INDENT>return self.db.remove(self.query.profile == profile)<EOL><DEDENT>
Remove profile from credentials file.

        Args:
            profile (str): Credentials profile to remove.

        Returns:
            list: List of affected document IDs.