-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(RHINENG-5479): Update API to handle Service Account type (#1588)
Co-authored-by: Asa Price <[email protected]>
- Loading branch information
1 parent
8c270b7
commit 451252b
Showing
3 changed files
with
62 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,18 @@ | |
"user": {"email": "[email protected]", "first_name": "test"}, | ||
} | ||
|
||
SERVICE_ACCOUNT_IDENTITY = { | ||
"account_number": "test", | ||
"org_id": "456", | ||
"auth_type": "jwt-auth", | ||
"internal": {"auth_time": 500, "cross_access": False, "org_id": "456"}, | ||
"service_account": { | ||
"client_id": "b9757340-f839-4541-9af6-f7535edf08db", | ||
"username": "service-account-b9757340-f839-4541-9af6-f7535edf08db", | ||
}, | ||
"type": "ServiceAccount", | ||
} | ||
|
||
YUM_REPO1 = {"id": "repo1", "name": "repo1", "gpgcheck": True, "enabled": True, "base_url": "http://rpms.redhat.com"} | ||
|
||
YUM_REPO2 = {"id": "repo2", "name": "repo2", "gpgcheck": True, "enabled": True, "base_url": "http://rpms.redhat.com"} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters