builder
builder copied to clipboard
Personal access token generation
Previously, when builder supported GH access tokens as a means of authentication, the HTTP API was relatively easy to use from the command line via curl. As an engineer that works on Builder's HTTP API, this is something I do frequently.
Currently, now that we have switched to personal access tokens and GH access tokens no longer work, I have to log into the web UI and go to my profile in order to generate a personal access token. This is not a huge deal, but when standing up new depots on e.g. EC2, there's a non-trivial amount of setup that needs to happen in order to get the web UI working.
It would be incredibly awesome if there was a way to generate personal access tokens from the command line, either via hab
itself or through an HTTP API endpoint.
We have a card to enable the op
tool to generate admin tokens, which can then be used for this use case - see https://app.zenhub.com/workspace/o/habitat-sh/builder/issues/315
Re-opening as the op tool is deprecated, and this functionality will be useful in automating on-prem setups
The need to login to the Builder UI is problematic in many environments where you may want to set up an on-premises Builder. What are the implication of bringing back the ability to get an auth token via the command line? I agree with the original @raskchanky that this would make sense in the hab
cli.
Working on automating on-prem builder via A2 now and also hit this. Would love to have the ability to do this via CLI/automation!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.
This is definitely something that would still be useful.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.