Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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} url

OPTIONS

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 method

GLOBAL OPTIONS

--version Print the version number and exit.
```