vault_mongodbatlas_secret_backend

Creates a MongoDB Atlas Secret Backend for Vault.

Example Usage

resource "vault_mount" "mongo" {
  path        = "mongodbatlas"
  type        = "mongodbatlas"
  description = "MongoDB Atlas secret engine mount"
}

resource "vault_mongodbatlas_secret_backend" "config" {
  mount        = vault_mount.mongo.path
  private_key  = "privateKey"
  public_key   = "publicKey"
}

Argument Reference

The following arguments are supported:

Attributes Reference

No additional attributes are exported by this resource.

Import

MongoDB Atlas secret backends can be imported using the ${mount}/config, e.g.

$ terraform import vault_mongodbatlas_secret_backend.config mongodbatlas/config