Locating the Public Key Token for a Management Pack
When referencing a sealed management pack in a Service Manager or Operations Manager management pack, you will also need the Public Key Token. When referencing a Microsoft management pack, it is easy as Microsoft always have the same key which is 31bf3856ad364e35. However if you have sealed your own management pack and need to reference that management pack in another management pack, then you will need to know what the public key tokenĀ is. The below block of text details how you reference a management pack.
<Reference Alias=”CIAffectedGroups”>
<ID>CI.Incident.Customisations.AffectedGroups</ID>
<Version>1.0.0.4</Version>
<PublicKeyToken>2265bdbd639fa737</PublicKeyToken>
</Reference>
So you probably don’t know what the public key token is for your sealed management pack, thankfully it is easy to find it. You need access to the sn.exe tool that you use for creating the singing certificate. All you need to do is run the following:
Sn -T SealedManagementPackFileName
You should then get a response like below:
You now have the public key token that can be used in your reference.
