Sandbox Client is a proxy server that routes bidirectional requests between your development machine and the Akamai network via a secure gateway. You need to download the client, set up the connection to your sandbox, and configure it to point to your development environment as origin.
If you are using Sandbox CLI, this process is automated.
In order to use Sandbox Client, you need:
Launch https://github.com/akamai/sandbox-client in a browser.
sandbox-client-1.4.0-RELEASE-default.zipfile and extract the contents.
The extracted folder contains the binary files required to launch Sandbox Client.
Follow these steps to define the origin mappings for your development environment.
Locate the files you extracted from
config.jsonin a text editor.
originMappingsappropriate for your development environment.
jwtTokenwhere it says
<ENTER JWT HERE>.
You need a
jwtTokento configure the client. Get this from the response body when you Create a sandbox.
Save the file.
In a command line tool, navigate to the directory that contains Sandbox Client, then run the script appropriate for your operating system.
To confirm that a request is routed to the sandbox in your development environment, you'll point a
requestHostname to your sandbox then validate that Sandbox Client routes requests securely through your sandbox. Once it's set up properly, the browser retrieves content from the development machine rather than the production origin.
/etc/hosts/file, and add the
requestHostnameyou want to test within your sandbox.
requestHostnamein your browser.
Confirm you can see the response header
X-Akamai-Sandbox=truewhich indicates that the response was returned from your developer sandbox.
Updated 20 days ago