INWX: add additional documentation about 2FA (#865)

This commit is contained in:
Sven Peter 2020-09-20 15:53:58 +02:00 committed by GitHub
parent 52c50c88b3
commit c44d9a43f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,9 +23,18 @@ username and password:
### Two factor authentication
INWX supports two factor authentication via TOTP and does not allow TOTP codes to be reused. This means that you will only be able to log into your INWX account once every 30 seconds.
You will hit this limitation in the following two scenarios:
* You run dnscontrol twice very quickly (to e.g. first use preview and then push). Waiting for 30 seconds to pass between these two invocations will work fine though.
* You use INWX as both the registrar and the DNS provider. In this case, dnscontrol will try to login twice too quickly and the second login will fail because a TOTP code will be reused. The only way to support this configuration is to use a INWX account without two factor authentication.
If you cannot work around these two limitation it is possible to contact the INWX support to request a sub-account for API access only without two factor authentication.
See issue [issue 848](https://github.com/StackExchange/dnscontrol/issues/848#issuecomment-692288859) for details.
If two factor authentication has been enabled you will also need to provide a valid TOTP number.
This can also be done
via an environment variable:
This can also be done via an environment variable:
{% highlight json %}
{
"inwx":{