Skip to content

Add "airflow users reset-password" command - #37044

Merged
jscheffl merged 1 commit into
apache:mainfrom
aritra24:37009
Jan 28, 2024
Merged

jscheffl merged 1 commit into
apache:mainfrom
aritra24:37009

Conversation

@aritra24

Copy link
Copy Markdown
Collaborator

closes: #37009

Added support for reset-password command which
can either randomly generate a password, or
take a password from user.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@dirrao dirrao left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work. I have given a minor comment.

Added support for reset-password command which
can either randomly generate a password, or
take a password from user.

@potiuk potiuk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one

@potiuk

potiuk commented Jan 28, 2024

Copy link
Copy Markdown
Member

@jscheffl ?

@jscheffl jscheffl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one also here, thanks for the consolidation.
I was wondering what the benefit of a random password is, because it is not even printed and with the random string nobody will know later… but as it is the same with create user all is fine here. LGTM!

@jscheffl
jscheffl merged commit 0fce3b6 into apache:main Jan 28, 2024
@aritra24
aritra24 deleted the 37009 branch January 29, 2024 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "airflow users change-user-password"

4 participants