Allow azure_key_vault to fail gracefully when unable to access the vault

Created on 22 July 2024, 5 months ago
Updated 5 August 2024, 5 months ago

Problem/Motivation

When importing from an environment that does not have a correct secret value for X number of reasons, usually security related, allow azure_key_vault to fail gracefully and not block a config import with a big nasty crash.

Steps to reproduce

Export a key to a vault
bring this key over to an environment that doesn't have a vault secret
observe fatal crashing trying to import azure keys in dev environments for example

Proposed resolution

Allow azure_key_vault to fail gracefully.

Remaining tasks

Push commit, tag and release.

User interface changes

Fails gracefully with an error message in the drupal web ui or a warning message in the command line with say, drush cim -y;

API changes

see changes related to this commit.

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada joseph.olstad

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

Comments & Activities

Production build 0.71.5 2024