keyfile as resources
-
Alex-SF
- Milestone set to Rundeck 1.3
- Milestone order changed from 13 to 0
-
Greg Schueler
Perhaps we can make this more generic as well, allowing for some kind of credential definition independent of ssh.
e.g. defining some xml/yaml files as project/X/etc/something.cred allows you to specify:
<node name="mynode" credentialset="something/key1" .../>and something.cred:
<credentials> <credential name="key1"> <ssh-keyfile file="$HOME/.ssh/mysecretkey"/> </credential> </credentials>It is then up to the dispatcher to supply the correct credential definition to the SSH node executor.
An alternative that could apply just to SSH would be to define a particular known key path, and then allow the node attributes to specify a key file by name:
<node name="mynode" sshkeyfile="keyfile1".../>and have
$RDECK_BASE/projects/X/etc/credentials/be the known "keyfile path", so the keyfile1 resolves to$RDECK_BASE/projects/X/etc/credentials/keyfile1.key -
Alex-SF
- Milestone cleared.
- Milestone order changed from 12 to 0
Postponing until after 1.3 release to get feedback and see usage of dispatcher plugin and custom node attributes.
-
Alex-SF
- Tag set to credentials node
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.