PasswordField - AWS WAFV2

PasswordField

The name of the field in the request payload that contains your customer's password.

This data type is used in the RequestInspection and RequestInspectionACFP data types.

Contents

Identifier

The name of the password field.

How you specify this depends on the request inspection payload type.

  • For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.

    For example, for the JSON payload { "form": { "password": "THE_PASSWORD" } }, the password field specification is /form/password.

  • For form encoded payload types, use the HTML form names.

    For example, for an HTML form with the input element named password1, the password field specification is password1.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

Pattern: .*\S.*

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: