Skip to content

Service that encrypts a Travis public key of a repo with a data that is stored on the server, like an AWS key.

Notifications You must be signed in to change notification settings

vtex/travis-encrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis Encrypt

Service that encrypts a Travis public key of a repo with a data that is stored on the server, like an AWS key.

How to use

Travis requires a Github Access Token with the following scopes: repo, user:email, write:repo_hook, read:org.

Run the server with an environment variable with your Github token and with the data that you want to encrypt:

DATA=test GITHUB_TOKEN=123 node index.js

You may want to specify which port the server should run with an env variable PORT:

PORT=4000 DATA=test GITHUB_TOKEN=123 node index.js

Private repos

GET /encrypt/private/:org/:repo
Example /encrypt/private/vtex/storefront

Public repos

GET /encrypt/public/:org/:repo
Example /encrypt/private/vtex/travis-encrypt

License

MIT

About

Service that encrypts a Travis public key of a repo with a data that is stored on the server, like an AWS key.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published