-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exporting and then importing results in the server does not support credential metadata, requires >= 2.6.x
error
#104
Comments
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. |
cf-gitbot
added
unscheduled
scheduled
in progress
and removed
unscheduled
scheduled
labels
Aug 27, 2020
peterhaochen47
added a commit
that referenced
this issue
Sep 3, 2020
- this change is consistent with the behavior of `credhub get` - to fix "server does not support credential metadata" error when exporting creds from & importing back into an old version of credhub server that does not support metadata [#174536502] [Issue #104]
peterhaochen47
added a commit
that referenced
this issue
Sep 3, 2020
- this change is consistent with the behavior of `credhub get` - to fix "server does not support credential metadata" error when exporting creds from & importing back into an old version of credhub server that does not support metadata [#174536502] [Issue #104]
peterhaochen47
added a commit
that referenced
this issue
Sep 3, 2020
- this change is consistent with the behavior of `credhub get` - to fix "server does not support credential metadata" error when exporting creds from & importing back into an old version of credhub server that does not support metadata [#174536502] [Issue #104]
Fixed by #105. Will be released in the next version of cli. Thanks for reporting the issue! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 the
export
includes an empty field for each credential ofmetadata: {}
.The
import
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:
The text was updated successfully, but these errors were encountered: