Configuration
Siera allows you to add and choose environments through subcommands.
See the guide on how to set up Siera for more information on how to add and change environments relating to your agent configuration.
Siera supports using different environments. An environment consists of an environment name, an agent URL, an API key (optional) and a token (optional). A specific environment to use can be specified in a command using the --environment <ENVIRONMENT>
option.
In MS Windows Powershell you need to either run your command prompt application as administrator or allow your current user write access to C:\Program Files\Common Files\
in order to be able to write a config file to disk. This does not apply when using WSL.
Usage
Options
Subcommands
Add
Add a new, or overwrite an existing, agent to your configuration file.
Available flags
Example usage
Add a custom environment to your configuration file.
Siera uses the 'default' environment when no --environment
flag is given with commands. If you want to use another environment as your default, you can override your current default environment by specifying --environment=default
in the above command.
View
Print your current configuration file and its path.
Available flags
Example usage
The command results in a print out of both the configuration path and the config.yaml
itself.
Last updated