Repository navigation
docs(ruby): link the KMS trigger SQL from the wrapper repo and document updating it - #43
Merged
Merged
Conversation
…nt updating it Replace the inline copies of the KMS Encryption Plugin's PostgreSQL and MySQL trigger SQL with links to the files the wrapper repo maintains, so the SQL has a single source. The per-column CREATE TRIGGER examples stay on the page. Add "Updating the trigger SQL", which explains how to check the installed version from its database comment, when to re-run the file, and lists the versions so far.
sophia-bq
approved these changes
Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Replaces the inline copies of the KMS Encryption Plugin's trigger SQL with links to the files the Ruby wrapper repo maintains, so the SQL has one source, and documents how to keep an installed trigger up to date.
trigger_pg.sqlandtrigger_mysql.sqlin the wrapper repo (lib/aws_advanced_ruby_driver_wrapper/plugins/kms_encryption/sql/), plus short setup notes:encryptschema name;pgcryptoschema;log_bin_trust_function_creatorsrequirements;DELIMITERnote.CREATE TRIGGERexamples stay on the page.site/docs-ruby/using-plugins/kms-encryption.mdwithgenerate.py. No other pages changed.Merge order: the links point to files added in wrapper PR 218 and won't resolve until that PR is merged. Merge it first. After this PR is merged, merge
mainintoruby/1.1.0so the 1.1.0 branch doesn't bring back the old inline SQL.Which docs are affected?
Ruby: Using the KMS Encryption Plugin (
using-plugins/kms-encryption), the "Enforce encryption in the database" section.Checklist