DeployHubProject / DeployHub-Pro

DeployHub Pro Pipeline Status Project
https://www.openmakesoftware.com/application-release-automation-for-continuous-delivery/
Other
11 stars 4 forks source link

how to upload private keys from WebApp #244

Open piyush94 opened 5 years ago

piyush94 commented 5 years ago

Is there a way to upload credential private keys from the WebApp?

sbtaylor15 commented 5 years ago

No, right now the keys need to be accessed through the mounted volume. Let me see where the best location to store the keys if we upload them since the container is ephemeral.

sbtaylor15 commented 5 years ago

We can add an upload of the private key to the Credential object. The upload would encrypt the private key and store it in the database. The private key would be pulled from the database at deployment time, unencrypted and used for the ssh process.

Would this work for your requirements?

piyush94 commented 5 years ago

Yes, that would be good. Thanks.