Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
Create token - vanilla flow
Browse files Browse the repository at this point in the history
Basic skeleton was created to allow easy entry into task (Addition was made to help screen, appropriate classes were added)
  • Loading branch information
eranha committed Sep 30, 2021
1 parent 0e79ace commit 12c4563
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion conjur/api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from typing import Optional
from datetime import datetime, timedelta

# Third party
# Third Parties
import requests

# Internals
Expand Down
6 changes: 3 additions & 3 deletions conjur/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,6 @@ def run_action(resource:str, args):
result = client.whoami()
print(json.dumps(result, indent=4))

elif resource == 'hostfactory':
Cli.handle_hostfactory_logic(args, client)

elif resource == 'variable':
Cli.handle_variable_logic(args, client)

Expand All @@ -331,6 +328,9 @@ def run_action(resource:str, args):
elif resource == 'host':
Cli.handle_host_logic(args, client)

elif resource == 'hostfactory':
Cli.handle_hostfactory_logic(args, client)

@staticmethod
def _parse_args(parser: ArgparseWrapper):
args = parser.parse_args()
Expand Down
2 changes: 2 additions & 0 deletions conjur/logic/hostfactory_logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
This module holds the business logic for executing and manipulating
returned data
"""

# Builtins
import json
from urllib import parse

Expand Down

0 comments on commit 12c4563

Please sign in to comment.