Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TykTechnologies/backup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

Usage: ./backup.sh [command] [options]

Commands:
 help      Print this message
 export    Export Tyk API Definitions and Policies from a Tyk Dashboard.
 import    Upload Tyk API Definitions and Policies to a Tyk Dashboard.

Options:
 --url            URL of the Tyk Dashboard (required).
 --secret         Access key of your user in the Tyk Dashboard (required).
 --api-output     (export only) Output file for the exported Tyk API Definitions (required).
 --policy-output  (export only) Output file for the exported Tyk Policies (optional).
 --api-file       (import only) File containing the Tyk API Definitions to be uploaded (required).
 --policy-file    (import only) File containing the Tyk Policies to be uploaded (optional).

Examples:
   Export Tyk API Definitions:
      ./backup.sh export --url https://my-tyk-dashboard.com --secret mysecretkey --api-output apis.json

   Export Tyk API Definitions and Policies:
      ./backup.sh export --url https://my-tyk-dashboard.com --secret mysecretkey --api-output apis.json --policy-output policies.json

   Upload Tyk API Definitions:
      ./backup.sh import --url https://my-tyk-dashboard.com --secret mysecretkey --api-file apis.json

   Upload Tyk API Definitions and Policies:
      ./backup.sh import --url https://my-tyk-dashboard.com --secret mysecretkey --api-file apis.json --policy-file policies.json

About

Backup tools, to quickly export/import APIs and Policies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%