Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Better Warning, Replacement, or Removal or FHIR Admin User Password Generation #97

Closed
mikaelweave opened this issue Oct 6, 2020 · 1 comment

Comments

@mikaelweave
Copy link

Overview
I'm currently going through the FHIR OpenHack on my Mac. When running Create-FhirServerSamplesEnvironment.ps1 I get the below error.

image

I know there is already an issue around this, but I think changing the code to make the script usable without reading the issues would be a better experience for new developers using a *nix OS.

Thoughts for a fix

  • Easiest solution would be to check for the existence of the library on the system and throw a more user friendly message if it cannot be found. This message should instruct the user to add the AdminPassword parameter.
  • Second possible solution would be to replace it with a different, cross-platform approach. This may require adding another function to the module/script as there isn't a equal method in .NET Core (see below for more).
  • Third solution would be to just remove the automatic password generation, and force the user to always supply it. I think the best arguments for this are in a .NET Core issue about replacing the Windows library.
@ginalee-dotcom
Copy link
Collaborator

Thank you for the feedback! Will work on this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants