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.