expand path for custom identity key