dotenv_vault plugin
Getting Started
This project is a fastlane plugin. To get started with fastlane-plugin-dotenv_vault
, add it to your project by running:
fastlane add_plugin dotenv_vault
then at the top of your Fastfile
:
# Fastfile
dotenv_vault
# or if you want to configure non-standard path to .env.vault file
dotenv_vault(
# vault_path: ".env.vault",
)
You can also set the VAULT_PATH
environment variable to configure the path to the .env.vault
file:
$ DOTENV_VAULT_PATH="../.env.vault" \
fastlane some_lane
About dotenv_vault
Decrypt .env.vault file.
Actions
dotenv_vault
Decrypt .env.vault file.
Parameters
Parameter | Environment Variable | Default |
---|---|---|
:vault_path |
DOTENV_VAULT_PATH |
.env.vault |
Example
Check out the example Fastfile
to see how to use this plugin. Try it by cloning the repo, running fastlane install_plugins
and bundle exec fastlane test
.
Run tests for this plugin
To run both the tests, and code style validation, run
rake
To automatically fix many of the styling issues, use
rubocop -a
Issues and Feedback
For any other issues and feedback about this plugin, please submit it to this repository.
Troubleshooting
If you have trouble using plugins, check out the Plugins Troubleshooting guide.
Using fastlane Plugins
For more information about how the fastlane
plugin system works, check out the Plugins documentation.
About fastlane
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.