---
agentTools:
  projectIndex: https://rooftopcms.readme.io/llms.txt
---

# Password

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/2eb4f5e-Screen_Shot_2016-08-19_at_13.46.56.png",
        "Screen Shot 2016-08-19 at 13.46.56.png",
        1018,
        744,
        "#f7f7f7"
      ],
      "caption": "Adding a password field"
    }
  ]
}
[/block]

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/50f44b5-Screen_Shot_2016-08-19_at_14.42.29.png",
        "Screen Shot 2016-08-19 at 14.42.29.png",
        976,
        68,
        "#e9e9e9"
      ],
      "caption": "Editing a password field"
    }
  ]
}
[/block]

[block:code]
{
  "codes": [
    {
      "code": "{\n  \"name\": \"password_field\",\n  \"label\": \"Password Field\",\n  \"class\": \"password\",\n  \"value\": \"a very secret secret\"\n}",
      "language": "json"
    }
  ]
}
[/block]

[block:callout]
{
  "type": "danger",
  "title": "Security",
  "body": "Passwords are sent back in plain text as part of the JSON response. Use these as a means of providing a simple security measure to access single pieces of content in your applications and sites."
}
[/block]