update(newKey) {
        this._key = newKey;
    }
Create an instance of an AzureNamedKeyCredential for use
with a service client.

@param name - The initial value of the name to use in authentication.
@param key - The initial value of the key to use in authentication.