admiral
admiral copied to clipboard
Get x-xenon-auth-token for automating addition of container hosts to Admiral
@lgayatri commented on Wed Nov 22 2017
@sergiosagu @andrewc-vmware @mhagen-vmware
Currently for automating VCH addition I am using the x-xenon-auth-token from Admiral's browser login page.
and passing it to script to be able to add container hosts to Admiral.
This token keeps changing. Is there a way to get this token programatically without having to login to browser page?
@sergiosagu commented on Wed Nov 22 2017
Currently there's no option to get it programmatically since it was (is) not part of the requirements. We can add it at some point or better to identify the scenarios that you want to automate and make sure that the Admiral CLI is compatible with them when in VIC mode. In this way you won't need to handle tokens manually but just rely on the Admiral CLI.
cc @martin-borisov @sbadem
@sergiosagu I need to add 50 VCHs to Admiral for each OVA build, hence the ask. I was initially using Admiral CLI , but having issues now. Do you know when Admiral CLI will start working seamlessly with OVA?
Thanks @lgayatri ! I'm afraid that I can't give you any ETA for the work on the Admiral CLI at the moment, but definitely we'll try to cover your scenario with the first update.