How to consult the expiry date of an active RS license with command line tools?

Last updated 18, Apr 2024

Goal

Understand how to consult the expiry date of an active RS license using command-line tools.

Solution

It is possible to discover the expiry date of a Redis Enterprise Cluster license using a REST call:

curl -k  -u "<admin>:<passwd>" https://<cluster>:9443/v1/license

References

REST API license requests