Skip to content

Added API key authentication handling to script#35

Open
w-sellars wants to merge 2 commits intomainfrom
acm-cert-api-handling
Open

Added API key authentication handling to script#35
w-sellars wants to merge 2 commits intomainfrom
acm-cert-api-handling

Conversation

@w-sellars
Copy link
Copy Markdown
Contributor

No description provided.

docs line

Co-authored-by: tbrito-arpio <tbrito@arpio.io>

#Determine form of auth between API and Token user/pass
if auth_type == 'api':
if auth_type == 'api' and api_key is None and os.environ.get('ARPIO_API_KEY') is None:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Second auth_type == 'api' check is redundant

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I had originally had a selector that differed in the code I ripped this from. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants