admiral icon indicating copy to clipboard operation
admiral copied to clipboard

Get x-xenon-auth-token for automating addition of container hosts to Admiral

Open mdubya66 opened this issue 7 years ago • 2 comments

@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.

image

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

mdubya66 avatar Nov 22 '17 14:11 mdubya66

@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?

lgayatri avatar Nov 23 '17 08:11 lgayatri

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.

sergiosagu avatar Nov 23 '17 13:11 sergiosagu