Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intial commit of secrets management CB #51

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

paul1994
Copy link

Signed-off-by: P.Bradford pbradford@chef.io

Signed-off-by: P.Bradford <pbradford@chef.io>
@paul1994 paul1994 requested a review from a team August 20, 2020 17:14
@jmassardo
Copy link
Contributor

@paul1994 Thanks for the addition! Looks like a good start. I see a couple things on the first pass. Do we need the .delivery/project.toml since we don't use workflow? Can you also update the license file and license info in the metadata to be Apache 2.0?

Is the get_hashi_vault_object helper a new thing or based on some prior art?

Signed-off-by: P.Bradford <pbradford@chef.io>
@danielcbright
Copy link
Contributor

@paul1994 I love this, I wonder if it would be better to keep the example cookbook in it's own repo under chef-cft instead of embedded here, the reason I say this is we could keep it updated as a reference.. what are your thoughts?

Copy link

@scottvidmar scottvidmar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor changes requested. Nothing functional, just documentation and clarity.

### Assumptions
* This guide assumes that you have a working Vault solution up and running that you can interact with

**Note:** The way that the vault token is used in this cookbook is not the way we recommended to store the vault_token.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's expand upon this:

  • Why do we not recommend what we're doing?
  • What about what's in this cookbook is bad?
  • What sort of thing would we do here? Is there anything we'd recommend? This is a non-trivial problem to solve securely, and I'd love to see more around that.

@@ -0,0 +1,32 @@
# Delivery for Local Phases Execution

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably explain what the .delivery stuff is for in the README.

@@ -0,0 +1,16 @@
# InSpec test for recipe secrets_management::default

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this being used? If not, should probably nuke this from orbit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants