Tutorial: Star Wars Demo Configuration
Download Access files
To be able to apply your own setting, download the Star Wars default configuration.
Next, let’s start experimenting with some of Inigo’s security enforcement capabilities by modifying and applying the following changes.
Configuration Changes
security.yml:
- Change
require_operation_name
fromtrue
tofalse
- Change
max_depth
from3
to4
- Change
max_height
from9
to14
- Change
max_directives
from5
to30
rate_limit.yml:
- Change
credits_per_minute
to50000
access/viewer.inigo
- Remove the
title
field fromfilms
Install CLI
Get the Inigo CLI tool:
brew tap inigolabs/homebrew-tap
brew install inigo_cli
Login
Using the same credentials from app.inigo.io. If you signed up with GitHub, run the following command:
inigo login github
alternatively, if you signed up with Google, run the following command:
inigo login google
Otherwise if you signed up with a regular email, use the following command:
inigo login
Apply Configuration
Apply new configuration to the Star Wars service
inigo apply *.yml
Replay Playground Queries
With the updated configuration, it’s time to run the same queries again, see what the responses and visit Inigo Analytics Console.
What’s next?
Contact us to add your own GraphQL server to Inigo.