KeyScope
A policy-driven validation tool that enables you to test and validate API credentials in a standardized manner.
Features
Adding a New Provider
To add a new provider, follow these steps:
dropbox: validation
).Example
Here is an example of adding Dropbox as a new provider:
dropbox:
validation:
request:
id: "dropbox:validation"
desc: "Dropbox: valid API credentials"
params:
- name: dropbox_1
desc: Dropbox token
uri: https://api.dropboxapi.com/2/users/get_current_account
method: post
headers:
Authorization:
- Bearer {{dropbox_1}}
response:
status_code: "200"
Using KeyScope
To validate API credentials using KeyScope, run the following command:
keyscope -f providers.yaml validate dropbox -p MY_KEY
Replace MY_KEY
with your actual Dropbox token.
> Visit Keyscope Website <