Closed jodyhuntatx closed 2 years ago
conjur list
.The unfortunate part about this is there is no API endpoint to query for whoami. The regular Conjur CLI just reports back what is stored in the Conjur Identity file stored locally, which implies an authenticated session when there could be none. This process should rectify that implication.
Actually, there is a /whoami
endpoint. Will just use that instead. It's not available through conjur-api-go
pkg, so will be a direct http.client
request.
Make it easy to see current login identity. Good for debugging.