Transmit additional attributes when registering via Self Service API

Hello,

I am currently trying out the Director’s self service API and so far it does everything I am expecting it to do. One tiny thing I am missing in the configuration of the Self Service API is the possibility to transmit additional attributes of a host when it registers itself via the API.

The specific attribute would be the randomly generated password for the NSClient-API which I install on my icinga agents before the registration via Self Service API happens, i.e. transmitting a variable $NSPassword as host.vars.nspassword for every host registering itself.

Is this scenario doable?

Best.
Daniel