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.
Pulumi Package. Harness. Platform. Inputs. Secret Sshkey Kerberos Args Kerberos authentication scheme
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Port int
SSH port
- Project
Id string Unique identifier of the Project.
- Ssh
Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Secret Sshkey Ssh Args Kerberos authentication scheme
- 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
Secret
Sshkey Kerberos Args Kerberos authentication scheme
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Port int
SSH port
- Project
Id string Unique identifier of the Project.
- Ssh
Secret
Sshkey Ssh Args Kerberos authentication scheme
- []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
Secret
Sshkey Kerberos Args Kerberos authentication scheme
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- port Integer
SSH port
- project
Id String Unique identifier of the Project.
- ssh
Secret
Sshkey Ssh Args Kerberos authentication scheme
- 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
Secret
Sshkey Kerberos Args Kerberos authentication scheme
- name string
Name of the resource.
- org
Id string Unique identifier of the Organization.
- port number
SSH port
- project
Id string Unique identifier of the Project.
- ssh
Secret
Sshkey Ssh Args Kerberos authentication scheme
- 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
Secret
Sshkey Kerberos Args 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
Secret
Sshkey Ssh Args Kerberos authentication scheme
- 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.
- org
Id String Unique identifier of the Organization.
- port Number
SSH port
- project
Id String Unique identifier of the Project.
- ssh Property Map
Kerberos authentication scheme
- 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.
- Description string
Description of the resource.
- Identifier string
Unique identifier of the resource.
- Kerberos
Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Secret Sshkey Kerberos Args Kerberos authentication scheme
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Port int
SSH port
- Project
Id string Unique identifier of the Project.
- Ssh
Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Secret Sshkey Ssh Args Kerberos authentication scheme
- 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
Secret
Sshkey Kerberos Args Kerberos authentication scheme
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Port int
SSH port
- Project
Id string Unique identifier of the Project.
- Ssh
Secret
Sshkey Ssh Args Kerberos authentication scheme
- []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
Secret
Sshkey Kerberos Args Kerberos authentication scheme
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- port Integer
SSH port
- project
Id String Unique identifier of the Project.
- ssh
Secret
Sshkey Ssh Args Kerberos authentication scheme
- 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
Secret
Sshkey Kerberos Args Kerberos authentication scheme
- name string
Name of the resource.
- org
Id string Unique identifier of the Organization.
- port number
SSH port
- project
Id string Unique identifier of the Project.
- ssh
Secret
Sshkey Ssh Args Kerberos authentication scheme
- 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
Secret
Sshkey Kerberos Args 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
Secret
Sshkey Ssh Args Kerberos authentication scheme
- 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.
- org
Id String Unique identifier of the Organization.
- port Number
SSH port
- project
Id String Unique identifier of the Project.
- ssh Property Map
Kerberos authentication scheme
- 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.
- Tgt
Generation stringMethod Method to generate tgt
- Tgt
Key Lbrlabs.Tab File Path Spec Pulumi Package. Harness. Platform. Inputs. Secret Sshkey Kerberos Tgt Key Tab File Path Spec Authenticate to App Dynamics using username and password.
- Tgt
Password Lbrlabs.Spec Pulumi Package. Harness. Platform. Inputs. Secret Sshkey Kerberos Tgt Password Spec 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.
- Tgt
Generation stringMethod Method to generate tgt
- Tgt
Key SecretTab File Path Spec Sshkey Kerberos Tgt Key Tab File Path Spec Authenticate to App Dynamics using username and password.
- Tgt
Password SecretSpec Sshkey Kerberos Tgt Password Spec 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.
- tgt
Generation StringMethod Method to generate tgt
- tgt
Key SecretTab File Path Spec Sshkey Kerberos Tgt Key Tab File Path Spec Authenticate to App Dynamics using username and password.
- tgt
Password SecretSpec Sshkey Kerberos Tgt Password Spec 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.
- tgt
Generation stringMethod Method to generate tgt
- tgt
Key SecretTab File Path Spec Sshkey Kerberos Tgt Key Tab File Path Spec Authenticate to App Dynamics using username and password.
- tgt
Password SecretSpec Sshkey Kerberos Tgt Password Spec 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_ strmethod Method to generate tgt
- tgt_
key_ Secrettab_ file_ path_ spec Sshkey Kerberos Tgt Key Tab File Path Spec Authenticate to App Dynamics using username and password.
- tgt_
password_ Secretspec Sshkey Kerberos Tgt Password Spec 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.
- tgt
Generation StringMethod Method to generate tgt
- tgt
Key Property MapTab File Path Spec Authenticate to App Dynamics using username and password.
- tgt
Password Property MapSpec Authenticate to App Dynamics using username and password.
SecretSshkeyKerberosTgtKeyTabFilePathSpec
- Key
Path string
- Key
Path string
- key
Path String
- key
Path string
- key_
path str
- key
Path String
SecretSshkeyKerberosTgtPasswordSpec
- Password string
- Password string
- password String
- password string
- password str
- password String
SecretSshkeySsh
- Credential
Type string This specifies SSH credential type as Password, KeyPath or KeyReference
- Ssh
Password Lbrlabs.Credential Pulumi Package. Harness. Platform. Inputs. Secret Sshkey Ssh Ssh Password Credential SSH credential of type keyReference
- Sshkey
Path Lbrlabs.Credential Pulumi Package. Harness. Platform. Inputs. Secret Sshkey Ssh Sshkey Path Credential SSH credential of type keyPath
- Sshkey
Reference Lbrlabs.Credential Pulumi Package. Harness. Platform. Inputs. Secret Sshkey Ssh Sshkey Reference Credential SSH credential of type keyReference
- Credential
Type string This specifies SSH credential type as Password, KeyPath or KeyReference
- Ssh
Password SecretCredential Sshkey Ssh Ssh Password Credential SSH credential of type keyReference
- Sshkey
Path SecretCredential Sshkey Ssh Sshkey Path Credential SSH credential of type keyPath
- Sshkey
Reference SecretCredential Sshkey Ssh Sshkey Reference Credential SSH credential of type keyReference
- credential
Type String This specifies SSH credential type as Password, KeyPath or KeyReference
- ssh
Password SecretCredential Sshkey Ssh Ssh Password Credential SSH credential of type keyReference
- sshkey
Path SecretCredential Sshkey Ssh Sshkey Path Credential SSH credential of type keyPath
- sshkey
Reference SecretCredential Sshkey Ssh Sshkey Reference Credential SSH credential of type keyReference
- credential
Type string This specifies SSH credential type as Password, KeyPath or KeyReference
- ssh
Password SecretCredential Sshkey Ssh Ssh Password Credential SSH credential of type keyReference
- sshkey
Path SecretCredential Sshkey Ssh Sshkey Path Credential SSH credential of type keyPath
- sshkey
Reference SecretCredential Sshkey Ssh Sshkey Reference Credential SSH credential of type keyReference
- credential_
type str This specifies SSH credential type as Password, KeyPath or KeyReference
- ssh_
password_ Secretcredential Sshkey Ssh Ssh Password Credential SSH credential of type keyReference
- sshkey_
path_ Secretcredential Sshkey Ssh Sshkey Path Credential SSH credential of type keyPath
- sshkey_
reference_ Secretcredential Sshkey Ssh Sshkey Reference Credential SSH credential of type keyReference
- credential
Type String This specifies SSH credential type as Password, KeyPath or KeyReference
- ssh
Password Property MapCredential SSH credential of type keyReference
- sshkey
Path Property MapCredential SSH credential of type keyPath
- sshkey
Reference Property MapCredential SSH credential of type keyReference
SecretSshkeySshSshPasswordCredential
SecretSshkeySshSshkeyPathCredential
- Key
Path string - User
Name string - Encrypted
Passphrase string
- Key
Path string - User
Name string - Encrypted
Passphrase string
- key
Path String - user
Name String - encrypted
Passphrase String
- key
Path string - user
Name string - encrypted
Passphrase string
- key_
path str - user_
name str - encrypted_
passphrase str
- key
Path String - user
Name String - encrypted
Passphrase String
SecretSshkeySshSshkeyReferenceCredential
- User
Name string - Encrypted
Passphrase string - Key string
- User
Name string - Encrypted
Passphrase string - Key string
- user
Name String - encrypted
Passphrase String - key String
- user
Name string - encrypted
Passphrase string - key string
- user_
name str - encrypted_
passphrase str - key str
- user
Name String - encrypted
Passphrase 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.