terraform-provider-datadog icon indicating copy to clipboard operation
terraform-provider-datadog copied to clipboard

Support for `datadog_service_account` and `datadog_service_account_application_key` resource (and data source)

Open KeisukeYamashita opened this issue 3 years ago • 6 comments

I recently knew that Datadog has it's own service account and can create a API key. Before this, the API keys were attached to a person who created the key so in my org, some retired member still owned a key.

This feature makes easy to managed the keys in orgs.

Affected Resource(s)

None. This request adds new source and data source.

Referencens

KeisukeYamashita avatar Nov 05 '21 04:11 KeisukeYamashita

I second this, having this functionality would remove the hassle of removing app keys when users leave

pderuiter avatar Nov 11 '21 23:11 pderuiter

I added support for service accounts and their app keys in the attached PR. However, the data source doesn't work well - I think it might need to be redesigned so that it can return a list of users rather than just one and its filtering doesn't seem to work well either (it needs to split out status queries from the username filter part)... I suggest doing this in a separate PR.

jake-scott avatar Jan 18 '22 16:01 jake-scott

+1 to this issue. It would be really helpful- glad there is PR open

dal13002 avatar Jan 28 '22 14:01 dal13002

Please, Let us know the status of the PR.

pavanrayapudi avatar Jun 20 '22 16:06 pavanrayapudi

Please, Let us know the status of the PR.

I've been working on the requested changes over the last few days. Should have a new PR ready this week.

jake-scott avatar Jun 20 '22 17:06 jake-scott

Any update on the PR?

pavanrayapudi avatar Jul 04 '22 14:07 pavanrayapudi

Re-opening this issue. See: https://github.com/DataDog/terraform-provider-datadog/pull/1586#pullrequestreview-1123835077

skarimo avatar Sep 28 '22 14:09 skarimo

Enterprise customer here, this is absolutely necessary for us

SharpEdgeMarshall avatar Oct 21 '22 10:10 SharpEdgeMarshall

A PR to manage an app key for a service account is available at #1712. It works for update, delete, etc but I can't create -- help needed.

jorhett avatar Jan 10 '23 01:01 jorhett

Hello, any update about this PR?

ghost avatar Mar 27 '23 16:03 ghost