harness.platform.SecretSshkey

Resource for creating an ssh key type secret.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Harness = Lbrlabs.PulumiPackage.Harness;

return await Deployment.RunAsync(() => 
{
    var keyTabFilePath = new Harness.Platform.SecretSshkey("keyTabFilePath", new()
    {
        Description = "test",
        Identifier = "identifier",
        Kerberos = new Harness.Platform.Inputs.SecretSshkeyKerberosArgs
        {
            Principal = "principal",
            Realm = "realm",
            TgtGenerationMethod = "KeyTabFilePath",
            TgtKeyTabFilePathSpec = new Harness.Platform.Inputs.SecretSshkeyKerberosTgtKeyTabFilePathSpecArgs
            {
                KeyPath = "key_path",
            },
        },
        Port = 22,
        Tags = new[]
        {
            "foo:bar",
        },
    });

    var _tgtPassword = new Harness.Platform.SecretSshkey(" tgtPassword", new()
    {
        Description = "test",
        Identifier = "identifier",
        Kerberos = new Harness.Platform.Inputs.SecretSshkeyKerberosArgs
        {
            Principal = "principal",
            Realm = "realm",
            TgtGenerationMethod = "Password",
            TgtPasswordSpec = new Harness.Platform.Inputs.SecretSshkeyKerberosTgtPasswordSpecArgs
            {
                Password = "password",
            },
        },
        Port = 22,
        Tags = new[]
        {
            "foo:bar",
        },
    });

    var sshkeyReference = new Harness.Platform.SecretSshkey("sshkeyReference", new()
    {
        Description = "test",
        Identifier = "identifier",
        Port = 22,
        Ssh = new Harness.Platform.Inputs.SecretSshkeySshArgs
        {
            CredentialType = "KeyReference",
            SshkeyReferenceCredential = new Harness.Platform.Inputs.SecretSshkeySshSshkeyReferenceCredentialArgs
            {
                EncryptedPassphrase = "encrypted_passphrase",
                Key = "key",
                UserName = "user_name",
            },
        },
        Tags = new[]
        {
            "foo:bar",
        },
    });

    var _sshkeyPath = new Harness.Platform.SecretSshkey(" sshkeyPath", new()
    {
        Description = "test",
        Identifier = "identifier",
        Port = 22,
        Ssh = new Harness.Platform.Inputs.SecretSshkeySshArgs
        {
            CredentialType = "KeyPath",
            SshkeyPathCredential = new Harness.Platform.Inputs.SecretSshkeySshSshkeyPathCredentialArgs
            {
                EncryptedPassphrase = "encrypted_passphrase",
                KeyPath = "key_path",
                UserName = "user_name",
            },
        },
        Tags = new[]
        {
            "foo:bar",
        },
    });

    var sshPassword = new Harness.Platform.SecretSshkey("sshPassword", new()
    {
        Description = "test",
        Identifier = "identifier",
        Port = 22,
        Ssh = new Harness.Platform.Inputs.SecretSshkeySshArgs
        {
            CredentialType = "Password",
            SshPasswordCredential = new Harness.Platform.Inputs.SecretSshkeySshSshPasswordCredentialArgs
            {
                Password = "password",
                UserName = "user_name",
            },
        },
        Tags = new[]
        {
            "foo:bar",
        },
    });

});
package main

