what do folks use for setting up a deploy user to provision via terraform?
i’d like to setup atlantis to drive provisioning of vms, so the atlantis user will need a token to apply terraform. in practice so far, i’ve just used my own user (ldap), which is a pain, because it seems like i can’t generate a non-expiring token for my user. using the TOKEN_PASSWORD in my account to authenticate also seems to fail.
what’s the best way to setup a deploy user with token authentication here? i don’t want to have to re-generate a token every time someone needs to provision. we’re using open nebula 5.8.5 at the moment, in case it matters.
Did you try using oneuser login command? you can use --time argument to define the duration of your token:
--time x Token duration in seconds, defaults to 36000 (10
h). To reset the token set time to 0.To generate
a non-expiring token use -1 (not valid for ssh
and x509 tokens).