def ex_create_tag_key(self, name, description=None,
                          value_required=True, display_on_report=True):
        create_tag_key = ET.Element('createTagKey', {'xmlns': TYPES_URN})
        ET.SubElement(create_tag_key, 'name').text = name
        if description is not None:
            ET.SubElement(create_tag_key, 'description').text = description
        ET.SubElement(create_tag_key, 'valueRequired').text = \
            str(value_required).lower()
        ET.SubElement(create_tag_key, 'displayOnReport').text = \
            str(display_on_report).lower()
        response = self.connection.request_with_orgId_api_2(
            'tag/createTagKey',
            method='POST',
            data=ET.tostring(create_tag_key)).object
        response_code = findtext(response, 'responseCode', TYPES_URN)
        return response_code in ['IN_PROGRESS', 'OK']
Creates a tag key in the Dimension Data Cloud
dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py/DimensionDataNodeDriver.ex_create_tag_key