Key

f5bigip.ssl.Key This resource will import SSL certificate key on BIG-IP LTM. Certificate key can be imported from certificate key files on the local disk, in PEM format

Example Usage

using System.IO;
using Pulumi;
using F5BigIP = Pulumi.F5BigIP;

class MyStack : Stack
{
    public MyStack()
    {
        var test_key = new F5BigIP.Ssl.Key("test-key", new F5BigIP.Ssl.KeyArgs
        {
            Name = "serverkey.key",
            Content = File.ReadAllText("serverkey.key"),
            Partition = "Common",
        });
    }

}

Coming soon!

import pulumi
import pulumi_f5bigip as f5bigip

test_key = f5bigip.ssl.Key("test-key",
    name="serverkey.key",
    content=(lambda path: open(path).read())("serverkey.key"),
    partition="Common")
import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";
import * from "fs";

const test_key = new f5bigip.ssl.Key("test-key", {
    name: "serverkey.key",
    content: fs.readFileSync("serverkey.key"),
    partition: "Common",
});

Create a Key Resource

new Key(name: string, args: KeyArgs, opts?: CustomResourceOptions);
def Key(resource_name, opts=None, content=None, name=None, partition=None, __props__=None);
func NewKey(ctx *Context, name string, args KeyArgs, opts ...ResourceOption) (*Key, error)
public Key(string name, KeyArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args KeyArgs
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 KeyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args KeyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Key Resource Properties

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

Inputs

The Key resource accepts the following input properties:

Content string

Content of SSL certificate key present on local Disk

Name string

Name of the SSL Certificate key to be Imported on to BIGIP

Partition string

Partition on to SSL Certificate key to be imported

Content string

Content of SSL certificate key present on local Disk

Name string

Name of the SSL Certificate key to be Imported on to BIGIP

Partition string

Partition on to SSL Certificate key to be imported

content string

Content of SSL certificate key present on local Disk

name string

Name of the SSL Certificate key to be Imported on to BIGIP

partition string

Partition on to SSL Certificate key to be imported

content str

Content of SSL certificate key present on local Disk

name str

Name of the SSL Certificate key to be Imported on to BIGIP

partition str

Partition on to SSL Certificate key to be imported

Outputs

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

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

Look up an Existing Key Resource

Get an existing Key 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?: KeyState, opts?: CustomResourceOptions): Key
static get(resource_name, id, opts=None, content=None, name=None, partition=None, __props__=None);
func GetKey(ctx *Context, name string, id IDInput, state *KeyState, opts ...ResourceOption) (*Key, error)
public static Key Get(string name, Input<string> id, KeyState? 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:

Content string

Content of SSL certificate key present on local Disk

Name string

Name of the SSL Certificate key to be Imported on to BIGIP

Partition string

Partition on to SSL Certificate key to be imported

Content string

Content of SSL certificate key present on local Disk

Name string

Name of the SSL Certificate key to be Imported on to BIGIP

Partition string

Partition on to SSL Certificate key to be imported

content string

Content of SSL certificate key present on local Disk

name string

Name of the SSL Certificate key to be Imported on to BIGIP

partition string

Partition on to SSL Certificate key to be imported

content str

Content of SSL certificate key present on local Disk

name str

Name of the SSL Certificate key to be Imported on to BIGIP

partition str

Partition on to SSL Certificate key to be imported

Package Details

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