-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request for Resource & Data Source for management of API Tokens #302
Comments
Hey @davidfisher01 thanks for the suggestion. I do have a few questions for you. 1.) Would you expect to beable to provision the API token without first having an API token set in your terraform provider? I look forward to your answers. |
Our specific use case stems from managing a significant amount of these integrations with an API token per github organization roughly, so there are a ton of these tokens that we would rather automate and incorporate into our infrastructure. I would expect the user to be able to provision a new token without one existing already in its place via a new resource. The created by user can be attributed to either the admin team or just referencing "Terraform" and there can be certain values set on the resource that can define that as well. I would expect the datasource to return the token based off of a tag that the datasource is keying off from. All of the tokens we have are additionally placed in Vault for storage and access control purposes. |
@davidfisher01 If you are ok with having to provision at least 1 API token manually and hand that to the terraform provider so that it can make additional API tokens then that is something we can get behind (though it gets complicated with RBAC scopes). Unfortunately i have no idea when our API team would beable to get to that though. |
Sorry, that is exactly what I meant. "f you are ok with having to provision at least 1 API token manually and hand that to the terraform provider so that it can make additional API tokens". |
Ok @davidfisher01 - Thanks for all the info i've taken this back to our API product manager as a feature request. |
Hey guys,
It would be useful to be able to provision new API tokens through a terraform resource and retrieve them in code. Right now you can only create them manually through the integrations UI.
It would be nice if the tokens had a tag or name that can be referenced instead of just having a description.
Thanks!
The text was updated successfully, but these errors were encountered: