Skip to content
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

[datadog_application_key] Support scoped app key management for service accounts #2770

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

wangwillson1
Copy link
Contributor

@wangwillson1 wangwillson1 commented Jan 15, 2025

Similar to #2760, but for service accounts.

Tested manually with:

resource "datadog_service_account" "foo" {
	email = "new@example.com"
	name  = "terraform test"
}

resource "datadog_service_account_application_key" "foo" {
  service_account_id = datadog_service_account.foo.id
  name               = "terraform test app key"
  scopes             = ["dashboards_write"]
}

Also verified that an invalid scope in the list results in a 400.

@wangwillson1 wangwillson1 changed the title [ACCESS-3131] Support scoped app key management for service accounts [datadog_application_key] Support scoped app key management for service accounts Jan 15, 2025
@wangwillson1 wangwillson1 marked this pull request as ready for review January 15, 2025 19:38
@wangwillson1 wangwillson1 requested review from a team as code owners January 15, 2025 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants