keychaincredential.create

Create a Keychain Credential.

The following type`s are supported: * `SSH_KEY_PAIR * SSH_CREDENTIALS

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: keychain_credential_create

keychain_credential_create


KeychainCredentialCreateSSHKeyPairEntry

Type: object
No Additional Properties

Name

Type: string

Distinguishes this Keychain Credential from others.

Must be at least 1 characters long

Type

Type: const
Must be one of:
  • "SSH_KEY_PAIR"
Specific value: "SSH_KEY_PAIR"

Attributes

Type: object

At least one of the two keys must be provided on creation.

No Additional Properties

Private Key

Default: null

Type: string
Type: null

Public Key

Default: null

Can be omitted and automatically derived from the private key.

Type: string
Type: null

KeychainCredentialCreateSSHCredentialsEntry

Type: object
No Additional Properties

Name

Type: string

Distinguishes this Keychain Credential from others.

Must be at least 1 characters long

Type

Type: const
Must be one of:
  • "SSH_CREDENTIALS"
Specific value: "SSH_CREDENTIALS"

Attributes

Type: object
No Additional Properties

Host

Type: string

Port

Type: integer Default: 22

Username

Type: string Default: "root"

Private Key

Type: integer

Keychain Credential ID.

Remote Host Key

Type: string

Can be discovered with keychaincredential.remotesshhostkeyscan.

Connect Timeout

Type: integer Default: 10

Result


SSHKeyPairEntry

Type: object
No Additional Properties

Id

Type: integer

Name

Type: string

Distinguishes this Keychain Credential from others.

Must be at least 1 characters long

Type

Type: const
Must be one of:
  • "SSH_KEY_PAIR"
Specific value: "SSH_KEY_PAIR"

Attributes

Type: object

At least one of the two keys must be provided on creation.

No Additional Properties

Private Key

Default: null

Type: string
Type: null

Public Key

Default: null

Can be omitted and automatically derived from the private key.

Type: string
Type: null

SSHCredentialsEntry

Type: object
No Additional Properties

Id

Type: integer

Name

Type: string

Distinguishes this Keychain Credential from others.

Must be at least 1 characters long

Type

Type: const
Must be one of:
  • "SSH_CREDENTIALS"
Specific value: "SSH_CREDENTIALS"

Attributes

Type: object
No Additional Properties

Host

Type: string

Port

Type: integer Default: 22

Username

Type: string Default: "root"

Private Key

Type: integer

Keychain Credential ID.

Remote Host Key

Type: string

Can be discovered with keychaincredential.remotesshhostkeyscan.

Connect Timeout

Type: integer Default: 10


Required roles: KEYCHAIN_CREDENTIAL_WRITE