code: def transit_generate_data_key(self, name, key_type, context=None, nonce=None, bits=None, mount_point='transit'):
          
          url = '/v1/{0}/datakey/{1}/{2}'.format(mount_point, key_type, name)
          params = {}
          if context is not None:
              params['context'] = context
          if nonce is not None:
              params['nonce'] = nonce
          if bits is not None:
              params['bits'] = bits
  
          return self._adapter.post(url, json=params).json()
docs: POST /<mount_point>/datakey/<type>/<name>
  
          :param name:
          :type name:
          :param key_type:
          :type key_type:
          :param context:
          :type context:
          :param nonce:
          :type nonce:
          :param bits:
          :type bits:
          :param mount_point:
          :type mount_point:
          :return:
          :rtype: