code: def iam(cls, account_name, api_key, **kwargs):
          
          return cls(None,
                     api_key,
                     account=account_name,
                     auto_renew=kwargs.get('auto_renew', True),
                     use_iam=True,
                     **kwargs)
docs: Create a Cloudant client that uses IAM authentication.
  
          :param account_name: Cloudant account name.
          :param api_key: IAM authentication API key.