def save(self, file_path):
        fp = open(file_path, 'wb')
        json.dump(self.to_dict(), fp)
        fp.close()
        os.chmod(file_path, 0600)
Persist a Session Token to a file in JSON format.
dataset/ETHPy150Open darcyliu/storyboard/boto/sts/credentials.py/Credentials.save