Advertisement
Guest User

tyk api definition

a guest
Nov 16th, 2022
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 11.41 KB | None | 0 0
  1. {
  2.   "created_at": "2022-11-16T12:04:48Z",
  3.   "api_model": {},
  4.   "api_definition": {
  5.     "api_id": "63bb0c1c333841325cbd806e519853ad",
  6.     "jwt_issued_at_validation_skew": 0,
  7.     "upstream_certificates": {},
  8.     "use_keyless": false,
  9.     "enable_coprocess_auth": false,
  10.     "base_identity_provided_by": "oauth_key",
  11.     "custom_middleware": {
  12.       "pre": [],
  13.       "post": [],
  14.       "post_key_auth": [],
  15.       "auth_check": {
  16.         "name": "",
  17.         "path": "",
  18.         "require_session": false,
  19.         "raw_body_only": false
  20.       },
  21.       "response": [],
  22.       "driver": "",
  23.       "id_extractor": {
  24.         "extract_from": "",
  25.         "extract_with": "",
  26.         "extractor_config": {}
  27.       }
  28.     },
  29.     "disable_quota": true,
  30.     "custom_middleware_bundle": "",
  31.     "cache_options": {
  32.       "cache_timeout": 60,
  33.       "enable_cache": false,
  34.       "cache_all_safe_requests": false,
  35.       "cache_response_codes": [],
  36.       "enable_upstream_cache_control": false,
  37.       "cache_control_ttl_header": "",
  38.       "cache_by_headers": []
  39.     },
  40.     "enable_ip_blacklisting": false,
  41.     "tag_headers": [],
  42.     "jwt_scope_to_policy_mapping": {},
  43.     "pinned_public_keys": {},
  44.     "expire_analytics_after": 0,
  45.     "domain": "",
  46.     "openid_options": {
  47.       "providers": [],
  48.       "segregate_by_client": false
  49.     },
  50.     "jwt_policy_field_name": "pol",
  51.     "enable_proxy_protocol": false,
  52.     "jwt_default_policies": [
  53.       "6374d14c9a24550001f68d39"
  54.     ],
  55.     "active": true,
  56.     "jwt_expires_at_validation_skew": 0,
  57.     "config_data": {},
  58.     "notifications": {
  59.       "shared_secret": "",
  60.       "oauth_on_keychange_url": ""
  61.     },
  62.     "jwt_client_base_field": "",
  63.     "auth": {
  64.       "use_param": false,
  65.       "param_name": "",
  66.       "use_cookie": false,
  67.       "cookie_name": "",
  68.       "auth_header_name": "Authorization",
  69.       "use_certificate": false,
  70.       "validate_signature": false,
  71.       "signature": {
  72.         "algorithm": "",
  73.         "header": "",
  74.         "use_param": false,
  75.         "param_name": "",
  76.         "secret": "",
  77.         "allowed_clock_skew": 0,
  78.         "error_code": 0,
  79.         "error_message": ""
  80.       }
  81.     },
  82.     "check_host_against_uptime_tests": false,
  83.     "auth_provider": {
  84.       "name": "",
  85.       "storage_engine": "",
  86.       "meta": {}
  87.     },
  88.     "blacklisted_ips": [],
  89.     "graphql": {
  90.       "enabled": false,
  91.       "execution_mode": "proxyOnly",
  92.       "schema": "",
  93.       "type_field_configurations": [],
  94.       "playground": {
  95.         "enabled": false,
  96.         "path": ""
  97.       }
  98.     },
  99.     "hmac_allowed_clock_skew": -1,
  100.     "dont_set_quota_on_create": false,
  101.     "uptime_tests": {
  102.       "check_list": [],
  103.       "config": {
  104.         "expire_utime_after": 0,
  105.         "service_discovery": {
  106.           "use_discovery_service": false,
  107.           "query_endpoint": "",
  108.           "use_nested_query": false,
  109.           "parent_data_path": "",
  110.           "data_path": "",
  111.           "cache_timeout": 60
  112.         },
  113.         "recheck_wait": 0
  114.       }
  115.     },
  116.     "enable_jwt": true,
  117.     "do_not_track": false,
  118.     "name": "Tyk-protected-by-Okta #gcertius #int",
  119.     "slug": "tyk-protected-by-okta",
  120.     "oauth_meta": {
  121.       "allowed_access_types": [],
  122.       "allowed_authorize_types": [],
  123.       "auth_login_redirect": ""
  124.     },
  125.     "CORS": {
  126.       "enable": false,
  127.       "max_age": 24,
  128.       "allow_credentials": false,
  129.       "exposed_headers": [],
  130.       "allowed_headers": [],
  131.       "options_passthrough": false,
  132.       "debug": false,
  133.       "allowed_origins": [],
  134.       "allowed_methods": []
  135.     },
  136.     "event_handlers": {
  137.       "events": {}
  138.     },
  139.     "proxy": {
  140.       "target_url": "http://httpbin.org/get",
  141.       "service_discovery": {
  142.         "endpoint_returns_list": false,
  143.         "cache_timeout": 0,
  144.         "parent_data_path": "",
  145.         "query_endpoint": "",
  146.         "use_discovery_service": false,
  147.         "_sd_show_port_path": false,
  148.         "target_path": "",
  149.         "use_target_list": false,
  150.         "use_nested_query": false,
  151.         "data_path": "",
  152.         "port_data_path": ""
  153.       },
  154.       "check_host_against_uptime_tests": false,
  155.       "transport": {
  156.         "ssl_insecure_skip_verify": false,
  157.         "ssl_ciphers": [],
  158.         "ssl_min_version": 0,
  159.         "ssl_max_version": 0,
  160.         "ssl_force_common_name_check": false,
  161.         "proxy_url": ""
  162.       },
  163.       "target_list": [],
  164.       "preserve_host_header": false,
  165.       "strip_listen_path": true,
  166.       "enable_load_balancing": false,
  167.       "listen_path": "/api/v1",
  168.       "disable_strip_slash": false
  169.     },
  170.     "client_certificates": [],
  171.     "use_basic_auth": false,
  172.     "version_data": {
  173.       "not_versioned": true,
  174.       "default_version": "Default",
  175.       "versions": {
  176.         "Default": {
  177.           "name": "Default",
  178.           "expires": "",
  179.           "paths": {
  180.             "ignored": [],
  181.             "white_list": [],
  182.             "black_list": []
  183.           },
  184.           "use_extended_paths": true,
  185.           "global_headers": {},
  186.           "global_headers_remove": [],
  187.           "global_response_headers": {},
  188.           "global_response_headers_remove": [],
  189.           "ignore_endpoint_case": false,
  190.           "global_size_limit": 0,
  191.           "override_target": "",
  192.           "extended_paths": {
  193.             "white_list": [
  194.               {
  195.                 "path": "/api/v[0-9]+/.*",
  196.                 "ignore_case": false,
  197.                 "method_actions": {
  198.                   "POST": {
  199.                     "action": "no_action",
  200.                     "code": 200,
  201.                     "headers": {}
  202.                   }
  203.                 }
  204.               },
  205.               {
  206.                 "path": ".*",
  207.                 "ignore_case": false,
  208.                 "method_actions": {
  209.                   "GET": {
  210.                     "action": "no_action",
  211.                     "code": 200,
  212.                     "headers": {}
  213.                   }
  214.                 }
  215.               }
  216.             ]
  217.           }
  218.         }
  219.       }
  220.     },
  221.     "jwt_scope_claim_name": "",
  222.     "use_standard_auth": false,
  223.     "session_lifetime": 0,
  224.     "hmac_allowed_algorithms": [],
  225.     "disable_rate_limit": true,
  226.     "definition": {
  227.       "location": "url",
  228.       "key": "x-api-version",
  229.       "strip_path": false
  230.     },
  231.     "use_oauth2": false,
  232.     "jwt_source": "aHR0cHM6Ly9kZXYtMjIzNzI1MS5va3RhLmNvbS9vYXV0aDIvZGVmYXVsdC92MS9rZXlzLw==",
  233.     "jwt_signing_method": "rsa",
  234.     "jwt_not_before_validation_skew": 0,
  235.     "use_go_plugin_auth": false,
  236.     "jwt_identity_base_field": "sub",
  237.     "allowed_ips": [],
  238.     "request_signing": {
  239.       "is_enabled": false,
  240.       "secret": "",
  241.       "key_id": "",
  242.       "algorithm": "",
  243.       "header_list": [],
  244.       "certificate_id": "",
  245.       "signature_header": ""
  246.     },
  247.     "org_id": "63171c754e48f70001520dad",
  248.     "enable_ip_whitelisting": false,
  249.     "global_rate_limit": {
  250.       "rate": 0,
  251.       "per": 0
  252.     },
  253.     "protocol": "",
  254.     "enable_context_vars": true,
  255.     "tags": [],
  256.     "basic_auth": {
  257.       "disable_caching": false,
  258.       "cache_ttl": 0,
  259.       "extract_from_body": false,
  260.       "body_user_regexp": "",
  261.       "body_password_regexp": ""
  262.     },
  263.     "listen_port": 0,
  264.     "session_provider": {
  265.       "name": "",
  266.       "storage_engine": "",
  267.       "meta": {}
  268.     },
  269.     "auth_configs": {
  270.       "authToken": {
  271.         "use_param": false,
  272.         "param_name": "",
  273.         "use_cookie": false,
  274.         "cookie_name": "",
  275.         "auth_header_name": "Authorization",
  276.         "use_certificate": false,
  277.         "validate_signature": false,
  278.         "signature": {
  279.           "algorithm": "",
  280.           "header": "",
  281.           "use_param": false,
  282.           "param_name": "",
  283.           "secret": "",
  284.           "allowed_clock_skew": 0,
  285.           "error_code": 0,
  286.           "error_message": ""
  287.         }
  288.       },
  289.       "basic": {
  290.         "use_param": false,
  291.         "param_name": "",
  292.         "use_cookie": false,
  293.         "cookie_name": "",
  294.         "auth_header_name": "Authorization",
  295.         "use_certificate": false,
  296.         "validate_signature": false,
  297.         "signature": {
  298.           "algorithm": "",
  299.           "header": "",
  300.           "use_param": false,
  301.           "param_name": "",
  302.           "secret": "",
  303.           "allowed_clock_skew": 0,
  304.           "error_code": 0,
  305.           "error_message": ""
  306.         }
  307.       },
  308.       "coprocess": {
  309.         "use_param": false,
  310.         "param_name": "",
  311.         "use_cookie": false,
  312.         "cookie_name": "",
  313.         "auth_header_name": "Authorization",
  314.         "use_certificate": false,
  315.         "validate_signature": false,
  316.         "signature": {
  317.           "algorithm": "",
  318.           "header": "",
  319.           "use_param": false,
  320.           "param_name": "",
  321.           "secret": "",
  322.           "allowed_clock_skew": 0,
  323.           "error_code": 0,
  324.           "error_message": ""
  325.         }
  326.       },
  327.       "hmac": {
  328.         "use_param": false,
  329.         "param_name": "",
  330.         "use_cookie": false,
  331.         "cookie_name": "",
  332.         "auth_header_name": "Authorization",
  333.         "use_certificate": false,
  334.         "validate_signature": false,
  335.         "signature": {
  336.           "algorithm": "",
  337.           "header": "",
  338.           "use_param": false,
  339.           "param_name": "",
  340.           "secret": "",
  341.           "allowed_clock_skew": 0,
  342.           "error_code": 0,
  343.           "error_message": ""
  344.         }
  345.       },
  346.       "jwt": {
  347.         "use_param": false,
  348.         "param_name": "",
  349.         "use_cookie": false,
  350.         "cookie_name": "",
  351.         "auth_header_name": "Authorization",
  352.         "use_certificate": false,
  353.         "validate_signature": false,
  354.         "signature": {
  355.           "algorithm": "",
  356.           "header": "",
  357.           "use_param": false,
  358.           "param_name": "",
  359.           "secret": "",
  360.           "allowed_clock_skew": 0,
  361.           "error_code": 0,
  362.           "error_message": ""
  363.         }
  364.       },
  365.       "oauth": {
  366.         "use_param": false,
  367.         "param_name": "",
  368.         "use_cookie": false,
  369.         "cookie_name": "",
  370.         "auth_header_name": "Authorization",
  371.         "use_certificate": false,
  372.         "validate_signature": false,
  373.         "signature": {
  374.           "algorithm": "",
  375.           "header": "",
  376.           "use_param": false,
  377.           "param_name": "",
  378.           "secret": "",
  379.           "allowed_clock_skew": 0,
  380.           "error_code": 0,
  381.           "error_message": ""
  382.         }
  383.       },
  384.       "oidc": {
  385.         "use_param": false,
  386.         "param_name": "",
  387.         "use_cookie": false,
  388.         "cookie_name": "",
  389.         "auth_header_name": "Authorization",
  390.         "use_certificate": false,
  391.         "validate_signature": false,
  392.         "signature": {
  393.           "algorithm": "",
  394.           "header": "",
  395.           "use_param": false,
  396.           "param_name": "",
  397.           "secret": "",
  398.           "allowed_clock_skew": 0,
  399.           "error_code": 0,
  400.           "error_message": ""
  401.         }
  402.       }
  403.     },
  404.     "strip_auth_data": false,
  405.     "id": "6374d1e09a24550001f68d3a",
  406.     "certificates": [],
  407.     "enable_signature_checking": false,
  408.     "use_openid": false,
  409.     "internal": false,
  410.     "jwt_skip_kid": false,
  411.     "enable_batch_request_support": false,
  412.     "enable_detailed_recording": false,
  413.     "response_processors": [],
  414.     "use_mutual_tls_auth": false
  415.   },
  416.   "hook_references": [],
  417.   "is_site": false,
  418.   "sort_by": 0,
  419.   "user_group_owners": [],
  420.   "user_owners": []
  421. }
Tags: okta tyk
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement