Show / Hide Table of Contents

Class SecretBackendCa

Provides a resource to manage CA information in an SSH secret backend SSH secret backend within Vault.

Example Usage

using Pulumi;
using Vault = Pulumi.Vault;

class MyStack : Stack
{
public MyStack()
{
    var example = new Vault.Mount("example", new Vault.MountArgs
    {
        Type = "ssh",
    });
    var foo = new Vault.Ssh.SecretBackendCa("foo", new Vault.Ssh.SecretBackendCaArgs
    {
        Backend = example.Path,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
SecretBackendCa
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.Vault.Ssh
Assembly: Pulumi.Vault.dll
Syntax
public class SecretBackendCa : CustomResource

Constructors

View Source

SecretBackendCa(String, SecretBackendCaArgs, CustomResourceOptions)

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

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

The unique name of the resource

SecretBackendCaArgs 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

Backend

The path where the SSH secret backend is mounted. Defaults to 'ssh'

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

GenerateSigningKey

Whether Vault should generate the signing key pair internally. Defaults to true

Declaration
public Output<bool?> GenerateSigningKey { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

PrivateKey

The private key part the SSH CA key pair; required if generate_signing_key is false.

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

PublicKey

The public key part the SSH CA key pair; required if generate_signing_key is false.

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

Methods

View Source

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

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

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

SecretBackendCaState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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