rickardgranberg / terraform-provider-vaultoperator

Terraform Provider for Vault Operator operations
Mozilla Public License 2.0
19 stars 11 forks source link

Make secret_shares & secret_threshold optional #5

Closed Mongey closed 1 year ago

Mongey commented 1 year ago

When vault is configured to use a cloud key, such as aws kms, these values are not required.

The configuration should be

resource "vaultoperator_init" "main" {
  recovery_threshold = 3
  recovery_shares    = 3
}

Currently, the following error is produced

parameters secret_shares,secret_threshold not applicable to seal type awskms