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

Add support for service account token expiration #1907

Conversation

dieterdemeyer
Copy link
Contributor

When creating a Personal Access Token for a Service Account, it's possible to also pass an expiry date (optional).
This PR adds support for this.

@dieterdemeyer dieterdemeyer changed the title Add support for setting token expiration Add support for service account token expiration Apr 2, 2024
@dieterdemeyer
Copy link
Contributor Author

@svanharmelen - This PR is ready for your review.

It's not my intention to be pushy but I was wondering when we could see this get merged and released.
The reason for asking is because I'm currently blocked on having this feature, hence my PR to get this added 😉
If you have any feedback on the code that needs looking at, please let me know.

group_serviceaccounts.go Outdated Show resolved Hide resolved
Copy link
Member

@svanharmelen svanharmelen left a comment

Choose a reason for hiding this comment

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

Thanks @dieterdemeyer 👍🏻

@svanharmelen svanharmelen merged commit 05c7374 into xanzy:main Apr 5, 2024
3 checks passed
@dieterdemeyer
Copy link
Contributor Author

@svanharmelen Thanks for merging 👍 .
Any indication on when we can expect a new release that will include this change?

@svanharmelen
Copy link
Member

Uuh... Am I missing anything? v0.102.0 contains these commits right?

@dieterdemeyer
Copy link
Contributor Author

My bad, I thought it only contained the drafts-support commit (when looking at the tags view) 🙃
Forget I said anything!

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.

None yet

2 participants