Talking Drupal
Talking Drupal #581 - All Things Open

Talking Drupal #581 - All Things Open

Talking Drupal

1:09:01

About this episode

Today we are talking about Open Source Contribution, Event Organizing, and All Things Open with guest Jason Hibbets. We'll also cover Key as our module of the week.

For show notes visit:
https://www.talkingDrupal.com/581

Topics

  • Open Source Origin Stories
  • Red Hat Lessons on Community
  • Beyond Code Contributions
  • Building OS Communities
  • Imposter Syndrome and Roles
  • Unconferences and CityCamp
  • Birds of a Feather
  • Unconference vs BoF
  • Conference Magic Moments
  • All Things Open Origins
  • Why In Person Matters
  • Designing Hallway Track
  • Measuring Hallway ROI
  • Expanding Beyond Raleigh
  • Year Round Community
  • What Content to Publish
  • Growth Drivers and AI
  • Post COVID Momentum
  • Partnering with Drupal
  • Future of Open Source

Resources

Guests

Jason S Hibbets - allthingsopen.org jhibbets

Hosts

Nic Laflin - nLighteneddevelopment.com nicxvan
Avi Schwab - froboy.org froboy
Steve Persch - stevector.com stevector

MOTW

Correspondent

Avi Schwab - froboy.org froboy

  • Brief description:
    • Have you ever wanted to keep API keys and other secrets out of your Drupal database and config exports? Have recent security concerns caused you to reassess how secret your secrets really are? There's a module for that.
  • Module name/project name:
  • Brief history
    • Created in July 2014 by Patrick Teglia (crashtest_), sponsored by Townsend Security; now led by Rick Hawkins (rlhawk) and Jakob Perry (japerry)
    • 8.x-1.23 works with Drupal 10.3, 11 and 12; 2.0.0-alpha1 is early and unsupported
  • Maintainership
    • It is actively maintained, with a release and commits from early last month
    • It has Security coverage,
    • and includes Unit, kernel, and functional tests
    • Documentation: a really thorough README, including how to set environment variables for Apache, PHP-FPM, and DDEV
    • Number of open issues: 41 open issues, about half of which are roadmap items for the 2.0 branch. There are only a handful of bugs against the current branch.
  • Usage stats:
    • Just over 108,000 sites
  • Module features and usage
    • One admin page for secrets: API keys, SMTP passwords, encryption keys
    • Each key has a type and a provider:
    • Config - the default, which is fine for dev but not recommended for production,
    • File - where the key is stored somewhere on the local file system
    • environment variable - which is out of the file system but still readable by drush and cron on the command line, or
    • external key managers via additional plugins.
    • Devs get a key_select form element and a repository service to fetch values by key name - which means contrib modules that integrate with Key don't have to know anything about the storage method.
    • The real party trick (which TIL) is config overrides: say some module stores its API key in plain config. You can point that setting at a key, and the module just gets the secret at runtime, with no changes to its code. And by default Key clears out the stored value, so the secret's gone from your database and your config exports.
    • Drush commands to save, list, delete, and even print keys
    • Key module is also a building block - Encrypt depends on it, as do many others.
    • In conclusion, there are some ways to do what Key does manually, for instance via settings.php $config override. Key uses that same core override system, but secrets are picked in the UI and modules ask for keys by name, which makes management much more convenient.

More from Talking Drupal

Today we are talking about AI, if your site's ready, and how you might get it ready with guest Ivan Stegic. We'll also cover Drush 15 as our module of the week. For show notes visit: https://www.talki…

1h 13m

Today we are talking about Woman, Drupal, and Woman in Drupal with guests Ashleigh Fox, Sinduri Guntupalli, and Rachel Lawson. We'll also cover Legal as our module of the week. For show notes visit: h…

1h 15m

Today we are talking about Better traceability, better debugging, and Rosetta with guest Jürgen Haas. We'll also cover Maestro as our module of the week. For show notes visit: https://www.talkingDrupa…

1h 7m

Today we are talking about Drupal 12, Field UI and UX. We'll also cover DruBOM as our module of the week. For show notes visit: https://www.talkingDrupal.com/577 Topics Drupal 12 Release Prep Release…

1h 8m

Today we are talking about AI, Drupal, and what's new with guests Dr. Christoph Breidert & Scott Falconer. We'll also cover Drupal AI Demo as our module of the week. For show notes visit: https://www.…

1h 19m