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: integerParameter 2: keychain_credential_update
keychain_credential_update
KeychainCredentialUpdateSSHKeyPairEntry
Type: objectNo Additional Properties
Name
Type: stringDistinguishes this Keychain Credential from others.
Must be at least 1
characters long
Attributes
Type: objectAt least one of the two keys must be provided on creation.
No Additional PropertiesPrivate Key
Default: nullPublic 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: 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: 10Result
SSHKeyPairEntry
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_KEY_PAIR"
"SSH_KEY_PAIR"
Attributes
Type: objectAt least one of the two keys must be provided on creation.
No Additional PropertiesPrivate Key
Default: nullPublic Key
Default: nullCan be omitted and automatically derived from the private key.
SSHCredentialsEntry
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