code: def keys_create(cls, fqdn, flag):
          
          data = {
              "flags": flag,
          }
          meta = cls.get_fqdn_info(fqdn)
          url = meta['domain_keys_href']
          ret, headers = cls.json_post(url, data=json.dumps(data),
                                       return_header=True)
          return cls.json_get(headers['location'])
docs: Create new key entry for a domain.