rotate

fun rotate(newKey: String)

Replaces the current credential after validation.