Reply
Explorer
Posts: 24
Registered: ‎11-15-2016
Accepted Solution

Deleting Kerberos Credentials of decomissioned host

Hi,

 

I've recently decomissioned a couple of hosts from a cluster (replaced with newer machines).

The cluster is using kerberos authentication managed via Cloudera Manager and I've noticed that the page listing all the available credentials (Administration -> Security -> Kerberos Credentials) continues to list the SPNs for the decomissioned machines.

 

Is there any way to clean them up?

I've searched in the documentation and I've only found this API endpoint https://cloudera.github.io/cm_api/apidocs/v17/path__cm_commands_deleteCredentials.html that deletes ALL the SPNs (I need to delete only the old ones).

 

Thanks

p.

 

Cloudera Employee
Posts: 36
Registered: ‎12-14-2016

Re: Deleting Kerberos Credentials of decomissioned host

Hi parnigot,

 

You can try selecting those specific principals and clicking "Regenerate Selected". Alternatively, you could just go into the KDC or AD and delete the principals there.

Explorer
Posts: 24
Registered: ‎11-15-2016

Re: Deleting Kerberos Credentials of decomissioned host

Hi h@cloudera,

 

I didn't know that the "Regenerate Selected" executed on a old SPN will simply delete it without recreating it.

 

Thanks for the tip!

p.

 

Highlighted
Cloudera Employee
Posts: 36
Registered: ‎12-14-2016

Re: Deleting Kerberos Credentials of decomissioned host

Glad to help, @parnigot!

Announcements