ee auth create

Creates http authentication for a site.

OPTIONS

[<site-name>]
: Name of website / global for global scope.

[--user=<user>]
: Username for http auth.

[--pass=<pass>]
: Password for http auth.

[--ip=<ip>]
: IP to whitelist.

EXAMPLES

# Add auth on site with default username(easyengine) and random password
$ ee auth create example.com

# Add auth on all sites with default username and random password
$ ee auth create global

# Add auth on site with predefined username and password
$ ee auth create example.com --user=test --pass=password

# Add auth on site with default username and random password
$ ee auth create example.com --pass=password

# Whitelist IP on site
$ ee auth create example.com --ip=8.8.8.8,1.1.1.1

# Whitelist IP on all sites
$ ee auth create global --ip=8.8.8.8,1.1.1.1

GLOBAL PARAMETERS

Argument Description
--sites_path=<path> Absolute path to where all sites will be stored.
--locale=<locale> Locale for WordPress.
--le-mail=<le-mail> Mail-id to be used for letsencrypt.
--wp-mail=<wp-mail> Default Mail-id to be used for WordPress site installation.
--sysctl=<true/false> Whether to add sysctl config in docker-compose.
--[no-]color Whether to colorize the output.
--debug[=<group>] Show all PHP errors; add verbosity to EE bootstrap.
--quiet Suppress informational messages.

SUBCOMMANDS

NameDescription
ee auth delete

Deletes http authentication for a site.

ee auth list

Lists http authentication users of a site.

ee auth update

Updates http authentication password for a site.