keychaincredential.query¶
Sent on keychaincredential changes.
KeychainCredentialAddedEvent
Type: objectNo Additional Properties
Id
Type: integerKeychainCredentialEntry
Type: objectNo Additional Properties
Id
Type: integerUnique identifier for this keychain credential.
Name
Type: stringDistinguishes this Keychain Credential from others.
Must be at least 1
characters long
Type
Type: enum (of string)Type of credential stored in the keychain.
SSH_KEY_PAIR
: SSH public/private key pairSSH_CREDENTIALS
: SSH connection credentials including host and authentication
Must be one of:
- "SSH_KEY_PAIR"
- "SSH_CREDENTIALS"
Attributes
Credential-specific configuration and authentication data.
SSHKeyPair
Type: objectAt least one of the two keys must be provided on creation.
No Additional PropertiesPrivate Key
Default: nullSSH private key in OpenSSH format. null
if only public key is provided.
Public Key
Default: nullCan be omitted and automatically derived from the private key.
SSHCredentials
Type: objectNo Additional Properties
Host
Type: stringSSH server hostname or IP address.
Port
Type: integer Default: 22SSH server port number.
Username
Type: string Default: "root"SSH username for authentication.
Private Key
Type: integerKeychain Credential ID.
Remote Host Key
Type: stringCan be discovered with keychaincredential.remotesshhostkeyscan.
Connect Timeout
Type: integer Default: 10Connection timeout in seconds for SSH connections.
KeychainCredentialChangedEvent
Type: objectNo Additional Properties
Id
Type: integerKeychainCredentialEntry
Type: objectNo Additional Properties
Id
Type: integerUnique identifier for this keychain credential.
Name
Type: stringDistinguishes this Keychain Credential from others.
Must be at least 1
characters long
Type
Type: enum (of string)Type of credential stored in the keychain.
SSH_KEY_PAIR
: SSH public/private key pairSSH_CREDENTIALS
: SSH connection credentials including host and authentication
Must be one of:
- "SSH_KEY_PAIR"
- "SSH_CREDENTIALS"
Attributes
Credential-specific configuration and authentication data.
SSHKeyPair
Type: objectAt least one of the two keys must be provided on creation.
No Additional PropertiesPrivate Key
Default: nullSSH private key in OpenSSH format. null
if only public key is provided.
Public Key
Default: nullCan be omitted and automatically derived from the private key.
SSHCredentials
Type: objectNo Additional Properties
Host
Type: stringSSH server hostname or IP address.
Port
Type: integer Default: 22SSH server port number.
Username
Type: string Default: "root"SSH username for authentication.
Private Key
Type: integerKeychain Credential ID.
Remote Host Key
Type: stringCan be discovered with keychaincredential.remotesshhostkeyscan.
Connect Timeout
Type: integer Default: 10Connection timeout in seconds for SSH connections.
KeychainCredentialRemovedEvent
Type: objectNo Additional Properties
Id
Type: integerRequired roles: KEYCHAIN_CREDENTIAL_READ