Skip to main content
Command

terminus secret:site:local-generate


Description

Generate json file for usage in local environment.

Example Usage

secret:site:local-generate <site> Generate json file with secrets for local usage.


secret:site:local-generate <site> --filepath=/my/path/filename.json Generate json file in given location with secrets for local usage.


secret:local-generate


Options

OptionDescription
--ansiForce (or disable --no-ansi) ANSI output
--defineDefine a configuration item value.
--fieldSelect just one field, and force format to *string*.
--fieldsLimit output to only the listed elements. Name top-level elements by key, e.g. "--fields=name,date", or use dot notation to select a nested element, e.g. "--fields=a.b.c as example".
--filepathOutput to given file path. Default is to output to ./secrets.json
--formatFormat the result data. Available formats: csv,json,list,null,php,print-r,sections,string,table,tsv,var_dump,var_export,xml,yaml
--helpDisplay help for the given command. When no command is given display help for the <info>list</info> command
--no-ansiNegate the "--ansi" option
--no-interactionDo not ask any interactive question
--quietDo not output any message
--verboseIncrease the verbosity of messages: 1 for normal output (-v), 2 for more verbose output (-vv), and 3 for debug (-vvv)
--versionDisplay this application version
--yesAnswer all confirmations with "yes"
Back to all commands