Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.68 KB

File metadata and controls

45 lines (33 loc) · 1.68 KB
page_title stackit_secretsmanager_instance Data Source - stackit
subcategory
description Secrets Manager instance data source schema. Must have a region specified in the provider configuration.

stackit_secretsmanager_instance (Data Source)

Secrets Manager instance data source schema. Must have a region specified in the provider configuration.

Example Usage

data "stackit_secretsmanager_instance" "example" {
  project_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Schema

Required

  • instance_id (String) ID of the Secrets Manager instance.
  • project_id (String) STACKIT project ID to which the instance is associated.

Read-Only

  • acls (Set of String) The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
  • id (String) Terraform's internal resource ID. It is structured as "project_id,instance_id".
  • kms_key (Attributes) The STACKIT-KMS key for secret encryption and decryption. (see below for nested schema)
  • name (String) Instance name.

Nested Schema for kms_key

Read-Only:

  • key_id (String) UUID of the key within the STACKIT-KMS to use for the encryption.
  • key_ring_id (String) UUID of the keyring where the key is located within the STACKTI-KMS.
  • key_version (Number) Version of the key within the STACKIT-KMS to use for the encryption.
  • service_account_email (String) Service-Account linked to the Key within the STACKIT-KMS.