Skip to content

Feature request: add helper function to decode base64 encoded strings #2188

Closed
@dreamorosi

Description

@dreamorosi

Use case

Across the project we decode base64 encoded strings in two places: the Parameters utility when fetching configurations from AppConfig, and the upcoming JMESPath utility when using the powertools_base64() custom function.

To avoid code duplication we should extract this functionality in the commons package so that it can be reused by both consumers.

Solution/User Experience

The utility should have a small footprint and an isolated export so that it can be tree shaken and removed from bundle when not used.

Alternative solutions

No response

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

commonsThis item relates to the Commons UtilitycompletedThis item is complete and has been merged/shippedfeature-requestThis item refers to a feature request for an existing or new utility

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions