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

PHPLIB-1176: Various improvements for In-Use Encryption tutorial #1122

Merged
merged 6 commits into from
Jul 10, 2023

Commits on Jul 10, 2023

  1. PHPLIB-1176: Various improvements for In-Use Encryption tutorial

    Adds additional non-enterprise examples from the PyMongo tutorial: "Explicit Encryption with Automatic Decryption" and "Explicit Queryable Encryption".
    
    Examples are now broken out into separate files, which are tested in ExamplesTest.
    
    Renames "Client-Side Encryption" to "In-Use Encryption" (PHPLIB-997). This will warrant adding a redirect from "/tutorial/client-side-encryption/" to "/tutorial/encryption/" in the related docs-php-library project.
    
    Adds docs for crypt_shared and mongocryptd (PHPLIB-985).
    jmikola committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    4a1e55d View commit details
    Browse the repository at this point in the history
  2. Code review feedback

    Demonstrates schema validation errors in example scripts
    
    Relocates local schema section after server-side schema, and clarifies that it should be used in conjunction with server-side schemas (not instead of).
    
    Revise comments and variable names in scripts and update expected output for tests accordingly.
    jmikola committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    c2ca7b0 View commit details
    Browse the repository at this point in the history
  3. Create key vault index in key management scripts and remove setup cod…

    …e elsewhere
    
    This replaces the setup code with a top-of-script comment to avoid repetition. ExamplesTest now prepares the cleans up the necessary collections.
    
    Add a note about creating the partial, unique index on keyAltNames.
    jmikola committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    e81560a View commit details
    Browse the repository at this point in the history
  4. Fix variable typo

    jmikola committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    e05aa7d View commit details
    Browse the repository at this point in the history
  5. Update baseline

    jmikola committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    af018f1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    847023d View commit details
    Browse the repository at this point in the history