confluent_service_account Resource

General Availability

confluent_service_account provides a Service Account resource that enables creating, editing, and deleting service accounts on Confluent Cloud.

Example Usage

resource "confluent_service_account" "example-sa" {
  display_name = "orders-app-sa"
  description  = "Service Account for orders app"
}

Argument Reference

The following arguments are supported:

Attributes Reference

In addition to the preceding arguments, the following attributes are exported:

Import

You can import a Service Account by using Service Account ID, for example:

$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"
$ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"
$ terraform import confluent_service_account.my_sa sa-abc123

Getting Started

The following end-to-end examples might help to get started with confluent_service_account resource: