DopplerHQ / terraform-provider-doppler

Apache License 2.0
23 stars 9 forks source link

QUESTION: Is there a way to create service account API tokens after creating a service account? #80

Closed cris-santos closed 6 months ago

cris-santos commented 8 months ago

It's possible to create a service account with the doppler_service_account, but is there a way to create an API token for the service account? I couldn't find it in the documentation or the source code.

Having more specific documentation for the workplace_permissions param on the doppler_service_account resource would also be nice. I was able to get the actual values by making a request from the web app and inspecting the payload.

watsonian commented 8 months ago

@cris-santos There isn't currently an API for creating Service Account Tokens programmatically (and thus, not an option to do it via the Terraform provider either). We do have plans to add support for this though!

cris-santos commented 8 months ago

Hmm I see. Thank you!

sebastiandero commented 6 months ago

@cris-santos We at @magicproduct contributed this recently, fyi: https://github.com/DopplerHQ/terraform-provider-doppler/pull/86

@watsonian fyi

watsonian commented 6 months ago

Yep, this functionality will be available in the next release (which should be coming out soon).

watsonian commented 6 months ago

Thanks @sebastiandero for your contribution, by the way! 😀