Closed jtarchie closed 4 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/174536502
The labels on this github issue will be updated when the story is started.
Fixed by #105. Will be released in the next version of cli. Thanks for reporting the issue!
1.9.3
With the current CLI (2.8.0), when we
credhub export
and thencredhub import
we receive an error on many credentials ofthe server does not support credential metadata, requires >= 2.6.x
. It appears that theexport
includes an empty field for each credential ofmetadata: {}
. Theimport
is then not able to use this and errors on the import.Not to receive this error. Most likely,
credhub export
would export a field that is unsupported by the server it is exporting from.This error message on every credential trying to be imported --
the server does not support credential metadata, requires >= 2.6.x
The 2 that we manually added, which did not have the
metadata: {}
worked. As can be seen in the following output.Example output: