harness.platform.SecretSshkey
Explore with Pulumi AI
Example Usage
Create SecretSshkey Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecretSshkey(name: string, args: SecretSshkeyArgs, opts?: CustomResourceOptions);
@overload
def SecretSshkey(resource_name: str,
args: SecretSshkeyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecretSshkey(resource_name: str,
opts: Optional[ResourceOptions] = None,
identifier: Optional[str] = None,
description: 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)
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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var secretSshkeyResource = new Harness.Platform.SecretSshkey("secretSshkeyResource", new()
{
Identifier = "string",
Description = "string",
Kerberos = new Harness.Platform.Inputs.SecretSshkeyKerberosArgs
{
Principal = "string",
Realm = "string",
TgtGenerationMethod = "string",
TgtKeyTabFilePathSpec = new Harness.Platform.Inputs.SecretSshkeyKerberosTgtKeyTabFilePathSpecArgs
{
KeyPath = "string",
},
TgtPasswordSpec = new Harness.Platform.Inputs.SecretSshkeyKerberosTgtPasswordSpecArgs
{
Password = "string",
},
},
Name = "string",
OrgId = "string",
Port = 0,
ProjectId = "string",
Ssh = new Harness.Platform.Inputs.SecretSshkeySshArgs
{
CredentialType = "string",
SshPasswordCredential = new Harness.Platform.Inputs.SecretSshkeySshSshPasswordCredentialArgs
{
Password = "string",
UserName = "string",
},
SshkeyPathCredential = new Harness.Platform.Inputs.SecretSshkeySshSshkeyPathCredentialArgs
{
KeyPath = "string",
UserName = "string",
EncryptedPassphrase = "string",
},
SshkeyReferenceCredential = new Harness.Platform.Inputs.SecretSshkeySshSshkeyReferenceCredentialArgs
{
Key = "string",
UserName = "string",
EncryptedPassphrase = "string",
},
},
Tags = new[]
{
"string",
},
});
example, err := platform.NewSecretSshkey(ctx, "secretSshkeyResource", &platform.SecretSshkeyArgs{
Identifier: pulumi.String("string"),
Description: pulumi.String("string"),
Kerberos: &platform.SecretSshkeyKerberosArgs{
Principal: pulumi.String("string"),
Realm: pulumi.String("string"),
TgtGenerationMethod: pulumi.String("string"),
TgtKeyTabFilePathSpec: &platform.SecretSshkeyKerberosTgtKeyTabFilePathSpecArgs{
KeyPath: pulumi.String("string"),
},
TgtPasswordSpec: &platform.SecretSshkeyKerberosTgtPasswordSpecArgs{
Password: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
OrgId: pulumi.String("string"),
Port: pulumi.Int(0),
ProjectId: pulumi.String("string"),
Ssh: &platform.SecretSshkeySshArgs{
CredentialType: pulumi.String("string"),
SshPasswordCredential: &platform.SecretSshkeySshSshPasswordCredentialArgs{
Password: pulumi.String("string"),
UserName: pulumi.String("string"),
},
SshkeyPathCredential: &platform.SecretSshkeySshSshkeyPathCredentialArgs{
KeyPath: pulumi.String("string"),
UserName: pulumi.String("string"),
EncryptedPassphrase: pulumi.String("string"),
},
SshkeyReferenceCredential: &platform.SecretSshkeySshSshkeyReferenceCredentialArgs{
Key: pulumi.String("string"),
UserName: pulumi.String("string"),
EncryptedPassphrase: pulumi.String("string"),
},
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var secretSshkeyResource = new SecretSshkey("secretSshkeyResource", SecretSshkeyArgs.builder()
.identifier("string")
.description("string")
.kerberos(SecretSshkeyKerberosArgs.builder()
.principal("string")
.realm("string")
.tgtGenerationMethod("string")
.tgtKeyTabFilePathSpec(SecretSshkeyKerberosTgtKeyTabFilePathSpecArgs.builder()
.keyPath("string")
.build())
.tgtPasswordSpec(SecretSshkeyKerberosTgtPasswordSpecArgs.builder()
.password("string")
.build())
.build())
.name("string")
.orgId("string")
.port(0)
.projectId("string")
.ssh(SecretSshkeySshArgs.builder()
.credentialType("string")
.sshPasswordCredential(SecretSshkeySshSshPasswordCredentialArgs.builder()
.password("string")
.userName("string")
.build())
.sshkeyPathCredential(SecretSshkeySshSshkeyPathCredentialArgs.builder()
.keyPath("string")
.userName("string")
.encryptedPassphrase("string")
.build())
.sshkeyReferenceCredential(SecretSshkeySshSshkeyReferenceCredentialArgs.builder()
.key("string")
.userName("string")
.encryptedPassphrase("string")
.build())
.build())
.tags("string")
.build());
secret_sshkey_resource = harness.platform.SecretSshkey("secretSshkeyResource",
identifier="string",
description="string",
kerberos=harness.platform.SecretSshkeyKerberosArgs(
principal="string",
realm="string",
tgt_generation_method="string",
tgt_key_tab_file_path_spec=harness.platform.SecretSshkeyKerberosTgtKeyTabFilePathSpecArgs(
key_path="string",
),
tgt_password_spec=harness.platform.SecretSshkeyKerberosTgtPasswordSpecArgs(
password="string",
),
),
name="string",
org_id="string",
port=0,
project_id="string",
ssh=harness.platform.SecretSshkeySshArgs(
credential_type="string",
ssh_password_credential=harness.platform.SecretSshkeySshSshPasswordCredentialArgs(
password="string",
user_name="string",
),
sshkey_path_credential=harness.platform.SecretSshkeySshSshkeyPathCredentialArgs(
key_path="string",
user_name="string",
encrypted_passphrase="string",
),
sshkey_reference_credential=harness.platform.SecretSshkeySshSshkeyReferenceCredentialArgs(
key="string",
user_name="string",
encrypted_passphrase="string",
),
),
tags=["string"])
const secretSshkeyResource = new harness.platform.SecretSshkey("secretSshkeyResource", {
identifier: "string",
description: "string",
kerberos: {
principal: "string",
realm: "string",
tgtGenerationMethod: "string",
tgtKeyTabFilePathSpec: {
keyPath: "string",
},
tgtPasswordSpec: {
password: "string",
},
},
name: "string",
orgId: "string",
port: 0,
projectId: "string",
ssh: {
credentialType: "string",
sshPasswordCredential: {
password: "string",
userName: "string",
},
sshkeyPathCredential: {
keyPath: "string",
userName: "string",
encryptedPassphrase: "string",
},
sshkeyReferenceCredential: {
key: "string",
userName: "string",
encryptedPassphrase: "string",
},
},
tags: ["string"],
});
type: harness:platform:SecretSshkey
properties:
description: string
identifier: string
kerberos:
principal: string
realm: string
tgtGenerationMethod: string
tgtKeyTabFilePathSpec:
keyPath: string
tgtPasswordSpec:
password: string
name: string
orgId: string
port: 0
projectId: string
ssh:
credentialType: string
sshPasswordCredential:
password: string
userName: string
sshkeyPathCredential:
encryptedPassphrase: string
keyPath: string
userName: string
sshkeyReferenceCredential:
encryptedPassphrase: string
key: string
userName: string
tags:
- string
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
Secret
Sshkey Kerberos - 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 - Kerberos authentication scheme
- List<string>
- Tags to associate with the resource.
- 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.
- identifier String
- Unique identifier of the resource.
- description String
- Description of the resource.
- kerberos
Secret
Sshkey Kerberos - 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 - Kerberos authentication scheme
- List<String>
- Tags to associate with the resource.
- identifier string
- Unique identifier of the resource.
- description string
- Description of the resource.
- kerberos
Secret
Sshkey Kerberos - 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 - Kerberos authentication scheme
- string[]
- Tags to associate with the resource.
- 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.
- 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.
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
Secret
Sshkey Kerberos - 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 - Kerberos authentication scheme
- List<string>
- Tags to associate with the resource.
- 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.
- description String
- Description of the resource.
- identifier String
- Unique identifier of the resource.
- kerberos
Secret
Sshkey Kerberos - 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 - Kerberos authentication scheme
- List<String>
- Tags to associate with the resource.
- description string
- Description of the resource.
- identifier string
- Unique identifier of the resource.
- kerberos
Secret
Sshkey Kerberos - 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 - Kerberos authentication scheme
- string[]
- Tags to associate with the resource.
- 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.
- 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.
Supporting Types
SecretSshkeyKerberos, SecretSshkeyKerberosArgs
- 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 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, SecretSshkeyKerberosTgtKeyTabFilePathSpecArgs
- Key
Path string - key path
- Key
Path string - key path
- key
Path String - key path
- key
Path string - key path
- key_
path str - key path
- key
Path String - key path
SecretSshkeyKerberosTgtPasswordSpec, SecretSshkeyKerberosTgtPasswordSpecArgs
- Password string
- password. To reference a password at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a password at the account scope, prefix 'account` to the expression: account.{identifier}
- Password string
- password. To reference a password at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a password at the account scope, prefix 'account` to the expression: account.{identifier}
- password String
- password. To reference a password at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a password at the account scope, prefix 'account` to the expression: account.{identifier}
- password string
- password. To reference a password at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a password at the account scope, prefix 'account` to the expression: account.{identifier}
- password str
- password. To reference a password at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a password at the account scope, prefix 'account` to the expression: account.{identifier}
- password String
- password. To reference a password at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a password at the account scope, prefix 'account` to the expression: account.{identifier}
SecretSshkeySsh, SecretSshkeySshArgs
- 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 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, SecretSshkeySshSshPasswordCredentialArgs
SecretSshkeySshSshkeyPathCredential, SecretSshkeySshSshkeyPathCredentialArgs
- Key
Path string - Path of the key file.
- User
Name string - SSH Username.
- Encrypted
Passphrase string - Encrypted Passphrase . To reference a encryptedPassphrase at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a encryptedPassPhrase at the account scope, prefix 'account` to the expression: account.{identifier}
- Key
Path string - Path of the key file.
- User
Name string - SSH Username.
- Encrypted
Passphrase string - Encrypted Passphrase . To reference a encryptedPassphrase at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a encryptedPassPhrase at the account scope, prefix 'account` to the expression: account.{identifier}
- key
Path String - Path of the key file.
- user
Name String - SSH Username.
- encrypted
Passphrase String - Encrypted Passphrase . To reference a encryptedPassphrase at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a encryptedPassPhrase at the account scope, prefix 'account` to the expression: account.{identifier}
- key
Path string - Path of the key file.
- user
Name string - SSH Username.
- encrypted
Passphrase string - Encrypted Passphrase . To reference a encryptedPassphrase at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a encryptedPassPhrase at the account scope, prefix 'account` to the expression: account.{identifier}
- key_
path str - Path of the key file.
- user_
name str - SSH Username.
- encrypted_
passphrase str - Encrypted Passphrase . To reference a encryptedPassphrase at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a encryptedPassPhrase at the account scope, prefix 'account` to the expression: account.{identifier}
- key
Path String - Path of the key file.
- user
Name String - SSH Username.
- encrypted
Passphrase String - Encrypted Passphrase . To reference a encryptedPassphrase at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a encryptedPassPhrase at the account scope, prefix 'account` to the expression: account.{identifier}
SecretSshkeySshSshkeyReferenceCredential, SecretSshkeySshSshkeyReferenceCredentialArgs
- Key string
- SSH key. To reference a key at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a key at the account scope, prefix 'account` to the expression: account.{identifier}
- User
Name string - SSH Username.
- Encrypted
Passphrase string - Encrypted Passphrase. To reference a encryptedPassphrase at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a encryptedPassPhrase at the account scope, prefix 'account` to the expression: account.{identifier}
- Key string
- SSH key. To reference a key at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a key at the account scope, prefix 'account` to the expression: account.{identifier}
- User
Name string - SSH Username.
- Encrypted
Passphrase string - Encrypted Passphrase. To reference a encryptedPassphrase at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a encryptedPassPhrase at the account scope, prefix 'account` to the expression: account.{identifier}
- key String
- SSH key. To reference a key at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a key at the account scope, prefix 'account` to the expression: account.{identifier}
- user
Name String - SSH Username.
- encrypted
Passphrase String - Encrypted Passphrase. To reference a encryptedPassphrase at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a encryptedPassPhrase at the account scope, prefix 'account` to the expression: account.{identifier}
- key string
- SSH key. To reference a key at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a key at the account scope, prefix 'account` to the expression: account.{identifier}
- user
Name string - SSH Username.
- encrypted
Passphrase string - Encrypted Passphrase. To reference a encryptedPassphrase at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a encryptedPassPhrase at the account scope, prefix 'account` to the expression: account.{identifier}
- key str
- SSH key. To reference a key at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a key at the account scope, prefix 'account` to the expression: account.{identifier}
- user_
name str - SSH Username.
- encrypted_
passphrase str - Encrypted Passphrase. To reference a encryptedPassphrase at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a encryptedPassPhrase at the account scope, prefix 'account` to the expression: account.{identifier}
- key String
- SSH key. To reference a key at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a key at the account scope, prefix 'account` to the expression: account.{identifier}
- user
Name String - SSH Username.
- encrypted
Passphrase String - Encrypted Passphrase. To reference a encryptedPassphrase at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a encryptedPassPhrase at the account scope, prefix 'account` to the expression: account.{identifier}
Import
Import account level secret sshkey
$ pulumi import harness:platform/secretSshkey:SecretSshkey example <secret_sshkey_id>
Import org level secret sshkey
$ pulumi import harness:platform/secretSshkey:SecretSshkey example <ord_id>/<secret_sshkey_id>
Import project level secret sshkey
$ pulumi import harness:platform/secretSshkey:SecretSshkey example <org_id>/<project_id>/<secret_sshkey_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.