keychaincredential.setup_ssh_connection¶
Creates an SSH Connection performing the following steps:
Generate SSH Key Pair if required 2) Set up SSH Credentials based on setup_type
In case (2) fails, it will be ensured that SSH Key Pair generated (if applicable) in the process is removed.
Type: object
No Additional Properties
Specific value:
No Additional Properties
Type: array
No Additional Items
No Additional Properties
No Additional Properties
Specific value:
No Additional Properties
Specific value:
Specific value:
No Additional Properties
No Additional Properties
No Additional Properties
Specific value:
No Additional Properties
Specific value:
Specific value:
No Additional Properties
No Additional Items
Tuple Validation
Parameter 1: options
options
SetupSSHConnectionManual
Type: objectNo Additional Properties
Private Key
KeychainCredentialSetupSSHConnectionKeyNew
Type: objectNo Additional Properties
Generate Key
Type: const Default: trueMust be one of:
- true
true
Name
Type: stringMust be at least 1
characters long
KeychainCredentialSetupSSHConnectionKeyExisting
Type: objectNo Additional Properties
Generate Key
Type: const Default: falseMust be one of:
- false
false
Existing Key Id
Type: integerConnection Name
Type: stringMust be at least 1
characters long
Setup Type
Type: const Default: "MANUAL"Must be one of:
- "MANUAL"
"MANUAL"
SetupSSHConnectionManualSetup
Type: objectNo Additional Properties
Host
Type: stringPort
Type: integer Default: 22Username
Type: string Default: "root"Remote Host Key
Type: stringCan be discovered with keychaincredential.remotesshhostkeyscan.
Connect Timeout
Type: integer Default: 10SetupSSHConnectionSemiautomatic
Type: objectNo Additional Properties
Private Key
KeychainCredentialSetupSSHConnectionKeyNew
Type: objectNo Additional Properties
Generate Key
Type: const Default: trueMust be one of:
- true
true
Name
Type: stringMust be at least 1
characters long
KeychainCredentialSetupSSHConnectionKeyExisting
Type: objectNo Additional Properties
Generate Key
Type: const Default: falseMust be one of:
- false
false
Existing Key Id
Type: integerConnection Name
Type: stringMust be at least 1
characters long
Setup Type
Type: const Default: "SEMI-AUTOMATIC"Must be one of:
- "SEMI-AUTOMATIC"
"SEMI-AUTOMATIC"
KeychainCredentialSetupSSHConnectionSemiAutomaticSetup
Type: objectNo Additional Properties
Url
Type: stringFormat: uriMust be at least 1
characters long
Must be at most 2083
characters long
Verify Ssl
Type: boolean Default: trueToken
Default: null Type: string
Type: null
Admin Username
Type: string Default: "root"Password
Default: null Type: string
Type: null
Otp Token
Default: null Type: string
Type: null
Username
Type: string Default: "root"Connect Timeout
Type: integer Default: 10Sudo
Type: boolean Default: falseSSHCredentialsEntry
Type: objectNo Additional Properties
Id
Type: integerName
Type: stringDistinguishes this Keychain Credential from others.
Must be at least 1
characters long
Type
Type: constMust be one of:
- "SSH_CREDENTIALS"
"SSH_CREDENTIALS"
Attributes
Type: objectNo Additional Properties
Host
Type: stringPort
Type: integer Default: 22Username
Type: string Default: "root"Private Key
Type: integerKeychain Credential ID.
Remote Host Key
Type: stringCan be discovered with keychaincredential.remotesshhostkeyscan.
Connect Timeout
Type: integer Default: 10Required roles: KEYCHAIN_CREDENTIAL_WRITE