Skip to content

User Mapping

A user mapping typically encapsulates connection information that a foreign-data wrapper uses together with the information encapsulated by a foreign server to access an external data resource.

Properties

Property Type Required Description
name string yes The name of a local role that is mapped to foreign server.
servers array of object yes Array of server and options for the user. Minimum items: 1.

servers[]

Property Type Required Description
name string yes The name of an existing server for which the user mapping is to be created.
options object This clause specifies the options of the user mapping. The options typically define the actual user name and password of the mapping. Option names must be unique. The allowed option names and values are specific to the server's foreign-data wrapper.

No other properties are accepted.


Source: schemata/user_mapping.yml · Resolved JSON Schema: user_mapping.json