keychaincredential.update¶
Update a Keychain Credential with specific id.
Please note that you can’t change type. You must specify full attributes value.
No Additional Items
Tuple Validation
Parameter 1: id
id
Type: integerUnique identifier of the keychain credential to update.
Parameter 2: keychain_credential_update
keychain_credential_update
Updated credential configuration data.
KeychainCredentialUpdateSSHKeyPairEntry
Type: objectNo Additional Properties
Name
Type: stringDistinguishes this Keychain Credential from others.
Must be at least 1
characters long
Attributes
Type: objectSSH key pair attributes including public and private keys.
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.
KeychainCredentialUpdateSSHCredentialsEntry
Type: objectNo Additional Properties
Name
Type: stringDistinguishes this Keychain Credential from others.
Must be at least 1
characters long
Attributes
Type: objectSSH connection attributes including host, authentication, and connection settings.
No Additional PropertiesHost
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.
Result
The updated keychain credential entry.
SSHKeyPairEntry
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: constKeychain credential type identifier for SSH key pairs.
Must be one of:
- "SSH_KEY_PAIR"
"SSH_KEY_PAIR"
Attributes
Type: objectSSH key pair attributes including public and private keys.
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.
SSHCredentialsEntry
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: constKeychain credential type identifier for SSH connection credentials.
Must be one of:
- "SSH_CREDENTIALS"
"SSH_CREDENTIALS"
Attributes
Type: objectSSH connection attributes including host, authentication, and connection settings.
No Additional PropertiesHost
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.
Required roles: KEYCHAIN_CREDENTIAL_WRITE