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

Dbus service to support telemetry jwt operation #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

saravanan-i
Copy link

@saravanan-i saravanan-i commented Sep 19, 2023

Why I did it

Added Dbus handler to retrieve user roles for enabling telemetry dialin client to generate jwt token

How I did it

Retrieved user roles for an user from OS

How to verify it

  1. Load Telemetry table (with client authentication mode as cert,password,jwt) using config load
  2. Restart the telemetry docker
  3. Request a new JWT token for admin user using gnoi_client
  4. Observe that telemetry server returns the JWT token with expiry date

Which release branch to backport (provide reason below if selected)

  • 202305

Description for the changelog

Dbus service to return user roles for an valid user present in sonic

Dependent Merge Requests:
sonic-net/sonic-buildimage#13142
sonic-net/sonic-gnmi#152

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.

1 participant