Skip to content

Instantly share code, notes, and snippets.

@nukosuke
Created February 2, 2018 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nukosuke/cf880276a7d9d6f89f2e586b302bdbce to your computer and use it in GitHub Desktop.
Save nukosuke/cf880276a7d9d6f89f2e586b302bdbce to your computer and use it in GitHub Desktop.
zenform credentials TOML format
# ~/.zenform
[[credentials]]
[credentials.production]
auth_type = "basic"
subdomain = "zenform"
email = "zenform@example.com"
password = "password"
[credentials.sandbox]
auth_type = "basic"
subdomain = "zenform012345"
email = "zenform+sandbox@example.com"
password = "password"
[[credentials]]
[credentials.production]
auth_type = "token"
subdomain = "nukosuke"
email = "nukosuke@example.com"
api_token = "0123456abcdefg"
[credentials.sandbox]
auth_type = "token"
subdomain = "nukosuke012345"
email = "nukosuke+sandbox@example.com"
api_token = "0123456abcdefg"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment