How to incorporate encrypted_credentials

Rails has an encrypted credentials feature (I’m also working with another project that utilizes encrypted_credentials w/o Rails) that requires an encryption key file, which generally will not be included in source control for security purposes. How can we include this file when building on Travis CI?