public Map<String, String> getAttributesMap() {
    Map<String, String> attributes = new HashMap<>();
    for (Element propertyAttribute : propertyAttributes) {
      attributes.put(propertyAttribute.getTagName(), propertyAttribute.getFirstChild().getNodeValue());
    }

    // inject "hidden" property_value_attribute into property_attributes, see AMBARI-17223
    String hidden = getPropertyValueAttributes().getHidden();
    if (hidden != null) {
      attributes.putIfAbsent("hidden", hidden);
    }

    return attributes;
  }
The list of properties that use this property.
Password properties may be used by other properties in
the same config type or different config type, typically
when asking for user name and password pairs.
ambari-server/src/main/java/org/apache/ambari/server/state/PropertyInfo.java