You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CLI is currently hardcoded to run without a secure TLS connection and to dial http://localhost:<port>. The platform TLS story is maturing1 and once it is stabilized within the SDK, the CLI should support the ability to drive with or without TLS so it can successfully dial the platform port in either scenario.
Acceptance Criteria
CLI does not hardcode http platform endpoints
CLI's SDK initializations include the sdk.WithInsecureConnection() option only when running without TLS enabled
config is updated to include a TLS enabled true/false flag
the config subcommand is updated to drive the TLS enabled state and update the config when ran
the error message with code Unavailable and desc "connection error" is transformed into a more helpful error message to the user like "Failed to dial the platform, please check that it is running on ".
Background
The CLI is currently hardcoded to run without a secure TLS connection and to dial
http://localhost:<port>
. The platform TLS story is maturing1 and once it is stabilized within the SDK, the CLI should support the ability to drive with or without TLS so it can successfully dial the platform port in either scenario.Acceptance Criteria
http
platform endpointssdk.WithInsecureConnection()
option only when running without TLS enabledFootnotes
https://github.com/opentdf/platform/issues/451 ↩
The text was updated successfully, but these errors were encountered: