Class SecretV1
Inherited Members
Namespace: Pulumi.OpenStack.KeyManager
Assembly: Pulumi.OpenStack.dll
Syntax
public class SecretV1 : CustomResource
Constructors
View SourceSecretV1(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 SourceAcl
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> |
Algorithm
Metadata provided by a user or system for informational purposes.
Declaration
public Output<string> Algorithm { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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>> |
BitLength
Metadata provided by a user or system for informational purposes.
Declaration
public Output<int> BitLength { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
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>> |
CreatedAt
The date the secret ACL was created.
Declaration
public Output<string> CreatedAt { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CreatorId
The creator of the secret.
Declaration
public Output<string> CreatorId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
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>> |
Mode
Metadata provided by a user or system for informational purposes.
Declaration
public Output<string> Mode { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
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> |
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> |
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> |
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> |
SecretRef
The secret reference / where to find the secret.
Declaration
public Output<string> SecretRef { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
Status
The status of the secret.
Declaration
public Output<string> Status { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UpdatedAt
The date the secret ACL was last updated.
Declaration
public Output<string> UpdatedAt { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(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 |