removeKey

abstract suspend fun removeKey(id: StorageKeyId): Boolean

Removes key id, for retiring a storage key after a rotation proved that no record uses it. Returns true if this call removed it and false if the provider did not have it. Other keys are not touched. Throws IllegalStateException and changes nothing if id is the provider's last key: a provider never removes all of its keys.