I tried to add an optional password parameter to the VirtUser config class to be used by the create-machine-user and create-pool-user CRUD commands. I did this by adding the following to VirtUser:
But this did not work. Even if I specified this in the asadmin password file:
the password was not passed to the command.
After some debugging in the asadmin client it appears as though the server never translates the "iaaspassword" parameter name to "AS_ADMIN_IAASPASSWORD", and that's why the client doesn't find the parameter in the asadmin password file. Based on trying other commands it appears as though this translation is supposed to happen in the server before the parameter model is passed to the client, but for some reason in this case it is not getting translated.
Note that other commands (like create-node-ssh) are working correctly – it's just this particular use of a CRUD command that is not working.