def create_access_key(name, is_active=True, permitted=[], options={}):
    """ Creates a new access key. A master key must be set first.

    :param name: the name of the access key to create
    :param is_active: Boolean value dictating whether this key is currently active (default True)
    :param permitted: list of strings describing which operation types this key will permit
                      Legal values include "writes", "queries", "saved_queries", "cached_queries",
                      "datasets", and "schema".
    :param options: dictionary containing more details about the key's permitted and restricted
                    functionality
    """
    _initialize_client_from_environment()
    return _client.create_access_key(name=name, is_active=is_active,
                                     permitted=permitted, options=options)