Show / Hide Table of Contents

Class ObjectStorageKey

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

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",
    });
}

}

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.

Inheritance
System.Object
Resource
CustomResource
ObjectStorageKey
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Linode
Assembly: Pulumi.Linode.dll
Syntax
public class ObjectStorageKey : CustomResource

Constructors

View Source

ObjectStorageKey(String, ObjectStorageKeyArgs, CustomResourceOptions)

Create a ObjectStorageKey resource with the given unique name, arguments, and options.

Declaration
public ObjectStorageKey(string name, ObjectStorageKeyArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ObjectStorageKeyArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AccessKey

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

Declaration
public Output<string> AccessKey { get; }
Property Value
Type Description
Output<System.String>
View Source

Label

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

Declaration
public Output<string> Label { get; }
Property Value
Type Description
Output<System.String>
View Source

SecretKey

This keypair's secret key.

Declaration
public Output<string> SecretKey { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, ObjectStorageKeyState, CustomResourceOptions)

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

Declaration
public static ObjectStorageKey Get(string name, Input<string> id, ObjectStorageKeyState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ObjectStorageKeyState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
ObjectStorageKey
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.