ObjectStorageKey

Provides a Linode Object Storage Key resource. This can be used to create, modify, and delete Linodes Object Storage Keys.

Attributes

This resource exports the following attributes:

  • access_key - This keypair’s access key. This is not secret.

  • secret_key - This keypair’s secret key.

Example Usage

using Pulumi;
using Linode = Pulumi.Linode;

class MyStack : Stack
{
    public MyStack()
    {
        var foo = new Linode.ObjectStorageKey("foo", new Linode.ObjectStorageKeyArgs
        {
            Label = "image-access",
        });
    }

}

Coming soon!

import pulumi
import pulumi_linode as linode

foo = linode.ObjectStorageKey("foo", label="image-access")
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";

const foo = new linode.ObjectStorageKey("foo", {
    label: "image-access",
});

Create a ObjectStorageKey Resource

def ObjectStorageKey(resource_name, opts=None, label=None, __props__=None);
name string
The unique name of the resource.
args ObjectStorageKeyArgs
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 ObjectStorageKeyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ObjectStorageKeyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ObjectStorageKey Resource Properties

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

Inputs

The ObjectStorageKey resource accepts the following input properties:

Label string

The label given to this key. For display purposes only.

Label string

The label given to this key. For display purposes only.

label string

The label given to this key. For display purposes only.

label str

The label given to this key. For display purposes only.

Outputs

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

AccessKey string

This keypair’s access key. This is not secret.

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

This keypair’s secret key.

AccessKey string

This keypair’s access key. This is not secret.

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

This keypair’s secret key.

accessKey string

This keypair’s access key. This is not secret.

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

This keypair’s secret key.

access_key str

This keypair’s access key. This is not secret.

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

This keypair’s secret key.

Look up an Existing ObjectStorageKey Resource

Get an existing ObjectStorageKey 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?: ObjectStorageKeyState, opts?: CustomResourceOptions): ObjectStorageKey
static get(resource_name, id, opts=None, access_key=None, label=None, secret_key=None, __props__=None);
func GetObjectStorageKey(ctx *Context, name string, id IDInput, state *ObjectStorageKeyState, opts ...ResourceOption) (*ObjectStorageKey, error)
public static ObjectStorageKey Get(string name, Input<string> id, ObjectStorageKeyState? 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:

AccessKey string

This keypair’s access key. This is not secret.

Label string

The label given to this key. For display purposes only.

SecretKey string

This keypair’s secret key.

AccessKey string

This keypair’s access key. This is not secret.

Label string

The label given to this key. For display purposes only.

SecretKey string

This keypair’s secret key.

accessKey string

This keypair’s access key. This is not secret.

label string

The label given to this key. For display purposes only.

secretKey string

This keypair’s secret key.

access_key str

This keypair’s access key. This is not secret.

label str

The label given to this key. For display purposes only.

secret_key str

This keypair’s secret key.

Package Details

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