Skip to content

Instantly share code, notes, and snippets.

@james
Created May 19, 2012 15:44
Show Gist options
  • Save james/2731274 to your computer and use it in GitHub Desktop.
Save james/2731274 to your computer and use it in GitHub Desktop.
Vault example JSON config storage
// Defaults are the same as website
{
'phrase': 'HASH',
'services': [
{'name': 'Twitter'},
{'name': 'Google'},
{
'name': 'Nationwide',
'length': 24,
'space': false,
'upper': 4,
'number': 4,
}
}
// Defaults are the same as website
{
'phrase': 'HASH',
'services': [
{'name': 'Twitter'},
{'name': 'Google'},
{
'name': 'Nationwide',
'length': 24,
'space': 'forbidden',
'upper': 'required',
'number': 'required',
'required_number': 4
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment