IAM API Python Samples To run the sample, you need to have Role Administrator, Security Admin, and Service Account Admin role.