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 cmd/authenticator and misc command tweaks #39

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

rtamalin
Copy link
Collaborator

Add an authenticator command that will register, and re-authenticate, a telemetry client system, and will report the current auth token's issuer and expiration date.

Extended TelemtryClient with methods to get the ExpirationDate() and Issuer() for the currently active token. Added internal helper methods to support this.

Quietened some log messages by switching them to debug level and tweaked some others to be more useful.

Added output messages to cmd/generator describing the steps that it has performed. Similarly updated cmd/clientds to say that nothing was found if the client datastore is empty.

Note that this change pulls support for JWT processing into the client side library.

Add an authenticator command that will register, and re-authenticate,
a telemetry client system, and will report the current auth token's
issuer and expiration date.

Extended TelemtryClient with methods to get the ExpirationDate() and
Issuer() for the currently active token. Added internal helper methods
to support this.

Quietened some log messages by switching them to debug level and
tweaked some others to be more useful.

Added output messages to cmd/generator describing the steps that it
has performed. Similarly updated cmd/clientds to say that nothing
was found if the client datastore is empty.

Note that this change pulls support for JWT processing into the client
side library.
Copy link
Collaborator

@gbuenodevsuse gbuenodevsuse left a comment

Choose a reason for hiding this comment

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

LGTM

@rtamalin rtamalin merged commit 593e2a5 into main Jul 30, 2024
1 check passed
@rtamalin rtamalin deleted the authenticator_command branch August 2, 2024 15:14
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.

2 participants