API calls to create assets

Hello all.

I have been trying to automate asset creation on my SPP solution, and my goal is to have the appliance automatically generate and deploy the SSH key for the service account.

I am able to generate correctly the asset (and the related accounts) on the appliance but I can't figure out how to have the SSH key install correctly once the asset has been created on the appliance.

Even using the InstallSshKey API call I get nothing out of it...

Creating the asset manually works of course, and also installing the SSH key manually in the asset after its creation.

To create the asset I am using a service account, which is partition owner of the partition into which I am creating the asset.

I have tried comparing the JSON files of a manually created asset and the ones I use as data for the API call but they are basically configured identically.

Has anyone tried something similar or can help out?

I am using the latest stable version, 7.5.1.

Thanks in advance!

Parents Reply Children
No Data