OrderV1

Manages a V1 Barbican order resource within OpenStack.

Example Usage

Symmetric key order

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
    public MyStack()
    {
        var order1 = new OpenStack.KeyManager.OrderV1("order1", new OpenStack.KeyManager.OrderV1Args
        {
            Meta = new OpenStack.KeyManager.Inputs.OrderV1MetaArgs
            {
                Algorithm = "aes",
                BitLength = 256,
                Mode = "cbc",
                Name = "mysecret",
            },
            Type = "key",
        });
    }

}

Coming soon!

import pulumi
import pulumi_openstack as openstack

order1 = openstack.keymanager.OrderV1("order1",
    meta={
        "algorithm": "aes",
        "bit_length": 256,
        "mode": "cbc",
        "name": "mysecret",
    },
    type="key")
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";

const order1 = new openstack.keymanager.OrderV1("order_1", {
    meta: {
        algorithm: "aes",
        bitLength: 256,
        mode: "cbc",
        name: "mysecret",
    },
    type: "key",
});

Asymmetric key pair order

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
    public MyStack()
    {
        var order1 = new OpenStack.KeyManager.OrderV1("order1", new OpenStack.KeyManager.OrderV1Args
        {
            Meta = new OpenStack.KeyManager.Inputs.OrderV1MetaArgs
            {
                Algorithm = "rsa",
                BitLength = 4096,
                Name = "mysecret",
            },
            Type = "asymmetric",
        });
    }

}

Coming soon!

import pulumi
import pulumi_openstack as openstack

order1 = openstack.keymanager.OrderV1("order1",
    meta={
        "algorithm": "rsa",
        "bit_length": 4096,
        "name": "mysecret",
    },
    type="asymmetric")
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";

const order1 = new openstack.keymanager.OrderV1("order_1", {
    meta: {
        algorithm: "rsa",
        bitLength: 4096,
        name: "mysecret",
    },
    type: "asymmetric",
});

Create a OrderV1 Resource

