Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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