import (
	"github.com/lbrlabs/pulumi-harness/sdk/go/harness/platform"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := platform.NewSecretSshkey(ctx, "keyTabFilePath", &platform.SecretSshkeyArgs{
			Description: pulumi.String("test"),
			Identifier:  pulumi.String("identifier"),
			Kerberos: &platform.SecretSshkeyKerberosArgs{
				Principal:           pulumi.String("principal"),
				Realm:               pulumi.String("realm"),
				TgtGenerationMethod: pulumi.String("KeyTabFilePath"),
				TgtKeyTabFilePathSpec: &platform.SecretSshkeyKerberosTgtKeyTabFilePathSpecArgs{
					KeyPath: pulumi.String("key_path"),
				},
			},
			Port: pulumi.Int(22),
			Tags: pulumi.StringArray{
				pulumi.String("foo:bar"),
			},
		})
		if err != nil {
			return err
		}
		_, err = platform.NewSecretSshkey(ctx, " tgtPassword", &platform.SecretSshkeyArgs{
			Description: pulumi.String("test"),
			Identifier:  pulumi.String("identifier"),
			Kerberos: &platform.SecretSshkeyKerberosArgs{
				Principal:           pulumi.String("principal"),
				Realm:               pulumi.String("realm"),
				TgtGenerationMethod: pulumi.String("Password"),
				TgtPasswordSpec: &platform.SecretSshkeyKerberosTgtPasswordSpecArgs{
					Password: pulumi.String("password"),
				},
			},
			Port: pulumi.Int(22),
			Tags: pulumi.StringArray{
				pulumi.String("foo:bar"),
			},
		})
		if err != nil {
			return err
		}
		_, err = platform.NewSecretSshkey(ctx, "sshkeyReference", &platform.SecretSshkeyArgs{
			Description: pulumi.String("test"),
			Identifier:  pulumi.String("identifier"),
			Port:        pulumi.Int(22),
			Ssh: &platform.SecretSshkeySshArgs{
				CredentialType: pulumi.String("KeyReference"),
				SshkeyReferenceCredential: &platform.SecretSshkeySshSshkeyReferenceCredentialArgs{
					EncryptedPassphrase: pulumi.String("encrypted_passphrase"),
					Key:                 pulumi.String("key"),
					UserName:            pulumi.String("user_name"),
				},
			},
			Tags: pulumi.StringArray{
				pulumi.String("foo:bar"),
			},
		})
		if err != nil {
			return err
		}
		_, err = platform.NewSecretSshkey(ctx, " sshkeyPath", &platform.SecretSshkeyArgs{
			Description: pulumi.String("test"),
			Identifier:  pulumi.String("identifier"),
			Port:        pulumi.Int(22),
			Ssh: &platform.SecretSshkeySshArgs{
				CredentialType: pulumi.String("KeyPath"),
				SshkeyPathCredential: &platform.SecretSshkeySshSshkeyPathCredentialArgs{
					EncryptedPassphrase: pulumi.String("encrypted_passphrase"),
					KeyPath:             pulumi.String("key_path"),
					UserName:            pulumi.String("user_name"),
				},
			},
			Tags: pulumi.StringArray{
				pulumi.String("foo:bar"),
			},
		})
		if err != nil {
			return err
		}
		_, err = platform.NewSecretSshkey(ctx, "sshPassword", &platform.SecretSshkeyArgs{
			Description: pulumi.String("test"),
			Identifier:  pulumi.String("identifier"),
			Port:        pulumi.Int(22),
			Ssh: &platform.SecretSshkeySshArgs{
				CredentialType: pulumi.String("Password"),
				SshPasswordCredential: &platform.SecretSshkeySshSshPasswordCredentialArgs{
					Password: pulumi.String("password"),
					UserName: pulumi.String("user_name"),
				},
			},
			Tags: pulumi.StringArray{
				pulumi.String("foo:bar"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.SecretSshkey;
import com.pulumi.harness.platform.SecretSshkeyArgs;
import com.pulumi.harness.platform.inputs.SecretSshkeyKerberosArgs;
import com.pulumi.harness.platform.inputs.SecretSshkeyKerberosTgtKeyTabFilePathSpecArgs;
import com.pulumi.harness.platform.inputs.SecretSshkeyKerberosTgtPasswordSpecArgs;
import com.pulumi.harness.platform.inputs.SecretSshkeySshArgs;
import com.pulumi.harness.platform.inputs.SecretSshkeySshSshkeyReferenceCredentialArgs;
import com.pulumi.harness.platform.inputs.SecretSshkeySshSshkeyPathCredentialArgs;
import com.pulumi.harness.platform.inputs.SecretSshkeySshSshPasswordCredentialArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var keyTabFilePath = new SecretSshkey("keyTabFilePath", SecretSshkeyArgs.builder()        
            .description("test")
            .identifier("identifier")
            .kerberos(SecretSshkeyKerberosArgs.builder()
                .principal("principal")
                .realm("realm")
                .tgtGenerationMethod("KeyTabFilePath")
                .tgtKeyTabFilePathSpec(SecretSshkeyKerberosTgtKeyTabFilePathSpecArgs.builder()
                    .keyPath("key_path")
                    .build())
                .build())
            .port(22)
            .tags("foo:bar")
            .build());

        var _tgtPassword = new SecretSshkey(" tgtPassword", SecretSshkeyArgs.builder()        
            .description("test")
            .identifier("identifier")
            .kerberos(SecretSshkeyKerberosArgs.builder()
                .principal("principal")
                .realm("realm")
                .tgtGenerationMethod("Password")
                .tgtPasswordSpec(SecretSshkeyKerberosTgtPasswordSpecArgs.builder()
                    .password("password")
                    .build())
                .build())
            .port(22)
            .tags("foo:bar")
            .build());

        var sshkeyReference = new SecretSshkey("sshkeyReference", SecretSshkeyArgs.builder()        
            .description("test")
            .identifier("identifier")
            .port(22)
            .ssh(SecretSshkeySshArgs.builder()
                .credentialType("KeyReference")
                .sshkeyReferenceCredential(SecretSshkeySshSshkeyReferenceCredentialArgs.builder()
                    .encryptedPassphrase("encrypted_passphrase")
                    .key("key")
                    .userName("user_name")
                    .build())
                .build())
            .tags("foo:bar")
            .build());

        var _sshkeyPath = new SecretSshkey(" sshkeyPath", SecretSshkeyArgs.builder()        
            .description("test")
            .identifier("identifier")
            .port(22)
            .ssh(SecretSshkeySshArgs.builder()
                .credentialType("KeyPath")
                .sshkeyPathCredential(SecretSshkeySshSshkeyPathCredentialArgs.builder()
                    .encryptedPassphrase("encrypted_passphrase")
                    .keyPath("key_path")
                    .userName("user_name")
                    .build())
                .build())
            .tags("foo:bar")
            .build());

        var sshPassword = new SecretSshkey("sshPassword", SecretSshkeyArgs.builder()        
            .description("test")
            .identifier("identifier")
            .port(22)
            .ssh(SecretSshkeySshArgs.builder()
                .credentialType("Password")
                .sshPasswordCredential(SecretSshkeySshSshPasswordCredentialArgs.builder()
                    .password("password")
                    .userName("user_name")
                    .build())
                .build())
            .tags("foo:bar")
            .build());

    }
}
import pulumi
import lbrlabs_pulumi_harness as harness

key_tab_file_path = harness.platform.SecretSshkey("keyTabFilePath",
    description="test",
    identifier="identifier",
    kerberos=harness.platform.SecretSshkeyKerberosArgs(
        principal="principal",
        realm="realm",
        tgt_generation_method="KeyTabFilePath",
        tgt_key_tab_file_path_spec=harness.platform.SecretSshkeyKerberosTgtKeyTabFilePathSpecArgs(
            key_path="key_path",
        ),
    ),
    port=22,
    tags=["foo:bar"])
_tgt_password = harness.platform.SecretSshkey(" tgtPassword",
    description="test",
    identifier="identifier",
    kerberos=harness.platform.SecretSshkeyKerberosArgs(
        principal="principal",
        realm="realm",
        tgt_generation_method="Password",
        tgt_password_spec=harness.platform.SecretSshkeyKerberosTgtPasswordSpecArgs(
            password="password",
        ),
    ),
    port=22,
    tags=["foo:bar"])
sshkey_reference = harness.platform.SecretSshkey("sshkeyReference",
    description="test",
    identifier="identifier",
    port=22,
    ssh=harness.platform.SecretSshkeySshArgs(
        credential_type="KeyReference",
        sshkey_reference_credential=harness.platform.SecretSshkeySshSshkeyReferenceCredentialArgs(
            encrypted_passphrase="encrypted_passphrase",
            key="key",
            user_name="user_name",
        ),
    ),
    tags=["foo:bar"])
_sshkey_path = harness.platform.SecretSshkey(" sshkeyPath",
    description="test",
    identifier="identifier",
    port=22,
    ssh=harness.platform.SecretSshkeySshArgs(
        credential_type="KeyPath",
        sshkey_path_credential=harness.platform.SecretSshkeySshSshkeyPathCredentialArgs(
            encrypted_passphrase="encrypted_passphrase",
            key_path="key_path",
            user_name="user_name",
        ),
    ),
    tags=["foo:bar"])
ssh_password = harness.platform.SecretSshkey("sshPassword",
    description="test",
    identifier="identifier",
    port=22,
    ssh=harness.platform.SecretSshkeySshArgs(
        credential_type="Password",
        ssh_password_credential=harness.platform.SecretSshkeySshSshPasswordCredentialArgs(
            password="password",
            user_name="user_name",
        ),
    ),
    tags=["foo:bar"])
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";

const keyTabFilePath = new harness.platform.SecretSshkey("key_tab_file_path", {
    description: "test",
    identifier: "identifier",
    kerberos: {
        principal: "principal",
        realm: "realm",
        tgtGenerationMethod: "KeyTabFilePath",
        tgtKeyTabFilePathSpec: {
            keyPath: "key_path",
        },
    },
    port: 22,
    tags: ["foo:bar"],
});
const _tgt_password = new harness.platform.SecretSshkey(" tgt_password", {
    description: "test",
    identifier: "identifier",
    kerberos: {
        principal: "principal",
        realm: "realm",
        tgtGenerationMethod: "Password",
        tgtPasswordSpec: {
            password: "password",
        },
    },
    port: 22,
    tags: ["foo:bar"],
});
const sshkeyReference = new harness.platform.SecretSshkey("sshkey_reference", {
    description: "test",
    identifier: "identifier",
    port: 22,
    ssh: {
        credentialType: "KeyReference",
        sshkeyReferenceCredential: {
            encryptedPassphrase: "encrypted_passphrase",
            key: "key",
            userName: "user_name",
        },
    },
    tags: ["foo:bar"],
});
const _sshkey_path = new harness.platform.SecretSshkey(" sshkey_path", {
    description: "test",
    identifier: "identifier",
    port: 22,
    ssh: {
        credentialType: "KeyPath",
        sshkeyPathCredential: {
            encryptedPassphrase: "encrypted_passphrase",
            keyPath: "key_path",
            userName: "user_name",
        },
    },
    tags: ["foo:bar"],
});
const sshPassword = new harness.platform.SecretSshkey("ssh_password", {
    description: "test",
    identifier: "identifier",
    port: 22,
    ssh: {
        credentialType: "Password",
        sshPasswordCredential: {
            password: "password",
            userName: "user_name",
        },
    },
    tags: ["foo:bar"],
});
resources:
  keyTabFilePath:
    type: harness:platform:SecretSshkey
    properties:
      description: test
      identifier: identifier
      kerberos:
        principal: principal
        realm: realm
        tgtGenerationMethod: KeyTabFilePath
        tgtKeyTabFilePathSpec:
          keyPath: key_path
      port: 22
      tags:
        - foo:bar
  ' tgtPassword':
    type: harness:platform:SecretSshkey
    properties:
      description: test
      identifier: identifier
      kerberos:
        principal: principal
        realm: realm
        tgtGenerationMethod: Password
        tgtPasswordSpec:
          password: password
      port: 22
      tags:
        - foo:bar
  sshkeyReference:
    type: harness:platform:SecretSshkey
    properties:
      description: test
      identifier: identifier
      port: 22
      ssh:
        credentialType: KeyReference
        sshkeyReferenceCredential:
          encryptedPassphrase: encrypted_passphrase
          key: key
          userName: user_name
      tags:
        - foo:bar
  ' sshkeyPath':
    type: harness:platform:SecretSshkey
    properties:
      description: test
      identifier: identifier
      port: 22
      ssh:
        credentialType: KeyPath
        sshkeyPathCredential:
          encryptedPassphrase: encrypted_passphrase
          keyPath: key_path
          userName: user_name
      tags:
        - foo:bar
  sshPassword:
    type: harness:platform:SecretSshkey
    properties:
      description: test
      identifier: identifier
      port: 22
      ssh:
        credentialType: Password
        sshPasswordCredential:
          password: password
          userName: user_name
      tags:
        - foo:bar

Create SecretSshkey Resource

new SecretSshkey(name: string, args: SecretSshkeyArgs, opts?: CustomResourceOptions);
@overload
def SecretSshkey(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 description: Optional[str] = None,
                 identifier: Optional[str] = None,
                 kerberos: Optional[SecretSshkeyKerberosArgs] = None,
                 name: Optional[str] = None,
                 org_id: Optional[str] = None,
                 port: Optional[int] = None,
                 project_id: Optional[str] = None,
                 ssh: Optional[SecretSshkeySshArgs] = None,
                 tags: Optional[Sequence[str]] = None)
@overload
def SecretSshkey(resource_name: str,
                 args: SecretSshkeyArgs,
                 opts: Optional[ResourceOptions] = None)
func NewSecretSshkey(ctx *Context, name string, args SecretSshkeyArgs, opts ...ResourceOption) (*SecretSshkey, error)
public SecretSshkey(string name, SecretSshkeyArgs args, CustomResourceOptions? opts = null)
public SecretSshkey(String name, SecretSshkeyArgs args)
public SecretSshkey(String name, SecretSshkeyArgs args, CustomResourceOptions options)
type: harness:platform:SecretSshkey
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args SecretSshkeyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args SecretSshkeyArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args SecretSshkeyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SecretSshkeyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args SecretSshkeyArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

SecretSshkey Resource Properties

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

Inputs

The SecretSshkey resource accepts the following input properties:

Identifier string

Unique identifier of the resource.

Description string

Description of the resource.

Kerberos Lbrlabs.PulumiPackage.Harness.Platform.Inputs.SecretSshkeyKerberosArgs

Kerberos authentication scheme

Name string

Name of the resource.

OrgId string

Unique identifier of the Organization.

Port int

SSH port

ProjectId string

Unique identifier of the Project.

Ssh Lbrlabs.PulumiPackage.Harness.Platform.Inputs.SecretSshkeySshArgs

Kerberos authentication scheme

Tags List<string>

Tags to associate with the resource. Tags should be in the form name:value.

Identifier string

Unique identifier of the resource.

Description string

Description of the resource.

Kerberos SecretSshkeyKerberosArgs

Kerberos authentication scheme

Name string

Name of the resource.

OrgId string

Unique identifier of the Organization.

Port int

SSH port

ProjectId string

Unique identifier of the Project.

Ssh SecretSshkeySshArgs

Kerberos authentication scheme

Tags []string

Tags to associate with the resource. Tags should be in the form name:value.

identifier String

Unique identifier of the resource.

description String

Description of the resource.

kerberos SecretSshkeyKerberosArgs

Kerberos authentication scheme

name String

Name of the resource.

orgId String

Unique identifier of the Organization.

port Integer

SSH port

projectId String

Unique identifier of the Project.

ssh SecretSshkeySshArgs

Kerberos authentication scheme

tags List<String>

Tags to associate with the resource. Tags should be in the form name:value.

identifier string

Unique identifier of the resource.

description string

Description of the resource.

kerberos SecretSshkeyKerberosArgs

Kerberos authentication scheme

name string

Name of the resource.

orgId string

Unique identifier of the Organization.

port number

SSH port

projectId string

Unique identifier of the Project.

ssh SecretSshkeySshArgs

Kerberos authentication scheme

tags string[]

Tags to associate with the resource. Tags should be in the form name:value.

identifier str

Unique identifier of the resource.

description str

Description of the resource.

kerberos SecretSshkeyKerberosArgs

Kerberos authentication scheme

name str

Name of the resource.

org_id str

Unique identifier of the Organization.

port int

SSH port

project_id str

Unique identifier of the Project.

ssh SecretSshkeySshArgs

Kerberos authentication scheme

tags Sequence[str]

Tags to associate with the resource. Tags should be in the form name:value.

identifier String

Unique identifier of the resource.

description String

Description of the resource.

kerberos Property Map

Kerberos authentication scheme

name String

Name of the resource.

orgId String

Unique identifier of the Organization.

port Number

SSH port

projectId String

Unique identifier of the Project.

ssh Property Map

Kerberos authentication scheme

tags List<String>

Tags to associate with the resource. Tags should be in the form name:value.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing SecretSshkey Resource

Get an existing SecretSshkey 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?: SecretSshkeyState, opts?: CustomResourceOptions): SecretSshkey
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        identifier: Optional[str] = None,
        kerberos: Optional[SecretSshkeyKerberosArgs] = None,
        name: Optional[str] = None,
        org_id: Optional[str] = None,
        port: Optional[int] = None,
        project_id: Optional[str] = None,
        ssh: Optional[SecretSshkeySshArgs] = None,
        tags: Optional[Sequence[str]] = None) -> SecretSshkey
func GetSecretSshkey(ctx *Context, name string, id IDInput, state *SecretSshkeyState, opts ...ResourceOption) (*SecretSshkey, error)
public static SecretSshkey Get(string name, Input<string> id, SecretSshkeyState? state, CustomResourceOptions? opts = null)
public static SecretSshkey get(String name, Output<String> id, SecretSshkeyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
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:
Description string

Description of the resource.

Identifier string

Unique identifier of the resource.

Kerberos Lbrlabs.PulumiPackage.Harness.Platform.Inputs.SecretSshkeyKerberosArgs

Kerberos authentication scheme

Name string

Name of the resource.

OrgId string

Unique identifier of the Organization.

Port int

SSH port

ProjectId string

Unique identifier of the Project.

Ssh Lbrlabs.PulumiPackage.Harness.Platform.Inputs.SecretSshkeySshArgs

Kerberos authentication scheme

Tags List<string>

Tags to associate with the resource. Tags should be in the form name:value.

Description string

Description of the resource.

Identifier string

Unique identifier of the resource.

Kerberos SecretSshkeyKerberosArgs

Kerberos authentication scheme

Name string

Name of the resource.

OrgId string

Unique identifier of the Organization.

Port int

SSH port

ProjectId string

Unique identifier of the Project.

Ssh SecretSshkeySshArgs

Kerberos authentication scheme

Tags []string

Tags to associate with the resource. Tags should be in the form name:value.

description String

Description of the resource.

identifier String

Unique identifier of the resource.

kerberos SecretSshkeyKerberosArgs

Kerberos authentication scheme

name String

Name of the resource.

orgId String

Unique identifier of the Organization.

port Integer

SSH port

projectId String

Unique identifier of the Project.

ssh SecretSshkeySshArgs

Kerberos authentication scheme

tags List<String>

Tags to associate with the resource. Tags should be in the form name:value.

description string

Description of the resource.

identifier string

Unique identifier of the resource.

kerberos SecretSshkeyKerberosArgs

Kerberos authentication scheme

name string

Name of the resource.

orgId string

Unique identifier of the Organization.

port number

SSH port

projectId string

Unique identifier of the Project.

ssh SecretSshkeySshArgs

Kerberos authentication scheme

tags string[]

Tags to associate with the resource. Tags should be in the form name:value.

description str

Description of the resource.

identifier str

Unique identifier of the resource.

kerberos SecretSshkeyKerberosArgs

Kerberos authentication scheme

name str

Name of the resource.

org_id str

Unique identifier of the Organization.

port int

SSH port

project_id str

Unique identifier of the Project.

ssh SecretSshkeySshArgs

Kerberos authentication scheme

tags Sequence[str]

Tags to associate with the resource. Tags should be in the form name:value.

description String

Description of the resource.

identifier String

Unique identifier of the resource.

kerberos Property Map

Kerberos authentication scheme

name String

Name of the resource.

orgId String

Unique identifier of the Organization.

port Number

SSH port

projectId String

Unique identifier of the Project.

ssh Property Map

Kerberos authentication scheme

tags List<String>

Tags to associate with the resource. Tags should be in the form name:value.

Supporting Types

SecretSshkeyKerberos

Principal string

Username to use for authentication.

Realm string

Reference to a secret containing the password to use for authentication.

TgtGenerationMethod string

Method to generate tgt

TgtKeyTabFilePathSpec Lbrlabs.PulumiPackage.Harness.Platform.Inputs.SecretSshkeyKerberosTgtKeyTabFilePathSpec

Authenticate to App Dynamics using username and password.

TgtPasswordSpec Lbrlabs.PulumiPackage.Harness.Platform.Inputs.SecretSshkeyKerberosTgtPasswordSpec

Authenticate to App Dynamics using username and password.

Principal string

Username to use for authentication.

Realm string

Reference to a secret containing the password to use for authentication.

TgtGenerationMethod string

Method to generate tgt

TgtKeyTabFilePathSpec SecretSshkeyKerberosTgtKeyTabFilePathSpec

Authenticate to App Dynamics using username and password.

TgtPasswordSpec SecretSshkeyKerberosTgtPasswordSpec

Authenticate to App Dynamics using username and password.

principal String

Username to use for authentication.

realm String

Reference to a secret containing the password to use for authentication.

tgtGenerationMethod String

Method to generate tgt

tgtKeyTabFilePathSpec SecretSshkeyKerberosTgtKeyTabFilePathSpec

Authenticate to App Dynamics using username and password.

tgtPasswordSpec SecretSshkeyKerberosTgtPasswordSpec

Authenticate to App Dynamics using username and password.

principal string

Username to use for authentication.

realm string

Reference to a secret containing the password to use for authentication.

tgtGenerationMethod string

Method to generate tgt

tgtKeyTabFilePathSpec SecretSshkeyKerberosTgtKeyTabFilePathSpec

Authenticate to App Dynamics using username and password.

tgtPasswordSpec SecretSshkeyKerberosTgtPasswordSpec

Authenticate to App Dynamics using username and password.

principal str

Username to use for authentication.

realm str

Reference to a secret containing the password to use for authentication.

tgt_generation_method str

Method to generate tgt

tgt_key_tab_file_path_spec SecretSshkeyKerberosTgtKeyTabFilePathSpec

Authenticate to App Dynamics using username and password.

tgt_password_spec SecretSshkeyKerberosTgtPasswordSpec

Authenticate to App Dynamics using username and password.

principal String

Username to use for authentication.

realm String

Reference to a secret containing the password to use for authentication.

tgtGenerationMethod String

Method to generate tgt

tgtKeyTabFilePathSpec Property Map

Authenticate to App Dynamics using username and password.

tgtPasswordSpec Property Map

Authenticate to App Dynamics using username and password.

SecretSshkeyKerberosTgtKeyTabFilePathSpec

KeyPath string
KeyPath string
keyPath String
keyPath string
keyPath String

SecretSshkeyKerberosTgtPasswordSpec

Password string
Password string
password String
password string
password String

SecretSshkeySsh

CredentialType string

This specifies SSH credential type as Password, KeyPath or KeyReference

SshPasswordCredential SecretSshkeySshSshPasswordCredential

SSH credential of type keyReference

SshkeyPathCredential SecretSshkeySshSshkeyPathCredential

SSH credential of type keyPath

SshkeyReferenceCredential SecretSshkeySshSshkeyReferenceCredential

SSH credential of type keyReference

credentialType String

This specifies SSH credential type as Password, KeyPath or KeyReference

sshPasswordCredential SecretSshkeySshSshPasswordCredential

SSH credential of type keyReference

sshkeyPathCredential SecretSshkeySshSshkeyPathCredential

SSH credential of type keyPath

sshkeyReferenceCredential SecretSshkeySshSshkeyReferenceCredential

SSH credential of type keyReference

credentialType string

This specifies SSH credential type as Password, KeyPath or KeyReference

sshPasswordCredential SecretSshkeySshSshPasswordCredential

SSH credential of type keyReference

sshkeyPathCredential SecretSshkeySshSshkeyPathCredential

SSH credential of type keyPath

sshkeyReferenceCredential SecretSshkeySshSshkeyReferenceCredential

SSH credential of type keyReference

credential_type str

This specifies SSH credential type as Password, KeyPath or KeyReference

ssh_password_credential SecretSshkeySshSshPasswordCredential

SSH credential of type keyReference

sshkey_path_credential SecretSshkeySshSshkeyPathCredential

SSH credential of type keyPath

sshkey_reference_credential SecretSshkeySshSshkeyReferenceCredential

SSH credential of type keyReference

credentialType String

This specifies SSH credential type as Password, KeyPath or KeyReference

sshPasswordCredential Property Map

SSH credential of type keyReference

sshkeyPathCredential Property Map

SSH credential of type keyPath

sshkeyReferenceCredential Property Map

SSH credential of type keyReference

SecretSshkeySshSshPasswordCredential

Password string
UserName string
Password string
UserName string
password String
userName String
password string
userName string
password String
userName String

SecretSshkeySshSshkeyPathCredential

SecretSshkeySshSshkeyReferenceCredential

UserName string
EncryptedPassphrase string
Key string
UserName string
EncryptedPassphrase string
Key string
userName String
encryptedPassphrase String
key String
userName string
encryptedPassphrase string
key string
userName String
encryptedPassphrase String
key String

Import

Import using secret sshkey id

 $ pulumi import harness:platform/secretSshkey:SecretSshkey example <secret_sshkey_id>

Package Details

Repository
harness lbrlabs/pulumi-harness
License
Apache-2.0
Notes

This Pulumi package is based on the harness Terraform Provider.