keychaincredential.update

Update a Keychain Credential with specific id.

Please note that you can’t change type. You must specify full attributes value.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: id

id

Type: integer
Parameter 2: keychain_credential_update

keychain_credential_update


KeychainCredentialUpdateSSHKeyPairEntry

Type: object
No Additional Properties

Name

Type: string

Distinguishes this Keychain Credential from others.

Must be at least 1 characters long

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

KeychainCredentialUpdateSSHCredentialsEntry

Type: object
No Additional Properties

Name

Type: string

Distinguishes this Keychain Credential from others.

Must be at least 1 characters long

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