> if (credsFromParameters.getOptionalPrivateKey().isPresent()) > - > builder.privateKey(credsFromParameters.getOptionalPrivateKey().get()); > + if (credsFromParameters.getOptionalPassword().get().isEmpty())
Also, is it OK to *don't* set the private key if the password is present but empty? I mean, if the private key is actually present, shouldn't we set it, regardless of the password? IIRC the authentication will fallback to the SSH agent if the given key is not the righr one. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/486/files#r16326666
