Details
-
Feature
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.12, 1.13
-
None
Description
Current Situation
When using the JITL SSH job with the authentication method publickey the private key file must be located in the filesystem.
It is not possible to use a credential store with the private key file as an attachment.
The values for user, host, password and passhphrase can not be set by the credential store uri like cs://[path/entry@fieldname.
If a credential store should be the source for these values there must be a pre processing script that calls the interface implemented in the Packages.com.sos.keepass.SOSKeePassDatabase.getProperty method
Desired Behavior
It should be possible to specify the private key file the JITL SSH job like
cs://path/entry@attachment
or if more than one attachment is in the credential store entry with
cs://path/entry@my_private_key_filename
Also the values for user, password, passphrase and host should optionally be set with an uri like cs://[path/entry@fieldname].
Usage
To be able to use the credential store references additional parameters have to be set:
- credential_store_filename
- the path to the KeePass database file
- credential_store_password
- the password for the KeePass database
- credential_store_key_filename
- the path to the key file for the KeePass database
- credential_store_entry_path
- the path to an entry in the KeePass database
- if this parameter is set a reference to a field of an entry can be set with the complete path or in a shortend form, e.g.
- cs://path/to/entry@fieldname or
- cs://@fieldname