• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TykTechnologies / tyk / 4287

Build:
DEFAULT BRANCH: master
Ran 01 Mar 2018 07:53PM UTC
Jobs 1
Files 87
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4287

push

travis-ci

buger
create/get keys with hashed keys logic added (#1499)

added changes for https://github.com/TykTechnologies/tyk/issues/1256

- creating key - `POST /keys/create`, `POST /keys` and `POST /keys/{keyName}` also return field `"key_hash"` if key hashing is switched on
- get all (or per API) keys  - `GET /keys` returns list of key hashes if key hashing is switched on
- get one key info by hash `GET /keys/{keyName}?hashed=true"`
- `DELETE /keys/{keyName}?hashed=true"` - remains the same (delete by hash)

one more thing for documenting:
- added new config value `"enable_hashed_keys_listing"` with `"false"` by default

this config value controls access to `GET /keys` when keys are hashed.
- so, if `"hash_keys":true` and `"enable_hashed_keys_listing":false` then `GET /keys` will return 404 with explanation why
- if `"hash_keys":true` and `"enable_hashed_keys_listing":true` then `GET /keys` will return 200 with list of hashes

7887 of 14297 relevant lines covered (55.17%)

0.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4287.1 (LATEST_GO=true) 01 Mar 2018 07:53PM UTC 0
55.17
Travis Job 4287.1
Source Files on build 4287
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4287
  • ff84c0e1 on github
  • Prev Build on master (#4283)
  • Next Build on master (#4291)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc