Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vtex/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.
https://github.com/vtex/travis-encrypt
srv-io-web-framework xp-developer
Last synced: about 1 month ago
JSON representation
Service that encrypts a Travis public key of a repo with a data that is stored on the server, like an AWS key.
- Host: GitHub
- URL: https://github.com/vtex/travis-encrypt
- Owner: vtex
- Created: 2015-10-15T18:27:37.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-15T18:41:54.000Z (about 9 years ago)
- Last Synced: 2024-04-14T22:51:59.244Z (9 months ago)
- Topics: srv-io-web-framework, xp-developer
- Language: JavaScript
- Homepage:
- Size: 125 KB
- Stars: 1
- Watchers: 7
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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