Skip to content

Add sanssh whoami cmd#580

Merged
sfc-gh-mwojtczak merged 6 commits into
mainfrom
add-sanssh-whoami-cmd
Aug 4, 2025
Merged

Add sanssh whoami cmd#580
sfc-gh-mwojtczak merged 6 commits into
mainfrom
add-sanssh-whoami-cmd

Conversation

@sfc-gh-mwojtczak

@sfc-gh-mwojtczak sfc-gh-mwojtczak commented Aug 1, 2025

Copy link
Copy Markdown
Collaborator

Added a new whoami command within sanssh CLI.

This functionality allows users to print their identity details of the current credential source.

Example usage:
sanssh whoami

Example output:

username: sanssh
cert:
        issuer: 
        valid until: 2033-10-16 10:19:03 +0000 UTC (2997 days 16 hours 50 minutes)
groups:
         group1
         group2

Comment thread services/whoami/client/utils.go Outdated
Comment thread cmd/sanssh/client/client.go Outdated
@sfc-gh-mwojtczak sfc-gh-mwojtczak merged commit 14a3c95 into main Aug 4, 2025
6 checks passed
@sfc-gh-mwojtczak sfc-gh-mwojtczak deleted the add-sanssh-whoami-cmd branch August 4, 2025 12:33
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