Error saving auth token to system credential store: Unsupported platform: freebsd

Following Hashicorp’s Boundary tutorial, and got the Controller running in dev mode in a jail.

Tried to run the tutorial connection to first target using the following command:

./boundary authenticate password -auth-method-id=ampw_1234567890 -login-name=admin -password=password

And received this error:

Error reading auth token from system credential store: Unsupported platform: freebsd

Is it a different problem than this: https://github.com/hashicorp/boundary/issues/697

Hey there, thanks for opening this. On linux distributions, Boundary relies in dbus and gnome keyring to store the auth token when authenticating on the CLI. The resolution mentioned in https://github.com/hashicorp/boundary/issues/697 is still your best bet, or you can save the token manually and set it in your shell with BOUNDARY_TOKEN or pass the -token flag to subsequent commands.

Hey everyone, we’re actually refactoring how we handle our authentication token storage in this PR: https://github.com/hashicorp/boundary/pull/731 or if you’d like to download a binary from this branch, we have one here as well https://drive.google.com/file/d/1nq9Z71g_QF9WwAP6Y8LcwMv4OoqGOwSD/view

We’re looking for feedback on this PR, so please feel free to build from source and take it for a test drive. Thank you!

1 Like

Is there a precompiled FreeBSD binary for PR731?

-token parameter works!

1 Like