Entry Attributes

The main goal of the plugin is to make KeePass entry attributes available for Maven.

There are 2 kinds of attributes:

  • Implicit attributes (or attributes that are read and set by default w/o any extra configuration)
  • Explicit attributes (or attributes defined in plugin configuration)

Implicit attributes

  • User name. Mapped to: <prefix>username.
  • Password. Mapped to: <prefix>password.
  • URL. Mapped to: <prefix>url.

Example

    <record>
        <prefix>nexus.</prefix>
        <entry>Nexus OSS</entry>
    </record>

Will produce 3 properties:

  • nexus.username
  • nexus.password
  • nexus.url

Explicit attributes

The explicit attributes are defined with an optional attributes list.

Fields

Name

name: name, type: String, required - attribute name.

Map to another name

name: mapTo, type: String, optional - remap attribute name to another one.

Example

    <record>
        <prefix>nexus.</prefix>
        <entry>Nexus OSS</entry>
            <attributes>
                <attribute>
                    <name>upload_tag</name>
                </attribute>
                <attribute>
                    <name>Manager URL</name>
                    <mapTo>manager.url</mapTo>
                </attribute>
            </attributes>
    </record>

Will produce 5 properties:

  • nexus.username
  • nexus.password
  • nexus.url
  • nexus.upload_tag
  • nexus.manager.url

results matching ""

    No results matching ""