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.
Open Stack. Key Manager. Inputs. Order V1Meta Args 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
regionargument of the provider is used. Changing this creates a new V1 order.
- Meta
Order
V1Meta 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
regionargument of the provider is used. Changing this creates a new V1 order.
- meta
Order
V1Meta 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
regionargument of the provider is used. Changing this creates a new V1 order.
- meta
Dict[Order
V1Meta] 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
regionargument 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:
- Container
Ref string The container reference / where to find the container.
- Created string
The date the order was created.
- Creator
Id string The creator of the order.
- Id string
- The provider-assigned unique ID for this managed resource.
- Order
Ref string The order reference / where to find the order.
- Secret
Ref string The secret reference / where to find the secret.
- Status string
The status of the order.
- Sub
Status string The sub status of the order.
- Sub
Status stringMessage The sub status message of the order.
- Updated string
The date the order was last updated.
- Container
Ref string The container reference / where to find the container.
- Created string
The date the order was created.
- Creator
Id string The creator of the order.
- Id string
- The provider-assigned unique ID for this managed resource.
- Order
Ref string The order reference / where to find the order.
- Secret
Ref string The secret reference / where to find the secret.
- Status string
The status of the order.
- Sub
Status string The sub status of the order.
- Sub
Status stringMessage The sub status message of the order.
- Updated string
The date the order was last updated.
- container
Ref string The container reference / where to find the container.
- created string
The date the order was created.
- creator
Id string The creator of the order.
- id string
- The provider-assigned unique ID for this managed resource.
- order
Ref string The order reference / where to find the order.
- secret
Ref string The secret reference / where to find the secret.
- status string
The status of the order.
- sub
Status string The sub status of the order.
- sub
Status stringMessage 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_ strmessage 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): OrderV1static 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:
- Container
Ref string The container reference / where to find the container.
- Created string
The date the order was created.
- Creator
Id string The creator of the order.
- Meta
Pulumi.
Open Stack. Key Manager. Inputs. Order V1Meta Args Dictionary containing the order metadata used to generate the order. The structure is described below.
- Order
Ref 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
regionargument of the provider is used. Changing this creates a new V1 order.- Secret
Ref string The secret reference / where to find the secret.
- Status string
The status of the order.
- Sub
Status string The sub status of the order.
- Sub
Status stringMessage 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 string The container reference / where to find the container.
- Created string
The date the order was created.
- Creator
Id string The creator of the order.
- Meta
Order
V1Meta Dictionary containing the order metadata used to generate the order. The structure is described below.
- Order
Ref 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
regionargument of the provider is used. Changing this creates a new V1 order.- Secret
Ref string The secret reference / where to find the secret.
- Status string
The status of the order.
- Sub
Status string The sub status of the order.
- Sub
Status stringMessage 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 string The container reference / where to find the container.
- created string
The date the order was created.
- creator
Id string The creator of the order.
- meta
Order
V1Meta Dictionary containing the order metadata used to generate the order. The structure is described below.
- order
Ref 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
regionargument of the provider is used. Changing this creates a new V1 order.- secret
Ref string The secret reference / where to find the secret.
- status string
The status of the order.
- sub
Status string The sub status of the order.
- sub
Status stringMessage 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[Order
V1Meta] 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
regionargument 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_ strmessage 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
- Algorithm string
Algorithm to use for key generation.
- Bit
Length 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.
- Payload
Content stringType 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.
- Bit
Length 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.
- Payload
Content stringType 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.
- bit
Length 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.
- payload
Content stringType 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_ strtype 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
openstackTerraform Provider.