-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
edit wizard, skip aws as default for other plugins
- move aws config init to aws plugin configuration - create/update secrets locally without aws - new method set_required_secure_text_values() - upsert_secret method allow refactor operations - exclude iambic_managed when it is undefined for okta, azure and google ws - refactor: configuration_wizard_google_workspace_add, configuration_wizard_azure_ad_organization_add, configuration_wizard_okta_organization_add run() - fix: not update okta user status when it is deleted (or it is going to be deleted)
- Loading branch information
1 parent
9494c3e
commit 73c2188
Showing
9 changed files
with
374 additions
and
244 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
from pydantic import SecretStr | ||
import pytest | ||
|
||
from iambic.core.iambic_enum import IambicManaged | ||
from iambic.plugins.v0_1_0.azure_ad.models import AzureADOrganization | ||
|
||
|
||
@pytest.mark.parametrize("exclude", [None, {"other"}]) | ||
def test_organization_to_dict(exclude): | ||
organization = AzureADOrganization( | ||
idp_name="idp_name", | ||
tenant_id="tenant_id", | ||
client_id="client_id", | ||
client_secret=SecretStr("client_secret"), | ||
) # type: ignore | ||
|
||
assert organization.dict(exclude=exclude) == dict( | ||
idp_name="idp_name", | ||
tenant_id="tenant_id", | ||
client_id="client_id", | ||
client_secret=SecretStr("client_secret"), | ||
request_timeout=60, | ||
iambic_managed=IambicManaged.UNDEFINED, | ||
require_user_mfa_on_create=False, | ||
) # type: ignore |
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