Skip to content

Commit

Permalink
Updated python-tss-sdk dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
delinea-sagar committed Jul 5, 2023
1 parent 989b80e commit 4adfc0c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion awx/main/credential_plugins/tss.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
from .plugin import CredentialPlugin
from django.utils.translation import gettext_lazy as _

from thycotic.secrets.server import DomainPasswordGrantAuthorizer, PasswordGrantAuthorizer, SecretServer, ServerSecret
try:
from delinea.secrets.server import DomainPasswordGrantAuthorizer, PasswordGrantAuthorizer, SecretServer, ServerSecret
except ImportError:
try:
from thycotic.secrets.server import DomainPasswordGrantAuthorizer, PasswordGrantAuthorizer, SecretServer, ServerSecret
except ImportError:
SecretServer = None
ServerSecret = None
PasswordGrantAuthorizer = None
DomainPasswordGrantAuthorizer = None

tss_inputs = {
'fields': [
Expand Down

0 comments on commit 4adfc0c

Please sign in to comment.