def consumer_key(config):
    """Returns the consumer_key from the configuration.

    :param config: Configuration to extract the consumer_key from.
    :type config: dict

    :returns: The consumer_key from the configuration.
    :rtype: str

    """

    return config['consumer_key']