new OrderV1(name: string, args: OrderV1Args, opts?: CustomResourceOptions);
def OrderV1(resource_name, opts=None, meta=None, region=None, type=None, __props__=None);
func NewOrderV1(ctx *Context, name string, args OrderV1Args, opts ...ResourceOption) (*OrderV1, error)
public OrderV1(string name, OrderV1Args args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args OrderV1Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args OrderV1Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args OrderV1Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

OrderV1 Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The OrderV1 resource accepts the following input properties:

Meta Pulumi.OpenStack.KeyManager.Inputs.OrderV1MetaArgs

Dictionary containing the order metadata used to generate the order. The structure is described below.

Type string

The type of key to be generated. Must be one of asymmetric, key.

Region string

The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to create a order. If omitted, the region argument of the provider is used. Changing this creates a new V1 order.

Meta OrderV1Meta

Dictionary containing the order metadata used to generate the order. The structure is described below.

Type string

The type of key to be generated. Must be one of asymmetric, key.

Region string

The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to create a order. If omitted, the region argument of the provider is used. Changing this creates a new V1 order.

meta OrderV1Meta

Dictionary containing the order metadata used to generate the order. The structure is described below.

type string

The type of key to be generated. Must be one of asymmetric, key.

region string

The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to create a order. If omitted, the region argument of the provider is used. Changing this creates a new V1 order.

meta Dict[OrderV1Meta]

Dictionary containing the order metadata used to generate the order. The structure is described below.

type str

The type of key to be generated. Must be one of asymmetric, key.

region str

The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to create a order. If omitted, the region argument of the provider is used. Changing this creates a new V1 order.

Outputs

All input properties are implicitly available as output properties. Additionally, the OrderV1 resource produces the following output properties:

ContainerRef string

The container reference / where to find the container.

Created string

The date the order was created.

CreatorId string

The creator of the order.

Id string
The provider-assigned unique ID for this managed resource.
OrderRef string

The order reference / where to find the order.

SecretRef string

The secret reference / where to find the secret.

Status string

The status of the order.

SubStatus string

The sub status of the order.

SubStatusMessage string

The sub status message of the order.

Updated string

The date the order was last updated.

ContainerRef string

The container reference / where to find the container.

Created string

The date the order was created.

CreatorId string

The creator of the order.

Id string
The provider-assigned unique ID for this managed resource.
OrderRef string

The order reference / where to find the order.

SecretRef string

The secret reference / where to find the secret.

Status string

The status of the order.

SubStatus string

The sub status of the order.

SubStatusMessage string

The sub status message of the order.

Updated string

The date the order was last updated.

containerRef string

The container reference / where to find the container.

created string

The date the order was created.

creatorId string

The creator of the order.

id string
The provider-assigned unique ID for this managed resource.
orderRef string

The order reference / where to find the order.

secretRef string

The secret reference / where to find the secret.

status string

The status of the order.

subStatus string

The sub status of the order.

subStatusMessage string

The sub status message of the order.

updated string

The date the order was last updated.

container_ref str

The container reference / where to find the container.

created str

The date the order was created.

creator_id str

The creator of the order.

id str
The provider-assigned unique ID for this managed resource.
order_ref str

The order reference / where to find the order.

secret_ref str

The secret reference / where to find the secret.

status str

The status of the order.

sub_status str

The sub status of the order.

sub_status_message str

The sub status message of the order.

updated str

The date the order was last updated.

Look up an Existing OrderV1 Resource

Get an existing OrderV1 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: OrderV1State, opts?: CustomResourceOptions): OrderV1
static get(resource_name, id, opts=None, container_ref=None, created=None, creator_id=None, meta=None, order_ref=None, region=None, secret_ref=None, status=None, sub_status=None, sub_status_message=None, type=None, updated=None, __props__=None);
func GetOrderV1(ctx *Context, name string, id IDInput, state *OrderV1State, opts ...ResourceOption) (*OrderV1, error)
public static OrderV1 Get(string name, Input<string> id, OrderV1State? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

ContainerRef string

The container reference / where to find the container.

Created string

The date the order was created.

CreatorId string

The creator of the order.

Meta Pulumi.OpenStack.KeyManager.Inputs.OrderV1MetaArgs

Dictionary containing the order metadata used to generate the order. The structure is described below.

OrderRef string

The order reference / where to find the order.

Region string

The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to create a order. If omitted, the region argument of the provider is used. Changing this creates a new V1 order.

SecretRef string

The secret reference / where to find the secret.

Status string

The status of the order.

SubStatus string

The sub status of the order.

SubStatusMessage string

The sub status message of the order.

Type string

The type of key to be generated. Must be one of asymmetric, key.

Updated string

The date the order was last updated.

ContainerRef string

The container reference / where to find the container.

Created string

The date the order was created.

CreatorId string

The creator of the order.

Meta OrderV1Meta

Dictionary containing the order metadata used to generate the order. The structure is described below.

OrderRef string

The order reference / where to find the order.

Region string

The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to create a order. If omitted, the region argument of the provider is used. Changing this creates a new V1 order.

SecretRef string

The secret reference / where to find the secret.

Status string

The status of the order.

SubStatus string

The sub status of the order.

SubStatusMessage string

The sub status message of the order.

Type string

The type of key to be generated. Must be one of asymmetric, key.

Updated string

The date the order was last updated.

containerRef string

The container reference / where to find the container.

created string

The date the order was created.

creatorId string

The creator of the order.

meta OrderV1Meta

Dictionary containing the order metadata used to generate the order. The structure is described below.

orderRef string

The order reference / where to find the order.

region string

The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to create a order. If omitted, the region argument of the provider is used. Changing this creates a new V1 order.

secretRef string

The secret reference / where to find the secret.

status string

The status of the order.

subStatus string

The sub status of the order.

subStatusMessage string

The sub status message of the order.

type string

The type of key to be generated. Must be one of asymmetric, key.

updated string

The date the order was last updated.

container_ref str

The container reference / where to find the container.

created str

The date the order was created.

creator_id str

The creator of the order.

meta Dict[OrderV1Meta]

Dictionary containing the order metadata used to generate the order. The structure is described below.

order_ref str

The order reference / where to find the order.

region str

The region in which to obtain the V1 KeyManager client. A KeyManager client is needed to create a order. If omitted, the region argument of the provider is used. Changing this creates a new V1 order.

secret_ref str

The secret reference / where to find the secret.

status str

The status of the order.

sub_status str

The sub status of the order.

sub_status_message str

The sub status message of the order.

type str

The type of key to be generated. Must be one of asymmetric, key.

updated str

The date the order was last updated.

Supporting Types

OrderV1Meta

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Algorithm string

Algorithm to use for key generation.

BitLength int
  • Bit lenght of key to be generated.
Expiration string

This is a UTC timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ. If set, the secret will not be available after this time.

Mode string

The mode to use for key generation.

Name string

The name of the secret set by the user.

PayloadContentType string

The media type for the content of the secrets payload. Must be one of text/plain, text/plain;charset=utf-8, text/plain; charset=utf-8, application/octet-stream, application/pkcs8.

Algorithm string

Algorithm to use for key generation.

BitLength int
  • Bit lenght of key to be generated.
Expiration string

This is a UTC timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ. If set, the secret will not be available after this time.

Mode string

The mode to use for key generation.

Name string

The name of the secret set by the user.

PayloadContentType string

The media type for the content of the secrets payload. Must be one of text/plain, text/plain;charset=utf-8, text/plain; charset=utf-8, application/octet-stream, application/pkcs8.

algorithm string

Algorithm to use for key generation.

bitLength number
  • Bit lenght of key to be generated.
expiration string

This is a UTC timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ. If set, the secret will not be available after this time.

mode string

The mode to use for key generation.

name string

The name of the secret set by the user.

payloadContentType string

The media type for the content of the secrets payload. Must be one of text/plain, text/plain;charset=utf-8, text/plain; charset=utf-8, application/octet-stream, application/pkcs8.

algorithm str

Algorithm to use for key generation.

bit_length float
  • Bit lenght of key to be generated.
expiration str

This is a UTC timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ. If set, the secret will not be available after this time.

mode str

The mode to use for key generation.

name str

The name of the secret set by the user.

payload_content_type str

The media type for the content of the secrets payload. Must be one of text/plain, text/plain;charset=utf-8, text/plain; charset=utf-8, application/octet-stream, application/pkcs8.

Package Details

Repository
https://github.com/pulumi/pulumi-openstack
License
Apache-2.0
Notes
This Pulumi package is based on the openstack Terraform Provider.