Closed pop closed 1 year ago
Hey @pop, thanks for reporting!
Looks like this is a duplicate of a few other open issues currently https://github.com/segmentio/chamber/issues/324 https://github.com/segmentio/chamber/issues/160
Ah, sounds good. I'll close this out. Wasn't sure if #160 was a feature request or a bug report.
As of https://github.com/segmentio/chamber/releases/tag/v2.12.0, this can now be resolved with
chamber import --normalize-keys
Some more details in the README
This should provide the expected functionality in a non-breaking manner. In a future version, it is likely that this becomes the default behavior
That, combined with the new flag
chamber delete --exact-key
should enable deletion of upper case key values
Hello 👋 when using
chamber import
with keys that are UPPER_CASE chamber is unable to read or delete those values. Here is an example:The issue is not present with manually
chamber write
-ing a secret like so:The secrets exist in SSM and can be read just fine with
chamber env
and added to the environment withchamber exec
, butread
anddelete
are broken for just imported UPPER_CASE secrets.I am using chamber version
v2.11.1
with the SSM backend.I am more than happy to make a PR to attempt to fix the issue if public contributions are welcome and I can get somebody to review the change.