I need to remove a specific key from the authorized_keys file while leaving all other keys intact. I’ve been able to add a key but it seems that removing a specific key isn’t an option. As I understand things I can add a key to be exclusive but that isn’t a solution as some systems have different keys that need to be there.
Added:
I looked at the state parameter and now see that I can use absent. As long as I don’t have the exclusive parameter set to true will this do what I need?