- Issue created by @awolfey
When syncing a secret created with Terminus, a fatal error occurs in the key name already exists.
After deleting the key using Terminus, and clearing the site cache, the fatal error occurs with the same key name as the deleted key.
Drupal\Core\Entity\EntityStorageException: 'key' entity with ID 'my_key' already exists. in Drupal\Core\Entity\EntityStorageBase->doPreSave() (line 519 of /code/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php).
Check for existing keys using the key id before saving the key entity.
Perhaps offer to rename the key id.
Active
1.0
Code