Skip to content

Commit 074230d

Browse files
authored
Merge pull request carbonblack#184 from trailofbits/tob-env-creds-org-key
cbapi/auth: Add CBAPI_ORG_KEY for EnvarCredentialStore
2 parents c37538a + af06613 commit 074230d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cbapi/auth.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def __init__(self):
6767
self.cbapi_url = environ.get('CBAPI_URL',None)
6868
self.cbapi_token = environ.get('CBAPI_TOKEN',None)
6969
self.cbapi_ssl_verify = environ.get('CBAPI_SSL_VERIFY',True)
70+
self.org_key = environ.get('CBAPI_ORG_KEY', None)
7071
self.credentials = Credentials(url=self.cbapi_url,token=self.cbapi_token,ssl_verify=self.cbapi_ssl_verify)
7172

7273
def get_credentials(self,profile=None):

0 commit comments

Comments
 (0)