Wodby CLI

wodby app environment auth create

Protect an app environment, service or route with HTTP basic authentication

Usage

wodby app environment auth create ENVIRONMENT_ID [flags]

Options

Flag Description Default
--data string JSON request body -
--exempt Switch basic auth off for the given services or route even when a wider entry covers them; requires --service or --route false
-f, --file string Path to JSON request body -
-h, --help help for create false
--login string Login; defaults to wodby -
--password string Password; omit to let Wodby generate one, which you reveal in the dashboard -
--realm string Realm shown in the browser prompt -
--route string Protect only this route -
--service stringArray Protect only this app service; repeatable or comma-separated []

Options inherited from parent commands

Flag Description Default
--access-token string Access token -
--api-base-url string Public REST API base URL https://apiv2.wodby.com/v1
--api-key string API key -
--ci-config-path string Path to CI config /tmp/.wodby-ci.json
-o, --output string Output format: table, vertical, or json table
--verbose Verbose output false

See also

wodby app environment auth