Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bimedia-fr/bimedia-rest-security-signer
https://github.com/bimedia-fr/bimedia-rest-security-signer
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bimedia-fr/bimedia-rest-security-signer
- Owner: bimedia-fr
- Created: 2016-03-17T16:27:39.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-05-15T09:38:41.000Z (over 6 years ago)
- Last Synced: 2024-11-07T11:33:53.133Z (about 2 months ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bimedia-rest-security-signer
## Usage
```sh
$ bimedia-signer -p priv.key -u pricipal https://example.com/api/restricted
curl -H "date: Fri, 26 Aug 2016 17:34:11 GMT" -H "content-type: " -H "authorization: BWS tutu:DrPURuwuupc1vuE6/M01P5cob32vZCKK8Z1dMqPi95w5dnBrdBRiZWbScAe03xqd+ezfxxS+FkH8KCtkA8CrUM9U6DD8DvQxmNMeFlWbuqTaYwAT1n+9w5kBxN/CiNAVIMCAByTi65n2x082uWLChWKosV6nC2xGCrZ4K7mVn2xQ4ksrvjp0Nxf6BT9wlq21hS6F8B7bEu1HYPF1ApliB9rD4lA8RB7+O9euPBPVUXs7m8exAyLRIRl0dfHGONgnvyqlkKb1JERNYBAVa2Vhy+7WXMJvbLp0yHaElflTwjtdQ2plx8DEGZ7czMKYdzZeMP8GnMj+WQLr0xLVtsjROg==" https://example.com/api/restricted
```## Command line arguments
```
bimedia-sign {OPTIONS} urlOPTIONS
Sign bimedia request.
-p, --privatekey private key FILE.
-u, --id principal id.
-H, --header specify http header
-d, --data specify request body
-X, --request specify http methodGLOBAL OPTIONS
--version Print the version number and exit.
```