Skip to content

Feature request: Add support to mask/encrypt/decrypt Pydantic models, Dataclasses, and standard Python classes in the DataMasking utility #3473

@leandrodamascena

Description

@leandrodamascena

Use case

Currently, the DataMasking utility only supports operations with traversable types in Python, for example: Lists, Dict, str, and others. It is a limitation for customers who want to integrate DataMasking utility with their existing Pydantic models, data classes, or standard Python classes.

Solution/User Experience

Add support for mask, encrypt and decrypt Pydantic models, Dataclasses, and standard Python classes.

Alternative solutions

No response

Acknowledgment

  • This feature request meets Powertools for AWS Lambda (Python) Tenets
    Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET

Activity

rubenfonseca

rubenfonseca commented on Dec 18, 2023

@rubenfonseca
Contributor

We've added this to our backlog, and we intend to work on this early next year.

changed the title [-]Feature request: Add support to mask/encrypt/decrypt Pydantic models, Dataclasses, and standard Python classes[/-] [+]Feature request: Add support to mask/encrypt/decrypt Pydantic models, Dataclasses, and standard Python classes in the DataMasking utility[/+] on Aug 11, 2024
dreamorosi

dreamorosi commented on Feb 10, 2025

@dreamorosi
Contributor

Hey @leandrodamascena, whenever you have time this week, could you please leave a comment with some more details about what needs to be done / implemented as part of this issue?

This will help potential contributors to orient themselves.

19 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

    Participants

    @rubenfonseca@leandrodamascena@dreamorosi@anafalcao@VatsalGoel3

    Issue actions

      Feature request: Add support to mask/encrypt/decrypt Pydantic models, Dataclasses, and standard Python classes in the DataMasking utility · Issue #3473 · aws-powertools/powertools-lambda-python