Skip to content
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

[Commands] Add spire:init and user:change-password commands #113

Merged
merged 3 commits into from
Apr 29, 2023

Conversation

Akkadius
Copy link
Owner

@Akkadius Akkadius commented Apr 29, 2023

This PR adds the following commands

  • spire:init [username] [password] --auth-enabled=true
  • user:change-password [username] [password]

The initialization command is used to automate Spire installs which is what otherwise is done when a user first runs Spire from their server directory - asking them for a username, password and if they want to enable auth before setting up their instance of Spire.

The latter command is pretty straightforward, it is there to reset user passwords under a local context

go run main.go user:change-password akkadius password
INFO Password changed for user akkadius   

@Akkadius Akkadius merged commit b24fbe1 into master Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant