{"id":23531706,"url":"https://github.com/ryanprior/conjur-puppet-demo","last_synced_at":"2025-05-14T14:34:16.673Z","repository":{"id":77898401,"uuid":"106515404","full_name":"ryanprior/conjur-puppet-demo","owner":"ryanprior","description":"PuppetConf 2017 Conjur Demo","archived":false,"fork":false,"pushed_at":"2018-02-08T05:06:48.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-07T23:03:36.462Z","etag":null,"topics":["automation","demo","devsecops","machine-identity","puppet","secrets","security"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/watch?v=jYvfSYDcLXk","language":"Puppet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanprior.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-10-11T06:40:22.000Z","updated_at":"2017-10-15T03:19:16.000Z","dependencies_parsed_at":"2023-03-04T09:30:32.396Z","dependency_job_id":null,"html_url":"https://github.com/ryanprior/conjur-puppet-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanprior%2Fconjur-puppet-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanprior%2Fconjur-puppet-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanprior%2Fconjur-puppet-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanprior%2Fconjur-puppet-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanprior","download_url":"https://codeload.github.com/ryanprior/conjur-puppet-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254160647,"owners_count":22024574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","demo","devsecops","machine-identity","puppet","secrets","security"],"created_at":"2024-12-25T22:20:08.504Z","updated_at":"2025-05-14T14:34:16.668Z","avatar_url":"https://github.com/ryanprior.png","language":"Puppet","funding_links":[],"categories":[],"sub_categories":[],"readme":"* Preparation 🙏🏻\n** TODO turn off notifications\n** TODO restart Emacs\n** TODO zoom in the frame\n#+BEGIN_SRC elisp :results output silent\n  (require 'zoom-frm)\n  (zoom-in/out 1)\n  (zoom-frm-unzoom)\n  (zoom-in/out 8)\n#+END_SRC\n\n** TODO clean up old data\n#+BEGIN_SRC sh :results output silent\n  docker-compose down\n  rm -f puppet/manifests/secrets.pp\n#+END_SRC\n\n** TODO start up new containers\n#+BEGIN_SRC sh :results output silent\n  ./start.sh\n#+END_SRC\n\n* The Conjur Puppet Demo 💪🏻\n** Introduction\nThis demo was created for PuppetConf 2017\n- presented by Ryan Prior, CyberArk software engineer\n- co-presented with Jody Hunt, CyberArk global directory of customer success\n- get Conjur: https://conjur.org\n  + on GitHub: https://github.com/cyberark/conjur (AGPLv3, PRs requested)\n  + the Puppet module: https://forge.puppet.com/cyberark/conjur\n  + this demo: https://github.com/ryanprior/conjur-puppet-demo\n- on social media:\n  + https://twitter.com/ryanprior\n  + https://twitter.com/conjurinc\n\n** Manual Secrets Management 😳🔓️🤷🏻‍♂️\n*** The special DevOps thumb drive (aka SneakerNet 👟)\nThis is a manually managed \"secrets\" manifest which ops must keep private:\nfile:thumb-drive/secrets.pp\n#+BEGIN_SRC sh :results output silent\n  cp thumb-drive/secrets.pp puppet/manifests/secrets.pp\n#+END_SRC\n\n#+BEGIN_SRC sh\n  ./run-agent.sh\n#+END_SRC\n\n*** Problems with manual secrets management 💥\n*** Why Hiera is not the solution 🤔📚️\n\n** Conjur Secrets Management 👌🏻🤠🔑\n#+BEGIN_SRC sh :results value verbatim\n  cp conjur/secrets.pp puppet/manifests/secrets.pp\n  docker-compose exec -T client /demo/load-secrets.sh\n#+END_SRC\n\n*** Generate a hostfactory token and give it to the Puppet Master\n#+BEGIN_SRC sh\n  ./generate-hostfactory-token.sh\n#+END_SRC\n\nPut this token in file:puppet/manifests/secrets.pp\n\n*** Run the Puppet agent again\n#+BEGIN_SRC sh\n  ./run-agent.sh\n#+END_SRC\n\n*** Take a look at the Conjur policy 🔎\nIt's in file:conjur/app.yml\n*** Rotate a secret 🔄\n#+BEGIN_SRC sh :results verbatim\n  docker-compose exec -T client sh -c '\n  conjur variable values add app/postgres-password \"long director down so\"\n  conjur variable values add app/vendor-oauth-token \"ee16b985-c72b-4cd3-abec-af38c056db00\"\n  '\n#+END_SRC\n\n*** Let's do just a couple cool Conjur things! ❄️🆒\nWhat hosts have we created so far?\n#+BEGIN_SRC sh\ndocker-compose exec -T client \\\n  conjur list -k host\n#+END_SRC\n\nWhat are all the roles can fetch the app's postgres password?\n#+BEGIN_SRC sh\n  docker-compose exec -T client \\\n                 conjur resource permitted_roles \\\n                 variable:app/postgres-password \\\n                 execute\n#+END_SRC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanprior%2Fconjur-puppet-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanprior%2Fconjur-puppet-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanprior%2Fconjur-puppet-demo/lists"}