openstack_keymanager_order_v1

Manages a V1 Barbican order resource within OpenStack.

Example Usage

Symmetric key order

resource "openstack_keymanager_order_v1" "order_1" {
  type = "key"
  meta {
    algorithm  = "aes"
    bit_length = 256
    name       = "mysecret"
    mode       = "cbc"
  }
}

Asymmetric key pair order

resource "openstack_keymanager_order_v1" "order_1" {
  type = "asymmetric"
  meta {
    algorithm  = "rsa"
    bit_length = 4096
    name       = "mysecret"
  }
}

Argument Reference

The following arguments are supported:

The meta block supports:

Attributes Reference

The following attributes are exported:

Import

Orders can be imported using the order id (the last part of the order reference), e.g.:

$ terraform import openstack_keymanager_order_v1.order_1 0c6cd26a-c012-4d7b-8034-057c0f1c2953