This project is a fastlane plugin. To get started with fastlane-plugin-hashicorp_vault
, add it to your project by running:
fastlane add_plugin hashicorp_vault
Manage provisioning profiles and certificates using Vault by HashiCorp
Note to author: Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
Download and install a certificate
download_certificate_from_vault(
vault_address: 'https://your-vault-server.com',
vault_token: 'your-vault-token',
certificate_path: 'path/to/certificate/in/vault'
)
Download and install a provisioning profile
download_provisioning_profile_from_vault(
vault_address: 'https://your-vault-server.com',
vault_token: 'your-vault-token',
provisioning_profile_path: 'path/to/profile/in/vault'
)
Generate (or renew) and upload provisioning profile
generate_and_upload_provisioning_profile_to_vault(
type: 'appstore', # or 'adhoc', 'development', 'enterprise'
app_identifier: 'com.example.app',
username: 'email@example.com',
team_id: 'TEAMID',
profile_name: 'profile_name',
vault_address: 'https://your-vault-server.com',
vault_token: 'your-vault-token',
vault_path: 'path/in/vault'
)
To run both the tests, and code style validation, run
rake
To automatically fix many of the styling issues, use
rubocop -a
For any other issues and feedback about this plugin, please submit it to this repository.
If you have trouble using plugins, check out the Plugins Troubleshooting guide.
For more information about how the fastlane
plugin system works, check out the Plugins documentation.
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.