Device credential for Cisco license lookup and transfer

https://tools.cisco.com/SWIFT/LicensingUI/LicenseAdminServlet/licenseLookup

in CLI:

license save credential flash0:/credentials.lic  
more flash0:/credentials.lic 

Try SSH if you can’t get full strings from serial connection.