diff --git a/otterdog/config.py b/otterdog/config.py index 5c6be5e3..b734c128 100644 --- a/otterdog/config.py +++ b/otterdog/config.py @@ -208,7 +208,7 @@ def _get_credential_provider(self, provider_type: str) -> credentials.Credential ) api_token_pattern = ( - jq.compile('.defaults.pass.username_pattern // ""').input(self._configuration).first() + jq.compile('.defaults.pass.api_token_pattern // ""').input(self._configuration).first() ) provider = PassVault(