No commit activity in last 3 years
No release in over 3 years
Store and install encrypted Certs from s3
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 4.4.6, < 5.0.0
~> 0.2.4
 Project Readme

s3_cert plugin

fastlane Plugin Badge

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-s3_cert, add it to your project by running:

fastlane add_plugin s3_cert

About s3_cert

Store and install KMS encrypted Certs from s3.

To use this plugin, you will need read/write access to AWS S3 and a KMS key.

First create a bucket or object in an existing bucket to store your certs,

Generate a KMS key to encrypt the certs that are going to be uploaded.

Gather any certs you want uploaded into a directory. Currently only unencyrpted certs downloaded from the Dev Portal ending in .cer are supported.

You can then upload your certs by using the s3_upload_cert action

    s3_upload_certs(
      bucket: "<your_bucket>",
      object_key: "<your_object_key>",
      kms_key_id: "<kms_key_id>",
      local_file_location: "/path/to/certs"
    )

To download and install certs, use the s3_cert action

    s3_cert(
      spaceship_username: "<login_to_dev_portal>",
      bucket: "<your_bucket>",
      object_key: "<your_object_key",
      kms_key_id: "<kms_key_id>"
    )

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.

Note to author: Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)

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.