Always allow base64 encoded flag for environment variable based values

Created on 17 May 2023, about 1 year ago
Updated 30 June 2024, about 1 hour ago

Problem/Motivation

When using environment variables on hosted platforms sometimes the web ui does not allow for multi-line values or special characters to be set (e.g. Acquia environment variables). Storing certs and private keys in env variables then don't work. It would be nice to always allow an env variable key store to be marked as base64 encoded to work around these kinds of limitations when values need to be saved through those means.

Proposed resolution

Remove the check in the EnvKeyProvider class for the key type and just always allow the base64 encoded flag. Also add some extra text to clarify that if a value is already contains a base64 encoded value you don't need to flag it as such. Just if you've basically "double encoded" it for reasons.

User interface changes

The checkbox will be on all env key provider forms.

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada minorOffense Ottawa, Canada

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024