| page_title | stackit_secretsmanager_instance Resource - stackit |
|---|---|
| subcategory | |
| description | Secrets Manager instance resource schema. Must have a region specified in the provider configuration. |
Secrets Manager instance resource schema. Must have a region specified in the provider configuration.
resource "stackit_secretsmanager_instance" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-instance"
acls = ["XXX.XXX.XXX.X/XX", "XX.XXX.XX.X/XX"]
}
# Only use the import statement, if you want to import an existing secretsmanager instance
import {
to = stackit_secretsmanager_instance.import-example
id = "${var.project_id},${var.secret_instance_id}"
}name(String) Instance name.project_id(String) STACKIT project ID to which the instance is associated.
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 notationkms_key(Attributes) The STACKIT-KMS key for secret encryption and decryption. (see below for nested schema)
id(String) Terraform's internal resource ID. It is structured as "project_id,instance_id".instance_id(String) ID of the Secrets Manager instance.
Required:
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.