Azure Vault credential support (#3394)
This commit is contained in:
@@ -67,7 +67,7 @@ from skyvern.forge.sdk.core.skyvern_context import ensure_context
|
||||
from skyvern.forge.sdk.models import Step
|
||||
from skyvern.forge.sdk.schemas.tasks import Task
|
||||
from skyvern.forge.sdk.services.bitwarden import BitwardenConstants
|
||||
from skyvern.forge.sdk.services.credentials import OnePasswordConstants
|
||||
from skyvern.forge.sdk.services.credentials import AzureVaultConstants, OnePasswordConstants
|
||||
from skyvern.forge.sdk.trace import TraceManager
|
||||
from skyvern.services.task_v1_service import is_cua_task
|
||||
from skyvern.utils.prompt_engine import (
|
||||
@@ -961,7 +961,9 @@ async def handle_input_text_action(
|
||||
if text is None:
|
||||
return [ActionFailure(FailedToFetchSecret())]
|
||||
|
||||
is_totp_value = text == BitwardenConstants.TOTP or text == OnePasswordConstants.TOTP
|
||||
is_totp_value = (
|
||||
text == BitwardenConstants.TOTP or text == OnePasswordConstants.TOTP or text == AzureVaultConstants.TOTP
|
||||
)
|
||||
is_secret_value = text != action.text
|
||||
|
||||
# dynamically validate the attr, since it could change into enabled after the previous actions
|
||||
|
||||
Reference in New Issue
Block a user