Added pgp_key property for password encryption#24
Conversation
|
@frankfarrell I implemented new feature which is based on official AWS provider and IAM users. This change allow to generate and encrypt password using PGP Keybase. |
a451979 to
5e9ec9f
Compare
|
@phajduk Thanks for the PR. Its an interesting feature. Just a few comments,
Perhaps, allowing users to specify PGP Key and the encrypted password would be a good compromise? I considered this for kms encrypted password, but that would take more aws configuration so I'm not sure its a good idea either |
Regarding proposition about providing encrypted password. It may work as well of course. However I can't see any reason to not support both cases:
|
|
Sorry, I should have been clearer on point 1, I meant that the underlying redshift DDL doesn't support the PGP encryption out of the box. I don't mean to dismiss this stuff, its a really good PR so thanks fo rthat. Its just a big change so trying to think critically about it! |
5ce2861 to
efedf7e
Compare
efedf7e to
94ac562
Compare
|
@frankfarrell I've checked encryption implementation and they didn't support decryption in same way as they support encryption. We would need to write much more code and use vault helper. |
|
@frankfarrell are you interested in merging those changes? Not sure if I should implement anything more here or should I maintain it in separated fork. |
|
I am also interested in some password encryption feature. I was envisioning a similar but slightly different solution like this:
Let me know your thoughts. We are still managing user creation outside of Terraform for this reason, but it would be great to have some support for encryption. I am open to collaborating on this too if the approach sounds reasonable. |
No description provided.