Generating credentials prior to install for automated deployment #10768
Replies: 2 comments 7 replies
-
@dcontiveros-nf , you can do most steps using an api-/secret-key pair using the API, you will have to have that generated initially. so the one first call will have to be with admin/password. Having the install script do that generation is not implemented. The use of a vault is depending on the API client you are using. For instance in hope this helps. |
Beta Was this translation helpful? Give feedback.
-
So essentially there is no way to fully automate this in a safe manner without defaulting to creating my user post install via API. I'm wondering if I should place a feature request because not being able to automate deploys will be an issue once we start scaling. |
Beta Was this translation helpful? Give feedback.
-
Hello.
I am attempting to fully automate an install of cloudstack. I have the management node fully deployed via Salt, so software dependencies are not an issue.
My main issue stems from having to rely on the GUI to "continue the install". Ideally I would like to run commands against the API to create the Zones and remaining hierarchy.
I saw another post where someone suggested using
admin/password
, but I feel that's highly insecure. Ideally, I’d like to specify a deployment token via a secrets mechanism—like a vault or key-value store—and use that for deployments and continued setup.Is this possible? Having to use a GUI is highly irregular imo. I also open to running SQL edits as part of the setup, since our database for this is hosted on another server.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions