output "vault_id" { description = "The vault." value = oci_kms_vault.secrets.id } output "key_id" { description = "Encrypt secrets with this key." value = oci_kms_key.secrets.id } output "verify" { description = "Checks." value = <<-EOT Confirm the subscription email first. As an officer: oci vault secret create-base64 --compartment-id ${var.compartment_ocid} --vault-id ${oci_kms_vault.secrets.id} --key-id ${oci_kms_key.secrets.id} --secret-name test --secret-content-content $(printf hello | base64) ${var.name}-changed emails within a few minutes. As a reader limited to other secret names: oci secrets secret-bundle get-secret-bundle-by-name --vault-id ${oci_kms_vault.secrets.id} --secret-name test Refused with 404, and ${var.name}-refused-by-name-404 emails. As an officer: oci kms management vault schedule-deletion --vault-id ${oci_kms_vault.secrets.id} # refused: officers cannot delete the vault EOT }