Show / Hide Table of Contents

Class SecretV1

Inheritance
System.Object
Resource
CustomResource
SecretV1
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.OpenStack.KeyManager
Assembly: Pulumi.OpenStack.dll
Syntax
public class SecretV1 : CustomResource

Constructors

View Source

SecretV1(String, SecretV1Args, CustomResourceOptions)

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

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

The unique name of the resource

SecretV1Args 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

Acl

Allows to control an access to a secret. Currently only the read operation is supported. If not specified, the secret is accessible project wide.

Declaration
public Output<SecretV1Acl> Acl { get; }
Property Value
Type Description
Output<SecretV1Acl>
View Source

Algorithm

Metadata provided by a user or system for informational purposes.

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

AllMetadata

The map of metadata, assigned on the secret, which has been explicitly and implicitly added.

Declaration
public Output<ImmutableDictionary<string, object>> AllMetadata { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

BitLength

Metadata provided by a user or system for informational purposes.

Declaration
public Output<int> BitLength { get; }
Property Value
Type Description
Output<System.Int32>
View Source

ContentTypes

The map of the content types, assigned on the secret.

Declaration
public Output<ImmutableDictionary<string, object>> ContentTypes { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

CreatedAt

The date the secret ACL was created.

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

CreatorId

The creator of the secret.

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

Expiration

The expiration time of the secret in the RFC3339 timestamp format (e.g. 2019-03-09T12:58:49Z). If omitted, a secret will never expire. Changing this creates a new secret.

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

Metadata

Additional Metadata for the secret.

Declaration
public Output<ImmutableDictionary<string, object>> Metadata { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

Mode

Metadata provided by a user or system for informational purposes.

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

Name

Human-readable name for the Secret. Does not have to be unique.

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

Payload

The secret's data to be stored. payload_content_type must also be supplied if payload is included.

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

PayloadContentEncoding

(required if payload is encoded) The encoding used for the payload to be able to include it in the JSON request. Must be either base64 or binary.

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

PayloadContentType

(required if payload is included) The media type for the content of the payload. Must be one of text/plain, text/plain;charset=utf-8, text/plain; charset=utf-8, application/octet-stream, application/pkcs8.

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

Region

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

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

SecretRef

The secret reference / where to find the secret.

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

SecretType

Used to indicate the type of secret being stored. For more information see Secret types.

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

Status

The status of the secret.

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

UpdatedAt

The date the secret ACL was last updated.

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

Methods

View Source

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

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

Declaration
public static SecretV1 Get(string name, Input<string> id, SecretV1State 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.

SecretV1State state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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