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

Expose "created_at" and "expired_at" timestamps for Tailnet Keys. #195

Merged
merged 2 commits into from
Aug 17, 2023
Merged

Expose "created_at" and "expired_at" timestamps for Tailnet Keys. #195

merged 2 commits into from
Aug 17, 2023

Conversation

CathalMullan
Copy link
Contributor

@CathalMullan CathalMullan commented Jan 23, 2023

What this PR does / why we need it:
Expose two new fields on tailscale_tailnet_key, "expires_at" and "created_at", which are just lifted from the Tailscale API response.

Which issue this PR fixes
Fixes #194

Opted to go with "expires_at/created_at" instead of "expires/created", but can switch if that's preferred.

@knyar knyar merged commit 63e3fc7 into tailscale:main Aug 17, 2023
3 checks passed
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.

Expose "expires_at" field for Tailnet keys
2 participants