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

AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager #46839

Merged
merged 7 commits into from
Feb 19, 2025

Conversation

bugraoz93
Copy link
Collaborator

closes: #46837

I also included the token generation in SimpleAuthManager to enable further development.


^ 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.

@bugraoz93 bugraoz93 added area:auth AIP-81 Enhanced Security in CLI via Integration of API labels Feb 17, 2025
Copy link
Contributor

@vincbeck vincbeck left a comment

Choose a reason for hiding this comment

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

Looks good. I assume then you want to use the simple auth manager in the CLI? That's cool :)

@bugraoz93 bugraoz93 force-pushed the feat/46837/expiration-config-cli branch from 35f0584 to 320daae Compare February 17, 2025 22:41
@bugraoz93
Copy link
Collaborator Author

Looks good. I assume then you want to use the simple auth manager in the CLI? That's cool :)

That is exactly my intention :) Thanks for the review!

Fixed the openapi specs. Surprised it got away from my local pre-commit run before the commit.

Copy link
Contributor

@vincbeck vincbeck left a comment

Choose a reason for hiding this comment

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

Could you please add unit tests?

@bugraoz93
Copy link
Collaborator Author

Could you please add unit tests?

For sure, I am going to add them. Sorry for double-checking!

I am going to work on the changes needed in FAB next for this integration. I might again need your review there :)

@vincbeck
Copy link
Contributor

Could you please add unit tests?

For sure, I am going to add them. Sorry for double-checking!

I am going to work on the changes needed in FAB next for this integration. I might again need your review there :)

For sure! Happy to review :) Feel free to add me as reviewer/tag me

@bugraoz93 bugraoz93 force-pushed the feat/46837/expiration-config-cli branch from 320daae to 9f69120 Compare February 18, 2025 22:06
@bugraoz93
Copy link
Collaborator Author

Could you please add unit tests?

For sure, I am going to add them. Sorry for double-checking!
I am going to work on the changes needed in FAB next for this integration. I might again need your review there :)

For sure! Happy to review :) Feel free to add me as reviewer/tag me

Thanks a lot! I will do that :) I added unit tests and moved some parts to conftest.

@bugraoz93 bugraoz93 force-pushed the feat/46837/expiration-config-cli branch from 9f69120 to 758ac9b Compare February 18, 2025 22:09
@vincbeck
Copy link
Contributor

Sorry I did not add comments as part of one review, they arrived in my mind after my first review :)

@bugraoz93
Copy link
Collaborator Author

Sorry I did not add comments as part of one review, they arrived in my mind after my first review :)

All welcome! Thanks! I'm going to check in a moment :)

@bugraoz93
Copy link
Collaborator Author

bugraoz93 commented Feb 18, 2025

I addressed them all. Whenever you have time :)

Copy link
Contributor

@vincbeck vincbeck left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for addressing all the comments

@bugraoz93
Copy link
Collaborator Author

Nice! Thanks for addressing all the comments

Thanks for your time! :)

@vincbeck vincbeck merged commit ae5afd9 into apache:main Feb 19, 2025
45 checks passed
ntr pushed a commit to ntr/airflow that referenced this pull request Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AIP-81 Enhanced Security in CLI via Integration of API area:auth
Development

Successfully merging this pull request may close these issues.

AIP-81 Add New Configuration to Set CLI Token Expiration Time
2 participants