Project Environments
Xill4 allows you to manage secrets and variables at a project level using environments. You can create multiple environments to separate your configuration data for different project stages, such as development, testing, and production.
Environments provide a secure way to store sensitive information by encrypting secret values.
Creating and managing environments
- Select the project you want to manage the environments for.
- Click on the environment editor icon in the toolbar, or use the shortkey E to open the environment editor.
- Click to add a new environment.
- Provide a name for your environment (e.g., "development", "testing", "production") and apply
Deleting an environment will remove all associated secrets and variables.
Adding environment secrets and variables
After creating a new environment, or selecting an existing one in the environment editor, you can add new environment secrets or variables as follows:
- Click to add a new secret.
- Provide both the key and value and apply
-
Optionally, before saving, toggle between the secret and variable types by pressing secretorvariablerespectively
Secrets are stored encrypted and cannot be viewed again once saved. If you need to change a secret, you must update it with the new value.
Using environment secrets and variables in flows
To retrieve a secret or variable from the active environment, you can use the variable syntax (%variableOrSecretName%
). For example, if you have a variable called myVariable
in the active environment, you can use the syntax %myVariable%
to retrieve it.
Security
Xill4 uses OpenSSL to encrypt secrets. OpenSSL is a robust and widely-used cryptography library that provides a high level of security for your sensitive data. You can learn more about OpenSSL on their official website here.