From 7b94b9fb96c1b16811aaf6dd19a030fd8c25cc1c Mon Sep 17 00:00:00 2001 From: Ivan Sabelnikov Date: Fri, 1 Dec 2023 19:07:08 +0000 Subject: [PATCH] Automated provider upgrade (#20) * fix: 1) Add getOrgs & defaultOidcSettings 2) Upgrade provider & SDK 3) Fix CVEs (#16) * fix: Add missing getOrgs & defaultOidcSettings mappings * Migrate to provider v1.0.3 * Upgrade to go 1.21 * Upgrade SDK * Fix build * Fix build * Upgrade dotnet version * ci: Automate upstream provider upgrade (#13) * ci: Automate upstream provider upgrade * Add upgrade config * Add pr trigger * Fix build * Fix build * Fix build * Fix kind * Upgrade only provider * Tyr getting releases * Add gh token * Run release * Fix auth * Add permissions * Add write permission * Switch back to shared action * Switch back * Add GH token * Try top level * Try to create PR * Fix CI * Fix repo * Fix CI * Fix branch script * Return back upgrade-provider * remove old_version * Add GH TOKEN * Switch to shared action * Move back to push trigger * upgrade to latest go * Upgrade provider only * Upgrade all * Upgrade to go 1.21 * Bump Go SDK version * Try to fix go tidy * Switch back to provider only * Switch to old provider version * Fix build * Fix build * Try out next version * Add cron * Rebuild * Retarget CI to master * Activate upgrade provider CI * Fix branch name * Fix build * feat: Upgrade provider to 1.0.4 * chore: 1) Switch to latest VTL action 2) Disable update-provider * Fix trigger * Get rid of master ci --- .devcontainer/Dockerfile | 2 +- .github/workflows/main.yml | 13 +- .github/workflows/release.yml | 17 +- .github/workflows/upgrade-provider.yml | 61 + .upgrade-config.yml | 2 + Makefile | 1 - examples/go.mod | 2 +- .../cmd/pulumi-resource-zitadel/schema.json | 659 +++-- provider/go.mod | 202 +- provider/go.sum | 2403 +++++++++++++++-- provider/resources.go | 3 + sdk/dotnet/Action.cs | 3 +- sdk/dotnet/ApplicationApi.cs | 36 +- sdk/dotnet/ApplicationKey.cs | 21 +- sdk/dotnet/ApplicationOidc.cs | 36 +- sdk/dotnet/Config/Config.cs | 4 +- sdk/dotnet/DefaultDomainPolicy.cs | 3 +- sdk/dotnet/DefaultLabelPolicy.cs | 2 +- sdk/dotnet/DefaultLockoutPolicy.cs | 3 +- sdk/dotnet/DefaultLoginPolicy.cs | 3 +- sdk/dotnet/DefaultNotificationPolicy.cs | 3 +- sdk/dotnet/DefaultOidcSettings.cs | 172 ++ sdk/dotnet/DefaultPasswordComplexityPolicy.cs | 3 +- sdk/dotnet/DefaultPrivacyPolicy.cs | 29 +- sdk/dotnet/Domain.cs | 3 +- sdk/dotnet/DomainPolicy.cs | 3 +- sdk/dotnet/GetAction.cs | 10 +- sdk/dotnet/GetApplicationApi.cs | 10 +- sdk/dotnet/GetApplicationOidc.cs | 10 +- sdk/dotnet/GetDefaultOidcSettings.cs | 118 + sdk/dotnet/GetHumanUser.cs | 10 +- sdk/dotnet/GetIdpAzureAd.cs | 6 +- sdk/dotnet/GetIdpGithub.cs | 6 +- sdk/dotnet/GetIdpGithubEs.cs | 6 +- sdk/dotnet/GetIdpGitlab.cs | 6 +- sdk/dotnet/GetIdpGitlabSelfHosted.cs | 6 +- sdk/dotnet/GetIdpGoogle.cs | 6 +- sdk/dotnet/GetIdpLdap.cs | 6 +- sdk/dotnet/GetMachineUser.cs | 10 +- sdk/dotnet/GetOrg.cs | 17 +- sdk/dotnet/GetOrgIdpAzureAd.cs | 6 +- sdk/dotnet/GetOrgIdpGithub.cs | 6 +- sdk/dotnet/GetOrgIdpGithubEs.cs | 6 +- sdk/dotnet/GetOrgIdpGitlab.cs | 6 +- sdk/dotnet/GetOrgIdpGitlabSelfHosted.cs | 6 +- sdk/dotnet/GetOrgIdpGoogle.cs | 6 +- sdk/dotnet/GetOrgIdpLdap.cs | 6 +- sdk/dotnet/GetOrgJwtIdp.cs | 4 +- sdk/dotnet/GetOrgOidcIdp.cs | 10 +- sdk/dotnet/GetOrgs.cs | 170 ++ sdk/dotnet/GetProject.cs | 10 +- sdk/dotnet/GetProjectRole.cs | 10 +- sdk/dotnet/GetTriggerActions.cs | 10 +- sdk/dotnet/HumanUser.cs | 35 +- sdk/dotnet/IdpAzureAd.cs | 35 +- sdk/dotnet/IdpGithub.cs | 35 +- sdk/dotnet/IdpGithubEs.cs | 35 +- sdk/dotnet/IdpGitlab.cs | 35 +- sdk/dotnet/IdpGitlabSelfHosted.cs | 35 +- sdk/dotnet/IdpGoogle.cs | 35 +- sdk/dotnet/IdpLdap.cs | 35 +- sdk/dotnet/InstanceMember.cs | 3 +- sdk/dotnet/LabelPolicy.cs | 2 +- sdk/dotnet/LockoutPolicy.cs | 3 +- sdk/dotnet/LoginPolicy.cs | 3 +- sdk/dotnet/MachineKey.cs | 21 +- sdk/dotnet/MachineUser.cs | 3 +- sdk/dotnet/NotificationPolicy.cs | 3 +- sdk/dotnet/Org.cs | 21 +- sdk/dotnet/OrgIdpAzureAd.cs | 35 +- sdk/dotnet/OrgIdpGithub.cs | 35 +- sdk/dotnet/OrgIdpGithubEs.cs | 35 +- sdk/dotnet/OrgIdpGitlab.cs | 35 +- sdk/dotnet/OrgIdpGitlabSelfHosted.cs | 35 +- sdk/dotnet/OrgIdpGoogle.cs | 35 +- sdk/dotnet/OrgIdpJwt.cs | 3 +- sdk/dotnet/OrgIdpLdap.cs | 35 +- sdk/dotnet/OrgIdpOidc.cs | 35 +- sdk/dotnet/OrgMember.cs | 3 +- sdk/dotnet/PasswordComplexityPolicy.cs | 1 + sdk/dotnet/PersonalAccessToken.cs | 21 +- sdk/dotnet/PrivacyPolicy.cs | 29 +- sdk/dotnet/Project.cs | 3 +- sdk/dotnet/ProjectGrant.cs | 3 +- sdk/dotnet/ProjectGrantMember.cs | 3 +- sdk/dotnet/ProjectMember.cs | 3 +- sdk/dotnet/ProjectRole.cs | 3 +- sdk/dotnet/Pulumiverse.Zitadel.csproj | 5 +- sdk/dotnet/SmsProviderTwilio.cs | 35 +- sdk/dotnet/SmtpConfig.cs | 54 +- sdk/dotnet/TriggerActions.cs | 3 +- sdk/dotnet/UserGrant.cs | 3 +- sdk/go.mod | 64 +- sdk/go.sum | 284 ++ sdk/go/zitadel/action.go | 87 +- sdk/go/zitadel/applicationApi.go | 90 +- sdk/go/zitadel/applicationKey.go | 93 +- sdk/go/zitadel/applicationOidc.go | 132 +- sdk/go/zitadel/config/config.go | 3 + sdk/go/zitadel/defaultDomainPolicy.go | 85 +- sdk/go/zitadel/defaultLabelPolicy.go | 52 +- sdk/go/zitadel/defaultLockoutPolicy.go | 81 +- sdk/go/zitadel/defaultLoginPolicy.go | 135 +- sdk/go/zitadel/defaultNotificationPolicy.go | 81 +- sdk/go/zitadel/defaultOidcSettings.go | 339 +++ .../defaultPasswordComplexityPolicy.go | 89 +- sdk/go/zitadel/defaultPrivacyPolicy.go | 140 +- sdk/go/zitadel/doc.go | 1 - sdk/go/zitadel/domain.go | 81 +- sdk/go/zitadel/domainPolicy.go | 87 +- sdk/go/zitadel/getAction.go | 44 +- sdk/go/zitadel/getApplicationApi.go | 46 +- sdk/go/zitadel/getApplicationOidc.go | 46 +- sdk/go/zitadel/getDefaultOidcSettings.go | 124 + sdk/go/zitadel/getHumanUser.go | 44 +- sdk/go/zitadel/getIdpAzureAd.go | 40 +- sdk/go/zitadel/getIdpGithub.go | 40 +- sdk/go/zitadel/getIdpGithubEs.go | 40 +- sdk/go/zitadel/getIdpGitlab.go | 40 +- sdk/go/zitadel/getIdpGitlabSelfHosted.go | 40 +- sdk/go/zitadel/getIdpGoogle.go | 40 +- sdk/go/zitadel/getIdpLdap.go | 40 +- sdk/go/zitadel/getMachineUser.go | 44 +- sdk/go/zitadel/getOrg.go | 49 +- sdk/go/zitadel/getOrgIdpAzureAd.go | 42 +- sdk/go/zitadel/getOrgIdpGithub.go | 42 +- sdk/go/zitadel/getOrgIdpGithubEs.go | 42 +- sdk/go/zitadel/getOrgIdpGitlab.go | 42 +- sdk/go/zitadel/getOrgIdpGitlabSelfHosted.go | 42 +- sdk/go/zitadel/getOrgIdpGoogle.go | 42 +- sdk/go/zitadel/getOrgIdpLdap.go | 42 +- sdk/go/zitadel/getOrgJwtIdp.go | 10 +- sdk/go/zitadel/getOrgOidcIdp.go | 44 +- sdk/go/zitadel/getOrgs.go | 154 ++ sdk/go/zitadel/getProject.go | 44 +- sdk/go/zitadel/getProjectRole.go | 46 +- sdk/go/zitadel/getTriggerActions.go | 46 +- sdk/go/zitadel/humanUser.go | 112 +- sdk/go/zitadel/idpAzureAd.go | 114 +- sdk/go/zitadel/idpGithub.go | 108 +- sdk/go/zitadel/idpGithubEs.go | 114 +- sdk/go/zitadel/idpGitlab.go | 108 +- sdk/go/zitadel/idpGitlabSelfHosted.go | 110 +- sdk/go/zitadel/idpGoogle.go | 108 +- sdk/go/zitadel/idpLdap.go | 134 +- sdk/go/zitadel/init.go | 13 +- sdk/go/zitadel/instanceMember.go | 87 +- .../zitadel/{ => internal}/pulumiUtilities.go | 44 +- sdk/go/zitadel/internal/pulumiVersion.go | 11 + sdk/go/zitadel/labelPolicy.go | 52 +- sdk/go/zitadel/lockoutPolicy.go | 83 +- sdk/go/zitadel/loginPolicy.go | 137 +- sdk/go/zitadel/machineKey.go | 91 +- sdk/go/zitadel/machineUser.go | 85 +- sdk/go/zitadel/notificationPolicy.go | 83 +- sdk/go/zitadel/org.go | 90 +- sdk/go/zitadel/orgIdpAzureAd.go | 116 +- sdk/go/zitadel/orgIdpGithub.go | 110 +- sdk/go/zitadel/orgIdpGithubEs.go | 116 +- sdk/go/zitadel/orgIdpGitlab.go | 110 +- sdk/go/zitadel/orgIdpGitlabSelfHosted.go | 112 +- sdk/go/zitadel/orgIdpGoogle.go | 110 +- sdk/go/zitadel/orgIdpJwt.go | 93 +- sdk/go/zitadel/orgIdpLdap.go | 136 +- sdk/go/zitadel/orgIdpOidc.go | 114 +- sdk/go/zitadel/orgMember.go | 89 +- sdk/go/zitadel/passwordComplexityPolicy.go | 85 +- sdk/go/zitadel/personalAccessToken.go | 89 +- sdk/go/zitadel/privacyPolicy.go | 142 +- sdk/go/zitadel/project.go | 87 +- sdk/go/zitadel/projectGrant.go | 91 +- sdk/go/zitadel/projectGrantMember.go | 93 +- sdk/go/zitadel/projectMember.go | 91 +- sdk/go/zitadel/projectRole.go | 89 +- sdk/go/zitadel/provider.go | 18 +- sdk/go/zitadel/smsProviderTwilio.go | 92 +- sdk/go/zitadel/smtpConfig.go | 114 +- sdk/go/zitadel/triggerActions.go | 91 +- sdk/go/zitadel/userGrant.go | 91 +- sdk/nodejs/action.ts | 2 +- sdk/nodejs/applicationApi.ts | 4 +- sdk/nodejs/applicationKey.ts | 4 +- sdk/nodejs/applicationOidc.ts | 4 +- sdk/nodejs/defaultDomainPolicy.ts | 6 +- sdk/nodejs/defaultLabelPolicy.ts | 2 +- sdk/nodejs/defaultLockoutPolicy.ts | 8 +- sdk/nodejs/defaultLoginPolicy.ts | 2 +- sdk/nodejs/defaultNotificationPolicy.ts | 8 +- sdk/nodejs/defaultOidcSettings.ts | 152 ++ sdk/nodejs/defaultPasswordComplexityPolicy.ts | 6 +- sdk/nodejs/defaultPrivacyPolicy.ts | 36 +- sdk/nodejs/domain.ts | 2 +- sdk/nodejs/domainPolicy.ts | 2 +- sdk/nodejs/getAction.ts | 24 +- sdk/nodejs/getApplicationApi.ts | 25 +- sdk/nodejs/getApplicationOidc.ts | 25 +- sdk/nodejs/getDefaultOidcSettings.ts | 67 + sdk/nodejs/getHumanUser.ts | 24 +- sdk/nodejs/getIdpAzureAd.ts | 26 +- sdk/nodejs/getIdpGithub.ts | 26 +- sdk/nodejs/getIdpGithubEs.ts | 26 +- sdk/nodejs/getIdpGitlab.ts | 26 +- sdk/nodejs/getIdpGitlabSelfHosted.ts | 26 +- sdk/nodejs/getIdpGoogle.ts | 26 +- sdk/nodejs/getIdpLdap.ts | 26 +- sdk/nodejs/getMachineUser.ts | 24 +- sdk/nodejs/getOrg.ts | 27 +- sdk/nodejs/getOrgIdpAzureAd.ts | 23 +- sdk/nodejs/getOrgIdpGithub.ts | 23 +- sdk/nodejs/getOrgIdpGithubEs.ts | 23 +- sdk/nodejs/getOrgIdpGitlab.ts | 23 +- sdk/nodejs/getOrgIdpGitlabSelfHosted.ts | 23 +- sdk/nodejs/getOrgIdpGoogle.ts | 23 +- sdk/nodejs/getOrgIdpLdap.ts | 23 +- sdk/nodejs/getOrgJwtIdp.ts | 11 +- sdk/nodejs/getOrgOidcIdp.ts | 24 +- sdk/nodejs/getOrgs.ts | 117 + sdk/nodejs/getProject.ts | 24 +- sdk/nodejs/getProjectRole.ts | 25 +- sdk/nodejs/getTriggerActions.ts | 25 +- sdk/nodejs/humanUser.ts | 6 +- sdk/nodejs/idpAzureAd.ts | 10 +- sdk/nodejs/idpGithub.ts | 10 +- sdk/nodejs/idpGithubEs.ts | 10 +- sdk/nodejs/idpGitlab.ts | 10 +- sdk/nodejs/idpGitlabSelfHosted.ts | 10 +- sdk/nodejs/idpGoogle.ts | 10 +- sdk/nodejs/idpLdap.ts | 10 +- sdk/nodejs/index.ts | 536 +++- sdk/nodejs/instanceMember.ts | 2 +- sdk/nodejs/labelPolicy.ts | 2 +- sdk/nodejs/lockoutPolicy.ts | 2 +- sdk/nodejs/loginPolicy.ts | 2 +- sdk/nodejs/machineKey.ts | 4 +- sdk/nodejs/machineUser.ts | 2 +- sdk/nodejs/notificationPolicy.ts | 2 +- sdk/nodejs/org.ts | 20 +- sdk/nodejs/orgIdpAzureAd.ts | 6 +- sdk/nodejs/orgIdpGithub.ts | 6 +- sdk/nodejs/orgIdpGithubEs.ts | 6 +- sdk/nodejs/orgIdpGitlab.ts | 6 +- sdk/nodejs/orgIdpGitlabSelfHosted.ts | 6 +- sdk/nodejs/orgIdpGoogle.ts | 6 +- sdk/nodejs/orgIdpJwt.ts | 2 +- sdk/nodejs/orgIdpLdap.ts | 6 +- sdk/nodejs/orgIdpOidc.ts | 6 +- sdk/nodejs/orgMember.ts | 2 +- sdk/nodejs/package.json | 3 +- sdk/nodejs/personalAccessToken.ts | 4 +- sdk/nodejs/privacyPolicy.ts | 32 +- sdk/nodejs/project.ts | 2 +- sdk/nodejs/projectGrant.ts | 2 +- sdk/nodejs/projectGrantMember.ts | 2 +- sdk/nodejs/projectMember.ts | 2 +- sdk/nodejs/projectRole.ts | 2 +- sdk/nodejs/provider.ts | 2 +- sdk/nodejs/scripts/install-pulumi-plugin.js | 26 - sdk/nodejs/smsProviderTwilio.ts | 10 +- sdk/nodejs/smtpConfig.ts | 25 +- sdk/nodejs/triggerActions.ts | 2 +- sdk/nodejs/tsconfig.json | 3 + sdk/nodejs/userGrant.ts | 2 +- sdk/nodejs/utilities.ts | 12 + sdk/python/pulumiverse_zitadel/__init__.py | 11 + sdk/python/pulumiverse_zitadel/action.py | 80 +- .../pulumiverse_zitadel/application_api.py | 86 +- .../pulumiverse_zitadel/application_key.py | 96 +- .../pulumiverse_zitadel/application_oidc.py | 238 +- .../pulumiverse_zitadel/config/__init__.pyi | 2 +- sdk/python/pulumiverse_zitadel/config/vars.py | 2 +- .../default_domain_policy.py | 64 +- .../default_label_policy.py | 310 ++- .../default_lockout_policy.py | 40 +- .../default_login_policy.py | 264 +- .../default_notification_policy.py | 40 +- .../default_oidc_settings.py | 370 +++ .../default_password_complexity_policy.py | 88 +- .../default_privacy_policy.py | 122 +- sdk/python/pulumiverse_zitadel/domain.py | 72 +- .../pulumiverse_zitadel/domain_policy.py | 76 +- sdk/python/pulumiverse_zitadel/get_action.py | 18 +- .../get_application_api.py | 14 +- .../get_application_oidc.py | 40 +- .../get_default_oidc_settings.py | 136 + .../pulumiverse_zitadel/get_human_user.py | 36 +- .../pulumiverse_zitadel/get_idp_azure_ad.py | 26 +- .../pulumiverse_zitadel/get_idp_github.py | 20 +- .../pulumiverse_zitadel/get_idp_github_es.py | 26 +- .../pulumiverse_zitadel/get_idp_gitlab.py | 20 +- .../get_idp_gitlab_self_hosted.py | 22 +- .../pulumiverse_zitadel/get_idp_google.py | 20 +- .../pulumiverse_zitadel/get_idp_ldap.py | 58 +- .../pulumiverse_zitadel/get_machine_user.py | 22 +- sdk/python/pulumiverse_zitadel/get_org.py | 25 +- .../get_org_idp_azure_ad.py | 28 +- .../pulumiverse_zitadel/get_org_idp_github.py | 22 +- .../get_org_idp_github_es.py | 28 +- .../pulumiverse_zitadel/get_org_idp_gitlab.py | 22 +- .../get_org_idp_gitlab_self_hosted.py | 24 +- .../pulumiverse_zitadel/get_org_idp_google.py | 22 +- .../pulumiverse_zitadel/get_org_idp_ldap.py | 60 +- .../pulumiverse_zitadel/get_org_jwt_idp.py | 22 +- .../pulumiverse_zitadel/get_org_oidc_idp.py | 26 +- sdk/python/pulumiverse_zitadel/get_orgs.py | 184 ++ sdk/python/pulumiverse_zitadel/get_project.py | 20 +- .../pulumiverse_zitadel/get_project_role.py | 14 +- .../get_trigger_actions.py | 12 +- sdk/python/pulumiverse_zitadel/human_user.py | 192 +- .../pulumiverse_zitadel/idp_azure_ad.py | 156 +- sdk/python/pulumiverse_zitadel/idp_github.py | 120 +- .../pulumiverse_zitadel/idp_github_es.py | 156 +- sdk/python/pulumiverse_zitadel/idp_gitlab.py | 120 +- .../idp_gitlab_self_hosted.py | 128 +- sdk/python/pulumiverse_zitadel/idp_google.py | 120 +- sdk/python/pulumiverse_zitadel/idp_ldap.py | 344 ++- .../pulumiverse_zitadel/instance_member.py | 48 +- .../pulumiverse_zitadel/label_policy.py | 322 ++- .../pulumiverse_zitadel/lockout_policy.py | 52 +- .../pulumiverse_zitadel/login_policy.py | 276 +- sdk/python/pulumiverse_zitadel/machine_key.py | 84 +- .../pulumiverse_zitadel/machine_user.py | 96 +- .../notification_policy.py | 52 +- sdk/python/pulumiverse_zitadel/org.py | 101 +- .../pulumiverse_zitadel/org_idp_azure_ad.py | 168 +- .../pulumiverse_zitadel/org_idp_github.py | 132 +- .../pulumiverse_zitadel/org_idp_github_es.py | 168 +- .../pulumiverse_zitadel/org_idp_gitlab.py | 132 +- .../org_idp_gitlab_self_hosted.py | 140 +- .../pulumiverse_zitadel/org_idp_google.py | 132 +- sdk/python/pulumiverse_zitadel/org_idp_jwt.py | 116 +- .../pulumiverse_zitadel/org_idp_ldap.py | 356 ++- .../pulumiverse_zitadel/org_idp_oidc.py | 152 +- sdk/python/pulumiverse_zitadel/org_member.py | 60 +- .../password_complexity_policy.py | 96 +- .../personal_access_token.py | 70 +- .../pulumiverse_zitadel/privacy_policy.py | 160 +- sdk/python/pulumiverse_zitadel/project.py | 100 +- .../pulumiverse_zitadel/project_grant.py | 76 +- .../project_grant_member.py | 84 +- .../pulumiverse_zitadel/project_member.py | 72 +- .../pulumiverse_zitadel/project_role.py | 84 +- sdk/python/pulumiverse_zitadel/provider.py | 43 +- .../sms_provider_twilio.py | 60 +- sdk/python/pulumiverse_zitadel/smtp_config.py | 145 +- .../pulumiverse_zitadel/trigger_actions.py | 76 +- sdk/python/pulumiverse_zitadel/user_grant.py | 88 +- sdk/python/setup.py | 24 +- 347 files changed, 17540 insertions(+), 4508 deletions(-) create mode 100644 .github/workflows/upgrade-provider.yml create mode 100644 .upgrade-config.yml create mode 100644 sdk/dotnet/DefaultOidcSettings.cs create mode 100644 sdk/dotnet/GetDefaultOidcSettings.cs create mode 100644 sdk/dotnet/GetOrgs.cs create mode 100644 sdk/go.sum create mode 100644 sdk/go/zitadel/defaultOidcSettings.go create mode 100644 sdk/go/zitadel/getDefaultOidcSettings.go create mode 100644 sdk/go/zitadel/getOrgs.go rename sdk/go/zitadel/{ => internal}/pulumiUtilities.go (60%) create mode 100644 sdk/go/zitadel/internal/pulumiVersion.go create mode 100644 sdk/nodejs/defaultOidcSettings.ts create mode 100644 sdk/nodejs/getDefaultOidcSettings.ts create mode 100644 sdk/nodejs/getOrgs.ts delete mode 100644 sdk/nodejs/scripts/install-pulumi-plugin.js create mode 100644 sdk/python/pulumiverse_zitadel/default_oidc_settings.py create mode 100644 sdk/python/pulumiverse_zitadel/get_default_oidc_settings.py create mode 100644 sdk/python/pulumiverse_zitadel/get_orgs.py diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index c93853b..04ca2d2 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -14,7 +14,7 @@ RUN apt-get update && \ # See README.md # Install go -ARG GO_VERSION=1.18.3 +ARG GO_VERSION=1.21.1 RUN rm -rf /usr/local/go && \ wget -O ${GO_VERSION}.tar.gz https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz && \ tar -C /usr/local -xzf ${GO_VERSION}.tar.gz && \ diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3a57aad..dfbab66 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,11 +6,18 @@ on: jobs: prerequisites: - uses: pulumiverse/infra/.github/workflows/provider-prerequisites.yaml@actions-workflows-v0.0.1 + permissions: + pull-requests: write + uses: pulumiverse/infra/.github/workflows/provider-prerequisites.yaml@actions-workflows-v0.0.4 with: provider: zitadel + goversion: 1.21.x build: needs: prerequisites - uses: pulumiverse/infra/.github/workflows/provider-build-sdk.yaml@actions-workflows-v0.0.1 + uses: pulumiverse/infra/.github/workflows/provider-build-sdk.yaml@actions-workflows-v0.0.4 with: - provider: zitadel \ No newline at end of file + provider: zitadel + goversion: 1.21.x + dotnetversion: 6.0.300 + nodeversion: 14.x + pythonversion: 3.9 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eec95ca..134472a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,8 @@ name: release on: push: - tags: - - v*.*.* + branches: + - main env: # THIS GITHUB_TOKEN IS A REQUIREMENT TO BE ABLE TO WRITE TO GH RELEASES GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -36,6 +36,13 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@v2 + - name: Bump version + uses: mapped/action-vtl@latest + with: + baseVersion: 0.0.17 + gitHubToken: ${{ secrets.GITHUB_TOKEN }} + # No need to create VERSION file + versionFile: "" - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install Go @@ -57,7 +64,7 @@ jobs: fail-fast: true matrix: goversion: - - 1.18.x + - 1.21.x publish_sdk: name: Publish SDKs runs-on: ubuntu-latest @@ -125,9 +132,9 @@ jobs: fail-fast: true matrix: dotnetversion: - - 3.1.301 + - 6.0.300 goversion: - - 1.18.x + - 1.21.x language: - nodejs - python diff --git a/.github/workflows/upgrade-provider.yml b/.github/workflows/upgrade-provider.yml new file mode 100644 index 0000000..7d9bf5b --- /dev/null +++ b/.github/workflows/upgrade-provider.yml @@ -0,0 +1,61 @@ +name: Upgrade provider +on: + workflow_dispatch: + + schedule: + - cron: "0 5 * * *" + +env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} +jobs: + # TODO: Switch to shared CI like here + # https://github.com/pulumiverse/pulumi-vercel/blob/main/.github/workflows/upgrade-provider.yml + # after this issue is fixed + # https://github.com/pulumi/upgrade-provider/issues/179 + # or when have time to fix failing go mod tidy in "all" mode. + upgrade_provider: + name: upgrade-provider + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + issues: write + steps: + - name: Install Go + uses: actions/setup-go@v3 + with: + go-version: 1.21.x + - name: Install pulumictl + uses: jaxxstorm/action-install-gh-release@v1.10.0 + with: + repo: pulumi/pulumictl + - name: Install Pulumi CLI + uses: pulumi/actions@v4 + - name: Checkout repo + uses: actions/checkout@v3 + with: + # TODO: Return back when permissions are fixed + # https://pulumi-community.slack.com/archives/C037PV12W6L/p1698447153384709?thread_ts=1697543021.775809&cid=C037PV12W6L + ref: master + # ref: ${{ github.ref_name }} + + - name: Unshallow clone for tags + run: git fetch --prune --unshallow --tags + shell: bash + - name: Install upgrade-provider + run: go install github.com/pulumi/upgrade-provider@176a45cf2471d5fccd6235c385ba1ec17b74a37f + shell: bash + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 + with: + gradle-version: "7.6" + - name: "Set up git identity: name" + run: git config --global user.name 'vavsab' + shell: bash + - name: Run upgrade-provider + run: | + upgrade-provider "$REPO" --kind="provider" --pr-reviewers="vavsab" + shell: bash + env: + GH_TOKEN: ${{ env.GH_TOKEN }} + REPO: ${{ github.repository }} \ No newline at end of file diff --git a/.upgrade-config.yml b/.upgrade-config.yml new file mode 100644 index 0000000..2cccd38 --- /dev/null +++ b/.upgrade-config.yml @@ -0,0 +1,2 @@ +upstream-provider-name: terraform-provider-zitadel +pr-assign: vavsab \ No newline at end of file diff --git a/Makefile b/Makefile index 11fd7e0..d4ae11b 100644 --- a/Makefile +++ b/Makefile @@ -63,7 +63,6 @@ build_nodejs:: install_plugins tfgen # build the node sdk cd sdk/nodejs/ && \ yarn install && \ yarn run tsc && \ - cp -R scripts/ bin && \ cp ../../README.md ../../LICENSE package.json yarn.lock ./bin/ && \ sed -i.bak -e "s/\$${VERSION}/$(VERSION)/g" ./bin/package.json diff --git a/examples/go.mod b/examples/go.mod index 02fb4c7..44304fe 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -1,3 +1,3 @@ module github.com/pulumiverse/pulumi-zitadel/examples -go 1.16 +go 1.21 diff --git a/provider/cmd/pulumi-resource-zitadel/schema.json b/provider/cmd/pulumi-resource-zitadel/schema.json index 371eda9..69450eb 100644 --- a/provider/cmd/pulumi-resource-zitadel/schema.json +++ b/provider/cmd/pulumi-resource-zitadel/schema.json @@ -17,20 +17,21 @@ }, "language": { "csharp": { - "compatibility": "tfbridge20", - "namespaces": null, "packageReferences": { "Pulumi": "3.*" }, + "compatibility": "tfbridge20", "rootNamespace": "Pulumiverse" }, "go": { - "generateExtraInputTypes": true, + "importBasePath": "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel", "generateResourceContainerTypes": true, - "importBasePath": "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" + "generateExtraInputTypes": true }, "nodejs": { - "compatibility": "tfbridge20", + "packageName": "@pulumiverse/zitadel", + "packageDescription": "A Pulumi package for creating and managing zitadel cloud resources.", + "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/zitadel/terraform-provider-zitadel)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-zitadel` repo](https://github.com/pulumiverse/pulumi-zitadel/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-zitadel` repo](https://github.com/zitadel/terraform-provider-zitadel/issues).", "dependencies": { "@pulumi/pulumi": "^3.0.0" }, @@ -38,19 +39,17 @@ "@types/mime": "^2.0.0", "@types/node": "^10.0.0" }, - "disableUnionOutputTypes": true, - "packageDescription": "A Pulumi package for creating and managing zitadel cloud resources.", - "packageName": "@pulumiverse/zitadel", - "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/zitadel/terraform-provider-zitadel)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-zitadel` repo](https://github.com/pulumiverse/pulumi-zitadel/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-zitadel` repo](https://github.com/zitadel/terraform-provider-zitadel/issues).", - "typescriptVersion": "" + "compatibility": "tfbridge20", + "disableUnionOutputTypes": true }, "python": { - "compatibility": "tfbridge20", "packageName": "pulumiverse_zitadel", - "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/zitadel/terraform-provider-zitadel)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-zitadel` repo](https://github.com/pulumiverse/pulumi-zitadel/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-zitadel` repo](https://github.com/zitadel/terraform-provider-zitadel/issues).", "requires": { "pulumi": "\u003e=3.0.0,\u003c4.0.0" - } + }, + "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/zitadel/terraform-provider-zitadel)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-zitadel` repo](https://github.com/pulumiverse/pulumi-zitadel/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-zitadel` repo](https://github.com/zitadel/terraform-provider-zitadel/issues).", + "compatibility": "tfbridge20", + "pyproject": {} } }, "config": { @@ -147,7 +146,7 @@ }, "resources": { "zitadel:index/action:Action": { - "description": "Resource representing an action belonging to an organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.Action(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n script: \"testscript\",\n timeout: \"10s\",\n allowedToFail: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.Action(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n script=\"testscript\",\n timeout=\"10s\",\n allowed_to_fail=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.Action(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Script = \"testscript\",\n Timeout = \"10s\",\n AllowedToFail = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewAction(ctx, \"default\", \u0026zitadel.ActionArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tScript: pulumi.String(\"testscript\"),\n\t\t\tTimeout: pulumi.String(\"10s\"),\n\t\t\tAllowedToFail: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.Action;\nimport com.pulumi.zitadel.ActionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new Action(\"default\", ActionArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .script(\"testscript\")\n .timeout(\"10s\")\n .allowedToFail(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:Action\n properties:\n orgId: ${data.zitadel_org.default.id}\n script: testscript\n timeout: 10s\n allowedToFail: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/action:Action imported '123456789012345678:123456789012345678'\n```\n\n ", + "description": "Resource representing an action belonging to an organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.Action(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n script: \"testscript\",\n timeout: \"10s\",\n allowedToFail: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.Action(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n script=\"testscript\",\n timeout=\"10s\",\n allowed_to_fail=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.Action(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Script = \"testscript\",\n Timeout = \"10s\",\n AllowedToFail = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewAction(ctx, \"default\", \u0026zitadel.ActionArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tScript: pulumi.String(\"testscript\"),\n\t\t\tTimeout: pulumi.String(\"10s\"),\n\t\t\tAllowedToFail: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.Action;\nimport com.pulumi.zitadel.ActionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new Action(\"default\", ActionArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .script(\"testscript\")\n .timeout(\"10s\")\n .allowedToFail(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:Action\n properties:\n orgId: ${data.zitadel_org.default.id}\n script: testscript\n timeout: 10s\n allowedToFail: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/action:Action imported '123456789012345678:123456789012345678'\n```\n\n ", "properties": { "allowedToFail": { "type": "boolean", @@ -236,7 +235,7 @@ } }, "zitadel:index/applicationApi:ApplicationApi": { - "description": "Resource representing an API application belonging to a project, with all configuration possibilities.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.ApplicationApi(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n projectId: data.zitadel_project[\"default\"].id,\n authMethodType: \"API_AUTH_METHOD_TYPE_BASIC\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.ApplicationApi(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n auth_method_type=\"API_AUTH_METHOD_TYPE_BASIC\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.ApplicationApi(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = data.Zitadel_project.Default.Id,\n AuthMethodType = \"API_AUTH_METHOD_TYPE_BASIC\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewApplicationApi(ctx, \"default\", \u0026zitadel.ApplicationApiArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tProjectId: pulumi.Any(data.Zitadel_project.Default.Id),\n\t\t\tAuthMethodType: pulumi.String(\"API_AUTH_METHOD_TYPE_BASIC\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ApplicationApi;\nimport com.pulumi.zitadel.ApplicationApiArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new ApplicationApi(\"default\", ApplicationApiArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .projectId(data.zitadel_project().default().id())\n .authMethodType(\"API_AUTH_METHOD_TYPE_BASIC\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:ApplicationApi\n properties:\n orgId: ${data.zitadel_org.default.id}\n projectId: ${data.zitadel_project.default.id}\n authMethodType: API_AUTH_METHOD_TYPE_BASIC\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid:project_id[:org_id][:client_id][:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/applicationApi:ApplicationApi imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df'\n```\n\n ", + "description": "Resource representing an API application belonging to a project, with all configuration possibilities.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.ApplicationApi(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n projectId: data.zitadel_project[\"default\"].id,\n authMethodType: \"API_AUTH_METHOD_TYPE_BASIC\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.ApplicationApi(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n auth_method_type=\"API_AUTH_METHOD_TYPE_BASIC\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.ApplicationApi(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = data.Zitadel_project.Default.Id,\n AuthMethodType = \"API_AUTH_METHOD_TYPE_BASIC\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewApplicationApi(ctx, \"default\", \u0026zitadel.ApplicationApiArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tProjectId: pulumi.Any(data.Zitadel_project.Default.Id),\n\t\t\tAuthMethodType: pulumi.String(\"API_AUTH_METHOD_TYPE_BASIC\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ApplicationApi;\nimport com.pulumi.zitadel.ApplicationApiArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new ApplicationApi(\"default\", ApplicationApiArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .projectId(data.zitadel_project().default().id())\n .authMethodType(\"API_AUTH_METHOD_TYPE_BASIC\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:ApplicationApi\n properties:\n orgId: ${data.zitadel_org.default.id}\n projectId: ${data.zitadel_project.default.id}\n authMethodType: API_AUTH_METHOD_TYPE_BASIC\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid:project_id[:org_id][:client_id][:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/applicationApi:ApplicationApi imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df'\n```\n\n ", "properties": { "authMethodType": { "type": "string", @@ -244,11 +243,13 @@ }, "clientId": { "type": "string", - "description": "generated ID for this config\n" + "description": "generated ID for this config\n", + "secret": true }, "clientSecret": { "type": "string", - "description": "generated secret for this config\n" + "description": "generated secret for this config\n", + "secret": true }, "name": { "type": "string", @@ -301,11 +302,13 @@ }, "clientId": { "type": "string", - "description": "generated ID for this config\n" + "description": "generated ID for this config\n", + "secret": true }, "clientSecret": { "type": "string", - "description": "generated secret for this config\n" + "description": "generated secret for this config\n", + "secret": true }, "name": { "type": "string", @@ -326,7 +329,7 @@ } }, "zitadel:index/applicationKey:ApplicationKey": { - "description": "Resource representing a app key\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.ApplicationKey(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n projectId: data.zitadel_project[\"default\"].id,\n appId: data.zitadel_application_api[\"default\"].id,\n keyType: \"KEY_TYPE_JSON\",\n expirationDate: \"2519-04-01T08:45:00Z\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.ApplicationKey(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n app_id=data[\"zitadel_application_api\"][\"default\"][\"id\"],\n key_type=\"KEY_TYPE_JSON\",\n expiration_date=\"2519-04-01T08:45:00Z\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.ApplicationKey(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = data.Zitadel_project.Default.Id,\n AppId = data.Zitadel_application_api.Default.Id,\n KeyType = \"KEY_TYPE_JSON\",\n ExpirationDate = \"2519-04-01T08:45:00Z\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewApplicationKey(ctx, \"default\", \u0026zitadel.ApplicationKeyArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tProjectId: pulumi.Any(data.Zitadel_project.Default.Id),\n\t\t\tAppId: pulumi.Any(data.Zitadel_application_api.Default.Id),\n\t\t\tKeyType: pulumi.String(\"KEY_TYPE_JSON\"),\n\t\t\tExpirationDate: pulumi.String(\"2519-04-01T08:45:00Z\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ApplicationKey;\nimport com.pulumi.zitadel.ApplicationKeyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new ApplicationKey(\"default\", ApplicationKeyArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .projectId(data.zitadel_project().default().id())\n .appId(data.zitadel_application_api().default().id())\n .keyType(\"KEY_TYPE_JSON\")\n .expirationDate(\"2519-04-01T08:45:00Z\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:ApplicationKey\n properties:\n orgId: ${data.zitadel_org.default.id}\n projectId: ${data.zitadel_project.default.id}\n appId: ${data.zitadel_application_api.default.id}\n keyType: KEY_TYPE_JSON\n expirationDate: 2519-04-01T08:45:00Z\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid:project_id:app_id[:org_id][:key_details]\u003e`. # You can use __SEMICOLON__ to escape :, e.g.\n\n```sh\n $ pulumi import zitadel:index/applicationKey:ApplicationKey imported \"123456789012345678:123456789012345678:123456789012345678:123456789012345678:$(cat ~/Downloads/123456789012345678.json | sed -e 's/:/__SEMICOLON__/g')\"\n```\n\n ", + "description": "Resource representing a app key\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.ApplicationKey(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n projectId: data.zitadel_project[\"default\"].id,\n appId: data.zitadel_application_api[\"default\"].id,\n keyType: \"KEY_TYPE_JSON\",\n expirationDate: \"2519-04-01T08:45:00Z\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.ApplicationKey(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n app_id=data[\"zitadel_application_api\"][\"default\"][\"id\"],\n key_type=\"KEY_TYPE_JSON\",\n expiration_date=\"2519-04-01T08:45:00Z\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.ApplicationKey(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = data.Zitadel_project.Default.Id,\n AppId = data.Zitadel_application_api.Default.Id,\n KeyType = \"KEY_TYPE_JSON\",\n ExpirationDate = \"2519-04-01T08:45:00Z\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewApplicationKey(ctx, \"default\", \u0026zitadel.ApplicationKeyArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tProjectId: pulumi.Any(data.Zitadel_project.Default.Id),\n\t\t\tAppId: pulumi.Any(data.Zitadel_application_api.Default.Id),\n\t\t\tKeyType: pulumi.String(\"KEY_TYPE_JSON\"),\n\t\t\tExpirationDate: pulumi.String(\"2519-04-01T08:45:00Z\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ApplicationKey;\nimport com.pulumi.zitadel.ApplicationKeyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new ApplicationKey(\"default\", ApplicationKeyArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .projectId(data.zitadel_project().default().id())\n .appId(data.zitadel_application_api().default().id())\n .keyType(\"KEY_TYPE_JSON\")\n .expirationDate(\"2519-04-01T08:45:00Z\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:ApplicationKey\n properties:\n orgId: ${data.zitadel_org.default.id}\n projectId: ${data.zitadel_project.default.id}\n appId: ${data.zitadel_application_api.default.id}\n keyType: KEY_TYPE_JSON\n expirationDate: 2519-04-01T08:45:00Z\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid:project_id:app_id[:org_id][:key_details]\u003e`. You can use __SEMICOLON__ to escape :, e.g.\n\n```sh\n $ pulumi import zitadel:index/applicationKey:ApplicationKey imported \"123456789012345678:123456789012345678:123456789012345678:123456789012345678:$(cat ~/Downloads/123456789012345678.json | sed -e 's/:/__SEMICOLON__/g')\"\n```\n\n ", "properties": { "appId": { "type": "string", @@ -338,7 +341,8 @@ }, "keyDetails": { "type": "string", - "description": "Value of the app key\n" + "description": "Value of the app key\n", + "secret": true }, "keyType": { "type": "string", @@ -408,7 +412,8 @@ }, "keyDetails": { "type": "string", - "description": "Value of the app key\n" + "description": "Value of the app key\n", + "secret": true }, "keyType": { "type": "string", @@ -430,7 +435,7 @@ } }, "zitadel:index/applicationOidc:ApplicationOidc": { - "description": "Resource representing an OIDC application belonging to a project, with all configuration possibilities.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.ApplicationOidc(\"default\", {\n projectId: data.zitadel_project[\"default\"].id,\n orgId: data.zitadel_org[\"default\"].id,\n redirectUris: [\"https://localhost.com\"],\n responseTypes: [\"OIDC_RESPONSE_TYPE_CODE\"],\n grantTypes: [\"OIDC_GRANT_TYPE_AUTHORIZATION_CODE\"],\n postLogoutRedirectUris: [\"https://localhost.com\"],\n appType: \"OIDC_APP_TYPE_WEB\",\n authMethodType: \"OIDC_AUTH_METHOD_TYPE_BASIC\",\n version: \"OIDC_VERSION_1_0\",\n clockSkew: \"0s\",\n devMode: true,\n accessTokenType: \"OIDC_TOKEN_TYPE_BEARER\",\n accessTokenRoleAssertion: false,\n idTokenRoleAssertion: false,\n idTokenUserinfoAssertion: false,\n additionalOrigins: [],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.ApplicationOidc(\"default\",\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n redirect_uris=[\"https://localhost.com\"],\n response_types=[\"OIDC_RESPONSE_TYPE_CODE\"],\n grant_types=[\"OIDC_GRANT_TYPE_AUTHORIZATION_CODE\"],\n post_logout_redirect_uris=[\"https://localhost.com\"],\n app_type=\"OIDC_APP_TYPE_WEB\",\n auth_method_type=\"OIDC_AUTH_METHOD_TYPE_BASIC\",\n version=\"OIDC_VERSION_1_0\",\n clock_skew=\"0s\",\n dev_mode=True,\n access_token_type=\"OIDC_TOKEN_TYPE_BEARER\",\n access_token_role_assertion=False,\n id_token_role_assertion=False,\n id_token_userinfo_assertion=False,\n additional_origins=[])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.ApplicationOidc(\"default\", new()\n {\n ProjectId = data.Zitadel_project.Default.Id,\n OrgId = data.Zitadel_org.Default.Id,\n RedirectUris = new[]\n {\n \"https://localhost.com\",\n },\n ResponseTypes = new[]\n {\n \"OIDC_RESPONSE_TYPE_CODE\",\n },\n GrantTypes = new[]\n {\n \"OIDC_GRANT_TYPE_AUTHORIZATION_CODE\",\n },\n PostLogoutRedirectUris = new[]\n {\n \"https://localhost.com\",\n },\n AppType = \"OIDC_APP_TYPE_WEB\",\n AuthMethodType = \"OIDC_AUTH_METHOD_TYPE_BASIC\",\n Version = \"OIDC_VERSION_1_0\",\n ClockSkew = \"0s\",\n DevMode = true,\n AccessTokenType = \"OIDC_TOKEN_TYPE_BEARER\",\n AccessTokenRoleAssertion = false,\n IdTokenRoleAssertion = false,\n IdTokenUserinfoAssertion = false,\n AdditionalOrigins = new[] {},\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewApplicationOidc(ctx, \"default\", \u0026zitadel.ApplicationOidcArgs{\n\t\t\tProjectId: pulumi.Any(data.Zitadel_project.Default.Id),\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tRedirectUris: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"https://localhost.com\"),\n\t\t\t},\n\t\t\tResponseTypes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"OIDC_RESPONSE_TYPE_CODE\"),\n\t\t\t},\n\t\t\tGrantTypes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"OIDC_GRANT_TYPE_AUTHORIZATION_CODE\"),\n\t\t\t},\n\t\t\tPostLogoutRedirectUris: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"https://localhost.com\"),\n\t\t\t},\n\t\t\tAppType: pulumi.String(\"OIDC_APP_TYPE_WEB\"),\n\t\t\tAuthMethodType: pulumi.String(\"OIDC_AUTH_METHOD_TYPE_BASIC\"),\n\t\t\tVersion: pulumi.String(\"OIDC_VERSION_1_0\"),\n\t\t\tClockSkew: pulumi.String(\"0s\"),\n\t\t\tDevMode: pulumi.Bool(true),\n\t\t\tAccessTokenType: pulumi.String(\"OIDC_TOKEN_TYPE_BEARER\"),\n\t\t\tAccessTokenRoleAssertion: pulumi.Bool(false),\n\t\t\tIdTokenRoleAssertion: pulumi.Bool(false),\n\t\t\tIdTokenUserinfoAssertion: pulumi.Bool(false),\n\t\t\tAdditionalOrigins: pulumi.StringArray{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ApplicationOidc;\nimport com.pulumi.zitadel.ApplicationOidcArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new ApplicationOidc(\"default\", ApplicationOidcArgs.builder() \n .projectId(data.zitadel_project().default().id())\n .orgId(data.zitadel_org().default().id())\n .redirectUris(\"https://localhost.com\")\n .responseTypes(\"OIDC_RESPONSE_TYPE_CODE\")\n .grantTypes(\"OIDC_GRANT_TYPE_AUTHORIZATION_CODE\")\n .postLogoutRedirectUris(\"https://localhost.com\")\n .appType(\"OIDC_APP_TYPE_WEB\")\n .authMethodType(\"OIDC_AUTH_METHOD_TYPE_BASIC\")\n .version(\"OIDC_VERSION_1_0\")\n .clockSkew(\"0s\")\n .devMode(true)\n .accessTokenType(\"OIDC_TOKEN_TYPE_BEARER\")\n .accessTokenRoleAssertion(false)\n .idTokenRoleAssertion(false)\n .idTokenUserinfoAssertion(false)\n .additionalOrigins()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:ApplicationOidc\n properties:\n projectId: ${data.zitadel_project.default.id}\n orgId: ${data.zitadel_org.default.id}\n redirectUris:\n - https://localhost.com\n responseTypes:\n - OIDC_RESPONSE_TYPE_CODE\n grantTypes:\n - OIDC_GRANT_TYPE_AUTHORIZATION_CODE\n postLogoutRedirectUris:\n - https://localhost.com\n appType: OIDC_APP_TYPE_WEB\n authMethodType: OIDC_AUTH_METHOD_TYPE_BASIC\n version: OIDC_VERSION_1_0\n clockSkew: 0s\n devMode: true\n accessTokenType: OIDC_TOKEN_TYPE_BEARER\n accessTokenRoleAssertion: false\n idTokenRoleAssertion: false\n idTokenUserinfoAssertion: false\n additionalOrigins: []\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid:project_id[:org_id][:client_id][:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/applicationOidc:ApplicationOidc imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df'\n```\n\n ", + "description": "Resource representing an OIDC application belonging to a project, with all configuration possibilities.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.ApplicationOidc(\"default\", {\n projectId: data.zitadel_project[\"default\"].id,\n orgId: data.zitadel_org[\"default\"].id,\n redirectUris: [\"https://localhost.com\"],\n responseTypes: [\"OIDC_RESPONSE_TYPE_CODE\"],\n grantTypes: [\"OIDC_GRANT_TYPE_AUTHORIZATION_CODE\"],\n postLogoutRedirectUris: [\"https://localhost.com\"],\n appType: \"OIDC_APP_TYPE_WEB\",\n authMethodType: \"OIDC_AUTH_METHOD_TYPE_BASIC\",\n version: \"OIDC_VERSION_1_0\",\n clockSkew: \"0s\",\n devMode: true,\n accessTokenType: \"OIDC_TOKEN_TYPE_BEARER\",\n accessTokenRoleAssertion: false,\n idTokenRoleAssertion: false,\n idTokenUserinfoAssertion: false,\n additionalOrigins: [],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.ApplicationOidc(\"default\",\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n redirect_uris=[\"https://localhost.com\"],\n response_types=[\"OIDC_RESPONSE_TYPE_CODE\"],\n grant_types=[\"OIDC_GRANT_TYPE_AUTHORIZATION_CODE\"],\n post_logout_redirect_uris=[\"https://localhost.com\"],\n app_type=\"OIDC_APP_TYPE_WEB\",\n auth_method_type=\"OIDC_AUTH_METHOD_TYPE_BASIC\",\n version=\"OIDC_VERSION_1_0\",\n clock_skew=\"0s\",\n dev_mode=True,\n access_token_type=\"OIDC_TOKEN_TYPE_BEARER\",\n access_token_role_assertion=False,\n id_token_role_assertion=False,\n id_token_userinfo_assertion=False,\n additional_origins=[])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.ApplicationOidc(\"default\", new()\n {\n ProjectId = data.Zitadel_project.Default.Id,\n OrgId = data.Zitadel_org.Default.Id,\n RedirectUris = new[]\n {\n \"https://localhost.com\",\n },\n ResponseTypes = new[]\n {\n \"OIDC_RESPONSE_TYPE_CODE\",\n },\n GrantTypes = new[]\n {\n \"OIDC_GRANT_TYPE_AUTHORIZATION_CODE\",\n },\n PostLogoutRedirectUris = new[]\n {\n \"https://localhost.com\",\n },\n AppType = \"OIDC_APP_TYPE_WEB\",\n AuthMethodType = \"OIDC_AUTH_METHOD_TYPE_BASIC\",\n Version = \"OIDC_VERSION_1_0\",\n ClockSkew = \"0s\",\n DevMode = true,\n AccessTokenType = \"OIDC_TOKEN_TYPE_BEARER\",\n AccessTokenRoleAssertion = false,\n IdTokenRoleAssertion = false,\n IdTokenUserinfoAssertion = false,\n AdditionalOrigins = new[] {},\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewApplicationOidc(ctx, \"default\", \u0026zitadel.ApplicationOidcArgs{\n\t\t\tProjectId: pulumi.Any(data.Zitadel_project.Default.Id),\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tRedirectUris: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"https://localhost.com\"),\n\t\t\t},\n\t\t\tResponseTypes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"OIDC_RESPONSE_TYPE_CODE\"),\n\t\t\t},\n\t\t\tGrantTypes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"OIDC_GRANT_TYPE_AUTHORIZATION_CODE\"),\n\t\t\t},\n\t\t\tPostLogoutRedirectUris: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"https://localhost.com\"),\n\t\t\t},\n\t\t\tAppType: pulumi.String(\"OIDC_APP_TYPE_WEB\"),\n\t\t\tAuthMethodType: pulumi.String(\"OIDC_AUTH_METHOD_TYPE_BASIC\"),\n\t\t\tVersion: pulumi.String(\"OIDC_VERSION_1_0\"),\n\t\t\tClockSkew: pulumi.String(\"0s\"),\n\t\t\tDevMode: pulumi.Bool(true),\n\t\t\tAccessTokenType: pulumi.String(\"OIDC_TOKEN_TYPE_BEARER\"),\n\t\t\tAccessTokenRoleAssertion: pulumi.Bool(false),\n\t\t\tIdTokenRoleAssertion: pulumi.Bool(false),\n\t\t\tIdTokenUserinfoAssertion: pulumi.Bool(false),\n\t\t\tAdditionalOrigins: pulumi.StringArray{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ApplicationOidc;\nimport com.pulumi.zitadel.ApplicationOidcArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new ApplicationOidc(\"default\", ApplicationOidcArgs.builder() \n .projectId(data.zitadel_project().default().id())\n .orgId(data.zitadel_org().default().id())\n .redirectUris(\"https://localhost.com\")\n .responseTypes(\"OIDC_RESPONSE_TYPE_CODE\")\n .grantTypes(\"OIDC_GRANT_TYPE_AUTHORIZATION_CODE\")\n .postLogoutRedirectUris(\"https://localhost.com\")\n .appType(\"OIDC_APP_TYPE_WEB\")\n .authMethodType(\"OIDC_AUTH_METHOD_TYPE_BASIC\")\n .version(\"OIDC_VERSION_1_0\")\n .clockSkew(\"0s\")\n .devMode(true)\n .accessTokenType(\"OIDC_TOKEN_TYPE_BEARER\")\n .accessTokenRoleAssertion(false)\n .idTokenRoleAssertion(false)\n .idTokenUserinfoAssertion(false)\n .additionalOrigins()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:ApplicationOidc\n properties:\n projectId: ${data.zitadel_project.default.id}\n orgId: ${data.zitadel_org.default.id}\n redirectUris:\n - https://localhost.com\n responseTypes:\n - OIDC_RESPONSE_TYPE_CODE\n grantTypes:\n - OIDC_GRANT_TYPE_AUTHORIZATION_CODE\n postLogoutRedirectUris:\n - https://localhost.com\n appType: OIDC_APP_TYPE_WEB\n authMethodType: OIDC_AUTH_METHOD_TYPE_BASIC\n version: OIDC_VERSION_1_0\n clockSkew: 0s\n devMode: true\n accessTokenType: OIDC_TOKEN_TYPE_BEARER\n accessTokenRoleAssertion: false\n idTokenRoleAssertion: false\n idTokenUserinfoAssertion: false\n additionalOrigins: []\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid:project_id[:org_id][:client_id][:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/applicationOidc:ApplicationOidc imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df'\n```\n\n ", "properties": { "accessTokenRoleAssertion": { "type": "boolean", @@ -457,11 +462,13 @@ }, "clientId": { "type": "string", - "description": "generated ID for this config\n" + "description": "generated ID for this config\n", + "secret": true }, "clientSecret": { "type": "string", - "description": "generated secret for this config\n" + "description": "generated secret for this config\n", + "secret": true }, "clockSkew": { "type": "string", @@ -655,11 +662,13 @@ }, "clientId": { "type": "string", - "description": "generated ID for this config\n" + "description": "generated ID for this config\n", + "secret": true }, "clientSecret": { "type": "string", - "description": "generated secret for this config\n" + "description": "generated secret for this config\n", + "secret": true }, "clockSkew": { "type": "string", @@ -729,7 +738,7 @@ } }, "zitadel:index/defaultDomainPolicy:DefaultDomainPolicy": { - "description": "Resource representing the default domain policy.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultDefaultDomainPolicy = new zitadel.DefaultDomainPolicy(\"default\", {\n smtpSenderAddressMatchesInstanceDomain: true,\n userLoginMustBeDomain: false,\n validateOrgDomains: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.DefaultDomainPolicy(\"default\",\n smtp_sender_address_matches_instance_domain=True,\n user_login_must_be_domain=False,\n validate_org_domains=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.DefaultDomainPolicy(\"default\", new()\n {\n SmtpSenderAddressMatchesInstanceDomain = true,\n UserLoginMustBeDomain = false,\n ValidateOrgDomains = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewDefaultDomainPolicy(ctx, \"default\", \u0026zitadel.DefaultDomainPolicyArgs{\n\t\t\tSmtpSenderAddressMatchesInstanceDomain: pulumi.Bool(true),\n\t\t\tUserLoginMustBeDomain: pulumi.Bool(false),\n\t\t\tValidateOrgDomains: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.DefaultDomainPolicy;\nimport com.pulumi.zitadel.DefaultDomainPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new DefaultDomainPolicy(\"default\", DefaultDomainPolicyArgs.builder() \n .smtpSenderAddressMatchesInstanceDomain(true)\n .userLoginMustBeDomain(false)\n .validateOrgDomains(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:DefaultDomainPolicy\n properties:\n smtpSenderAddressMatchesInstanceDomain: true\n userLoginMustBeDomain: false\n validateOrgDomains: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003c\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/defaultDomainPolicy:DefaultDomainPolicy imported ''\n```\n\n ", + "description": "Resource representing the default domain policy.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.DefaultDomainPolicy(\"default\", {\n smtpSenderAddressMatchesInstanceDomain: true,\n userLoginMustBeDomain: false,\n validateOrgDomains: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.DefaultDomainPolicy(\"default\",\n smtp_sender_address_matches_instance_domain=True,\n user_login_must_be_domain=False,\n validate_org_domains=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.DefaultDomainPolicy(\"default\", new()\n {\n SmtpSenderAddressMatchesInstanceDomain = true,\n UserLoginMustBeDomain = false,\n ValidateOrgDomains = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewDefaultDomainPolicy(ctx, \"default\", \u0026zitadel.DefaultDomainPolicyArgs{\n\t\t\tSmtpSenderAddressMatchesInstanceDomain: pulumi.Bool(true),\n\t\t\tUserLoginMustBeDomain: pulumi.Bool(false),\n\t\t\tValidateOrgDomains: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.DefaultDomainPolicy;\nimport com.pulumi.zitadel.DefaultDomainPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new DefaultDomainPolicy(\"default\", DefaultDomainPolicyArgs.builder() \n .smtpSenderAddressMatchesInstanceDomain(true)\n .userLoginMustBeDomain(false)\n .validateOrgDomains(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:DefaultDomainPolicy\n properties:\n smtpSenderAddressMatchesInstanceDomain: true\n userLoginMustBeDomain: false\n validateOrgDomains: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003c\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/defaultDomainPolicy:DefaultDomainPolicy imported ''\n```\n\n ", "properties": { "smtpSenderAddressMatchesInstanceDomain": { "type": "boolean" @@ -785,7 +794,7 @@ } }, "zitadel:index/defaultLabelPolicy:DefaultLabelPolicy": { - "description": "Resource representing the default label policy.\n\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003c\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/defaultLabelPolicy:DefaultLabelPolicy imported ''\n```\n\n ", + "description": "Resource representing the default label policy.\n\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003c\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/defaultLabelPolicy:DefaultLabelPolicy imported ''\n```\n\n ", "properties": { "backgroundColor": { "type": "string", @@ -1079,7 +1088,7 @@ } }, "zitadel:index/defaultLockoutPolicy:DefaultLockoutPolicy": { - "description": "Resource representing the default lockout policy.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultDefaultLockoutPolicy = new zitadel.DefaultLockoutPolicy(\"default\", {\n maxPasswordAttempts: 5,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.DefaultLockoutPolicy(\"default\", max_password_attempts=5)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.DefaultLockoutPolicy(\"default\", new()\n {\n MaxPasswordAttempts = 5,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewDefaultLockoutPolicy(ctx, \"default\", \u0026zitadel.DefaultLockoutPolicyArgs{\n\t\t\tMaxPasswordAttempts: pulumi.Int(5),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.DefaultLockoutPolicy;\nimport com.pulumi.zitadel.DefaultLockoutPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new DefaultLockoutPolicy(\"default\", DefaultLockoutPolicyArgs.builder() \n .maxPasswordAttempts(\"5\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:DefaultLockoutPolicy\n properties:\n maxPasswordAttempts: 5\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003c\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/defaultLockoutPolicy:DefaultLockoutPolicy imported ''\n```\n\n ", + "description": "Resource representing the default lockout policy.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.DefaultLockoutPolicy(\"default\", {maxPasswordAttempts: 5});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.DefaultLockoutPolicy(\"default\", max_password_attempts=5)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.DefaultLockoutPolicy(\"default\", new()\n {\n MaxPasswordAttempts = 5,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewDefaultLockoutPolicy(ctx, \"default\", \u0026zitadel.DefaultLockoutPolicyArgs{\n\t\t\tMaxPasswordAttempts: pulumi.Int(5),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.DefaultLockoutPolicy;\nimport com.pulumi.zitadel.DefaultLockoutPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new DefaultLockoutPolicy(\"default\", DefaultLockoutPolicyArgs.builder() \n .maxPasswordAttempts(\"5\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:DefaultLockoutPolicy\n properties:\n maxPasswordAttempts: '5'\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003c\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/defaultLockoutPolicy:DefaultLockoutPolicy imported ''\n```\n\n ", "properties": { "maxPasswordAttempts": { "type": "integer", @@ -1110,7 +1119,7 @@ } }, "zitadel:index/defaultLoginPolicy:DefaultLoginPolicy": { - "description": "Resource representing the default login policy.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.DefaultLoginPolicy(\"default\", {\n userLogin: true,\n allowRegister: true,\n allowExternalIdp: true,\n forceMfa: false,\n forceMfaLocalOnly: false,\n passwordlessType: \"PASSWORDLESS_TYPE_ALLOWED\",\n hidePasswordReset: false,\n passwordCheckLifetime: \"240h0m0s\",\n externalLoginCheckLifetime: \"240h0m0s\",\n multiFactorCheckLifetime: \"24h0m0s\",\n mfaInitSkipLifetime: \"720h0m0s\",\n secondFactorCheckLifetime: \"24h0m0s\",\n ignoreUnknownUsernames: true,\n defaultRedirectUri: \"localhost:8080\",\n secondFactors: [\n \"SECOND_FACTOR_TYPE_OTP\",\n \"SECOND_FACTOR_TYPE_U2F\",\n ],\n multiFactors: [\"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\"],\n idps: [\n data.zitadel_idp_google[\"default\"].id,\n data.zitadel_idp_azure_ad[\"default\"].id,\n ],\n allowDomainDiscovery: true,\n disableLoginWithEmail: true,\n disableLoginWithPhone: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.DefaultLoginPolicy(\"default\",\n user_login=True,\n allow_register=True,\n allow_external_idp=True,\n force_mfa=False,\n force_mfa_local_only=False,\n passwordless_type=\"PASSWORDLESS_TYPE_ALLOWED\",\n hide_password_reset=False,\n password_check_lifetime=\"240h0m0s\",\n external_login_check_lifetime=\"240h0m0s\",\n multi_factor_check_lifetime=\"24h0m0s\",\n mfa_init_skip_lifetime=\"720h0m0s\",\n second_factor_check_lifetime=\"24h0m0s\",\n ignore_unknown_usernames=True,\n default_redirect_uri=\"localhost:8080\",\n second_factors=[\n \"SECOND_FACTOR_TYPE_OTP\",\n \"SECOND_FACTOR_TYPE_U2F\",\n ],\n multi_factors=[\"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\"],\n idps=[\n data[\"zitadel_idp_google\"][\"default\"][\"id\"],\n data[\"zitadel_idp_azure_ad\"][\"default\"][\"id\"],\n ],\n allow_domain_discovery=True,\n disable_login_with_email=True,\n disable_login_with_phone=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.DefaultLoginPolicy(\"default\", new()\n {\n UserLogin = true,\n AllowRegister = true,\n AllowExternalIdp = true,\n ForceMfa = false,\n ForceMfaLocalOnly = false,\n PasswordlessType = \"PASSWORDLESS_TYPE_ALLOWED\",\n HidePasswordReset = false,\n PasswordCheckLifetime = \"240h0m0s\",\n ExternalLoginCheckLifetime = \"240h0m0s\",\n MultiFactorCheckLifetime = \"24h0m0s\",\n MfaInitSkipLifetime = \"720h0m0s\",\n SecondFactorCheckLifetime = \"24h0m0s\",\n IgnoreUnknownUsernames = true,\n DefaultRedirectUri = \"localhost:8080\",\n SecondFactors = new[]\n {\n \"SECOND_FACTOR_TYPE_OTP\",\n \"SECOND_FACTOR_TYPE_U2F\",\n },\n MultiFactors = new[]\n {\n \"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\",\n },\n Idps = new[]\n {\n data.Zitadel_idp_google.Default.Id,\n data.Zitadel_idp_azure_ad.Default.Id,\n },\n AllowDomainDiscovery = true,\n DisableLoginWithEmail = true,\n DisableLoginWithPhone = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewDefaultLoginPolicy(ctx, \"default\", \u0026zitadel.DefaultLoginPolicyArgs{\n\t\t\tUserLogin: pulumi.Bool(true),\n\t\t\tAllowRegister: pulumi.Bool(true),\n\t\t\tAllowExternalIdp: pulumi.Bool(true),\n\t\t\tForceMfa: pulumi.Bool(false),\n\t\t\tForceMfaLocalOnly: pulumi.Bool(false),\n\t\t\tPasswordlessType: pulumi.String(\"PASSWORDLESS_TYPE_ALLOWED\"),\n\t\t\tHidePasswordReset: pulumi.Bool(false),\n\t\t\tPasswordCheckLifetime: pulumi.String(\"240h0m0s\"),\n\t\t\tExternalLoginCheckLifetime: pulumi.String(\"240h0m0s\"),\n\t\t\tMultiFactorCheckLifetime: pulumi.String(\"24h0m0s\"),\n\t\t\tMfaInitSkipLifetime: pulumi.String(\"720h0m0s\"),\n\t\t\tSecondFactorCheckLifetime: pulumi.String(\"24h0m0s\"),\n\t\t\tIgnoreUnknownUsernames: pulumi.Bool(true),\n\t\t\tDefaultRedirectUri: pulumi.String(\"localhost:8080\"),\n\t\t\tSecondFactors: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"SECOND_FACTOR_TYPE_OTP\"),\n\t\t\t\tpulumi.String(\"SECOND_FACTOR_TYPE_U2F\"),\n\t\t\t},\n\t\t\tMultiFactors: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\"),\n\t\t\t},\n\t\t\tIdps: pulumi.StringArray{\n\t\t\t\tpulumi.Any(data.Zitadel_idp_google.Default.Id),\n\t\t\t\tpulumi.Any(data.Zitadel_idp_azure_ad.Default.Id),\n\t\t\t},\n\t\t\tAllowDomainDiscovery: pulumi.Bool(true),\n\t\t\tDisableLoginWithEmail: pulumi.Bool(true),\n\t\t\tDisableLoginWithPhone: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.DefaultLoginPolicy;\nimport com.pulumi.zitadel.DefaultLoginPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new DefaultLoginPolicy(\"default\", DefaultLoginPolicyArgs.builder() \n .userLogin(true)\n .allowRegister(true)\n .allowExternalIdp(true)\n .forceMfa(false)\n .forceMfaLocalOnly(false)\n .passwordlessType(\"PASSWORDLESS_TYPE_ALLOWED\")\n .hidePasswordReset(\"false\")\n .passwordCheckLifetime(\"240h0m0s\")\n .externalLoginCheckLifetime(\"240h0m0s\")\n .multiFactorCheckLifetime(\"24h0m0s\")\n .mfaInitSkipLifetime(\"720h0m0s\")\n .secondFactorCheckLifetime(\"24h0m0s\")\n .ignoreUnknownUsernames(true)\n .defaultRedirectUri(\"localhost:8080\")\n .secondFactors( \n \"SECOND_FACTOR_TYPE_OTP\",\n \"SECOND_FACTOR_TYPE_U2F\")\n .multiFactors(\"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\")\n .idps( \n data.zitadel_idp_google().default().id(),\n data.zitadel_idp_azure_ad().default().id())\n .allowDomainDiscovery(true)\n .disableLoginWithEmail(true)\n .disableLoginWithPhone(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:DefaultLoginPolicy\n properties:\n userLogin: true\n allowRegister: true\n allowExternalIdp: true\n forceMfa: false\n forceMfaLocalOnly: false\n passwordlessType: PASSWORDLESS_TYPE_ALLOWED\n hidePasswordReset: false\n passwordCheckLifetime: 240h0m0s\n externalLoginCheckLifetime: 240h0m0s\n multiFactorCheckLifetime: 24h0m0s\n mfaInitSkipLifetime: 720h0m0s\n secondFactorCheckLifetime: 24h0m0s\n ignoreUnknownUsernames: true\n defaultRedirectUri: localhost:8080\n secondFactors:\n - SECOND_FACTOR_TYPE_OTP\n - SECOND_FACTOR_TYPE_U2F\n multiFactors:\n - MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\n idps:\n - ${data.zitadel_idp_google.default.id}\n - ${data.zitadel_idp_azure_ad.default.id}\n allowDomainDiscovery: true\n disableLoginWithEmail: true\n disableLoginWithPhone: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003c\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/defaultLoginPolicy:DefaultLoginPolicy imported ''\n```\n\n ", + "description": "Resource representing the default login policy.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.DefaultLoginPolicy(\"default\", {\n userLogin: true,\n allowRegister: true,\n allowExternalIdp: true,\n forceMfa: false,\n forceMfaLocalOnly: false,\n passwordlessType: \"PASSWORDLESS_TYPE_ALLOWED\",\n hidePasswordReset: false,\n passwordCheckLifetime: \"240h0m0s\",\n externalLoginCheckLifetime: \"240h0m0s\",\n multiFactorCheckLifetime: \"24h0m0s\",\n mfaInitSkipLifetime: \"720h0m0s\",\n secondFactorCheckLifetime: \"24h0m0s\",\n ignoreUnknownUsernames: true,\n defaultRedirectUri: \"localhost:8080\",\n secondFactors: [\n \"SECOND_FACTOR_TYPE_OTP\",\n \"SECOND_FACTOR_TYPE_U2F\",\n ],\n multiFactors: [\"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\"],\n idps: [\n data.zitadel_idp_google[\"default\"].id,\n data.zitadel_idp_azure_ad[\"default\"].id,\n ],\n allowDomainDiscovery: true,\n disableLoginWithEmail: true,\n disableLoginWithPhone: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.DefaultLoginPolicy(\"default\",\n user_login=True,\n allow_register=True,\n allow_external_idp=True,\n force_mfa=False,\n force_mfa_local_only=False,\n passwordless_type=\"PASSWORDLESS_TYPE_ALLOWED\",\n hide_password_reset=False,\n password_check_lifetime=\"240h0m0s\",\n external_login_check_lifetime=\"240h0m0s\",\n multi_factor_check_lifetime=\"24h0m0s\",\n mfa_init_skip_lifetime=\"720h0m0s\",\n second_factor_check_lifetime=\"24h0m0s\",\n ignore_unknown_usernames=True,\n default_redirect_uri=\"localhost:8080\",\n second_factors=[\n \"SECOND_FACTOR_TYPE_OTP\",\n \"SECOND_FACTOR_TYPE_U2F\",\n ],\n multi_factors=[\"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\"],\n idps=[\n data[\"zitadel_idp_google\"][\"default\"][\"id\"],\n data[\"zitadel_idp_azure_ad\"][\"default\"][\"id\"],\n ],\n allow_domain_discovery=True,\n disable_login_with_email=True,\n disable_login_with_phone=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.DefaultLoginPolicy(\"default\", new()\n {\n UserLogin = true,\n AllowRegister = true,\n AllowExternalIdp = true,\n ForceMfa = false,\n ForceMfaLocalOnly = false,\n PasswordlessType = \"PASSWORDLESS_TYPE_ALLOWED\",\n HidePasswordReset = false,\n PasswordCheckLifetime = \"240h0m0s\",\n ExternalLoginCheckLifetime = \"240h0m0s\",\n MultiFactorCheckLifetime = \"24h0m0s\",\n MfaInitSkipLifetime = \"720h0m0s\",\n SecondFactorCheckLifetime = \"24h0m0s\",\n IgnoreUnknownUsernames = true,\n DefaultRedirectUri = \"localhost:8080\",\n SecondFactors = new[]\n {\n \"SECOND_FACTOR_TYPE_OTP\",\n \"SECOND_FACTOR_TYPE_U2F\",\n },\n MultiFactors = new[]\n {\n \"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\",\n },\n Idps = new[]\n {\n data.Zitadel_idp_google.Default.Id,\n data.Zitadel_idp_azure_ad.Default.Id,\n },\n AllowDomainDiscovery = true,\n DisableLoginWithEmail = true,\n DisableLoginWithPhone = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewDefaultLoginPolicy(ctx, \"default\", \u0026zitadel.DefaultLoginPolicyArgs{\n\t\t\tUserLogin: pulumi.Bool(true),\n\t\t\tAllowRegister: pulumi.Bool(true),\n\t\t\tAllowExternalIdp: pulumi.Bool(true),\n\t\t\tForceMfa: pulumi.Bool(false),\n\t\t\tForceMfaLocalOnly: pulumi.Bool(false),\n\t\t\tPasswordlessType: pulumi.String(\"PASSWORDLESS_TYPE_ALLOWED\"),\n\t\t\tHidePasswordReset: pulumi.Bool(false),\n\t\t\tPasswordCheckLifetime: pulumi.String(\"240h0m0s\"),\n\t\t\tExternalLoginCheckLifetime: pulumi.String(\"240h0m0s\"),\n\t\t\tMultiFactorCheckLifetime: pulumi.String(\"24h0m0s\"),\n\t\t\tMfaInitSkipLifetime: pulumi.String(\"720h0m0s\"),\n\t\t\tSecondFactorCheckLifetime: pulumi.String(\"24h0m0s\"),\n\t\t\tIgnoreUnknownUsernames: pulumi.Bool(true),\n\t\t\tDefaultRedirectUri: pulumi.String(\"localhost:8080\"),\n\t\t\tSecondFactors: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"SECOND_FACTOR_TYPE_OTP\"),\n\t\t\t\tpulumi.String(\"SECOND_FACTOR_TYPE_U2F\"),\n\t\t\t},\n\t\t\tMultiFactors: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\"),\n\t\t\t},\n\t\t\tIdps: pulumi.StringArray{\n\t\t\t\tdata.Zitadel_idp_google.Default.Id,\n\t\t\t\tdata.Zitadel_idp_azure_ad.Default.Id,\n\t\t\t},\n\t\t\tAllowDomainDiscovery: pulumi.Bool(true),\n\t\t\tDisableLoginWithEmail: pulumi.Bool(true),\n\t\t\tDisableLoginWithPhone: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.DefaultLoginPolicy;\nimport com.pulumi.zitadel.DefaultLoginPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new DefaultLoginPolicy(\"default\", DefaultLoginPolicyArgs.builder() \n .userLogin(true)\n .allowRegister(true)\n .allowExternalIdp(true)\n .forceMfa(false)\n .forceMfaLocalOnly(false)\n .passwordlessType(\"PASSWORDLESS_TYPE_ALLOWED\")\n .hidePasswordReset(\"false\")\n .passwordCheckLifetime(\"240h0m0s\")\n .externalLoginCheckLifetime(\"240h0m0s\")\n .multiFactorCheckLifetime(\"24h0m0s\")\n .mfaInitSkipLifetime(\"720h0m0s\")\n .secondFactorCheckLifetime(\"24h0m0s\")\n .ignoreUnknownUsernames(true)\n .defaultRedirectUri(\"localhost:8080\")\n .secondFactors( \n \"SECOND_FACTOR_TYPE_OTP\",\n \"SECOND_FACTOR_TYPE_U2F\")\n .multiFactors(\"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\")\n .idps( \n data.zitadel_idp_google().default().id(),\n data.zitadel_idp_azure_ad().default().id())\n .allowDomainDiscovery(true)\n .disableLoginWithEmail(true)\n .disableLoginWithPhone(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:DefaultLoginPolicy\n properties:\n userLogin: true\n allowRegister: true\n allowExternalIdp: true\n forceMfa: false\n forceMfaLocalOnly: false\n passwordlessType: PASSWORDLESS_TYPE_ALLOWED\n hidePasswordReset: 'false'\n passwordCheckLifetime: 240h0m0s\n externalLoginCheckLifetime: 240h0m0s\n multiFactorCheckLifetime: 24h0m0s\n mfaInitSkipLifetime: 720h0m0s\n secondFactorCheckLifetime: 24h0m0s\n ignoreUnknownUsernames: true\n defaultRedirectUri: localhost:8080\n secondFactors:\n - SECOND_FACTOR_TYPE_OTP\n - SECOND_FACTOR_TYPE_U2F\n multiFactors:\n - MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\n idps:\n - ${data.zitadel_idp_google.default.id}\n - ${data.zitadel_idp_azure_ad.default.id}\n allowDomainDiscovery: true\n disableLoginWithEmail: true\n disableLoginWithPhone: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003c\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/defaultLoginPolicy:DefaultLoginPolicy imported ''\n```\n\n ", "properties": { "allowDomainDiscovery": { "type": "boolean", @@ -1407,7 +1416,7 @@ } }, "zitadel:index/defaultNotificationPolicy:DefaultNotificationPolicy": { - "description": "Resource representing the default notification policy.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultDefaultNotificationPolicy = new zitadel.DefaultNotificationPolicy(\"default\", {\n passwordChange: false,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.DefaultNotificationPolicy(\"default\", password_change=False)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.DefaultNotificationPolicy(\"default\", new()\n {\n PasswordChange = false,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewDefaultNotificationPolicy(ctx, \"default\", \u0026zitadel.DefaultNotificationPolicyArgs{\n\t\t\tPasswordChange: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.DefaultNotificationPolicy;\nimport com.pulumi.zitadel.DefaultNotificationPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new DefaultNotificationPolicy(\"default\", DefaultNotificationPolicyArgs.builder() \n .passwordChange(false)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:DefaultNotificationPolicy\n properties:\n passwordChange: false\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003c\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/defaultNotificationPolicy:DefaultNotificationPolicy imported ''\n```\n\n ", + "description": "Resource representing the default notification policy.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.DefaultNotificationPolicy(\"default\", {passwordChange: false});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.DefaultNotificationPolicy(\"default\", password_change=False)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.DefaultNotificationPolicy(\"default\", new()\n {\n PasswordChange = false,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewDefaultNotificationPolicy(ctx, \"default\", \u0026zitadel.DefaultNotificationPolicyArgs{\n\t\t\tPasswordChange: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.DefaultNotificationPolicy;\nimport com.pulumi.zitadel.DefaultNotificationPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new DefaultNotificationPolicy(\"default\", DefaultNotificationPolicyArgs.builder() \n .passwordChange(false)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:DefaultNotificationPolicy\n properties:\n passwordChange: false\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003c\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/defaultNotificationPolicy:DefaultNotificationPolicy imported ''\n```\n\n ", "properties": { "passwordChange": { "type": "boolean", @@ -1437,8 +1446,81 @@ "type": "object" } }, + "zitadel:index/defaultOidcSettings:DefaultOidcSettings": { + "description": "Resource representing the default oidc settings.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.DefaultOidcSettings(\"default\", {\n accessTokenLifetime: \"12h0m0s\",\n idTokenLifetime: \"12h0m0s\",\n refreshTokenExpiration: \"720h0m0s\",\n refreshTokenIdleExpiration: \"2160h0m0s\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.DefaultOidcSettings(\"default\",\n access_token_lifetime=\"12h0m0s\",\n id_token_lifetime=\"12h0m0s\",\n refresh_token_expiration=\"720h0m0s\",\n refresh_token_idle_expiration=\"2160h0m0s\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.DefaultOidcSettings(\"default\", new()\n {\n AccessTokenLifetime = \"12h0m0s\",\n IdTokenLifetime = \"12h0m0s\",\n RefreshTokenExpiration = \"720h0m0s\",\n RefreshTokenIdleExpiration = \"2160h0m0s\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewDefaultOidcSettings(ctx, \"default\", \u0026zitadel.DefaultOidcSettingsArgs{\n\t\t\tAccessTokenLifetime: pulumi.String(\"12h0m0s\"),\n\t\t\tIdTokenLifetime: pulumi.String(\"12h0m0s\"),\n\t\t\tRefreshTokenExpiration: pulumi.String(\"720h0m0s\"),\n\t\t\tRefreshTokenIdleExpiration: pulumi.String(\"2160h0m0s\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.DefaultOidcSettings;\nimport com.pulumi.zitadel.DefaultOidcSettingsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new DefaultOidcSettings(\"default\", DefaultOidcSettingsArgs.builder() \n .accessTokenLifetime(\"12h0m0s\")\n .idTokenLifetime(\"12h0m0s\")\n .refreshTokenExpiration(\"720h0m0s\")\n .refreshTokenIdleExpiration(\"2160h0m0s\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:DefaultOidcSettings\n properties:\n accessTokenLifetime: 12h0m0s\n idTokenLifetime: 12h0m0s\n refreshTokenExpiration: 720h0m0s\n refreshTokenIdleExpiration: 2160h0m0s\n```\n{{% /example %}}\n{{% /examples %}}", + "properties": { + "accessTokenLifetime": { + "type": "string", + "description": "lifetime duration of access tokens\n" + }, + "idTokenLifetime": { + "type": "string", + "description": "lifetime duration of id tokens\n" + }, + "refreshTokenExpiration": { + "type": "string", + "description": "expiration duration of refresh tokens\n" + }, + "refreshTokenIdleExpiration": { + "type": "string", + "description": "expiration duration of idle refresh tokens\n" + } + }, + "required": [ + "accessTokenLifetime", + "idTokenLifetime", + "refreshTokenExpiration", + "refreshTokenIdleExpiration" + ], + "inputProperties": { + "accessTokenLifetime": { + "type": "string", + "description": "lifetime duration of access tokens\n" + }, + "idTokenLifetime": { + "type": "string", + "description": "lifetime duration of id tokens\n" + }, + "refreshTokenExpiration": { + "type": "string", + "description": "expiration duration of refresh tokens\n" + }, + "refreshTokenIdleExpiration": { + "type": "string", + "description": "expiration duration of idle refresh tokens\n" + } + }, + "requiredInputs": [ + "accessTokenLifetime", + "idTokenLifetime", + "refreshTokenExpiration", + "refreshTokenIdleExpiration" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering DefaultOidcSettings resources.\n", + "properties": { + "accessTokenLifetime": { + "type": "string", + "description": "lifetime duration of access tokens\n" + }, + "idTokenLifetime": { + "type": "string", + "description": "lifetime duration of id tokens\n" + }, + "refreshTokenExpiration": { + "type": "string", + "description": "expiration duration of refresh tokens\n" + }, + "refreshTokenIdleExpiration": { + "type": "string", + "description": "expiration duration of idle refresh tokens\n" + } + }, + "type": "object" + } + }, "zitadel:index/defaultPasswordComplexityPolicy:DefaultPasswordComplexityPolicy": { - "description": "Resource representing the default password complexity policy.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultDefaultPasswordComplexityPolicy = new zitadel.DefaultPasswordComplexityPolicy(\"default\", {\n hasLowercase: true,\n hasNumber: true,\n hasSymbol: true,\n hasUppercase: true,\n minLength: 8,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.DefaultPasswordComplexityPolicy(\"default\",\n has_lowercase=True,\n has_number=True,\n has_symbol=True,\n has_uppercase=True,\n min_length=8)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.DefaultPasswordComplexityPolicy(\"default\", new()\n {\n HasLowercase = true,\n HasNumber = true,\n HasSymbol = true,\n HasUppercase = true,\n MinLength = 8,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewDefaultPasswordComplexityPolicy(ctx, \"default\", \u0026zitadel.DefaultPasswordComplexityPolicyArgs{\n\t\t\tHasLowercase: pulumi.Bool(true),\n\t\t\tHasNumber: pulumi.Bool(true),\n\t\t\tHasSymbol: pulumi.Bool(true),\n\t\t\tHasUppercase: pulumi.Bool(true),\n\t\t\tMinLength: pulumi.Int(8),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.DefaultPasswordComplexityPolicy;\nimport com.pulumi.zitadel.DefaultPasswordComplexityPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new DefaultPasswordComplexityPolicy(\"default\", DefaultPasswordComplexityPolicyArgs.builder() \n .hasLowercase(true)\n .hasNumber(true)\n .hasSymbol(true)\n .hasUppercase(true)\n .minLength(\"8\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:DefaultPasswordComplexityPolicy\n properties:\n hasLowercase: true\n hasNumber: true\n hasSymbol: true\n hasUppercase: true\n minLength: 8\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003c\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/defaultPasswordComplexityPolicy:DefaultPasswordComplexityPolicy imported ''\n```\n\n ", + "description": "Resource representing the default password complexity policy.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.DefaultPasswordComplexityPolicy(\"default\", {\n hasLowercase: true,\n hasNumber: true,\n hasSymbol: true,\n hasUppercase: true,\n minLength: 8,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.DefaultPasswordComplexityPolicy(\"default\",\n has_lowercase=True,\n has_number=True,\n has_symbol=True,\n has_uppercase=True,\n min_length=8)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.DefaultPasswordComplexityPolicy(\"default\", new()\n {\n HasLowercase = true,\n HasNumber = true,\n HasSymbol = true,\n HasUppercase = true,\n MinLength = 8,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewDefaultPasswordComplexityPolicy(ctx, \"default\", \u0026zitadel.DefaultPasswordComplexityPolicyArgs{\n\t\t\tHasLowercase: pulumi.Bool(true),\n\t\t\tHasNumber: pulumi.Bool(true),\n\t\t\tHasSymbol: pulumi.Bool(true),\n\t\t\tHasUppercase: pulumi.Bool(true),\n\t\t\tMinLength: pulumi.Int(8),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.DefaultPasswordComplexityPolicy;\nimport com.pulumi.zitadel.DefaultPasswordComplexityPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new DefaultPasswordComplexityPolicy(\"default\", DefaultPasswordComplexityPolicyArgs.builder() \n .hasLowercase(true)\n .hasNumber(true)\n .hasSymbol(true)\n .hasUppercase(true)\n .minLength(\"8\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:DefaultPasswordComplexityPolicy\n properties:\n hasLowercase: true\n hasNumber: true\n hasSymbol: true\n hasUppercase: true\n minLength: '8'\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003c\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/defaultPasswordComplexityPolicy:DefaultPasswordComplexityPolicy imported ''\n```\n\n ", "properties": { "hasLowercase": { "type": "boolean", @@ -1525,7 +1607,7 @@ } }, "zitadel:index/defaultPrivacyPolicy:DefaultPrivacyPolicy": { - "description": "Resource representing the default privacy policy.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultDefaultPrivacyPolicy = new zitadel.DefaultPrivacyPolicy(\"default\", {\n helpLink: \"https://example.com/help\",\n privacyLink: \"https://example.com/privacy\",\n supportEmail: \"support@example.com\",\n tosLink: \"https://example.com/tos\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.DefaultPrivacyPolicy(\"default\",\n help_link=\"https://example.com/help\",\n privacy_link=\"https://example.com/privacy\",\n support_email=\"support@example.com\",\n tos_link=\"https://example.com/tos\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.DefaultPrivacyPolicy(\"default\", new()\n {\n HelpLink = \"https://example.com/help\",\n PrivacyLink = \"https://example.com/privacy\",\n SupportEmail = \"support@example.com\",\n TosLink = \"https://example.com/tos\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewDefaultPrivacyPolicy(ctx, \"default\", \u0026zitadel.DefaultPrivacyPolicyArgs{\n\t\t\tHelpLink: pulumi.String(\"https://example.com/help\"),\n\t\t\tPrivacyLink: pulumi.String(\"https://example.com/privacy\"),\n\t\t\tSupportEmail: pulumi.String(\"support@example.com\"),\n\t\t\tTosLink: pulumi.String(\"https://example.com/tos\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.DefaultPrivacyPolicy;\nimport com.pulumi.zitadel.DefaultPrivacyPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new DefaultPrivacyPolicy(\"default\", DefaultPrivacyPolicyArgs.builder() \n .helpLink(\"https://example.com/help\")\n .privacyLink(\"https://example.com/privacy\")\n .supportEmail(\"support@example.com\")\n .tosLink(\"https://example.com/tos\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:DefaultPrivacyPolicy\n properties:\n helpLink: https://example.com/help\n privacyLink: https://example.com/privacy\n supportEmail: support@example.com\n tosLink: https://example.com/tos\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003c\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/defaultPrivacyPolicy:DefaultPrivacyPolicy imported ''\n```\n\n ", + "description": "Resource representing the default privacy policy.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.DefaultPrivacyPolicy(\"default\", {\n helpLink: \"https://example.com/help\",\n privacyLink: \"https://example.com/privacy\",\n supportEmail: \"support@example.com\",\n tosLink: \"https://example.com/tos\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.DefaultPrivacyPolicy(\"default\",\n help_link=\"https://example.com/help\",\n privacy_link=\"https://example.com/privacy\",\n support_email=\"support@example.com\",\n tos_link=\"https://example.com/tos\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.DefaultPrivacyPolicy(\"default\", new()\n {\n HelpLink = \"https://example.com/help\",\n PrivacyLink = \"https://example.com/privacy\",\n SupportEmail = \"support@example.com\",\n TosLink = \"https://example.com/tos\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewDefaultPrivacyPolicy(ctx, \"default\", \u0026zitadel.DefaultPrivacyPolicyArgs{\n\t\t\tHelpLink: pulumi.String(\"https://example.com/help\"),\n\t\t\tPrivacyLink: pulumi.String(\"https://example.com/privacy\"),\n\t\t\tSupportEmail: pulumi.String(\"support@example.com\"),\n\t\t\tTosLink: pulumi.String(\"https://example.com/tos\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.DefaultPrivacyPolicy;\nimport com.pulumi.zitadel.DefaultPrivacyPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new DefaultPrivacyPolicy(\"default\", DefaultPrivacyPolicyArgs.builder() \n .helpLink(\"https://example.com/help\")\n .privacyLink(\"https://example.com/privacy\")\n .supportEmail(\"support@example.com\")\n .tosLink(\"https://example.com/tos\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:DefaultPrivacyPolicy\n properties:\n helpLink: https://example.com/help\n privacyLink: https://example.com/privacy\n supportEmail: support@example.com\n tosLink: https://example.com/tos\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003c\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/defaultPrivacyPolicy:DefaultPrivacyPolicy imported ''\n```\n\n ", "properties": { "helpLink": { "type": "string" @@ -1540,12 +1622,6 @@ "type": "string" } }, - "required": [ - "helpLink", - "privacyLink", - "supportEmail", - "tosLink" - ], "inputProperties": { "helpLink": { "type": "string" @@ -1560,12 +1636,6 @@ "type": "string" } }, - "requiredInputs": [ - "helpLink", - "privacyLink", - "supportEmail", - "tosLink" - ], "stateInputs": { "description": "Input properties used for looking up and filtering DefaultPrivacyPolicy resources.\n", "properties": { @@ -1586,7 +1656,7 @@ } }, "zitadel:index/domain:Domain": { - "description": "Resource representing a domain of the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.Domain(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n isPrimary: false,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.Domain(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n is_primary=False)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.Domain(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n IsPrimary = false,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewDomain(ctx, \"default\", \u0026zitadel.DomainArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tIsPrimary: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.Domain;\nimport com.pulumi.zitadel.DomainArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new Domain(\"default\", DomainArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .isPrimary(false)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:Domain\n properties:\n orgId: ${data.zitadel_org.default.id}\n isPrimary: false\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `name[:org_id]`, e.g.\n\n```sh\n $ pulumi import zitadel:index/domain:Domain imported 'example.com:123456789012345678'\n```\n\n ", + "description": "Resource representing a domain of the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.Domain(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n isPrimary: false,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.Domain(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n is_primary=False)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.Domain(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n IsPrimary = false,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewDomain(ctx, \"default\", \u0026zitadel.DomainArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tIsPrimary: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.Domain;\nimport com.pulumi.zitadel.DomainArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new Domain(\"default\", DomainArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .isPrimary(false)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:Domain\n properties:\n orgId: ${data.zitadel_org.default.id}\n isPrimary: false\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `name[:org_id]`, e.g.\n\n```sh\n $ pulumi import zitadel:index/domain:Domain imported 'example.com:123456789012345678'\n```\n\n ", "properties": { "isPrimary": { "type": "boolean", @@ -1660,7 +1730,7 @@ } }, "zitadel:index/domainPolicy:DomainPolicy": { - "description": "Resource representing the custom domain policy of an organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.DomainPolicy(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n userLoginMustBeDomain: false,\n validateOrgDomains: true,\n smtpSenderAddressMatchesInstanceDomain: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.DomainPolicy(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n user_login_must_be_domain=False,\n validate_org_domains=True,\n smtp_sender_address_matches_instance_domain=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.DomainPolicy(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n UserLoginMustBeDomain = false,\n ValidateOrgDomains = true,\n SmtpSenderAddressMatchesInstanceDomain = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewDomainPolicy(ctx, \"default\", \u0026zitadel.DomainPolicyArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tUserLoginMustBeDomain: pulumi.Bool(false),\n\t\t\tValidateOrgDomains: pulumi.Bool(true),\n\t\t\tSmtpSenderAddressMatchesInstanceDomain: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.DomainPolicy;\nimport com.pulumi.zitadel.DomainPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new DomainPolicy(\"default\", DomainPolicyArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .userLoginMustBeDomain(false)\n .validateOrgDomains(true)\n .smtpSenderAddressMatchesInstanceDomain(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:DomainPolicy\n properties:\n orgId: ${data.zitadel_org.default.id}\n userLoginMustBeDomain: false\n validateOrgDomains: true\n smtpSenderAddressMatchesInstanceDomain: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003c[org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/domainPolicy:DomainPolicy imported '123456789012345678'\n```\n\n ", + "description": "Resource representing the custom domain policy of an organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.DomainPolicy(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n userLoginMustBeDomain: false,\n validateOrgDomains: true,\n smtpSenderAddressMatchesInstanceDomain: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.DomainPolicy(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n user_login_must_be_domain=False,\n validate_org_domains=True,\n smtp_sender_address_matches_instance_domain=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.DomainPolicy(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n UserLoginMustBeDomain = false,\n ValidateOrgDomains = true,\n SmtpSenderAddressMatchesInstanceDomain = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewDomainPolicy(ctx, \"default\", \u0026zitadel.DomainPolicyArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tUserLoginMustBeDomain: pulumi.Bool(false),\n\t\t\tValidateOrgDomains: pulumi.Bool(true),\n\t\t\tSmtpSenderAddressMatchesInstanceDomain: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.DomainPolicy;\nimport com.pulumi.zitadel.DomainPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new DomainPolicy(\"default\", DomainPolicyArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .userLoginMustBeDomain(false)\n .validateOrgDomains(true)\n .smtpSenderAddressMatchesInstanceDomain(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:DomainPolicy\n properties:\n orgId: ${data.zitadel_org.default.id}\n userLoginMustBeDomain: false\n validateOrgDomains: true\n smtpSenderAddressMatchesInstanceDomain: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003c[org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/domainPolicy:DomainPolicy imported '123456789012345678'\n```\n\n ", "properties": { "orgId": { "type": "string", @@ -1730,7 +1800,7 @@ } }, "zitadel:index/humanUser:HumanUser": { - "description": "**Caution: Email can only be set verified if a password is set for the user, either with initial_password or during runtime**\n\nResource representing a human user situated under an organization, which then can be authorized through memberships or direct grants on other resources.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.HumanUser(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n userName: \"humanfull@localhost.com\",\n firstName: \"firstname\",\n lastName: \"lastname\",\n nickName: \"nickname\",\n displayName: \"displayname\",\n preferredLanguage: \"de\",\n gender: \"GENDER_MALE\",\n phone: \"+41799999999\",\n isPhoneVerified: true,\n email: \"test@zitadel.com\",\n isEmailVerified: true,\n initialPassword: \"Password1!\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.HumanUser(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n user_name=\"humanfull@localhost.com\",\n first_name=\"firstname\",\n last_name=\"lastname\",\n nick_name=\"nickname\",\n display_name=\"displayname\",\n preferred_language=\"de\",\n gender=\"GENDER_MALE\",\n phone=\"+41799999999\",\n is_phone_verified=True,\n email=\"test@zitadel.com\",\n is_email_verified=True,\n initial_password=\"Password1!\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.HumanUser(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n UserName = \"humanfull@localhost.com\",\n FirstName = \"firstname\",\n LastName = \"lastname\",\n NickName = \"nickname\",\n DisplayName = \"displayname\",\n PreferredLanguage = \"de\",\n Gender = \"GENDER_MALE\",\n Phone = \"+41799999999\",\n IsPhoneVerified = true,\n Email = \"test@zitadel.com\",\n IsEmailVerified = true,\n InitialPassword = \"Password1!\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewHumanUser(ctx, \"default\", \u0026zitadel.HumanUserArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tUserName: pulumi.String(\"humanfull@localhost.com\"),\n\t\t\tFirstName: pulumi.String(\"firstname\"),\n\t\t\tLastName: pulumi.String(\"lastname\"),\n\t\t\tNickName: pulumi.String(\"nickname\"),\n\t\t\tDisplayName: pulumi.String(\"displayname\"),\n\t\t\tPreferredLanguage: pulumi.String(\"de\"),\n\t\t\tGender: pulumi.String(\"GENDER_MALE\"),\n\t\t\tPhone: pulumi.String(\"+41799999999\"),\n\t\t\tIsPhoneVerified: pulumi.Bool(true),\n\t\t\tEmail: pulumi.String(\"test@zitadel.com\"),\n\t\t\tIsEmailVerified: pulumi.Bool(true),\n\t\t\tInitialPassword: pulumi.String(\"Password1!\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.HumanUser;\nimport com.pulumi.zitadel.HumanUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new HumanUser(\"default\", HumanUserArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .userName(\"humanfull@localhost.com\")\n .firstName(\"firstname\")\n .lastName(\"lastname\")\n .nickName(\"nickname\")\n .displayName(\"displayname\")\n .preferredLanguage(\"de\")\n .gender(\"GENDER_MALE\")\n .phone(\"+41799999999\")\n .isPhoneVerified(true)\n .email(\"test@zitadel.com\")\n .isEmailVerified(true)\n .initialPassword(\"Password1!\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:HumanUser\n properties:\n orgId: ${data.zitadel_org.default.id}\n userName: humanfull@localhost.com\n firstName: firstname\n lastName: lastname\n nickName: nickname\n displayName: displayname\n preferredLanguage: de\n gender: GENDER_MALE\n phone: +41799999999\n isPhoneVerified: true\n email: test@zitadel.com\n isEmailVerified: true\n initialPassword: Password1!\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `id[:org_id][:initial_password]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/humanUser:HumanUser imported '123456789012345678:123456789012345678:Password1!'\n```\n\n ", + "description": "**Caution: Email can only be set verified if a password is set for the user, either with initial_password or during runtime**\n\nResource representing a human user situated under an organization, which then can be authorized through memberships or direct grants on other resources.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.HumanUser(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n userName: \"humanfull@localhost.com\",\n firstName: \"firstname\",\n lastName: \"lastname\",\n nickName: \"nickname\",\n displayName: \"displayname\",\n preferredLanguage: \"de\",\n gender: \"GENDER_MALE\",\n phone: \"+41799999999\",\n isPhoneVerified: true,\n email: \"test@zitadel.com\",\n isEmailVerified: true,\n initialPassword: \"Password1!\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.HumanUser(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n user_name=\"humanfull@localhost.com\",\n first_name=\"firstname\",\n last_name=\"lastname\",\n nick_name=\"nickname\",\n display_name=\"displayname\",\n preferred_language=\"de\",\n gender=\"GENDER_MALE\",\n phone=\"+41799999999\",\n is_phone_verified=True,\n email=\"test@zitadel.com\",\n is_email_verified=True,\n initial_password=\"Password1!\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.HumanUser(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n UserName = \"humanfull@localhost.com\",\n FirstName = \"firstname\",\n LastName = \"lastname\",\n NickName = \"nickname\",\n DisplayName = \"displayname\",\n PreferredLanguage = \"de\",\n Gender = \"GENDER_MALE\",\n Phone = \"+41799999999\",\n IsPhoneVerified = true,\n Email = \"test@zitadel.com\",\n IsEmailVerified = true,\n InitialPassword = \"Password1!\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewHumanUser(ctx, \"default\", \u0026zitadel.HumanUserArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tUserName: pulumi.String(\"humanfull@localhost.com\"),\n\t\t\tFirstName: pulumi.String(\"firstname\"),\n\t\t\tLastName: pulumi.String(\"lastname\"),\n\t\t\tNickName: pulumi.String(\"nickname\"),\n\t\t\tDisplayName: pulumi.String(\"displayname\"),\n\t\t\tPreferredLanguage: pulumi.String(\"de\"),\n\t\t\tGender: pulumi.String(\"GENDER_MALE\"),\n\t\t\tPhone: pulumi.String(\"+41799999999\"),\n\t\t\tIsPhoneVerified: pulumi.Bool(true),\n\t\t\tEmail: pulumi.String(\"test@zitadel.com\"),\n\t\t\tIsEmailVerified: pulumi.Bool(true),\n\t\t\tInitialPassword: pulumi.String(\"Password1!\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.HumanUser;\nimport com.pulumi.zitadel.HumanUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new HumanUser(\"default\", HumanUserArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .userName(\"humanfull@localhost.com\")\n .firstName(\"firstname\")\n .lastName(\"lastname\")\n .nickName(\"nickname\")\n .displayName(\"displayname\")\n .preferredLanguage(\"de\")\n .gender(\"GENDER_MALE\")\n .phone(\"+41799999999\")\n .isPhoneVerified(true)\n .email(\"test@zitadel.com\")\n .isEmailVerified(true)\n .initialPassword(\"Password1!\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:HumanUser\n properties:\n orgId: ${data.zitadel_org.default.id}\n userName: humanfull@localhost.com\n firstName: firstname\n lastName: lastname\n nickName: nickname\n displayName: displayname\n preferredLanguage: de\n gender: GENDER_MALE\n phone: '+41799999999'\n isPhoneVerified: true\n email: test@zitadel.com\n isEmailVerified: true\n initialPassword: Password1!\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `id[:org_id][:initial_password]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/humanUser:HumanUser imported '123456789012345678:123456789012345678:Password1!'\n```\n\n ", "properties": { "displayName": { "type": "string", @@ -1750,7 +1820,8 @@ }, "initialPassword": { "type": "string", - "description": "Initially set password for the user, not changeable after creation\n" + "description": "Initially set password for the user, not changeable after creation\n", + "secret": true }, "isEmailVerified": { "type": "boolean", @@ -1830,6 +1901,7 @@ "initialPassword": { "type": "string", "description": "Initially set password for the user, not changeable after creation\n", + "secret": true, "willReplaceOnChanges": true }, "isEmailVerified": { @@ -1894,6 +1966,7 @@ "initialPassword": { "type": "string", "description": "Initially set password for the user, not changeable after creation\n", + "secret": true, "willReplaceOnChanges": true }, "isEmailVerified": { @@ -1951,7 +2024,7 @@ } }, "zitadel:index/idpAzureAd:IdpAzureAd": { - "description": "Resource representing an Azure AD IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultIdpAzureAd = new zitadel.IdpAzureAd(\"default\", {\n clientId: \"9065bfc8-a08a...\",\n clientSecret: \"H2n***\",\n emailVerified: true,\n isAutoCreation: false,\n isAutoUpdate: true,\n isCreationAllowed: true,\n isLinkingAllowed: false,\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n \"User.Read\",\n ],\n tenantType: \"AZURE_AD_TENANT_TYPE_ORGANISATIONS\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.IdpAzureAd(\"default\",\n client_id=\"9065bfc8-a08a...\",\n client_secret=\"H2n***\",\n email_verified=True,\n is_auto_creation=False,\n is_auto_update=True,\n is_creation_allowed=True,\n is_linking_allowed=False,\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n \"User.Read\",\n ],\n tenant_type=\"AZURE_AD_TENANT_TYPE_ORGANISATIONS\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.IdpAzureAd(\"default\", new()\n {\n ClientId = \"9065bfc8-a08a...\",\n ClientSecret = \"H2n***\",\n EmailVerified = true,\n IsAutoCreation = false,\n IsAutoUpdate = true,\n IsCreationAllowed = true,\n IsLinkingAllowed = false,\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n \"User.Read\",\n },\n TenantType = \"AZURE_AD_TENANT_TYPE_ORGANISATIONS\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewIdpAzureAd(ctx, \"default\", \u0026zitadel.IdpAzureAdArgs{\n\t\t\tClientId: pulumi.String(\"9065bfc8-a08a...\"),\n\t\t\tClientSecret: pulumi.String(\"H2n***\"),\n\t\t\tEmailVerified: pulumi.Bool(true),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t\tpulumi.String(\"User.Read\"),\n\t\t\t},\n\t\t\tTenantType: pulumi.String(\"AZURE_AD_TENANT_TYPE_ORGANISATIONS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.IdpAzureAd;\nimport com.pulumi.zitadel.IdpAzureAdArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new IdpAzureAd(\"default\", IdpAzureAdArgs.builder() \n .clientId(\"9065bfc8-a08a...\")\n .clientSecret(\"H2n***\")\n .emailVerified(true)\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .isCreationAllowed(true)\n .isLinkingAllowed(false)\n .scopes( \n \"openid\",\n \"profile\",\n \"email\",\n \"User.Read\")\n .tenantType(\"AZURE_AD_TENANT_TYPE_ORGANISATIONS\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:IdpAzureAd\n properties:\n clientId: 9065bfc8-a08a...\n clientSecret: H2n***\n emailVerified: true\n isAutoCreation: false\n isAutoUpdate: true\n isCreationAllowed: true\n isLinkingAllowed: false\n scopes:\n - openid\n - profile\n - email\n - User.Read\n tenantType: AZURE_AD_TENANT_TYPE_ORGANISATIONS\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/idpAzureAd:IdpAzureAd imported '123456789012345678:12345678-1234-1234-1234-123456789012'\n```\n\n ", + "description": "Resource representing an Azure AD IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.IdpAzureAd(\"default\", {\n clientId: \"9065bfc8-a08a...\",\n clientSecret: \"H2n***\",\n emailVerified: true,\n isAutoCreation: false,\n isAutoUpdate: true,\n isCreationAllowed: true,\n isLinkingAllowed: false,\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n \"User.Read\",\n ],\n tenantType: \"AZURE_AD_TENANT_TYPE_ORGANISATIONS\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.IdpAzureAd(\"default\",\n client_id=\"9065bfc8-a08a...\",\n client_secret=\"H2n***\",\n email_verified=True,\n is_auto_creation=False,\n is_auto_update=True,\n is_creation_allowed=True,\n is_linking_allowed=False,\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n \"User.Read\",\n ],\n tenant_type=\"AZURE_AD_TENANT_TYPE_ORGANISATIONS\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.IdpAzureAd(\"default\", new()\n {\n ClientId = \"9065bfc8-a08a...\",\n ClientSecret = \"H2n***\",\n EmailVerified = true,\n IsAutoCreation = false,\n IsAutoUpdate = true,\n IsCreationAllowed = true,\n IsLinkingAllowed = false,\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n \"User.Read\",\n },\n TenantType = \"AZURE_AD_TENANT_TYPE_ORGANISATIONS\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewIdpAzureAd(ctx, \"default\", \u0026zitadel.IdpAzureAdArgs{\n\t\t\tClientId: pulumi.String(\"9065bfc8-a08a...\"),\n\t\t\tClientSecret: pulumi.String(\"H2n***\"),\n\t\t\tEmailVerified: pulumi.Bool(true),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t\tpulumi.String(\"User.Read\"),\n\t\t\t},\n\t\t\tTenantType: pulumi.String(\"AZURE_AD_TENANT_TYPE_ORGANISATIONS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.IdpAzureAd;\nimport com.pulumi.zitadel.IdpAzureAdArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new IdpAzureAd(\"default\", IdpAzureAdArgs.builder() \n .clientId(\"9065bfc8-a08a...\")\n .clientSecret(\"H2n***\")\n .emailVerified(true)\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .isCreationAllowed(true)\n .isLinkingAllowed(false)\n .scopes( \n \"openid\",\n \"profile\",\n \"email\",\n \"User.Read\")\n .tenantType(\"AZURE_AD_TENANT_TYPE_ORGANISATIONS\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:IdpAzureAd\n properties:\n clientId: 9065bfc8-a08a...\n clientSecret: H2n***\n emailVerified: true\n isAutoCreation: false\n isAutoUpdate: true\n isCreationAllowed: true\n isLinkingAllowed: false\n scopes:\n - openid\n - profile\n - email\n - User.Read\n tenantType: AZURE_AD_TENANT_TYPE_ORGANISATIONS\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/idpAzureAd:IdpAzureAd imported '123456789012345678:12345678-1234-1234-1234-123456789012'\n```\n\n ", "properties": { "clientId": { "type": "string", @@ -1959,7 +2032,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "emailVerified": { "type": "boolean", @@ -2018,7 +2092,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "emailVerified": { "type": "boolean", @@ -2078,7 +2153,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "emailVerified": { "type": "boolean", @@ -2124,7 +2200,7 @@ } }, "zitadel:index/idpGithub:IdpGithub": { - "description": "Resource representing a GitHub IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultIdpGithub = new zitadel.IdpGithub(\"default\", {\n clientId: \"86a165...\",\n clientSecret: \"*****afdbac18\",\n isAutoCreation: false,\n isAutoUpdate: true,\n isCreationAllowed: true,\n isLinkingAllowed: false,\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.IdpGithub(\"default\",\n client_id=\"86a165...\",\n client_secret=\"*****afdbac18\",\n is_auto_creation=False,\n is_auto_update=True,\n is_creation_allowed=True,\n is_linking_allowed=False,\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.IdpGithub(\"default\", new()\n {\n ClientId = \"86a165...\",\n ClientSecret = \"*****afdbac18\",\n IsAutoCreation = false,\n IsAutoUpdate = true,\n IsCreationAllowed = true,\n IsLinkingAllowed = false,\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewIdpGithub(ctx, \"default\", \u0026zitadel.IdpGithubArgs{\n\t\t\tClientId: pulumi.String(\"86a165...\"),\n\t\t\tClientSecret: pulumi.String(\"*****afdbac18\"),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.IdpGithub;\nimport com.pulumi.zitadel.IdpGithubArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new IdpGithub(\"default\", IdpGithubArgs.builder() \n .clientId(\"86a165...\")\n .clientSecret(\"*****afdbac18\")\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .isCreationAllowed(true)\n .isLinkingAllowed(false)\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:IdpGithub\n properties:\n clientId: 86a165...\n clientSecret: '*****afdbac18'\n isAutoCreation: false\n isAutoUpdate: true\n isCreationAllowed: true\n isLinkingAllowed: false\n scopes:\n - openid\n - profile\n - email\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/idpGithub:IdpGithub imported '123456789012345678:1234567890123456781234567890123456787890'\n```\n\n ", + "description": "Resource representing a GitHub IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.IdpGithub(\"default\", {\n clientId: \"86a165...\",\n clientSecret: \"*****afdbac18\",\n isAutoCreation: false,\n isAutoUpdate: true,\n isCreationAllowed: true,\n isLinkingAllowed: false,\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.IdpGithub(\"default\",\n client_id=\"86a165...\",\n client_secret=\"*****afdbac18\",\n is_auto_creation=False,\n is_auto_update=True,\n is_creation_allowed=True,\n is_linking_allowed=False,\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.IdpGithub(\"default\", new()\n {\n ClientId = \"86a165...\",\n ClientSecret = \"*****afdbac18\",\n IsAutoCreation = false,\n IsAutoUpdate = true,\n IsCreationAllowed = true,\n IsLinkingAllowed = false,\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewIdpGithub(ctx, \"default\", \u0026zitadel.IdpGithubArgs{\n\t\t\tClientId: pulumi.String(\"86a165...\"),\n\t\t\tClientSecret: pulumi.String(\"*****afdbac18\"),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.IdpGithub;\nimport com.pulumi.zitadel.IdpGithubArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new IdpGithub(\"default\", IdpGithubArgs.builder() \n .clientId(\"86a165...\")\n .clientSecret(\"*****afdbac18\")\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .isCreationAllowed(true)\n .isLinkingAllowed(false)\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:IdpGithub\n properties:\n clientId: 86a165...\n clientSecret: '*****afdbac18'\n isAutoCreation: false\n isAutoUpdate: true\n isCreationAllowed: true\n isLinkingAllowed: false\n scopes:\n - openid\n - profile\n - email\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/idpGithub:IdpGithub imported '123456789012345678:1234567890123456781234567890123456787890'\n```\n\n ", "properties": { "clientId": { "type": "string", @@ -2132,7 +2208,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -2178,7 +2255,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -2225,7 +2303,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -2259,7 +2338,7 @@ } }, "zitadel:index/idpGithubEs:IdpGithubEs": { - "description": "Resource representing a GitHub Enterprise IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultIdpGithubEs = new zitadel.IdpGithubEs(\"default\", {\n authorizationEndpoint: \"https://auth.endpoint\",\n clientId: \"86a165...\",\n clientSecret: \"*****afdbac18\",\n isAutoCreation: false,\n isAutoUpdate: true,\n isCreationAllowed: true,\n isLinkingAllowed: false,\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n tokenEndpoint: \"https://token.endpoint\",\n userEndpoint: \"https://user.endpoint\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.IdpGithubEs(\"default\",\n authorization_endpoint=\"https://auth.endpoint\",\n client_id=\"86a165...\",\n client_secret=\"*****afdbac18\",\n is_auto_creation=False,\n is_auto_update=True,\n is_creation_allowed=True,\n is_linking_allowed=False,\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ],\n token_endpoint=\"https://token.endpoint\",\n user_endpoint=\"https://user.endpoint\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.IdpGithubEs(\"default\", new()\n {\n AuthorizationEndpoint = \"https://auth.endpoint\",\n ClientId = \"86a165...\",\n ClientSecret = \"*****afdbac18\",\n IsAutoCreation = false,\n IsAutoUpdate = true,\n IsCreationAllowed = true,\n IsLinkingAllowed = false,\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n TokenEndpoint = \"https://token.endpoint\",\n UserEndpoint = \"https://user.endpoint\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewIdpGithubEs(ctx, \"default\", \u0026zitadel.IdpGithubEsArgs{\n\t\t\tAuthorizationEndpoint: pulumi.String(\"https://auth.endpoint\"),\n\t\t\tClientId: pulumi.String(\"86a165...\"),\n\t\t\tClientSecret: pulumi.String(\"*****afdbac18\"),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tTokenEndpoint: pulumi.String(\"https://token.endpoint\"),\n\t\t\tUserEndpoint: pulumi.String(\"https://user.endpoint\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.IdpGithubEs;\nimport com.pulumi.zitadel.IdpGithubEsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new IdpGithubEs(\"default\", IdpGithubEsArgs.builder() \n .authorizationEndpoint(\"https://auth.endpoint\")\n .clientId(\"86a165...\")\n .clientSecret(\"*****afdbac18\")\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .isCreationAllowed(true)\n .isLinkingAllowed(false)\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .tokenEndpoint(\"https://token.endpoint\")\n .userEndpoint(\"https://user.endpoint\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:IdpGithubEs\n properties:\n authorizationEndpoint: https://auth.endpoint\n clientId: 86a165...\n clientSecret: '*****afdbac18'\n isAutoCreation: false\n isAutoUpdate: true\n isCreationAllowed: true\n isLinkingAllowed: false\n scopes:\n - openid\n - profile\n - email\n tokenEndpoint: https://token.endpoint\n userEndpoint: https://user.endpoint\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/idpGithubEs:IdpGithubEs imported '123456789012345678:1234567890123456781234567890123456787890'\n```\n\n ", + "description": "Resource representing a GitHub Enterprise IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.IdpGithubEs(\"default\", {\n authorizationEndpoint: \"https://auth.endpoint\",\n clientId: \"86a165...\",\n clientSecret: \"*****afdbac18\",\n isAutoCreation: false,\n isAutoUpdate: true,\n isCreationAllowed: true,\n isLinkingAllowed: false,\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n tokenEndpoint: \"https://token.endpoint\",\n userEndpoint: \"https://user.endpoint\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.IdpGithubEs(\"default\",\n authorization_endpoint=\"https://auth.endpoint\",\n client_id=\"86a165...\",\n client_secret=\"*****afdbac18\",\n is_auto_creation=False,\n is_auto_update=True,\n is_creation_allowed=True,\n is_linking_allowed=False,\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ],\n token_endpoint=\"https://token.endpoint\",\n user_endpoint=\"https://user.endpoint\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.IdpGithubEs(\"default\", new()\n {\n AuthorizationEndpoint = \"https://auth.endpoint\",\n ClientId = \"86a165...\",\n ClientSecret = \"*****afdbac18\",\n IsAutoCreation = false,\n IsAutoUpdate = true,\n IsCreationAllowed = true,\n IsLinkingAllowed = false,\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n TokenEndpoint = \"https://token.endpoint\",\n UserEndpoint = \"https://user.endpoint\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewIdpGithubEs(ctx, \"default\", \u0026zitadel.IdpGithubEsArgs{\n\t\t\tAuthorizationEndpoint: pulumi.String(\"https://auth.endpoint\"),\n\t\t\tClientId: pulumi.String(\"86a165...\"),\n\t\t\tClientSecret: pulumi.String(\"*****afdbac18\"),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tTokenEndpoint: pulumi.String(\"https://token.endpoint\"),\n\t\t\tUserEndpoint: pulumi.String(\"https://user.endpoint\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.IdpGithubEs;\nimport com.pulumi.zitadel.IdpGithubEsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new IdpGithubEs(\"default\", IdpGithubEsArgs.builder() \n .authorizationEndpoint(\"https://auth.endpoint\")\n .clientId(\"86a165...\")\n .clientSecret(\"*****afdbac18\")\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .isCreationAllowed(true)\n .isLinkingAllowed(false)\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .tokenEndpoint(\"https://token.endpoint\")\n .userEndpoint(\"https://user.endpoint\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:IdpGithubEs\n properties:\n authorizationEndpoint: https://auth.endpoint\n clientId: 86a165...\n clientSecret: '*****afdbac18'\n isAutoCreation: false\n isAutoUpdate: true\n isCreationAllowed: true\n isLinkingAllowed: false\n scopes:\n - openid\n - profile\n - email\n tokenEndpoint: https://token.endpoint\n userEndpoint: https://user.endpoint\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/idpGithubEs:IdpGithubEs imported '123456789012345678:1234567890123456781234567890123456787890'\n```\n\n ", "properties": { "authorizationEndpoint": { "type": "string", @@ -2271,7 +2350,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -2332,7 +2412,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -2394,7 +2475,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -2436,7 +2518,7 @@ } }, "zitadel:index/idpGitlab:IdpGitlab": { - "description": "Resource representing a GitLab IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultIdpGitlab = new zitadel.IdpGitlab(\"default\", {\n clientId: \"15765e...\",\n clientSecret: \"*****abcxyz\",\n isAutoCreation: false,\n isAutoUpdate: true,\n isCreationAllowed: true,\n isLinkingAllowed: false,\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.IdpGitlab(\"default\",\n client_id=\"15765e...\",\n client_secret=\"*****abcxyz\",\n is_auto_creation=False,\n is_auto_update=True,\n is_creation_allowed=True,\n is_linking_allowed=False,\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.IdpGitlab(\"default\", new()\n {\n ClientId = \"15765e...\",\n ClientSecret = \"*****abcxyz\",\n IsAutoCreation = false,\n IsAutoUpdate = true,\n IsCreationAllowed = true,\n IsLinkingAllowed = false,\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewIdpGitlab(ctx, \"default\", \u0026zitadel.IdpGitlabArgs{\n\t\t\tClientId: pulumi.String(\"15765e...\"),\n\t\t\tClientSecret: pulumi.String(\"*****abcxyz\"),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.IdpGitlab;\nimport com.pulumi.zitadel.IdpGitlabArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new IdpGitlab(\"default\", IdpGitlabArgs.builder() \n .clientId(\"15765e...\")\n .clientSecret(\"*****abcxyz\")\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .isCreationAllowed(true)\n .isLinkingAllowed(false)\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:IdpGitlab\n properties:\n clientId: 15765e...\n clientSecret: '*****abcxyz'\n isAutoCreation: false\n isAutoUpdate: true\n isCreationAllowed: true\n isLinkingAllowed: false\n scopes:\n - openid\n - profile\n - email\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/idpGitlab:IdpGitlab imported '123456789012345678:1234567890abcdef'\n```\n\n ", + "description": "Resource representing a GitLab IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.IdpGitlab(\"default\", {\n clientId: \"15765e...\",\n clientSecret: \"*****abcxyz\",\n isAutoCreation: false,\n isAutoUpdate: true,\n isCreationAllowed: true,\n isLinkingAllowed: false,\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.IdpGitlab(\"default\",\n client_id=\"15765e...\",\n client_secret=\"*****abcxyz\",\n is_auto_creation=False,\n is_auto_update=True,\n is_creation_allowed=True,\n is_linking_allowed=False,\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.IdpGitlab(\"default\", new()\n {\n ClientId = \"15765e...\",\n ClientSecret = \"*****abcxyz\",\n IsAutoCreation = false,\n IsAutoUpdate = true,\n IsCreationAllowed = true,\n IsLinkingAllowed = false,\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewIdpGitlab(ctx, \"default\", \u0026zitadel.IdpGitlabArgs{\n\t\t\tClientId: pulumi.String(\"15765e...\"),\n\t\t\tClientSecret: pulumi.String(\"*****abcxyz\"),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.IdpGitlab;\nimport com.pulumi.zitadel.IdpGitlabArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new IdpGitlab(\"default\", IdpGitlabArgs.builder() \n .clientId(\"15765e...\")\n .clientSecret(\"*****abcxyz\")\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .isCreationAllowed(true)\n .isLinkingAllowed(false)\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:IdpGitlab\n properties:\n clientId: 15765e...\n clientSecret: '*****abcxyz'\n isAutoCreation: false\n isAutoUpdate: true\n isCreationAllowed: true\n isLinkingAllowed: false\n scopes:\n - openid\n - profile\n - email\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/idpGitlab:IdpGitlab imported '123456789012345678:1234567890abcdef'\n```\n\n ", "properties": { "clientId": { "type": "string", @@ -2444,7 +2526,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -2490,7 +2573,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -2537,7 +2621,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -2571,7 +2656,7 @@ } }, "zitadel:index/idpGitlabSelfHosted:IdpGitlabSelfHosted": { - "description": "Resource representing a GitLab Self Hosted IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultIdpGitlabSelfHosted = new zitadel.IdpGitlabSelfHosted(\"default\", {\n clientId: \"15765e...\",\n clientSecret: \"*****abcxyz\",\n isAutoCreation: false,\n isAutoUpdate: true,\n isCreationAllowed: true,\n isLinkingAllowed: false,\n issuer: \"https://my.issuer\",\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.IdpGitlabSelfHosted(\"default\",\n client_id=\"15765e...\",\n client_secret=\"*****abcxyz\",\n is_auto_creation=False,\n is_auto_update=True,\n is_creation_allowed=True,\n is_linking_allowed=False,\n issuer=\"https://my.issuer\",\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.IdpGitlabSelfHosted(\"default\", new()\n {\n ClientId = \"15765e...\",\n ClientSecret = \"*****abcxyz\",\n IsAutoCreation = false,\n IsAutoUpdate = true,\n IsCreationAllowed = true,\n IsLinkingAllowed = false,\n Issuer = \"https://my.issuer\",\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewIdpGitlabSelfHosted(ctx, \"default\", \u0026zitadel.IdpGitlabSelfHostedArgs{\n\t\t\tClientId: pulumi.String(\"15765e...\"),\n\t\t\tClientSecret: pulumi.String(\"*****abcxyz\"),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tIssuer: pulumi.String(\"https://my.issuer\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.IdpGitlabSelfHosted;\nimport com.pulumi.zitadel.IdpGitlabSelfHostedArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new IdpGitlabSelfHosted(\"default\", IdpGitlabSelfHostedArgs.builder() \n .clientId(\"15765e...\")\n .clientSecret(\"*****abcxyz\")\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .isCreationAllowed(true)\n .isLinkingAllowed(false)\n .issuer(\"https://my.issuer\")\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:IdpGitlabSelfHosted\n properties:\n clientId: 15765e...\n clientSecret: '*****abcxyz'\n isAutoCreation: false\n isAutoUpdate: true\n isCreationAllowed: true\n isLinkingAllowed: false\n issuer: https://my.issuer\n scopes:\n - openid\n - profile\n - email\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/idpGitlabSelfHosted:IdpGitlabSelfHosted imported '123456789012345678:1234567890abcdef'\n```\n\n ", + "description": "Resource representing a GitLab Self Hosted IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.IdpGitlabSelfHosted(\"default\", {\n clientId: \"15765e...\",\n clientSecret: \"*****abcxyz\",\n isAutoCreation: false,\n isAutoUpdate: true,\n isCreationAllowed: true,\n isLinkingAllowed: false,\n issuer: \"https://my.issuer\",\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.IdpGitlabSelfHosted(\"default\",\n client_id=\"15765e...\",\n client_secret=\"*****abcxyz\",\n is_auto_creation=False,\n is_auto_update=True,\n is_creation_allowed=True,\n is_linking_allowed=False,\n issuer=\"https://my.issuer\",\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.IdpGitlabSelfHosted(\"default\", new()\n {\n ClientId = \"15765e...\",\n ClientSecret = \"*****abcxyz\",\n IsAutoCreation = false,\n IsAutoUpdate = true,\n IsCreationAllowed = true,\n IsLinkingAllowed = false,\n Issuer = \"https://my.issuer\",\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewIdpGitlabSelfHosted(ctx, \"default\", \u0026zitadel.IdpGitlabSelfHostedArgs{\n\t\t\tClientId: pulumi.String(\"15765e...\"),\n\t\t\tClientSecret: pulumi.String(\"*****abcxyz\"),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tIssuer: pulumi.String(\"https://my.issuer\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.IdpGitlabSelfHosted;\nimport com.pulumi.zitadel.IdpGitlabSelfHostedArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new IdpGitlabSelfHosted(\"default\", IdpGitlabSelfHostedArgs.builder() \n .clientId(\"15765e...\")\n .clientSecret(\"*****abcxyz\")\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .isCreationAllowed(true)\n .isLinkingAllowed(false)\n .issuer(\"https://my.issuer\")\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:IdpGitlabSelfHosted\n properties:\n clientId: 15765e...\n clientSecret: '*****abcxyz'\n isAutoCreation: false\n isAutoUpdate: true\n isCreationAllowed: true\n isLinkingAllowed: false\n issuer: https://my.issuer\n scopes:\n - openid\n - profile\n - email\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/idpGitlabSelfHosted:IdpGitlabSelfHosted imported '123456789012345678:1234567890abcdef'\n```\n\n ", "properties": { "clientId": { "type": "string", @@ -2579,7 +2664,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -2630,7 +2716,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -2682,7 +2769,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -2720,7 +2808,7 @@ } }, "zitadel:index/idpGoogle:IdpGoogle": { - "description": "Resource representing a Google IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultIdpGoogle = new zitadel.IdpGoogle(\"default\", {\n clientId: \"182902...\",\n clientSecret: \"GOCSPX-*****\",\n isAutoCreation: false,\n isAutoUpdate: true,\n isCreationAllowed: true,\n isLinkingAllowed: false,\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.IdpGoogle(\"default\",\n client_id=\"182902...\",\n client_secret=\"GOCSPX-*****\",\n is_auto_creation=False,\n is_auto_update=True,\n is_creation_allowed=True,\n is_linking_allowed=False,\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.IdpGoogle(\"default\", new()\n {\n ClientId = \"182902...\",\n ClientSecret = \"GOCSPX-*****\",\n IsAutoCreation = false,\n IsAutoUpdate = true,\n IsCreationAllowed = true,\n IsLinkingAllowed = false,\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewIdpGoogle(ctx, \"default\", \u0026zitadel.IdpGoogleArgs{\n\t\t\tClientId: pulumi.String(\"182902...\"),\n\t\t\tClientSecret: pulumi.String(\"GOCSPX-*****\"),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.IdpGoogle;\nimport com.pulumi.zitadel.IdpGoogleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new IdpGoogle(\"default\", IdpGoogleArgs.builder() \n .clientId(\"182902...\")\n .clientSecret(\"GOCSPX-*****\")\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .isCreationAllowed(true)\n .isLinkingAllowed(false)\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:IdpGoogle\n properties:\n clientId: 182902...\n clientSecret: GOCSPX-*****\n isAutoCreation: false\n isAutoUpdate: true\n isCreationAllowed: true\n isLinkingAllowed: false\n scopes:\n - openid\n - profile\n - email\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/idpGoogle:IdpGoogle imported '123456789012345678:G1234567890123'\n```\n\n ", + "description": "Resource representing a Google IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.IdpGoogle(\"default\", {\n clientId: \"182902...\",\n clientSecret: \"GOCSPX-*****\",\n isAutoCreation: false,\n isAutoUpdate: true,\n isCreationAllowed: true,\n isLinkingAllowed: false,\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.IdpGoogle(\"default\",\n client_id=\"182902...\",\n client_secret=\"GOCSPX-*****\",\n is_auto_creation=False,\n is_auto_update=True,\n is_creation_allowed=True,\n is_linking_allowed=False,\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.IdpGoogle(\"default\", new()\n {\n ClientId = \"182902...\",\n ClientSecret = \"GOCSPX-*****\",\n IsAutoCreation = false,\n IsAutoUpdate = true,\n IsCreationAllowed = true,\n IsLinkingAllowed = false,\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewIdpGoogle(ctx, \"default\", \u0026zitadel.IdpGoogleArgs{\n\t\t\tClientId: pulumi.String(\"182902...\"),\n\t\t\tClientSecret: pulumi.String(\"GOCSPX-*****\"),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.IdpGoogle;\nimport com.pulumi.zitadel.IdpGoogleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new IdpGoogle(\"default\", IdpGoogleArgs.builder() \n .clientId(\"182902...\")\n .clientSecret(\"GOCSPX-*****\")\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .isCreationAllowed(true)\n .isLinkingAllowed(false)\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:IdpGoogle\n properties:\n clientId: 182902...\n clientSecret: GOCSPX-*****\n isAutoCreation: false\n isAutoUpdate: true\n isCreationAllowed: true\n isLinkingAllowed: false\n scopes:\n - openid\n - profile\n - email\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/idpGoogle:IdpGoogle imported '123456789012345678:G1234567890123'\n```\n\n ", "properties": { "clientId": { "type": "string", @@ -2728,7 +2816,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -2774,7 +2863,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -2821,7 +2911,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -2855,7 +2946,7 @@ } }, "zitadel:index/idpLdap:IdpLdap": { - "description": "Resource representing an LDAP IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultIdpLdap = new zitadel.IdpLdap(\"default\", {\n baseDn: \"dc=example,dc=com\",\n bindDn: \"cn=admin,dc=example,dc=com\",\n bindPassword: \"Password1!\",\n firstNameAttribute: \"firstname\",\n idAttribute: \"uid\",\n isAutoCreation: false,\n isAutoUpdate: true,\n isCreationAllowed: true,\n isLinkingAllowed: false,\n lastNameAttribute: \"lastname\",\n servers: [\n \"ldaps://my.primary.server:389\",\n \"ldaps://my.secondary.server:389\",\n ],\n startTls: false,\n timeout: \"10s\",\n userBase: \"dn\",\n userFilters: [\n \"uid\",\n \"email\",\n ],\n userObjectClasses: [\"inetOrgPerson\"],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.IdpLdap(\"default\",\n base_dn=\"dc=example,dc=com\",\n bind_dn=\"cn=admin,dc=example,dc=com\",\n bind_password=\"Password1!\",\n first_name_attribute=\"firstname\",\n id_attribute=\"uid\",\n is_auto_creation=False,\n is_auto_update=True,\n is_creation_allowed=True,\n is_linking_allowed=False,\n last_name_attribute=\"lastname\",\n servers=[\n \"ldaps://my.primary.server:389\",\n \"ldaps://my.secondary.server:389\",\n ],\n start_tls=False,\n timeout=\"10s\",\n user_base=\"dn\",\n user_filters=[\n \"uid\",\n \"email\",\n ],\n user_object_classes=[\"inetOrgPerson\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.IdpLdap(\"default\", new()\n {\n BaseDn = \"dc=example,dc=com\",\n BindDn = \"cn=admin,dc=example,dc=com\",\n BindPassword = \"Password1!\",\n FirstNameAttribute = \"firstname\",\n IdAttribute = \"uid\",\n IsAutoCreation = false,\n IsAutoUpdate = true,\n IsCreationAllowed = true,\n IsLinkingAllowed = false,\n LastNameAttribute = \"lastname\",\n Servers = new[]\n {\n \"ldaps://my.primary.server:389\",\n \"ldaps://my.secondary.server:389\",\n },\n StartTls = false,\n Timeout = \"10s\",\n UserBase = \"dn\",\n UserFilters = new[]\n {\n \"uid\",\n \"email\",\n },\n UserObjectClasses = new[]\n {\n \"inetOrgPerson\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewIdpLdap(ctx, \"default\", \u0026zitadel.IdpLdapArgs{\n\t\t\tBaseDn: pulumi.String(\"dc=example,dc=com\"),\n\t\t\tBindDn: pulumi.String(\"cn=admin,dc=example,dc=com\"),\n\t\t\tBindPassword: pulumi.String(\"Password1!\"),\n\t\t\tFirstNameAttribute: pulumi.String(\"firstname\"),\n\t\t\tIdAttribute: pulumi.String(\"uid\"),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tLastNameAttribute: pulumi.String(\"lastname\"),\n\t\t\tServers: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"ldaps://my.primary.server:389\"),\n\t\t\t\tpulumi.String(\"ldaps://my.secondary.server:389\"),\n\t\t\t},\n\t\t\tStartTls: pulumi.Bool(false),\n\t\t\tTimeout: pulumi.String(\"10s\"),\n\t\t\tUserBase: pulumi.String(\"dn\"),\n\t\t\tUserFilters: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"uid\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tUserObjectClasses: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"inetOrgPerson\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.IdpLdap;\nimport com.pulumi.zitadel.IdpLdapArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new IdpLdap(\"default\", IdpLdapArgs.builder() \n .baseDn(\"dc=example,dc=com\")\n .bindDn(\"cn=admin,dc=example,dc=com\")\n .bindPassword(\"Password1!\")\n .firstNameAttribute(\"firstname\")\n .idAttribute(\"uid\")\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .isCreationAllowed(true)\n .isLinkingAllowed(false)\n .lastNameAttribute(\"lastname\")\n .servers( \n \"ldaps://my.primary.server:389\",\n \"ldaps://my.secondary.server:389\")\n .startTls(false)\n .timeout(\"10s\")\n .userBase(\"dn\")\n .userFilters( \n \"uid\",\n \"email\")\n .userObjectClasses(\"inetOrgPerson\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:IdpLdap\n properties:\n baseDn: dc=example,dc=com\n bindDn: cn=admin,dc=example,dc=com\n bindPassword: Password1!\n firstNameAttribute: firstname\n idAttribute: uid\n isAutoCreation: false\n isAutoUpdate: true\n isCreationAllowed: true\n isLinkingAllowed: false\n lastNameAttribute: lastname\n servers:\n - ldaps://my.primary.server:389\n - ldaps://my.secondary.server:389\n startTls: false\n timeout: 10s\n userBase: dn\n userFilters:\n - uid\n - email\n userObjectClasses:\n - inetOrgPerson\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:bind_password]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/idpLdap:IdpLdap imported '123456789012345678:b1nd_p4ssw0rd'\n```\n\n ", + "description": "Resource representing an LDAP IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.IdpLdap(\"default\", {\n baseDn: \"dc=example,dc=com\",\n bindDn: \"cn=admin,dc=example,dc=com\",\n bindPassword: \"Password1!\",\n firstNameAttribute: \"firstname\",\n idAttribute: \"uid\",\n isAutoCreation: false,\n isAutoUpdate: true,\n isCreationAllowed: true,\n isLinkingAllowed: false,\n lastNameAttribute: \"lastname\",\n servers: [\n \"ldaps://my.primary.server:389\",\n \"ldaps://my.secondary.server:389\",\n ],\n startTls: false,\n timeout: \"10s\",\n userBase: \"dn\",\n userFilters: [\n \"uid\",\n \"email\",\n ],\n userObjectClasses: [\"inetOrgPerson\"],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.IdpLdap(\"default\",\n base_dn=\"dc=example,dc=com\",\n bind_dn=\"cn=admin,dc=example,dc=com\",\n bind_password=\"Password1!\",\n first_name_attribute=\"firstname\",\n id_attribute=\"uid\",\n is_auto_creation=False,\n is_auto_update=True,\n is_creation_allowed=True,\n is_linking_allowed=False,\n last_name_attribute=\"lastname\",\n servers=[\n \"ldaps://my.primary.server:389\",\n \"ldaps://my.secondary.server:389\",\n ],\n start_tls=False,\n timeout=\"10s\",\n user_base=\"dn\",\n user_filters=[\n \"uid\",\n \"email\",\n ],\n user_object_classes=[\"inetOrgPerson\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.IdpLdap(\"default\", new()\n {\n BaseDn = \"dc=example,dc=com\",\n BindDn = \"cn=admin,dc=example,dc=com\",\n BindPassword = \"Password1!\",\n FirstNameAttribute = \"firstname\",\n IdAttribute = \"uid\",\n IsAutoCreation = false,\n IsAutoUpdate = true,\n IsCreationAllowed = true,\n IsLinkingAllowed = false,\n LastNameAttribute = \"lastname\",\n Servers = new[]\n {\n \"ldaps://my.primary.server:389\",\n \"ldaps://my.secondary.server:389\",\n },\n StartTls = false,\n Timeout = \"10s\",\n UserBase = \"dn\",\n UserFilters = new[]\n {\n \"uid\",\n \"email\",\n },\n UserObjectClasses = new[]\n {\n \"inetOrgPerson\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewIdpLdap(ctx, \"default\", \u0026zitadel.IdpLdapArgs{\n\t\t\tBaseDn: pulumi.String(\"dc=example,dc=com\"),\n\t\t\tBindDn: pulumi.String(\"cn=admin,dc=example,dc=com\"),\n\t\t\tBindPassword: pulumi.String(\"Password1!\"),\n\t\t\tFirstNameAttribute: pulumi.String(\"firstname\"),\n\t\t\tIdAttribute: pulumi.String(\"uid\"),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tLastNameAttribute: pulumi.String(\"lastname\"),\n\t\t\tServers: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"ldaps://my.primary.server:389\"),\n\t\t\t\tpulumi.String(\"ldaps://my.secondary.server:389\"),\n\t\t\t},\n\t\t\tStartTls: pulumi.Bool(false),\n\t\t\tTimeout: pulumi.String(\"10s\"),\n\t\t\tUserBase: pulumi.String(\"dn\"),\n\t\t\tUserFilters: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"uid\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tUserObjectClasses: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"inetOrgPerson\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.IdpLdap;\nimport com.pulumi.zitadel.IdpLdapArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new IdpLdap(\"default\", IdpLdapArgs.builder() \n .baseDn(\"dc=example,dc=com\")\n .bindDn(\"cn=admin,dc=example,dc=com\")\n .bindPassword(\"Password1!\")\n .firstNameAttribute(\"firstname\")\n .idAttribute(\"uid\")\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .isCreationAllowed(true)\n .isLinkingAllowed(false)\n .lastNameAttribute(\"lastname\")\n .servers( \n \"ldaps://my.primary.server:389\",\n \"ldaps://my.secondary.server:389\")\n .startTls(false)\n .timeout(\"10s\")\n .userBase(\"dn\")\n .userFilters( \n \"uid\",\n \"email\")\n .userObjectClasses(\"inetOrgPerson\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:IdpLdap\n properties:\n baseDn: dc=example,dc=com\n bindDn: cn=admin,dc=example,dc=com\n bindPassword: Password1!\n firstNameAttribute: firstname\n idAttribute: uid\n isAutoCreation: false\n isAutoUpdate: true\n isCreationAllowed: true\n isLinkingAllowed: false\n lastNameAttribute: lastname\n servers:\n - ldaps://my.primary.server:389\n - ldaps://my.secondary.server:389\n startTls: false\n timeout: 10s\n userBase: dn\n userFilters:\n - uid\n - email\n userObjectClasses:\n - inetOrgPerson\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:bind_password]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/idpLdap:IdpLdap imported '123456789012345678:b1nd_p4ssw0rd'\n```\n\n ", "properties": { "avatarUrlAttribute": { "type": "string", @@ -2871,7 +2962,8 @@ }, "bindPassword": { "type": "string", - "description": "Bind password for LDAP connections\n" + "description": "Bind password for LDAP connections\n", + "secret": true }, "displayNameAttribute": { "type": "string", @@ -3006,7 +3098,8 @@ }, "bindPassword": { "type": "string", - "description": "Bind password for LDAP connections\n" + "description": "Bind password for LDAP connections\n", + "secret": true }, "displayNameAttribute": { "type": "string", @@ -3142,7 +3235,8 @@ }, "bindPassword": { "type": "string", - "description": "Bind password for LDAP connections\n" + "description": "Bind password for LDAP connections\n", + "secret": true }, "displayNameAttribute": { "type": "string", @@ -3250,7 +3344,7 @@ } }, "zitadel:index/instanceMember:InstanceMember": { - "description": "Resource representing the membership of a user on an instance, defined with the given role.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.InstanceMember(\"default\", {\n userId: data.zitadel_human_user[\"default\"].id,\n roles: [\"IAM_OWNER\"],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.InstanceMember(\"default\",\n user_id=data[\"zitadel_human_user\"][\"default\"][\"id\"],\n roles=[\"IAM_OWNER\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.InstanceMember(\"default\", new()\n {\n UserId = data.Zitadel_human_user.Default.Id,\n Roles = new[]\n {\n \"IAM_OWNER\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewInstanceMember(ctx, \"default\", \u0026zitadel.InstanceMemberArgs{\n\t\t\tUserId: pulumi.Any(data.Zitadel_human_user.Default.Id),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"IAM_OWNER\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.InstanceMember;\nimport com.pulumi.zitadel.InstanceMemberArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new InstanceMember(\"default\", InstanceMemberArgs.builder() \n .userId(data.zitadel_human_user().default().id())\n .roles(\"IAM_OWNER\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:InstanceMember\n properties:\n userId: ${data.zitadel_human_user.default.id}\n roles:\n - IAM_OWNER\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cuser_id\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/instanceMember:InstanceMember imported '123456789012345678'\n```\n\n ", + "description": "Resource representing the membership of a user on an instance, defined with the given role.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.InstanceMember(\"default\", {\n userId: data.zitadel_human_user[\"default\"].id,\n roles: [\"IAM_OWNER\"],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.InstanceMember(\"default\",\n user_id=data[\"zitadel_human_user\"][\"default\"][\"id\"],\n roles=[\"IAM_OWNER\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.InstanceMember(\"default\", new()\n {\n UserId = data.Zitadel_human_user.Default.Id,\n Roles = new[]\n {\n \"IAM_OWNER\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewInstanceMember(ctx, \"default\", \u0026zitadel.InstanceMemberArgs{\n\t\t\tUserId: pulumi.Any(data.Zitadel_human_user.Default.Id),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"IAM_OWNER\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.InstanceMember;\nimport com.pulumi.zitadel.InstanceMemberArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new InstanceMember(\"default\", InstanceMemberArgs.builder() \n .userId(data.zitadel_human_user().default().id())\n .roles(\"IAM_OWNER\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:InstanceMember\n properties:\n userId: ${data.zitadel_human_user.default.id}\n roles:\n - IAM_OWNER\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cuser_id\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/instanceMember:InstanceMember imported '123456789012345678'\n```\n\n ", "properties": { "roles": { "type": "array", @@ -3306,7 +3400,7 @@ } }, "zitadel:index/labelPolicy:LabelPolicy": { - "description": "Resource representing the custom label policy of an organization.\n\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003c[org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/labelPolicy:LabelPolicy imported '123456789012345678'\n```\n\n ", + "description": "Resource representing the custom label policy of an organization.\n\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003c[org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/labelPolicy:LabelPolicy imported '123456789012345678'\n```\n\n ", "properties": { "backgroundColor": { "type": "string", @@ -3614,7 +3708,7 @@ } }, "zitadel:index/lockoutPolicy:LockoutPolicy": { - "description": "Resource representing the custom lockout policy of an organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.LockoutPolicy(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n maxPasswordAttempts: 5,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.LockoutPolicy(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n max_password_attempts=5)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.LockoutPolicy(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n MaxPasswordAttempts = 5,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewLockoutPolicy(ctx, \"default\", \u0026zitadel.LockoutPolicyArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tMaxPasswordAttempts: pulumi.Int(5),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.LockoutPolicy;\nimport com.pulumi.zitadel.LockoutPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new LockoutPolicy(\"default\", LockoutPolicyArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .maxPasswordAttempts(\"5\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:LockoutPolicy\n properties:\n orgId: ${data.zitadel_org.default.id}\n maxPasswordAttempts: 5\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003c[org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/lockoutPolicy:LockoutPolicy imported '123456789012345678'\n```\n\n ", + "description": "Resource representing the custom lockout policy of an organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.LockoutPolicy(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n maxPasswordAttempts: 5,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.LockoutPolicy(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n max_password_attempts=5)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.LockoutPolicy(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n MaxPasswordAttempts = 5,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewLockoutPolicy(ctx, \"default\", \u0026zitadel.LockoutPolicyArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tMaxPasswordAttempts: pulumi.Int(5),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.LockoutPolicy;\nimport com.pulumi.zitadel.LockoutPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new LockoutPolicy(\"default\", LockoutPolicyArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .maxPasswordAttempts(\"5\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:LockoutPolicy\n properties:\n orgId: ${data.zitadel_org.default.id}\n maxPasswordAttempts: '5'\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003c[org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/lockoutPolicy:LockoutPolicy imported '123456789012345678'\n```\n\n ", "properties": { "maxPasswordAttempts": { "type": "integer", @@ -3659,7 +3753,7 @@ } }, "zitadel:index/loginPolicy:LoginPolicy": { - "description": "Resource representing the custom login policy of an organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.LoginPolicy(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n userLogin: true,\n allowRegister: true,\n allowExternalIdp: true,\n forceMfa: false,\n forceMfaLocalOnly: false,\n passwordlessType: \"PASSWORDLESS_TYPE_ALLOWED\",\n hidePasswordReset: false,\n passwordCheckLifetime: \"240h0m0s\",\n externalLoginCheckLifetime: \"240h0m0s\",\n multiFactorCheckLifetime: \"24h0m0s\",\n mfaInitSkipLifetime: \"720h0m0s\",\n secondFactorCheckLifetime: \"24h0m0s\",\n ignoreUnknownUsernames: true,\n defaultRedirectUri: \"localhost:8080\",\n secondFactors: [\n \"SECOND_FACTOR_TYPE_OTP\",\n \"SECOND_FACTOR_TYPE_U2F\",\n ],\n multiFactors: [\"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\"],\n idps: [\n data.zitadel_idp_google[\"default\"].id,\n data.zitadel_idp_azure_ad[\"default\"].id,\n ],\n allowDomainDiscovery: true,\n disableLoginWithEmail: true,\n disableLoginWithPhone: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.LoginPolicy(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n user_login=True,\n allow_register=True,\n allow_external_idp=True,\n force_mfa=False,\n force_mfa_local_only=False,\n passwordless_type=\"PASSWORDLESS_TYPE_ALLOWED\",\n hide_password_reset=False,\n password_check_lifetime=\"240h0m0s\",\n external_login_check_lifetime=\"240h0m0s\",\n multi_factor_check_lifetime=\"24h0m0s\",\n mfa_init_skip_lifetime=\"720h0m0s\",\n second_factor_check_lifetime=\"24h0m0s\",\n ignore_unknown_usernames=True,\n default_redirect_uri=\"localhost:8080\",\n second_factors=[\n \"SECOND_FACTOR_TYPE_OTP\",\n \"SECOND_FACTOR_TYPE_U2F\",\n ],\n multi_factors=[\"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\"],\n idps=[\n data[\"zitadel_idp_google\"][\"default\"][\"id\"],\n data[\"zitadel_idp_azure_ad\"][\"default\"][\"id\"],\n ],\n allow_domain_discovery=True,\n disable_login_with_email=True,\n disable_login_with_phone=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.LoginPolicy(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n UserLogin = true,\n AllowRegister = true,\n AllowExternalIdp = true,\n ForceMfa = false,\n ForceMfaLocalOnly = false,\n PasswordlessType = \"PASSWORDLESS_TYPE_ALLOWED\",\n HidePasswordReset = false,\n PasswordCheckLifetime = \"240h0m0s\",\n ExternalLoginCheckLifetime = \"240h0m0s\",\n MultiFactorCheckLifetime = \"24h0m0s\",\n MfaInitSkipLifetime = \"720h0m0s\",\n SecondFactorCheckLifetime = \"24h0m0s\",\n IgnoreUnknownUsernames = true,\n DefaultRedirectUri = \"localhost:8080\",\n SecondFactors = new[]\n {\n \"SECOND_FACTOR_TYPE_OTP\",\n \"SECOND_FACTOR_TYPE_U2F\",\n },\n MultiFactors = new[]\n {\n \"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\",\n },\n Idps = new[]\n {\n data.Zitadel_idp_google.Default.Id,\n data.Zitadel_idp_azure_ad.Default.Id,\n },\n AllowDomainDiscovery = true,\n DisableLoginWithEmail = true,\n DisableLoginWithPhone = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewLoginPolicy(ctx, \"default\", \u0026zitadel.LoginPolicyArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tUserLogin: pulumi.Bool(true),\n\t\t\tAllowRegister: pulumi.Bool(true),\n\t\t\tAllowExternalIdp: pulumi.Bool(true),\n\t\t\tForceMfa: pulumi.Bool(false),\n\t\t\tForceMfaLocalOnly: pulumi.Bool(false),\n\t\t\tPasswordlessType: pulumi.String(\"PASSWORDLESS_TYPE_ALLOWED\"),\n\t\t\tHidePasswordReset: pulumi.Bool(false),\n\t\t\tPasswordCheckLifetime: pulumi.String(\"240h0m0s\"),\n\t\t\tExternalLoginCheckLifetime: pulumi.String(\"240h0m0s\"),\n\t\t\tMultiFactorCheckLifetime: pulumi.String(\"24h0m0s\"),\n\t\t\tMfaInitSkipLifetime: pulumi.String(\"720h0m0s\"),\n\t\t\tSecondFactorCheckLifetime: pulumi.String(\"24h0m0s\"),\n\t\t\tIgnoreUnknownUsernames: pulumi.Bool(true),\n\t\t\tDefaultRedirectUri: pulumi.String(\"localhost:8080\"),\n\t\t\tSecondFactors: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"SECOND_FACTOR_TYPE_OTP\"),\n\t\t\t\tpulumi.String(\"SECOND_FACTOR_TYPE_U2F\"),\n\t\t\t},\n\t\t\tMultiFactors: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\"),\n\t\t\t},\n\t\t\tIdps: pulumi.StringArray{\n\t\t\t\tpulumi.Any(data.Zitadel_idp_google.Default.Id),\n\t\t\t\tpulumi.Any(data.Zitadel_idp_azure_ad.Default.Id),\n\t\t\t},\n\t\t\tAllowDomainDiscovery: pulumi.Bool(true),\n\t\t\tDisableLoginWithEmail: pulumi.Bool(true),\n\t\t\tDisableLoginWithPhone: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.LoginPolicy;\nimport com.pulumi.zitadel.LoginPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new LoginPolicy(\"default\", LoginPolicyArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .userLogin(true)\n .allowRegister(true)\n .allowExternalIdp(true)\n .forceMfa(false)\n .forceMfaLocalOnly(false)\n .passwordlessType(\"PASSWORDLESS_TYPE_ALLOWED\")\n .hidePasswordReset(\"false\")\n .passwordCheckLifetime(\"240h0m0s\")\n .externalLoginCheckLifetime(\"240h0m0s\")\n .multiFactorCheckLifetime(\"24h0m0s\")\n .mfaInitSkipLifetime(\"720h0m0s\")\n .secondFactorCheckLifetime(\"24h0m0s\")\n .ignoreUnknownUsernames(true)\n .defaultRedirectUri(\"localhost:8080\")\n .secondFactors( \n \"SECOND_FACTOR_TYPE_OTP\",\n \"SECOND_FACTOR_TYPE_U2F\")\n .multiFactors(\"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\")\n .idps( \n data.zitadel_idp_google().default().id(),\n data.zitadel_idp_azure_ad().default().id())\n .allowDomainDiscovery(true)\n .disableLoginWithEmail(true)\n .disableLoginWithPhone(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:LoginPolicy\n properties:\n orgId: ${data.zitadel_org.default.id}\n userLogin: true\n allowRegister: true\n allowExternalIdp: true\n forceMfa: false\n forceMfaLocalOnly: false\n passwordlessType: PASSWORDLESS_TYPE_ALLOWED\n hidePasswordReset: false\n passwordCheckLifetime: 240h0m0s\n externalLoginCheckLifetime: 240h0m0s\n multiFactorCheckLifetime: 24h0m0s\n mfaInitSkipLifetime: 720h0m0s\n secondFactorCheckLifetime: 24h0m0s\n ignoreUnknownUsernames: true\n defaultRedirectUri: localhost:8080\n secondFactors:\n - SECOND_FACTOR_TYPE_OTP\n - SECOND_FACTOR_TYPE_U2F\n multiFactors:\n - MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\n idps:\n - ${data.zitadel_idp_google.default.id}\n - ${data.zitadel_idp_azure_ad.default.id}\n allowDomainDiscovery: true\n disableLoginWithEmail: true\n disableLoginWithPhone: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003c[org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/loginPolicy:LoginPolicy imported '123456789012345678'\n```\n\n ", + "description": "Resource representing the custom login policy of an organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.LoginPolicy(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n userLogin: true,\n allowRegister: true,\n allowExternalIdp: true,\n forceMfa: false,\n forceMfaLocalOnly: false,\n passwordlessType: \"PASSWORDLESS_TYPE_ALLOWED\",\n hidePasswordReset: false,\n passwordCheckLifetime: \"240h0m0s\",\n externalLoginCheckLifetime: \"240h0m0s\",\n multiFactorCheckLifetime: \"24h0m0s\",\n mfaInitSkipLifetime: \"720h0m0s\",\n secondFactorCheckLifetime: \"24h0m0s\",\n ignoreUnknownUsernames: true,\n defaultRedirectUri: \"localhost:8080\",\n secondFactors: [\n \"SECOND_FACTOR_TYPE_OTP\",\n \"SECOND_FACTOR_TYPE_U2F\",\n ],\n multiFactors: [\"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\"],\n idps: [\n data.zitadel_idp_google[\"default\"].id,\n data.zitadel_idp_azure_ad[\"default\"].id,\n ],\n allowDomainDiscovery: true,\n disableLoginWithEmail: true,\n disableLoginWithPhone: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.LoginPolicy(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n user_login=True,\n allow_register=True,\n allow_external_idp=True,\n force_mfa=False,\n force_mfa_local_only=False,\n passwordless_type=\"PASSWORDLESS_TYPE_ALLOWED\",\n hide_password_reset=False,\n password_check_lifetime=\"240h0m0s\",\n external_login_check_lifetime=\"240h0m0s\",\n multi_factor_check_lifetime=\"24h0m0s\",\n mfa_init_skip_lifetime=\"720h0m0s\",\n second_factor_check_lifetime=\"24h0m0s\",\n ignore_unknown_usernames=True,\n default_redirect_uri=\"localhost:8080\",\n second_factors=[\n \"SECOND_FACTOR_TYPE_OTP\",\n \"SECOND_FACTOR_TYPE_U2F\",\n ],\n multi_factors=[\"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\"],\n idps=[\n data[\"zitadel_idp_google\"][\"default\"][\"id\"],\n data[\"zitadel_idp_azure_ad\"][\"default\"][\"id\"],\n ],\n allow_domain_discovery=True,\n disable_login_with_email=True,\n disable_login_with_phone=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.LoginPolicy(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n UserLogin = true,\n AllowRegister = true,\n AllowExternalIdp = true,\n ForceMfa = false,\n ForceMfaLocalOnly = false,\n PasswordlessType = \"PASSWORDLESS_TYPE_ALLOWED\",\n HidePasswordReset = false,\n PasswordCheckLifetime = \"240h0m0s\",\n ExternalLoginCheckLifetime = \"240h0m0s\",\n MultiFactorCheckLifetime = \"24h0m0s\",\n MfaInitSkipLifetime = \"720h0m0s\",\n SecondFactorCheckLifetime = \"24h0m0s\",\n IgnoreUnknownUsernames = true,\n DefaultRedirectUri = \"localhost:8080\",\n SecondFactors = new[]\n {\n \"SECOND_FACTOR_TYPE_OTP\",\n \"SECOND_FACTOR_TYPE_U2F\",\n },\n MultiFactors = new[]\n {\n \"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\",\n },\n Idps = new[]\n {\n data.Zitadel_idp_google.Default.Id,\n data.Zitadel_idp_azure_ad.Default.Id,\n },\n AllowDomainDiscovery = true,\n DisableLoginWithEmail = true,\n DisableLoginWithPhone = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewLoginPolicy(ctx, \"default\", \u0026zitadel.LoginPolicyArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tUserLogin: pulumi.Bool(true),\n\t\t\tAllowRegister: pulumi.Bool(true),\n\t\t\tAllowExternalIdp: pulumi.Bool(true),\n\t\t\tForceMfa: pulumi.Bool(false),\n\t\t\tForceMfaLocalOnly: pulumi.Bool(false),\n\t\t\tPasswordlessType: pulumi.String(\"PASSWORDLESS_TYPE_ALLOWED\"),\n\t\t\tHidePasswordReset: pulumi.Bool(false),\n\t\t\tPasswordCheckLifetime: pulumi.String(\"240h0m0s\"),\n\t\t\tExternalLoginCheckLifetime: pulumi.String(\"240h0m0s\"),\n\t\t\tMultiFactorCheckLifetime: pulumi.String(\"24h0m0s\"),\n\t\t\tMfaInitSkipLifetime: pulumi.String(\"720h0m0s\"),\n\t\t\tSecondFactorCheckLifetime: pulumi.String(\"24h0m0s\"),\n\t\t\tIgnoreUnknownUsernames: pulumi.Bool(true),\n\t\t\tDefaultRedirectUri: pulumi.String(\"localhost:8080\"),\n\t\t\tSecondFactors: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"SECOND_FACTOR_TYPE_OTP\"),\n\t\t\t\tpulumi.String(\"SECOND_FACTOR_TYPE_U2F\"),\n\t\t\t},\n\t\t\tMultiFactors: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\"),\n\t\t\t},\n\t\t\tIdps: pulumi.StringArray{\n\t\t\t\tdata.Zitadel_idp_google.Default.Id,\n\t\t\t\tdata.Zitadel_idp_azure_ad.Default.Id,\n\t\t\t},\n\t\t\tAllowDomainDiscovery: pulumi.Bool(true),\n\t\t\tDisableLoginWithEmail: pulumi.Bool(true),\n\t\t\tDisableLoginWithPhone: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.LoginPolicy;\nimport com.pulumi.zitadel.LoginPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new LoginPolicy(\"default\", LoginPolicyArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .userLogin(true)\n .allowRegister(true)\n .allowExternalIdp(true)\n .forceMfa(false)\n .forceMfaLocalOnly(false)\n .passwordlessType(\"PASSWORDLESS_TYPE_ALLOWED\")\n .hidePasswordReset(\"false\")\n .passwordCheckLifetime(\"240h0m0s\")\n .externalLoginCheckLifetime(\"240h0m0s\")\n .multiFactorCheckLifetime(\"24h0m0s\")\n .mfaInitSkipLifetime(\"720h0m0s\")\n .secondFactorCheckLifetime(\"24h0m0s\")\n .ignoreUnknownUsernames(true)\n .defaultRedirectUri(\"localhost:8080\")\n .secondFactors( \n \"SECOND_FACTOR_TYPE_OTP\",\n \"SECOND_FACTOR_TYPE_U2F\")\n .multiFactors(\"MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\")\n .idps( \n data.zitadel_idp_google().default().id(),\n data.zitadel_idp_azure_ad().default().id())\n .allowDomainDiscovery(true)\n .disableLoginWithEmail(true)\n .disableLoginWithPhone(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:LoginPolicy\n properties:\n orgId: ${data.zitadel_org.default.id}\n userLogin: true\n allowRegister: true\n allowExternalIdp: true\n forceMfa: false\n forceMfaLocalOnly: false\n passwordlessType: PASSWORDLESS_TYPE_ALLOWED\n hidePasswordReset: 'false'\n passwordCheckLifetime: 240h0m0s\n externalLoginCheckLifetime: 240h0m0s\n multiFactorCheckLifetime: 24h0m0s\n mfaInitSkipLifetime: 720h0m0s\n secondFactorCheckLifetime: 24h0m0s\n ignoreUnknownUsernames: true\n defaultRedirectUri: localhost:8080\n secondFactors:\n - SECOND_FACTOR_TYPE_OTP\n - SECOND_FACTOR_TYPE_U2F\n multiFactors:\n - MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION\n idps:\n - ${data.zitadel_idp_google.default.id}\n - ${data.zitadel_idp_azure_ad.default.id}\n allowDomainDiscovery: true\n disableLoginWithEmail: true\n disableLoginWithPhone: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003c[org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/loginPolicy:LoginPolicy imported '123456789012345678'\n```\n\n ", "properties": { "allowDomainDiscovery": { "type": "boolean", @@ -3970,7 +4064,7 @@ } }, "zitadel:index/machineKey:MachineKey": { - "description": "Resource representing a machine key\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.MachineKey(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n userId: data.zitadel_machine_user[\"default\"].id,\n keyType: \"KEY_TYPE_JSON\",\n expirationDate: \"2519-04-01T08:45:00Z\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.MachineKey(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n user_id=data[\"zitadel_machine_user\"][\"default\"][\"id\"],\n key_type=\"KEY_TYPE_JSON\",\n expiration_date=\"2519-04-01T08:45:00Z\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.MachineKey(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n UserId = data.Zitadel_machine_user.Default.Id,\n KeyType = \"KEY_TYPE_JSON\",\n ExpirationDate = \"2519-04-01T08:45:00Z\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewMachineKey(ctx, \"default\", \u0026zitadel.MachineKeyArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tUserId: pulumi.Any(data.Zitadel_machine_user.Default.Id),\n\t\t\tKeyType: pulumi.String(\"KEY_TYPE_JSON\"),\n\t\t\tExpirationDate: pulumi.String(\"2519-04-01T08:45:00Z\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.MachineKey;\nimport com.pulumi.zitadel.MachineKeyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new MachineKey(\"default\", MachineKeyArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .userId(data.zitadel_machine_user().default().id())\n .keyType(\"KEY_TYPE_JSON\")\n .expirationDate(\"2519-04-01T08:45:00Z\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:MachineKey\n properties:\n orgId: ${data.zitadel_org.default.id}\n userId: ${data.zitadel_machine_user.default.id}\n keyType: KEY_TYPE_JSON\n expirationDate: 2519-04-01T08:45:00Z\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid:user_id[:org_id][:key_details]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/machineKey:MachineKey imported '123456789012345678:123456789012345678:123456789012345678:{\"type\":\"serviceaccount\",\"keyId\":\"123456789012345678\",\"key\":\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEpQ...-----END RSA PRIVATE KEY-----\\n\",\"userId\":\"123456789012345678\"}'\n```\n\n ", + "description": "Resource representing a machine key\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.MachineKey(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n userId: data.zitadel_machine_user[\"default\"].id,\n keyType: \"KEY_TYPE_JSON\",\n expirationDate: \"2519-04-01T08:45:00Z\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.MachineKey(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n user_id=data[\"zitadel_machine_user\"][\"default\"][\"id\"],\n key_type=\"KEY_TYPE_JSON\",\n expiration_date=\"2519-04-01T08:45:00Z\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.MachineKey(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n UserId = data.Zitadel_machine_user.Default.Id,\n KeyType = \"KEY_TYPE_JSON\",\n ExpirationDate = \"2519-04-01T08:45:00Z\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewMachineKey(ctx, \"default\", \u0026zitadel.MachineKeyArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tUserId: pulumi.Any(data.Zitadel_machine_user.Default.Id),\n\t\t\tKeyType: pulumi.String(\"KEY_TYPE_JSON\"),\n\t\t\tExpirationDate: pulumi.String(\"2519-04-01T08:45:00Z\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.MachineKey;\nimport com.pulumi.zitadel.MachineKeyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new MachineKey(\"default\", MachineKeyArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .userId(data.zitadel_machine_user().default().id())\n .keyType(\"KEY_TYPE_JSON\")\n .expirationDate(\"2519-04-01T08:45:00Z\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:MachineKey\n properties:\n orgId: ${data.zitadel_org.default.id}\n userId: ${data.zitadel_machine_user.default.id}\n keyType: KEY_TYPE_JSON\n expirationDate: 2519-04-01T08:45:00Z\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid:user_id[:org_id][:key_details]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/machineKey:MachineKey imported '123456789012345678:123456789012345678:123456789012345678:{\"type\":\"serviceaccount\",\"keyId\":\"123456789012345678\",\"key\":\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEpQ...-----END RSA PRIVATE KEY-----\\n\",\"userId\":\"123456789012345678\"}'\n```\n\n ", "properties": { "expirationDate": { "type": "string", @@ -3978,7 +4072,8 @@ }, "keyDetails": { "type": "string", - "description": "Value of the machine key\n" + "description": "Value of the machine key\n", + "secret": true }, "keyType": { "type": "string", @@ -4035,7 +4130,8 @@ }, "keyDetails": { "type": "string", - "description": "Value of the machine key\n" + "description": "Value of the machine key\n", + "secret": true }, "keyType": { "type": "string", @@ -4057,7 +4153,7 @@ } }, "zitadel:index/machineUser:MachineUser": { - "description": "Resource representing a serviceaccount situated under an organization, which then can be authorized through memberships or direct grants on other resources.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.MachineUser(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n userName: \"machine@example.com\",\n description: \"a machine user\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.MachineUser(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n user_name=\"machine@example.com\",\n description=\"a machine user\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.MachineUser(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n UserName = \"machine@example.com\",\n Description = \"a machine user\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewMachineUser(ctx, \"default\", \u0026zitadel.MachineUserArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tUserName: pulumi.String(\"machine@example.com\"),\n\t\t\tDescription: pulumi.String(\"a machine user\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.MachineUser;\nimport com.pulumi.zitadel.MachineUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new MachineUser(\"default\", MachineUserArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .userName(\"machine@example.com\")\n .description(\"a machine user\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:MachineUser\n properties:\n orgId: ${data.zitadel_org.default.id}\n userName: machine@example.com\n description: a machine user\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/machineUser:MachineUser imported '123456789012345678:123456789012345678'\n```\n\n ", + "description": "Resource representing a serviceaccount situated under an organization, which then can be authorized through memberships or direct grants on other resources.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.MachineUser(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n userName: \"machine@example.com\",\n description: \"a machine user\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.MachineUser(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n user_name=\"machine@example.com\",\n description=\"a machine user\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.MachineUser(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n UserName = \"machine@example.com\",\n Description = \"a machine user\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewMachineUser(ctx, \"default\", \u0026zitadel.MachineUserArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tUserName: pulumi.String(\"machine@example.com\"),\n\t\t\tDescription: pulumi.String(\"a machine user\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.MachineUser;\nimport com.pulumi.zitadel.MachineUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new MachineUser(\"default\", MachineUserArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .userName(\"machine@example.com\")\n .description(\"a machine user\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:MachineUser\n properties:\n orgId: ${data.zitadel_org.default.id}\n userName: machine@example.com\n description: a machine user\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/machineUser:MachineUser imported '123456789012345678:123456789012345678'\n```\n\n ", "properties": { "accessTokenType": { "type": "string", @@ -4172,7 +4268,7 @@ } }, "zitadel:index/notificationPolicy:NotificationPolicy": { - "description": "Resource representing the custom notification policy of an organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.NotificationPolicy(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n passwordChange: false,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.NotificationPolicy(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n password_change=False)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.NotificationPolicy(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n PasswordChange = false,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewNotificationPolicy(ctx, \"default\", \u0026zitadel.NotificationPolicyArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tPasswordChange: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.NotificationPolicy;\nimport com.pulumi.zitadel.NotificationPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new NotificationPolicy(\"default\", NotificationPolicyArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .passwordChange(false)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:NotificationPolicy\n properties:\n orgId: ${data.zitadel_org.default.id}\n passwordChange: false\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003c[org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/notificationPolicy:NotificationPolicy imported '123456789012345678'\n```\n\n ", + "description": "Resource representing the custom notification policy of an organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.NotificationPolicy(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n passwordChange: false,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.NotificationPolicy(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n password_change=False)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.NotificationPolicy(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n PasswordChange = false,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewNotificationPolicy(ctx, \"default\", \u0026zitadel.NotificationPolicyArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tPasswordChange: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.NotificationPolicy;\nimport com.pulumi.zitadel.NotificationPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new NotificationPolicy(\"default\", NotificationPolicyArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .passwordChange(false)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:NotificationPolicy\n properties:\n orgId: ${data.zitadel_org.default.id}\n passwordChange: false\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003c[org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/notificationPolicy:NotificationPolicy imported '123456789012345678'\n```\n\n ", "properties": { "orgId": { "type": "string", @@ -4217,8 +4313,12 @@ } }, "zitadel:index/org:Org": { - "description": "Resource representing an organization in ZITADEL, which is the highest level after the instance and contains several other resource including policies if the configuration differs to the default policies on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultOrg = new zitadel.Org(\"default\", {});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.Org(\"default\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.Org(\"default\");\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrg(ctx, \"default\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.Org;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new Org(\"default\");\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:Org\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/org:Org imported '123456789012345678'\n```\n\n ", + "description": "Resource representing an organization in ZITADEL, which is the highest level after the instance and contains several other resource including policies if the configuration differs to the default policies on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.Org(\"default\", {});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.Org(\"default\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.Org(\"default\");\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrg(ctx, \"default\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.Org;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new Org(\"default\");\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:Org\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/org:Org imported '123456789012345678'\n```\n\n ", "properties": { + "isDefault": { + "type": "boolean", + "description": "True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org.\n" + }, "name": { "type": "string", "description": "Name of the org\n" @@ -4238,6 +4338,10 @@ "state" ], "inputProperties": { + "isDefault": { + "type": "boolean", + "description": "True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org.\n" + }, "name": { "type": "string", "description": "Name of the org\n" @@ -4246,6 +4350,10 @@ "stateInputs": { "description": "Input properties used for looking up and filtering Org resources.\n", "properties": { + "isDefault": { + "type": "boolean", + "description": "True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org.\n" + }, "name": { "type": "string", "description": "Name of the org\n" @@ -4263,7 +4371,7 @@ } }, "zitadel:index/orgIdpAzureAd:OrgIdpAzureAd": { - "description": "Resource representing an Azure AD IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgIdpAzureAd(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n clientId: \"9065bfc8-a08a...\",\n clientSecret: \"H2n***\",\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n \"User.Read\",\n ],\n tenantType: \"AZURE_AD_TENANT_TYPE_ORGANISATIONS\",\n emailVerified: true,\n isLinkingAllowed: false,\n isCreationAllowed: true,\n isAutoCreation: false,\n isAutoUpdate: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgIdpAzureAd(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n client_id=\"9065bfc8-a08a...\",\n client_secret=\"H2n***\",\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n \"User.Read\",\n ],\n tenant_type=\"AZURE_AD_TENANT_TYPE_ORGANISATIONS\",\n email_verified=True,\n is_linking_allowed=False,\n is_creation_allowed=True,\n is_auto_creation=False,\n is_auto_update=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgIdpAzureAd(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ClientId = \"9065bfc8-a08a...\",\n ClientSecret = \"H2n***\",\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n \"User.Read\",\n },\n TenantType = \"AZURE_AD_TENANT_TYPE_ORGANISATIONS\",\n EmailVerified = true,\n IsLinkingAllowed = false,\n IsCreationAllowed = true,\n IsAutoCreation = false,\n IsAutoUpdate = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgIdpAzureAd(ctx, \"default\", \u0026zitadel.OrgIdpAzureAdArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tClientId: pulumi.String(\"9065bfc8-a08a...\"),\n\t\t\tClientSecret: pulumi.String(\"H2n***\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t\tpulumi.String(\"User.Read\"),\n\t\t\t},\n\t\t\tTenantType: pulumi.String(\"AZURE_AD_TENANT_TYPE_ORGANISATIONS\"),\n\t\t\tEmailVerified: pulumi.Bool(true),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgIdpAzureAd;\nimport com.pulumi.zitadel.OrgIdpAzureAdArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgIdpAzureAd(\"default\", OrgIdpAzureAdArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .clientId(\"9065bfc8-a08a...\")\n .clientSecret(\"H2n***\")\n .scopes( \n \"openid\",\n \"profile\",\n \"email\",\n \"User.Read\")\n .tenantType(\"AZURE_AD_TENANT_TYPE_ORGANISATIONS\")\n .emailVerified(true)\n .isLinkingAllowed(false)\n .isCreationAllowed(true)\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgIdpAzureAd\n properties:\n orgId: ${data.zitadel_org.default.id}\n clientId: 9065bfc8-a08a...\n clientSecret: H2n***\n scopes:\n - openid\n - profile\n - email\n - User.Read\n tenantType: AZURE_AD_TENANT_TYPE_ORGANISATIONS\n emailVerified: true\n isLinkingAllowed: false\n isCreationAllowed: true\n isAutoCreation: false\n isAutoUpdate: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:org_id][:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgIdpAzureAd:OrgIdpAzureAd imported '123456789012345678:123456789012345678:12345678-1234-1234-1234-123456789012'\n```\n\n ", + "description": "Resource representing an Azure AD IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgIdpAzureAd(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n clientId: \"9065bfc8-a08a...\",\n clientSecret: \"H2n***\",\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n \"User.Read\",\n ],\n tenantType: \"AZURE_AD_TENANT_TYPE_ORGANISATIONS\",\n emailVerified: true,\n isLinkingAllowed: false,\n isCreationAllowed: true,\n isAutoCreation: false,\n isAutoUpdate: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgIdpAzureAd(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n client_id=\"9065bfc8-a08a...\",\n client_secret=\"H2n***\",\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n \"User.Read\",\n ],\n tenant_type=\"AZURE_AD_TENANT_TYPE_ORGANISATIONS\",\n email_verified=True,\n is_linking_allowed=False,\n is_creation_allowed=True,\n is_auto_creation=False,\n is_auto_update=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgIdpAzureAd(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ClientId = \"9065bfc8-a08a...\",\n ClientSecret = \"H2n***\",\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n \"User.Read\",\n },\n TenantType = \"AZURE_AD_TENANT_TYPE_ORGANISATIONS\",\n EmailVerified = true,\n IsLinkingAllowed = false,\n IsCreationAllowed = true,\n IsAutoCreation = false,\n IsAutoUpdate = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgIdpAzureAd(ctx, \"default\", \u0026zitadel.OrgIdpAzureAdArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tClientId: pulumi.String(\"9065bfc8-a08a...\"),\n\t\t\tClientSecret: pulumi.String(\"H2n***\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t\tpulumi.String(\"User.Read\"),\n\t\t\t},\n\t\t\tTenantType: pulumi.String(\"AZURE_AD_TENANT_TYPE_ORGANISATIONS\"),\n\t\t\tEmailVerified: pulumi.Bool(true),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgIdpAzureAd;\nimport com.pulumi.zitadel.OrgIdpAzureAdArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgIdpAzureAd(\"default\", OrgIdpAzureAdArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .clientId(\"9065bfc8-a08a...\")\n .clientSecret(\"H2n***\")\n .scopes( \n \"openid\",\n \"profile\",\n \"email\",\n \"User.Read\")\n .tenantType(\"AZURE_AD_TENANT_TYPE_ORGANISATIONS\")\n .emailVerified(true)\n .isLinkingAllowed(false)\n .isCreationAllowed(true)\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgIdpAzureAd\n properties:\n orgId: ${data.zitadel_org.default.id}\n clientId: 9065bfc8-a08a...\n clientSecret: H2n***\n scopes:\n - openid\n - profile\n - email\n - User.Read\n tenantType: AZURE_AD_TENANT_TYPE_ORGANISATIONS\n emailVerified: true\n isLinkingAllowed: false\n isCreationAllowed: true\n isAutoCreation: false\n isAutoUpdate: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:org_id][:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgIdpAzureAd:OrgIdpAzureAd imported '123456789012345678:123456789012345678:12345678-1234-1234-1234-123456789012'\n```\n\n ", "properties": { "clientId": { "type": "string", @@ -4271,7 +4379,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "emailVerified": { "type": "boolean", @@ -4334,7 +4443,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "emailVerified": { "type": "boolean", @@ -4399,7 +4509,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "emailVerified": { "type": "boolean", @@ -4450,7 +4561,7 @@ } }, "zitadel:index/orgIdpGithub:OrgIdpGithub": { - "description": "Resource representing a GitHub IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgIdpGithub(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n clientId: \"86a165...\",\n clientSecret: \"*****afdbac18\",\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n isLinkingAllowed: false,\n isCreationAllowed: true,\n isAutoCreation: false,\n isAutoUpdate: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgIdpGithub(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n client_id=\"86a165...\",\n client_secret=\"*****afdbac18\",\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ],\n is_linking_allowed=False,\n is_creation_allowed=True,\n is_auto_creation=False,\n is_auto_update=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgIdpGithub(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ClientId = \"86a165...\",\n ClientSecret = \"*****afdbac18\",\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n IsLinkingAllowed = false,\n IsCreationAllowed = true,\n IsAutoCreation = false,\n IsAutoUpdate = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgIdpGithub(ctx, \"default\", \u0026zitadel.OrgIdpGithubArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tClientId: pulumi.String(\"86a165...\"),\n\t\t\tClientSecret: pulumi.String(\"*****afdbac18\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgIdpGithub;\nimport com.pulumi.zitadel.OrgIdpGithubArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgIdpGithub(\"default\", OrgIdpGithubArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .clientId(\"86a165...\")\n .clientSecret(\"*****afdbac18\")\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .isLinkingAllowed(false)\n .isCreationAllowed(true)\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgIdpGithub\n properties:\n orgId: ${data.zitadel_org.default.id}\n clientId: 86a165...\n clientSecret: '*****afdbac18'\n scopes:\n - openid\n - profile\n - email\n isLinkingAllowed: false\n isCreationAllowed: true\n isAutoCreation: false\n isAutoUpdate: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:org_id][:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgIdpGithub:OrgIdpGithub imported '123456789012345678:123456789012345678:1234567890123456781234567890123456787890'\n```\n\n ", + "description": "Resource representing a GitHub IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgIdpGithub(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n clientId: \"86a165...\",\n clientSecret: \"*****afdbac18\",\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n isLinkingAllowed: false,\n isCreationAllowed: true,\n isAutoCreation: false,\n isAutoUpdate: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgIdpGithub(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n client_id=\"86a165...\",\n client_secret=\"*****afdbac18\",\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ],\n is_linking_allowed=False,\n is_creation_allowed=True,\n is_auto_creation=False,\n is_auto_update=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgIdpGithub(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ClientId = \"86a165...\",\n ClientSecret = \"*****afdbac18\",\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n IsLinkingAllowed = false,\n IsCreationAllowed = true,\n IsAutoCreation = false,\n IsAutoUpdate = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgIdpGithub(ctx, \"default\", \u0026zitadel.OrgIdpGithubArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tClientId: pulumi.String(\"86a165...\"),\n\t\t\tClientSecret: pulumi.String(\"*****afdbac18\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgIdpGithub;\nimport com.pulumi.zitadel.OrgIdpGithubArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgIdpGithub(\"default\", OrgIdpGithubArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .clientId(\"86a165...\")\n .clientSecret(\"*****afdbac18\")\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .isLinkingAllowed(false)\n .isCreationAllowed(true)\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgIdpGithub\n properties:\n orgId: ${data.zitadel_org.default.id}\n clientId: 86a165...\n clientSecret: '*****afdbac18'\n scopes:\n - openid\n - profile\n - email\n isLinkingAllowed: false\n isCreationAllowed: true\n isAutoCreation: false\n isAutoUpdate: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:org_id][:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgIdpGithub:OrgIdpGithub imported '123456789012345678:123456789012345678:1234567890123456781234567890123456787890'\n```\n\n ", "properties": { "clientId": { "type": "string", @@ -4458,7 +4569,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -4508,7 +4620,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -4560,7 +4673,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -4599,7 +4713,7 @@ } }, "zitadel:index/orgIdpGithubEs:OrgIdpGithubEs": { - "description": "Resource representing a GitHub Enterprise IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgIdpGithubEs(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n clientId: \"86a165...\",\n clientSecret: \"*****afdbac18\",\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n authorizationEndpoint: \"https://auth.endpoint\",\n tokenEndpoint: \"https://token.endpoint\",\n userEndpoint: \"https://user.endpoint\",\n isLinkingAllowed: false,\n isCreationAllowed: true,\n isAutoCreation: false,\n isAutoUpdate: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgIdpGithubEs(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n client_id=\"86a165...\",\n client_secret=\"*****afdbac18\",\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ],\n authorization_endpoint=\"https://auth.endpoint\",\n token_endpoint=\"https://token.endpoint\",\n user_endpoint=\"https://user.endpoint\",\n is_linking_allowed=False,\n is_creation_allowed=True,\n is_auto_creation=False,\n is_auto_update=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgIdpGithubEs(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ClientId = \"86a165...\",\n ClientSecret = \"*****afdbac18\",\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n AuthorizationEndpoint = \"https://auth.endpoint\",\n TokenEndpoint = \"https://token.endpoint\",\n UserEndpoint = \"https://user.endpoint\",\n IsLinkingAllowed = false,\n IsCreationAllowed = true,\n IsAutoCreation = false,\n IsAutoUpdate = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgIdpGithubEs(ctx, \"default\", \u0026zitadel.OrgIdpGithubEsArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tClientId: pulumi.String(\"86a165...\"),\n\t\t\tClientSecret: pulumi.String(\"*****afdbac18\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tAuthorizationEndpoint: pulumi.String(\"https://auth.endpoint\"),\n\t\t\tTokenEndpoint: pulumi.String(\"https://token.endpoint\"),\n\t\t\tUserEndpoint: pulumi.String(\"https://user.endpoint\"),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgIdpGithubEs;\nimport com.pulumi.zitadel.OrgIdpGithubEsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgIdpGithubEs(\"default\", OrgIdpGithubEsArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .clientId(\"86a165...\")\n .clientSecret(\"*****afdbac18\")\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .authorizationEndpoint(\"https://auth.endpoint\")\n .tokenEndpoint(\"https://token.endpoint\")\n .userEndpoint(\"https://user.endpoint\")\n .isLinkingAllowed(false)\n .isCreationAllowed(true)\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgIdpGithubEs\n properties:\n orgId: ${data.zitadel_org.default.id}\n clientId: 86a165...\n clientSecret: '*****afdbac18'\n scopes:\n - openid\n - profile\n - email\n authorizationEndpoint: https://auth.endpoint\n tokenEndpoint: https://token.endpoint\n userEndpoint: https://user.endpoint\n isLinkingAllowed: false\n isCreationAllowed: true\n isAutoCreation: false\n isAutoUpdate: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:org_id][:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgIdpGithubEs:OrgIdpGithubEs imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678'\n```\n\n ", + "description": "Resource representing a GitHub Enterprise IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgIdpGithubEs(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n clientId: \"86a165...\",\n clientSecret: \"*****afdbac18\",\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n authorizationEndpoint: \"https://auth.endpoint\",\n tokenEndpoint: \"https://token.endpoint\",\n userEndpoint: \"https://user.endpoint\",\n isLinkingAllowed: false,\n isCreationAllowed: true,\n isAutoCreation: false,\n isAutoUpdate: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgIdpGithubEs(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n client_id=\"86a165...\",\n client_secret=\"*****afdbac18\",\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ],\n authorization_endpoint=\"https://auth.endpoint\",\n token_endpoint=\"https://token.endpoint\",\n user_endpoint=\"https://user.endpoint\",\n is_linking_allowed=False,\n is_creation_allowed=True,\n is_auto_creation=False,\n is_auto_update=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgIdpGithubEs(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ClientId = \"86a165...\",\n ClientSecret = \"*****afdbac18\",\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n AuthorizationEndpoint = \"https://auth.endpoint\",\n TokenEndpoint = \"https://token.endpoint\",\n UserEndpoint = \"https://user.endpoint\",\n IsLinkingAllowed = false,\n IsCreationAllowed = true,\n IsAutoCreation = false,\n IsAutoUpdate = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgIdpGithubEs(ctx, \"default\", \u0026zitadel.OrgIdpGithubEsArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tClientId: pulumi.String(\"86a165...\"),\n\t\t\tClientSecret: pulumi.String(\"*****afdbac18\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tAuthorizationEndpoint: pulumi.String(\"https://auth.endpoint\"),\n\t\t\tTokenEndpoint: pulumi.String(\"https://token.endpoint\"),\n\t\t\tUserEndpoint: pulumi.String(\"https://user.endpoint\"),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgIdpGithubEs;\nimport com.pulumi.zitadel.OrgIdpGithubEsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgIdpGithubEs(\"default\", OrgIdpGithubEsArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .clientId(\"86a165...\")\n .clientSecret(\"*****afdbac18\")\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .authorizationEndpoint(\"https://auth.endpoint\")\n .tokenEndpoint(\"https://token.endpoint\")\n .userEndpoint(\"https://user.endpoint\")\n .isLinkingAllowed(false)\n .isCreationAllowed(true)\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgIdpGithubEs\n properties:\n orgId: ${data.zitadel_org.default.id}\n clientId: 86a165...\n clientSecret: '*****afdbac18'\n scopes:\n - openid\n - profile\n - email\n authorizationEndpoint: https://auth.endpoint\n tokenEndpoint: https://token.endpoint\n userEndpoint: https://user.endpoint\n isLinkingAllowed: false\n isCreationAllowed: true\n isAutoCreation: false\n isAutoUpdate: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:org_id][:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgIdpGithubEs:OrgIdpGithubEs imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678'\n```\n\n ", "properties": { "authorizationEndpoint": { "type": "string", @@ -4611,7 +4725,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -4676,7 +4791,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -4743,7 +4859,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -4790,7 +4907,7 @@ } }, "zitadel:index/orgIdpGitlab:OrgIdpGitlab": { - "description": "Resource representing a GitLab IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgIdpGitlab(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n clientId: \"15765e...\",\n clientSecret: \"*****abcxyz\",\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n isLinkingAllowed: false,\n isCreationAllowed: true,\n isAutoCreation: false,\n isAutoUpdate: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgIdpGitlab(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n client_id=\"15765e...\",\n client_secret=\"*****abcxyz\",\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ],\n is_linking_allowed=False,\n is_creation_allowed=True,\n is_auto_creation=False,\n is_auto_update=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgIdpGitlab(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ClientId = \"15765e...\",\n ClientSecret = \"*****abcxyz\",\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n IsLinkingAllowed = false,\n IsCreationAllowed = true,\n IsAutoCreation = false,\n IsAutoUpdate = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgIdpGitlab(ctx, \"default\", \u0026zitadel.OrgIdpGitlabArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tClientId: pulumi.String(\"15765e...\"),\n\t\t\tClientSecret: pulumi.String(\"*****abcxyz\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgIdpGitlab;\nimport com.pulumi.zitadel.OrgIdpGitlabArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgIdpGitlab(\"default\", OrgIdpGitlabArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .clientId(\"15765e...\")\n .clientSecret(\"*****abcxyz\")\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .isLinkingAllowed(false)\n .isCreationAllowed(true)\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgIdpGitlab\n properties:\n orgId: ${data.zitadel_org.default.id}\n clientId: 15765e...\n clientSecret: '*****abcxyz'\n scopes:\n - openid\n - profile\n - email\n isLinkingAllowed: false\n isCreationAllowed: true\n isAutoCreation: false\n isAutoUpdate: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:org_id][:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgIdpGitlab:OrgIdpGitlab imported '123456789012345678:123456789012345678:1234567890abcdef'\n```\n\n ", + "description": "Resource representing a GitLab IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgIdpGitlab(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n clientId: \"15765e...\",\n clientSecret: \"*****abcxyz\",\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n isLinkingAllowed: false,\n isCreationAllowed: true,\n isAutoCreation: false,\n isAutoUpdate: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgIdpGitlab(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n client_id=\"15765e...\",\n client_secret=\"*****abcxyz\",\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ],\n is_linking_allowed=False,\n is_creation_allowed=True,\n is_auto_creation=False,\n is_auto_update=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgIdpGitlab(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ClientId = \"15765e...\",\n ClientSecret = \"*****abcxyz\",\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n IsLinkingAllowed = false,\n IsCreationAllowed = true,\n IsAutoCreation = false,\n IsAutoUpdate = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgIdpGitlab(ctx, \"default\", \u0026zitadel.OrgIdpGitlabArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tClientId: pulumi.String(\"15765e...\"),\n\t\t\tClientSecret: pulumi.String(\"*****abcxyz\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgIdpGitlab;\nimport com.pulumi.zitadel.OrgIdpGitlabArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgIdpGitlab(\"default\", OrgIdpGitlabArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .clientId(\"15765e...\")\n .clientSecret(\"*****abcxyz\")\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .isLinkingAllowed(false)\n .isCreationAllowed(true)\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgIdpGitlab\n properties:\n orgId: ${data.zitadel_org.default.id}\n clientId: 15765e...\n clientSecret: '*****abcxyz'\n scopes:\n - openid\n - profile\n - email\n isLinkingAllowed: false\n isCreationAllowed: true\n isAutoCreation: false\n isAutoUpdate: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:org_id][:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgIdpGitlab:OrgIdpGitlab imported '123456789012345678:123456789012345678:1234567890abcdef'\n```\n\n ", "properties": { "clientId": { "type": "string", @@ -4798,7 +4915,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -4848,7 +4966,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -4900,7 +5019,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -4939,7 +5059,7 @@ } }, "zitadel:index/orgIdpGitlabSelfHosted:OrgIdpGitlabSelfHosted": { - "description": "Resource representing a GitLab Self Hosted IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgIdpGitlabSelfHosted(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n clientId: \"15765e...\",\n clientSecret: \"*****abcxyz\",\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n issuer: \"https://my.issuer\",\n isLinkingAllowed: false,\n isCreationAllowed: true,\n isAutoCreation: false,\n isAutoUpdate: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgIdpGitlabSelfHosted(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n client_id=\"15765e...\",\n client_secret=\"*****abcxyz\",\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ],\n issuer=\"https://my.issuer\",\n is_linking_allowed=False,\n is_creation_allowed=True,\n is_auto_creation=False,\n is_auto_update=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgIdpGitlabSelfHosted(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ClientId = \"15765e...\",\n ClientSecret = \"*****abcxyz\",\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n Issuer = \"https://my.issuer\",\n IsLinkingAllowed = false,\n IsCreationAllowed = true,\n IsAutoCreation = false,\n IsAutoUpdate = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgIdpGitlabSelfHosted(ctx, \"default\", \u0026zitadel.OrgIdpGitlabSelfHostedArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tClientId: pulumi.String(\"15765e...\"),\n\t\t\tClientSecret: pulumi.String(\"*****abcxyz\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tIssuer: pulumi.String(\"https://my.issuer\"),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgIdpGitlabSelfHosted;\nimport com.pulumi.zitadel.OrgIdpGitlabSelfHostedArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgIdpGitlabSelfHosted(\"default\", OrgIdpGitlabSelfHostedArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .clientId(\"15765e...\")\n .clientSecret(\"*****abcxyz\")\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .issuer(\"https://my.issuer\")\n .isLinkingAllowed(false)\n .isCreationAllowed(true)\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgIdpGitlabSelfHosted\n properties:\n orgId: ${data.zitadel_org.default.id}\n clientId: 15765e...\n clientSecret: '*****abcxyz'\n scopes:\n - openid\n - profile\n - email\n issuer: https://my.issuer\n isLinkingAllowed: false\n isCreationAllowed: true\n isAutoCreation: false\n isAutoUpdate: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:org_id][:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgIdpGitlabSelfHosted:OrgIdpGitlabSelfHosted imported '123456789012345678:123456789012345678:1234567890abcdef'\n```\n\n ", + "description": "Resource representing a GitLab Self Hosted IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgIdpGitlabSelfHosted(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n clientId: \"15765e...\",\n clientSecret: \"*****abcxyz\",\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n issuer: \"https://my.issuer\",\n isLinkingAllowed: false,\n isCreationAllowed: true,\n isAutoCreation: false,\n isAutoUpdate: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgIdpGitlabSelfHosted(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n client_id=\"15765e...\",\n client_secret=\"*****abcxyz\",\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ],\n issuer=\"https://my.issuer\",\n is_linking_allowed=False,\n is_creation_allowed=True,\n is_auto_creation=False,\n is_auto_update=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgIdpGitlabSelfHosted(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ClientId = \"15765e...\",\n ClientSecret = \"*****abcxyz\",\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n Issuer = \"https://my.issuer\",\n IsLinkingAllowed = false,\n IsCreationAllowed = true,\n IsAutoCreation = false,\n IsAutoUpdate = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgIdpGitlabSelfHosted(ctx, \"default\", \u0026zitadel.OrgIdpGitlabSelfHostedArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tClientId: pulumi.String(\"15765e...\"),\n\t\t\tClientSecret: pulumi.String(\"*****abcxyz\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tIssuer: pulumi.String(\"https://my.issuer\"),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgIdpGitlabSelfHosted;\nimport com.pulumi.zitadel.OrgIdpGitlabSelfHostedArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgIdpGitlabSelfHosted(\"default\", OrgIdpGitlabSelfHostedArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .clientId(\"15765e...\")\n .clientSecret(\"*****abcxyz\")\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .issuer(\"https://my.issuer\")\n .isLinkingAllowed(false)\n .isCreationAllowed(true)\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgIdpGitlabSelfHosted\n properties:\n orgId: ${data.zitadel_org.default.id}\n clientId: 15765e...\n clientSecret: '*****abcxyz'\n scopes:\n - openid\n - profile\n - email\n issuer: https://my.issuer\n isLinkingAllowed: false\n isCreationAllowed: true\n isAutoCreation: false\n isAutoUpdate: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:org_id][:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgIdpGitlabSelfHosted:OrgIdpGitlabSelfHosted imported '123456789012345678:123456789012345678:1234567890abcdef'\n```\n\n ", "properties": { "clientId": { "type": "string", @@ -4947,7 +5067,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -5002,7 +5123,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -5059,7 +5181,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -5102,7 +5225,7 @@ } }, "zitadel:index/orgIdpGoogle:OrgIdpGoogle": { - "description": "Resource representing a Google IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgIdpGoogle(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n clientId: \"182902...\",\n clientSecret: \"GOCSPX-*****\",\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n isLinkingAllowed: false,\n isCreationAllowed: true,\n isAutoCreation: false,\n isAutoUpdate: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgIdpGoogle(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n client_id=\"182902...\",\n client_secret=\"GOCSPX-*****\",\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ],\n is_linking_allowed=False,\n is_creation_allowed=True,\n is_auto_creation=False,\n is_auto_update=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgIdpGoogle(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ClientId = \"182902...\",\n ClientSecret = \"GOCSPX-*****\",\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n IsLinkingAllowed = false,\n IsCreationAllowed = true,\n IsAutoCreation = false,\n IsAutoUpdate = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgIdpGoogle(ctx, \"default\", \u0026zitadel.OrgIdpGoogleArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tClientId: pulumi.String(\"182902...\"),\n\t\t\tClientSecret: pulumi.String(\"GOCSPX-*****\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgIdpGoogle;\nimport com.pulumi.zitadel.OrgIdpGoogleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgIdpGoogle(\"default\", OrgIdpGoogleArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .clientId(\"182902...\")\n .clientSecret(\"GOCSPX-*****\")\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .isLinkingAllowed(false)\n .isCreationAllowed(true)\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgIdpGoogle\n properties:\n orgId: ${data.zitadel_org.default.id}\n clientId: 182902...\n clientSecret: GOCSPX-*****\n scopes:\n - openid\n - profile\n - email\n isLinkingAllowed: false\n isCreationAllowed: true\n isAutoCreation: false\n isAutoUpdate: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:org_id][:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgIdpGoogle:OrgIdpGoogle imported '123456789012345678:123456789012345678:G1234567890123'\n```\n\n ", + "description": "Resource representing a Google IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgIdpGoogle(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n clientId: \"182902...\",\n clientSecret: \"GOCSPX-*****\",\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n isLinkingAllowed: false,\n isCreationAllowed: true,\n isAutoCreation: false,\n isAutoUpdate: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgIdpGoogle(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n client_id=\"182902...\",\n client_secret=\"GOCSPX-*****\",\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ],\n is_linking_allowed=False,\n is_creation_allowed=True,\n is_auto_creation=False,\n is_auto_update=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgIdpGoogle(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ClientId = \"182902...\",\n ClientSecret = \"GOCSPX-*****\",\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n IsLinkingAllowed = false,\n IsCreationAllowed = true,\n IsAutoCreation = false,\n IsAutoUpdate = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgIdpGoogle(ctx, \"default\", \u0026zitadel.OrgIdpGoogleArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tClientId: pulumi.String(\"182902...\"),\n\t\t\tClientSecret: pulumi.String(\"GOCSPX-*****\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgIdpGoogle;\nimport com.pulumi.zitadel.OrgIdpGoogleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgIdpGoogle(\"default\", OrgIdpGoogleArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .clientId(\"182902...\")\n .clientSecret(\"GOCSPX-*****\")\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .isLinkingAllowed(false)\n .isCreationAllowed(true)\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgIdpGoogle\n properties:\n orgId: ${data.zitadel_org.default.id}\n clientId: 182902...\n clientSecret: GOCSPX-*****\n scopes:\n - openid\n - profile\n - email\n isLinkingAllowed: false\n isCreationAllowed: true\n isAutoCreation: false\n isAutoUpdate: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:org_id][:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgIdpGoogle:OrgIdpGoogle imported '123456789012345678:123456789012345678:G1234567890123'\n```\n\n ", "properties": { "clientId": { "type": "string", @@ -5110,7 +5233,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -5160,7 +5284,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -5212,7 +5337,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -5251,7 +5377,7 @@ } }, "zitadel:index/orgIdpJwt:OrgIdpJwt": { - "description": "Resource representing a generic JWT IdP of the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgIdpJwt(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n stylingType: \"STYLING_TYPE_UNSPECIFIED\",\n jwtEndpoint: \"https://jwtendpoint.com/jwt\",\n issuer: \"https://google.com\",\n keysEndpoint: \"https://jwtendpoint.com/keys\",\n headerName: \"x-auth-token\",\n autoRegister: false,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgIdpJwt(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n styling_type=\"STYLING_TYPE_UNSPECIFIED\",\n jwt_endpoint=\"https://jwtendpoint.com/jwt\",\n issuer=\"https://google.com\",\n keys_endpoint=\"https://jwtendpoint.com/keys\",\n header_name=\"x-auth-token\",\n auto_register=False)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgIdpJwt(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n StylingType = \"STYLING_TYPE_UNSPECIFIED\",\n JwtEndpoint = \"https://jwtendpoint.com/jwt\",\n Issuer = \"https://google.com\",\n KeysEndpoint = \"https://jwtendpoint.com/keys\",\n HeaderName = \"x-auth-token\",\n AutoRegister = false,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgIdpJwt(ctx, \"default\", \u0026zitadel.OrgIdpJwtArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tStylingType: pulumi.String(\"STYLING_TYPE_UNSPECIFIED\"),\n\t\t\tJwtEndpoint: pulumi.String(\"https://jwtendpoint.com/jwt\"),\n\t\t\tIssuer: pulumi.String(\"https://google.com\"),\n\t\t\tKeysEndpoint: pulumi.String(\"https://jwtendpoint.com/keys\"),\n\t\t\tHeaderName: pulumi.String(\"x-auth-token\"),\n\t\t\tAutoRegister: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgIdpJwt;\nimport com.pulumi.zitadel.OrgIdpJwtArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgIdpJwt(\"default\", OrgIdpJwtArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .stylingType(\"STYLING_TYPE_UNSPECIFIED\")\n .jwtEndpoint(\"https://jwtendpoint.com/jwt\")\n .issuer(\"https://google.com\")\n .keysEndpoint(\"https://jwtendpoint.com/keys\")\n .headerName(\"x-auth-token\")\n .autoRegister(false)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgIdpJwt\n properties:\n orgId: ${data.zitadel_org.default.id}\n stylingType: STYLING_TYPE_UNSPECIFIED\n jwtEndpoint: https://jwtendpoint.com/jwt\n issuer: https://google.com\n keysEndpoint: https://jwtendpoint.com/keys\n headerName: x-auth-token\n autoRegister: false\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgIdpJwt:OrgIdpJwt imported '123456789012345678:123456789012345678'\n```\n\n ", + "description": "Resource representing a generic JWT IdP of the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgIdpJwt(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n stylingType: \"STYLING_TYPE_UNSPECIFIED\",\n jwtEndpoint: \"https://jwtendpoint.com/jwt\",\n issuer: \"https://google.com\",\n keysEndpoint: \"https://jwtendpoint.com/keys\",\n headerName: \"x-auth-token\",\n autoRegister: false,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgIdpJwt(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n styling_type=\"STYLING_TYPE_UNSPECIFIED\",\n jwt_endpoint=\"https://jwtendpoint.com/jwt\",\n issuer=\"https://google.com\",\n keys_endpoint=\"https://jwtendpoint.com/keys\",\n header_name=\"x-auth-token\",\n auto_register=False)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgIdpJwt(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n StylingType = \"STYLING_TYPE_UNSPECIFIED\",\n JwtEndpoint = \"https://jwtendpoint.com/jwt\",\n Issuer = \"https://google.com\",\n KeysEndpoint = \"https://jwtendpoint.com/keys\",\n HeaderName = \"x-auth-token\",\n AutoRegister = false,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgIdpJwt(ctx, \"default\", \u0026zitadel.OrgIdpJwtArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tStylingType: pulumi.String(\"STYLING_TYPE_UNSPECIFIED\"),\n\t\t\tJwtEndpoint: pulumi.String(\"https://jwtendpoint.com/jwt\"),\n\t\t\tIssuer: pulumi.String(\"https://google.com\"),\n\t\t\tKeysEndpoint: pulumi.String(\"https://jwtendpoint.com/keys\"),\n\t\t\tHeaderName: pulumi.String(\"x-auth-token\"),\n\t\t\tAutoRegister: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgIdpJwt;\nimport com.pulumi.zitadel.OrgIdpJwtArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgIdpJwt(\"default\", OrgIdpJwtArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .stylingType(\"STYLING_TYPE_UNSPECIFIED\")\n .jwtEndpoint(\"https://jwtendpoint.com/jwt\")\n .issuer(\"https://google.com\")\n .keysEndpoint(\"https://jwtendpoint.com/keys\")\n .headerName(\"x-auth-token\")\n .autoRegister(false)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgIdpJwt\n properties:\n orgId: ${data.zitadel_org.default.id}\n stylingType: STYLING_TYPE_UNSPECIFIED\n jwtEndpoint: https://jwtendpoint.com/jwt\n issuer: https://google.com\n keysEndpoint: https://jwtendpoint.com/keys\n headerName: x-auth-token\n autoRegister: false\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgIdpJwt:OrgIdpJwt imported '123456789012345678:123456789012345678'\n```\n\n ", "properties": { "autoRegister": { "type": "boolean", @@ -5379,7 +5505,7 @@ } }, "zitadel:index/orgIdpLdap:OrgIdpLdap": { - "description": "Resource representing an LDAP IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgIdpLdap(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n servers: [\n \"ldaps://my.primary.server:389\",\n \"ldaps://my.secondary.server:389\",\n ],\n startTls: false,\n baseDn: \"dc=example,dc=com\",\n bindDn: \"cn=admin,dc=example,dc=com\",\n bindPassword: \"Password1!\",\n userBase: \"dn\",\n userObjectClasses: [\"inetOrgPerson\"],\n userFilters: [\n \"uid\",\n \"email\",\n ],\n timeout: \"10s\",\n idAttribute: \"uid\",\n firstNameAttribute: \"firstname\",\n lastNameAttribute: \"lastname\",\n isLinkingAllowed: false,\n isCreationAllowed: true,\n isAutoCreation: false,\n isAutoUpdate: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgIdpLdap(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n servers=[\n \"ldaps://my.primary.server:389\",\n \"ldaps://my.secondary.server:389\",\n ],\n start_tls=False,\n base_dn=\"dc=example,dc=com\",\n bind_dn=\"cn=admin,dc=example,dc=com\",\n bind_password=\"Password1!\",\n user_base=\"dn\",\n user_object_classes=[\"inetOrgPerson\"],\n user_filters=[\n \"uid\",\n \"email\",\n ],\n timeout=\"10s\",\n id_attribute=\"uid\",\n first_name_attribute=\"firstname\",\n last_name_attribute=\"lastname\",\n is_linking_allowed=False,\n is_creation_allowed=True,\n is_auto_creation=False,\n is_auto_update=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgIdpLdap(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Servers = new[]\n {\n \"ldaps://my.primary.server:389\",\n \"ldaps://my.secondary.server:389\",\n },\n StartTls = false,\n BaseDn = \"dc=example,dc=com\",\n BindDn = \"cn=admin,dc=example,dc=com\",\n BindPassword = \"Password1!\",\n UserBase = \"dn\",\n UserObjectClasses = new[]\n {\n \"inetOrgPerson\",\n },\n UserFilters = new[]\n {\n \"uid\",\n \"email\",\n },\n Timeout = \"10s\",\n IdAttribute = \"uid\",\n FirstNameAttribute = \"firstname\",\n LastNameAttribute = \"lastname\",\n IsLinkingAllowed = false,\n IsCreationAllowed = true,\n IsAutoCreation = false,\n IsAutoUpdate = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgIdpLdap(ctx, \"default\", \u0026zitadel.OrgIdpLdapArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tServers: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"ldaps://my.primary.server:389\"),\n\t\t\t\tpulumi.String(\"ldaps://my.secondary.server:389\"),\n\t\t\t},\n\t\t\tStartTls: pulumi.Bool(false),\n\t\t\tBaseDn: pulumi.String(\"dc=example,dc=com\"),\n\t\t\tBindDn: pulumi.String(\"cn=admin,dc=example,dc=com\"),\n\t\t\tBindPassword: pulumi.String(\"Password1!\"),\n\t\t\tUserBase: pulumi.String(\"dn\"),\n\t\t\tUserObjectClasses: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"inetOrgPerson\"),\n\t\t\t},\n\t\t\tUserFilters: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"uid\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tTimeout: pulumi.String(\"10s\"),\n\t\t\tIdAttribute: pulumi.String(\"uid\"),\n\t\t\tFirstNameAttribute: pulumi.String(\"firstname\"),\n\t\t\tLastNameAttribute: pulumi.String(\"lastname\"),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgIdpLdap;\nimport com.pulumi.zitadel.OrgIdpLdapArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgIdpLdap(\"default\", OrgIdpLdapArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .servers( \n \"ldaps://my.primary.server:389\",\n \"ldaps://my.secondary.server:389\")\n .startTls(false)\n .baseDn(\"dc=example,dc=com\")\n .bindDn(\"cn=admin,dc=example,dc=com\")\n .bindPassword(\"Password1!\")\n .userBase(\"dn\")\n .userObjectClasses(\"inetOrgPerson\")\n .userFilters( \n \"uid\",\n \"email\")\n .timeout(\"10s\")\n .idAttribute(\"uid\")\n .firstNameAttribute(\"firstname\")\n .lastNameAttribute(\"lastname\")\n .isLinkingAllowed(false)\n .isCreationAllowed(true)\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgIdpLdap\n properties:\n orgId: ${data.zitadel_org.default.id}\n servers:\n - ldaps://my.primary.server:389\n - ldaps://my.secondary.server:389\n startTls: false\n baseDn: dc=example,dc=com\n bindDn: cn=admin,dc=example,dc=com\n bindPassword: Password1!\n userBase: dn\n userObjectClasses:\n - inetOrgPerson\n userFilters:\n - uid\n - email\n timeout: 10s\n idAttribute: uid\n firstNameAttribute: firstname\n lastNameAttribute: lastname\n isLinkingAllowed: false\n isCreationAllowed: true\n isAutoCreation: false\n isAutoUpdate: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:org_id][:bind_password]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgIdpLdap:OrgIdpLdap imported '123456789012345678:123456789012345678:b1nd_p4ssw0rd'\n```\n\n ", + "description": "Resource representing an LDAP IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgIdpLdap(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n servers: [\n \"ldaps://my.primary.server:389\",\n \"ldaps://my.secondary.server:389\",\n ],\n startTls: false,\n baseDn: \"dc=example,dc=com\",\n bindDn: \"cn=admin,dc=example,dc=com\",\n bindPassword: \"Password1!\",\n userBase: \"dn\",\n userObjectClasses: [\"inetOrgPerson\"],\n userFilters: [\n \"uid\",\n \"email\",\n ],\n timeout: \"10s\",\n idAttribute: \"uid\",\n firstNameAttribute: \"firstname\",\n lastNameAttribute: \"lastname\",\n isLinkingAllowed: false,\n isCreationAllowed: true,\n isAutoCreation: false,\n isAutoUpdate: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgIdpLdap(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n servers=[\n \"ldaps://my.primary.server:389\",\n \"ldaps://my.secondary.server:389\",\n ],\n start_tls=False,\n base_dn=\"dc=example,dc=com\",\n bind_dn=\"cn=admin,dc=example,dc=com\",\n bind_password=\"Password1!\",\n user_base=\"dn\",\n user_object_classes=[\"inetOrgPerson\"],\n user_filters=[\n \"uid\",\n \"email\",\n ],\n timeout=\"10s\",\n id_attribute=\"uid\",\n first_name_attribute=\"firstname\",\n last_name_attribute=\"lastname\",\n is_linking_allowed=False,\n is_creation_allowed=True,\n is_auto_creation=False,\n is_auto_update=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgIdpLdap(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Servers = new[]\n {\n \"ldaps://my.primary.server:389\",\n \"ldaps://my.secondary.server:389\",\n },\n StartTls = false,\n BaseDn = \"dc=example,dc=com\",\n BindDn = \"cn=admin,dc=example,dc=com\",\n BindPassword = \"Password1!\",\n UserBase = \"dn\",\n UserObjectClasses = new[]\n {\n \"inetOrgPerson\",\n },\n UserFilters = new[]\n {\n \"uid\",\n \"email\",\n },\n Timeout = \"10s\",\n IdAttribute = \"uid\",\n FirstNameAttribute = \"firstname\",\n LastNameAttribute = \"lastname\",\n IsLinkingAllowed = false,\n IsCreationAllowed = true,\n IsAutoCreation = false,\n IsAutoUpdate = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgIdpLdap(ctx, \"default\", \u0026zitadel.OrgIdpLdapArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tServers: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"ldaps://my.primary.server:389\"),\n\t\t\t\tpulumi.String(\"ldaps://my.secondary.server:389\"),\n\t\t\t},\n\t\t\tStartTls: pulumi.Bool(false),\n\t\t\tBaseDn: pulumi.String(\"dc=example,dc=com\"),\n\t\t\tBindDn: pulumi.String(\"cn=admin,dc=example,dc=com\"),\n\t\t\tBindPassword: pulumi.String(\"Password1!\"),\n\t\t\tUserBase: pulumi.String(\"dn\"),\n\t\t\tUserObjectClasses: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"inetOrgPerson\"),\n\t\t\t},\n\t\t\tUserFilters: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"uid\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tTimeout: pulumi.String(\"10s\"),\n\t\t\tIdAttribute: pulumi.String(\"uid\"),\n\t\t\tFirstNameAttribute: pulumi.String(\"firstname\"),\n\t\t\tLastNameAttribute: pulumi.String(\"lastname\"),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgIdpLdap;\nimport com.pulumi.zitadel.OrgIdpLdapArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgIdpLdap(\"default\", OrgIdpLdapArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .servers( \n \"ldaps://my.primary.server:389\",\n \"ldaps://my.secondary.server:389\")\n .startTls(false)\n .baseDn(\"dc=example,dc=com\")\n .bindDn(\"cn=admin,dc=example,dc=com\")\n .bindPassword(\"Password1!\")\n .userBase(\"dn\")\n .userObjectClasses(\"inetOrgPerson\")\n .userFilters( \n \"uid\",\n \"email\")\n .timeout(\"10s\")\n .idAttribute(\"uid\")\n .firstNameAttribute(\"firstname\")\n .lastNameAttribute(\"lastname\")\n .isLinkingAllowed(false)\n .isCreationAllowed(true)\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgIdpLdap\n properties:\n orgId: ${data.zitadel_org.default.id}\n servers:\n - ldaps://my.primary.server:389\n - ldaps://my.secondary.server:389\n startTls: false\n baseDn: dc=example,dc=com\n bindDn: cn=admin,dc=example,dc=com\n bindPassword: Password1!\n userBase: dn\n userObjectClasses:\n - inetOrgPerson\n userFilters:\n - uid\n - email\n timeout: 10s\n idAttribute: uid\n firstNameAttribute: firstname\n lastNameAttribute: lastname\n isLinkingAllowed: false\n isCreationAllowed: true\n isAutoCreation: false\n isAutoUpdate: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:org_id][:bind_password]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgIdpLdap:OrgIdpLdap imported '123456789012345678:123456789012345678:b1nd_p4ssw0rd'\n```\n\n ", "properties": { "avatarUrlAttribute": { "type": "string", @@ -5395,7 +5521,8 @@ }, "bindPassword": { "type": "string", - "description": "Bind password for LDAP connections\n" + "description": "Bind password for LDAP connections\n", + "secret": true }, "displayNameAttribute": { "type": "string", @@ -5534,7 +5661,8 @@ }, "bindPassword": { "type": "string", - "description": "Bind password for LDAP connections\n" + "description": "Bind password for LDAP connections\n", + "secret": true }, "displayNameAttribute": { "type": "string", @@ -5675,7 +5803,8 @@ }, "bindPassword": { "type": "string", - "description": "Bind password for LDAP connections\n" + "description": "Bind password for LDAP connections\n", + "secret": true }, "displayNameAttribute": { "type": "string", @@ -5788,7 +5917,7 @@ } }, "zitadel:index/orgIdpOidc:OrgIdpOidc": { - "description": "Resource representing a generic OIDC IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgIdpOidc(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n clientId: \"a_client_id\",\n clientSecret: \"a_client_secret\",\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n issuer: \"https://example.com\",\n isLinkingAllowed: false,\n isCreationAllowed: true,\n isAutoCreation: false,\n isAutoUpdate: true,\n isIdTokenMapping: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgIdpOidc(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n client_id=\"a_client_id\",\n client_secret=\"a_client_secret\",\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ],\n issuer=\"https://example.com\",\n is_linking_allowed=False,\n is_creation_allowed=True,\n is_auto_creation=False,\n is_auto_update=True,\n is_id_token_mapping=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgIdpOidc(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ClientId = \"a_client_id\",\n ClientSecret = \"a_client_secret\",\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n Issuer = \"https://example.com\",\n IsLinkingAllowed = false,\n IsCreationAllowed = true,\n IsAutoCreation = false,\n IsAutoUpdate = true,\n IsIdTokenMapping = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgIdpOidc(ctx, \"default\", \u0026zitadel.OrgIdpOidcArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tClientId: pulumi.String(\"a_client_id\"),\n\t\t\tClientSecret: pulumi.String(\"a_client_secret\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tIssuer: pulumi.String(\"https://example.com\"),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t\tIsIdTokenMapping: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgIdpOidc;\nimport com.pulumi.zitadel.OrgIdpOidcArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgIdpOidc(\"default\", OrgIdpOidcArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .clientId(\"a_client_id\")\n .clientSecret(\"a_client_secret\")\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .issuer(\"https://example.com\")\n .isLinkingAllowed(false)\n .isCreationAllowed(true)\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .isIdTokenMapping(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgIdpOidc\n properties:\n orgId: ${data.zitadel_org.default.id}\n clientId: a_client_id\n clientSecret: a_client_secret\n scopes:\n - openid\n - profile\n - email\n issuer: https://example.com\n isLinkingAllowed: false\n isCreationAllowed: true\n isAutoCreation: false\n isAutoUpdate: true\n isIdTokenMapping: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:org_id][:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgIdpOidc:OrgIdpOidc imported '123456789012345678:123456789012345678:1234567890abcdef'\n```\n\n ", + "description": "Resource representing a generic OIDC IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgIdpOidc(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n clientId: \"a_client_id\",\n clientSecret: \"a_client_secret\",\n scopes: [\n \"openid\",\n \"profile\",\n \"email\",\n ],\n issuer: \"https://example.com\",\n isLinkingAllowed: false,\n isCreationAllowed: true,\n isAutoCreation: false,\n isAutoUpdate: true,\n isIdTokenMapping: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgIdpOidc(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n client_id=\"a_client_id\",\n client_secret=\"a_client_secret\",\n scopes=[\n \"openid\",\n \"profile\",\n \"email\",\n ],\n issuer=\"https://example.com\",\n is_linking_allowed=False,\n is_creation_allowed=True,\n is_auto_creation=False,\n is_auto_update=True,\n is_id_token_mapping=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgIdpOidc(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ClientId = \"a_client_id\",\n ClientSecret = \"a_client_secret\",\n Scopes = new[]\n {\n \"openid\",\n \"profile\",\n \"email\",\n },\n Issuer = \"https://example.com\",\n IsLinkingAllowed = false,\n IsCreationAllowed = true,\n IsAutoCreation = false,\n IsAutoUpdate = true,\n IsIdTokenMapping = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgIdpOidc(ctx, \"default\", \u0026zitadel.OrgIdpOidcArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tClientId: pulumi.String(\"a_client_id\"),\n\t\t\tClientSecret: pulumi.String(\"a_client_secret\"),\n\t\t\tScopes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"openid\"),\n\t\t\t\tpulumi.String(\"profile\"),\n\t\t\t\tpulumi.String(\"email\"),\n\t\t\t},\n\t\t\tIssuer: pulumi.String(\"https://example.com\"),\n\t\t\tIsLinkingAllowed: pulumi.Bool(false),\n\t\t\tIsCreationAllowed: pulumi.Bool(true),\n\t\t\tIsAutoCreation: pulumi.Bool(false),\n\t\t\tIsAutoUpdate: pulumi.Bool(true),\n\t\t\tIsIdTokenMapping: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgIdpOidc;\nimport com.pulumi.zitadel.OrgIdpOidcArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgIdpOidc(\"default\", OrgIdpOidcArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .clientId(\"a_client_id\")\n .clientSecret(\"a_client_secret\")\n .scopes( \n \"openid\",\n \"profile\",\n \"email\")\n .issuer(\"https://example.com\")\n .isLinkingAllowed(false)\n .isCreationAllowed(true)\n .isAutoCreation(false)\n .isAutoUpdate(true)\n .isIdTokenMapping(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgIdpOidc\n properties:\n orgId: ${data.zitadel_org.default.id}\n clientId: a_client_id\n clientSecret: a_client_secret\n scopes:\n - openid\n - profile\n - email\n issuer: https://example.com\n isLinkingAllowed: false\n isCreationAllowed: true\n isAutoCreation: false\n isAutoUpdate: true\n isIdTokenMapping: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:org_id][:client_secret]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgIdpOidc:OrgIdpOidc imported '123456789012345678:123456789012345678:1234567890abcdef'\n```\n\n ", "properties": { "clientId": { "type": "string", @@ -5796,7 +5925,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -5856,7 +5986,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -5918,7 +6049,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "isAutoCreation": { "type": "boolean", @@ -5965,7 +6097,7 @@ } }, "zitadel:index/orgMember:OrgMember": { - "description": "Resource representing the membership of a user on an organization, defined with the given role.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgMember(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n userId: data.zitadel_human_user[\"default\"].id,\n roles: [\"ORG_OWNER\"],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgMember(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n user_id=data[\"zitadel_human_user\"][\"default\"][\"id\"],\n roles=[\"ORG_OWNER\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgMember(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n UserId = data.Zitadel_human_user.Default.Id,\n Roles = new[]\n {\n \"ORG_OWNER\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgMember(ctx, \"default\", \u0026zitadel.OrgMemberArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tUserId: pulumi.Any(data.Zitadel_human_user.Default.Id),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"ORG_OWNER\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgMember;\nimport com.pulumi.zitadel.OrgMemberArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgMember(\"default\", OrgMemberArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .userId(data.zitadel_human_user().default().id())\n .roles(\"ORG_OWNER\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgMember\n properties:\n orgId: ${data.zitadel_org.default.id}\n userId: ${data.zitadel_human_user.default.id}\n roles:\n - ORG_OWNER\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cuser_id[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgMember:OrgMember imported '123456789012345678:123456789012345678'\n```\n\n ", + "description": "Resource representing the membership of a user on an organization, defined with the given role.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.OrgMember(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n userId: data.zitadel_human_user[\"default\"].id,\n roles: [\"ORG_OWNER\"],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.OrgMember(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n user_id=data[\"zitadel_human_user\"][\"default\"][\"id\"],\n roles=[\"ORG_OWNER\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.OrgMember(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n UserId = data.Zitadel_human_user.Default.Id,\n Roles = new[]\n {\n \"ORG_OWNER\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewOrgMember(ctx, \"default\", \u0026zitadel.OrgMemberArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tUserId: pulumi.Any(data.Zitadel_human_user.Default.Id),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"ORG_OWNER\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.OrgMember;\nimport com.pulumi.zitadel.OrgMemberArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new OrgMember(\"default\", OrgMemberArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .userId(data.zitadel_human_user().default().id())\n .roles(\"ORG_OWNER\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:OrgMember\n properties:\n orgId: ${data.zitadel_org.default.id}\n userId: ${data.zitadel_human_user.default.id}\n roles:\n - ORG_OWNER\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cuser_id[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/orgMember:OrgMember imported '123456789012345678:123456789012345678'\n```\n\n ", "properties": { "orgId": { "type": "string", @@ -6035,7 +6167,7 @@ } }, "zitadel:index/passwordComplexityPolicy:PasswordComplexityPolicy": { - "description": "Resource representing the custom password complexity policy of an organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.PasswordComplexityPolicy(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n minLength: 8,\n hasUppercase: true,\n hasLowercase: true,\n hasNumber: true,\n hasSymbol: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.PasswordComplexityPolicy(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n min_length=8,\n has_uppercase=True,\n has_lowercase=True,\n has_number=True,\n has_symbol=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.PasswordComplexityPolicy(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n MinLength = 8,\n HasUppercase = true,\n HasLowercase = true,\n HasNumber = true,\n HasSymbol = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewPasswordComplexityPolicy(ctx, \"default\", \u0026zitadel.PasswordComplexityPolicyArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tMinLength: pulumi.Int(8),\n\t\t\tHasUppercase: pulumi.Bool(true),\n\t\t\tHasLowercase: pulumi.Bool(true),\n\t\t\tHasNumber: pulumi.Bool(true),\n\t\t\tHasSymbol: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.PasswordComplexityPolicy;\nimport com.pulumi.zitadel.PasswordComplexityPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new PasswordComplexityPolicy(\"default\", PasswordComplexityPolicyArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .minLength(\"8\")\n .hasUppercase(true)\n .hasLowercase(true)\n .hasNumber(true)\n .hasSymbol(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:PasswordComplexityPolicy\n properties:\n orgId: ${data.zitadel_org.default.id}\n minLength: 8\n hasUppercase: true\n hasLowercase: true\n hasNumber: true\n hasSymbol: true\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Resource representing the custom password complexity policy of an organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.PasswordComplexityPolicy(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n minLength: 8,\n hasUppercase: true,\n hasLowercase: true,\n hasNumber: true,\n hasSymbol: true,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.PasswordComplexityPolicy(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n min_length=8,\n has_uppercase=True,\n has_lowercase=True,\n has_number=True,\n has_symbol=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.PasswordComplexityPolicy(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n MinLength = 8,\n HasUppercase = true,\n HasLowercase = true,\n HasNumber = true,\n HasSymbol = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewPasswordComplexityPolicy(ctx, \"default\", \u0026zitadel.PasswordComplexityPolicyArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tMinLength: pulumi.Int(8),\n\t\t\tHasUppercase: pulumi.Bool(true),\n\t\t\tHasLowercase: pulumi.Bool(true),\n\t\t\tHasNumber: pulumi.Bool(true),\n\t\t\tHasSymbol: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.PasswordComplexityPolicy;\nimport com.pulumi.zitadel.PasswordComplexityPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new PasswordComplexityPolicy(\"default\", PasswordComplexityPolicyArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .minLength(\"8\")\n .hasUppercase(true)\n .hasLowercase(true)\n .hasNumber(true)\n .hasSymbol(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:PasswordComplexityPolicy\n properties:\n orgId: ${data.zitadel_org.default.id}\n minLength: '8'\n hasUppercase: true\n hasLowercase: true\n hasNumber: true\n hasSymbol: true\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "hasLowercase": { "type": "boolean", @@ -6136,7 +6268,7 @@ } }, "zitadel:index/personalAccessToken:PersonalAccessToken": { - "description": "Resource representing a personal access token of a user\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.PersonalAccessToken(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n userId: data.zitadel_machine_user[\"default\"].id,\n expirationDate: \"2519-04-01T08:45:00Z\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.PersonalAccessToken(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n user_id=data[\"zitadel_machine_user\"][\"default\"][\"id\"],\n expiration_date=\"2519-04-01T08:45:00Z\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.PersonalAccessToken(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n UserId = data.Zitadel_machine_user.Default.Id,\n ExpirationDate = \"2519-04-01T08:45:00Z\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewPersonalAccessToken(ctx, \"default\", \u0026zitadel.PersonalAccessTokenArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tUserId: pulumi.Any(data.Zitadel_machine_user.Default.Id),\n\t\t\tExpirationDate: pulumi.String(\"2519-04-01T08:45:00Z\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.PersonalAccessToken;\nimport com.pulumi.zitadel.PersonalAccessTokenArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new PersonalAccessToken(\"default\", PersonalAccessTokenArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .userId(data.zitadel_machine_user().default().id())\n .expirationDate(\"2519-04-01T08:45:00Z\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:PersonalAccessToken\n properties:\n orgId: ${data.zitadel_org.default.id}\n userId: ${data.zitadel_machine_user.default.id}\n expirationDate: 2519-04-01T08:45:00Z\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid:user_id[:org_id][:token]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/personalAccessToken:PersonalAccessToken imported '123456789012345678:123456789012345678:123456789012345678:LHt79...'\n```\n\n ", + "description": "Resource representing a personal access token of a user\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.PersonalAccessToken(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n userId: data.zitadel_machine_user[\"default\"].id,\n expirationDate: \"2519-04-01T08:45:00Z\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.PersonalAccessToken(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n user_id=data[\"zitadel_machine_user\"][\"default\"][\"id\"],\n expiration_date=\"2519-04-01T08:45:00Z\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.PersonalAccessToken(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n UserId = data.Zitadel_machine_user.Default.Id,\n ExpirationDate = \"2519-04-01T08:45:00Z\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewPersonalAccessToken(ctx, \"default\", \u0026zitadel.PersonalAccessTokenArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tUserId: pulumi.Any(data.Zitadel_machine_user.Default.Id),\n\t\t\tExpirationDate: pulumi.String(\"2519-04-01T08:45:00Z\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.PersonalAccessToken;\nimport com.pulumi.zitadel.PersonalAccessTokenArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new PersonalAccessToken(\"default\", PersonalAccessTokenArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .userId(data.zitadel_machine_user().default().id())\n .expirationDate(\"2519-04-01T08:45:00Z\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:PersonalAccessToken\n properties:\n orgId: ${data.zitadel_org.default.id}\n userId: ${data.zitadel_machine_user.default.id}\n expirationDate: 2519-04-01T08:45:00Z\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid:user_id[:org_id][:token]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/personalAccessToken:PersonalAccessToken imported '123456789012345678:123456789012345678:123456789012345678:LHt79...'\n```\n\n ", "properties": { "expirationDate": { "type": "string", @@ -6148,7 +6280,8 @@ }, "token": { "type": "string", - "description": "Value of the token\n" + "description": "Value of the token\n", + "secret": true }, "userId": { "type": "string", @@ -6194,7 +6327,8 @@ }, "token": { "type": "string", - "description": "Value of the token\n" + "description": "Value of the token\n", + "secret": true }, "userId": { "type": "string", @@ -6206,7 +6340,7 @@ } }, "zitadel:index/privacyPolicy:PrivacyPolicy": { - "description": "Resource representing the custom privacy policy of an organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.PrivacyPolicy(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n tosLink: \"https://example.com/tos\",\n privacyLink: \"https://example.com/privacy\",\n helpLink: \"https://example.com/help\",\n supportEmail: \"support@example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.PrivacyPolicy(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n tos_link=\"https://example.com/tos\",\n privacy_link=\"https://example.com/privacy\",\n help_link=\"https://example.com/help\",\n support_email=\"support@example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.PrivacyPolicy(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n TosLink = \"https://example.com/tos\",\n PrivacyLink = \"https://example.com/privacy\",\n HelpLink = \"https://example.com/help\",\n SupportEmail = \"support@example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewPrivacyPolicy(ctx, \"default\", \u0026zitadel.PrivacyPolicyArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tTosLink: pulumi.String(\"https://example.com/tos\"),\n\t\t\tPrivacyLink: pulumi.String(\"https://example.com/privacy\"),\n\t\t\tHelpLink: pulumi.String(\"https://example.com/help\"),\n\t\t\tSupportEmail: pulumi.String(\"support@example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.PrivacyPolicy;\nimport com.pulumi.zitadel.PrivacyPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new PrivacyPolicy(\"default\", PrivacyPolicyArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .tosLink(\"https://example.com/tos\")\n .privacyLink(\"https://example.com/privacy\")\n .helpLink(\"https://example.com/help\")\n .supportEmail(\"support@example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:PrivacyPolicy\n properties:\n orgId: ${data.zitadel_org.default.id}\n tosLink: https://example.com/tos\n privacyLink: https://example.com/privacy\n helpLink: https://example.com/help\n supportEmail: support@example.com\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003c[org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/privacyPolicy:PrivacyPolicy imported '123456789012345678'\n```\n\n ", + "description": "Resource representing the custom privacy policy of an organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.PrivacyPolicy(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n tosLink: \"https://example.com/tos\",\n privacyLink: \"https://example.com/privacy\",\n helpLink: \"https://example.com/help\",\n supportEmail: \"support@example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.PrivacyPolicy(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n tos_link=\"https://example.com/tos\",\n privacy_link=\"https://example.com/privacy\",\n help_link=\"https://example.com/help\",\n support_email=\"support@example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.PrivacyPolicy(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n TosLink = \"https://example.com/tos\",\n PrivacyLink = \"https://example.com/privacy\",\n HelpLink = \"https://example.com/help\",\n SupportEmail = \"support@example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewPrivacyPolicy(ctx, \"default\", \u0026zitadel.PrivacyPolicyArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tTosLink: pulumi.String(\"https://example.com/tos\"),\n\t\t\tPrivacyLink: pulumi.String(\"https://example.com/privacy\"),\n\t\t\tHelpLink: pulumi.String(\"https://example.com/help\"),\n\t\t\tSupportEmail: pulumi.String(\"support@example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.PrivacyPolicy;\nimport com.pulumi.zitadel.PrivacyPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new PrivacyPolicy(\"default\", PrivacyPolicyArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .tosLink(\"https://example.com/tos\")\n .privacyLink(\"https://example.com/privacy\")\n .helpLink(\"https://example.com/help\")\n .supportEmail(\"support@example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:PrivacyPolicy\n properties:\n orgId: ${data.zitadel_org.default.id}\n tosLink: https://example.com/tos\n privacyLink: https://example.com/privacy\n helpLink: https://example.com/help\n supportEmail: support@example.com\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003c[org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/privacyPolicy:PrivacyPolicy imported '123456789012345678'\n```\n\n ", "properties": { "helpLink": { "type": "string" @@ -6225,12 +6359,6 @@ "type": "string" } }, - "required": [ - "helpLink", - "privacyLink", - "supportEmail", - "tosLink" - ], "inputProperties": { "helpLink": { "type": "string" @@ -6250,12 +6378,6 @@ "type": "string" } }, - "requiredInputs": [ - "helpLink", - "privacyLink", - "supportEmail", - "tosLink" - ], "stateInputs": { "description": "Input properties used for looking up and filtering PrivacyPolicy resources.\n", "properties": { @@ -6281,7 +6403,7 @@ } }, "zitadel:index/project:Project": { - "description": "Resource representing the project, which can then be granted to different organizations or users directly, containing different applications.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.Project(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n projectRoleAssertion: true,\n projectRoleCheck: true,\n hasProjectCheck: true,\n privateLabelingSetting: \"PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.Project(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_role_assertion=True,\n project_role_check=True,\n has_project_check=True,\n private_labeling_setting=\"PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.Project(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectRoleAssertion = true,\n ProjectRoleCheck = true,\n HasProjectCheck = true,\n PrivateLabelingSetting = \"PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewProject(ctx, \"default\", \u0026zitadel.ProjectArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tProjectRoleAssertion: pulumi.Bool(true),\n\t\t\tProjectRoleCheck: pulumi.Bool(true),\n\t\t\tHasProjectCheck: pulumi.Bool(true),\n\t\t\tPrivateLabelingSetting: pulumi.String(\"PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.Project;\nimport com.pulumi.zitadel.ProjectArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new Project(\"default\", ProjectArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .projectRoleAssertion(true)\n .projectRoleCheck(true)\n .hasProjectCheck(true)\n .privateLabelingSetting(\"PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:Project\n properties:\n orgId: ${data.zitadel_org.default.id}\n projectRoleAssertion: true\n projectRoleCheck: true\n hasProjectCheck: true\n privateLabelingSetting: PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/project:Project imported '123456789012345678:123456789012345678'\n```\n\n ", + "description": "Resource representing the project, which can then be granted to different organizations or users directly, containing different applications.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.Project(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n projectRoleAssertion: true,\n projectRoleCheck: true,\n hasProjectCheck: true,\n privateLabelingSetting: \"PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.Project(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_role_assertion=True,\n project_role_check=True,\n has_project_check=True,\n private_labeling_setting=\"PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.Project(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectRoleAssertion = true,\n ProjectRoleCheck = true,\n HasProjectCheck = true,\n PrivateLabelingSetting = \"PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewProject(ctx, \"default\", \u0026zitadel.ProjectArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tProjectRoleAssertion: pulumi.Bool(true),\n\t\t\tProjectRoleCheck: pulumi.Bool(true),\n\t\t\tHasProjectCheck: pulumi.Bool(true),\n\t\t\tPrivateLabelingSetting: pulumi.String(\"PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.Project;\nimport com.pulumi.zitadel.ProjectArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new Project(\"default\", ProjectArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .projectRoleAssertion(true)\n .projectRoleCheck(true)\n .hasProjectCheck(true)\n .privateLabelingSetting(\"PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:Project\n properties:\n orgId: ${data.zitadel_org.default.id}\n projectRoleAssertion: true\n projectRoleCheck: true\n hasProjectCheck: true\n privateLabelingSetting: PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/project:Project imported '123456789012345678:123456789012345678'\n```\n\n ", "properties": { "hasProjectCheck": { "type": "boolean", @@ -6380,7 +6502,7 @@ } }, "zitadel:index/projectGrant:ProjectGrant": { - "description": "Resource representing the grant of a project to a different organization, also containing the available roles which can be given to the members of the projectgrant.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.ProjectGrant(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n projectId: data.zitadel_project[\"default\"].id,\n grantedOrgId: data.zitadel_org.granted_org.id,\n roleKeys: [\"super-user\"],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.ProjectGrant(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n granted_org_id=data[\"zitadel_org\"][\"granted_org\"][\"id\"],\n role_keys=[\"super-user\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.ProjectGrant(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = data.Zitadel_project.Default.Id,\n GrantedOrgId = data.Zitadel_org.Granted_org.Id,\n RoleKeys = new[]\n {\n \"super-user\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewProjectGrant(ctx, \"default\", \u0026zitadel.ProjectGrantArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tProjectId: pulumi.Any(data.Zitadel_project.Default.Id),\n\t\t\tGrantedOrgId: pulumi.Any(data.Zitadel_org.Granted_org.Id),\n\t\t\tRoleKeys: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"super-user\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ProjectGrant;\nimport com.pulumi.zitadel.ProjectGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new ProjectGrant(\"default\", ProjectGrantArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .projectId(data.zitadel_project().default().id())\n .grantedOrgId(data.zitadel_org().granted_org().id())\n .roleKeys(\"super-user\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:ProjectGrant\n properties:\n orgId: ${data.zitadel_org.default.id}\n projectId: ${data.zitadel_project.default.id}\n grantedOrgId: ${data.zitadel_org.granted_org.id}\n roleKeys:\n - super-user\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid:project_id[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/projectGrant:ProjectGrant imported '123456789012345678:123456789012345678:123456789012345678'\n```\n\n ", + "description": "Resource representing the grant of a project to a different organization, also containing the available roles which can be given to the members of the projectgrant.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.ProjectGrant(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n projectId: data.zitadel_project[\"default\"].id,\n grantedOrgId: data.zitadel_org.granted_org.id,\n roleKeys: [\"super-user\"],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.ProjectGrant(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n granted_org_id=data[\"zitadel_org\"][\"granted_org\"][\"id\"],\n role_keys=[\"super-user\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.ProjectGrant(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = data.Zitadel_project.Default.Id,\n GrantedOrgId = data.Zitadel_org.Granted_org.Id,\n RoleKeys = new[]\n {\n \"super-user\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewProjectGrant(ctx, \"default\", \u0026zitadel.ProjectGrantArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tProjectId: pulumi.Any(data.Zitadel_project.Default.Id),\n\t\t\tGrantedOrgId: pulumi.Any(data.Zitadel_org.Granted_org.Id),\n\t\t\tRoleKeys: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"super-user\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ProjectGrant;\nimport com.pulumi.zitadel.ProjectGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new ProjectGrant(\"default\", ProjectGrantArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .projectId(data.zitadel_project().default().id())\n .grantedOrgId(data.zitadel_org().granted_org().id())\n .roleKeys(\"super-user\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:ProjectGrant\n properties:\n orgId: ${data.zitadel_org.default.id}\n projectId: ${data.zitadel_project.default.id}\n grantedOrgId: ${data.zitadel_org.granted_org.id}\n roleKeys:\n - super-user\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid:project_id[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/projectGrant:ProjectGrant imported '123456789012345678:123456789012345678:123456789012345678'\n```\n\n ", "properties": { "grantedOrgId": { "type": "string", @@ -6464,7 +6586,7 @@ } }, "zitadel:index/projectGrantMember:ProjectGrantMember": { - "description": "Resource representing the membership of a user on an granted project, defined with the given role.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.ProjectGrantMember(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n projectId: data.zitadel_project[\"default\"].id,\n userId: data.zitadel_human_user[\"default\"].id,\n grantId: \"123456789012345678\",\n roles: [\"PROJECT_GRANT_OWNER\"],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.ProjectGrantMember(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n user_id=data[\"zitadel_human_user\"][\"default\"][\"id\"],\n grant_id=\"123456789012345678\",\n roles=[\"PROJECT_GRANT_OWNER\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.ProjectGrantMember(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = data.Zitadel_project.Default.Id,\n UserId = data.Zitadel_human_user.Default.Id,\n GrantId = \"123456789012345678\",\n Roles = new[]\n {\n \"PROJECT_GRANT_OWNER\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewProjectGrantMember(ctx, \"default\", \u0026zitadel.ProjectGrantMemberArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tProjectId: pulumi.Any(data.Zitadel_project.Default.Id),\n\t\t\tUserId: pulumi.Any(data.Zitadel_human_user.Default.Id),\n\t\t\tGrantId: pulumi.String(\"123456789012345678\"),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"PROJECT_GRANT_OWNER\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ProjectGrantMember;\nimport com.pulumi.zitadel.ProjectGrantMemberArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new ProjectGrantMember(\"default\", ProjectGrantMemberArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .projectId(data.zitadel_project().default().id())\n .userId(data.zitadel_human_user().default().id())\n .grantId(\"123456789012345678\")\n .roles(\"PROJECT_GRANT_OWNER\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:ProjectGrantMember\n properties:\n orgId: ${data.zitadel_org.default.id}\n projectId: ${data.zitadel_project.default.id}\n userId: ${data.zitadel_human_user.default.id}\n grantId: 123456789012345678\n roles:\n - PROJECT_GRANT_OWNER\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cproject_id:grant_id:user_id[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/projectGrantMember:ProjectGrantMember imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678'\n```\n\n ", + "description": "Resource representing the membership of a user on an granted project, defined with the given role.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.ProjectGrantMember(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n projectId: data.zitadel_project[\"default\"].id,\n userId: data.zitadel_human_user[\"default\"].id,\n grantId: \"123456789012345678\",\n roles: [\"PROJECT_GRANT_OWNER\"],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.ProjectGrantMember(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n user_id=data[\"zitadel_human_user\"][\"default\"][\"id\"],\n grant_id=\"123456789012345678\",\n roles=[\"PROJECT_GRANT_OWNER\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.ProjectGrantMember(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = data.Zitadel_project.Default.Id,\n UserId = data.Zitadel_human_user.Default.Id,\n GrantId = \"123456789012345678\",\n Roles = new[]\n {\n \"PROJECT_GRANT_OWNER\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewProjectGrantMember(ctx, \"default\", \u0026zitadel.ProjectGrantMemberArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tProjectId: pulumi.Any(data.Zitadel_project.Default.Id),\n\t\t\tUserId: pulumi.Any(data.Zitadel_human_user.Default.Id),\n\t\t\tGrantId: pulumi.String(\"123456789012345678\"),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"PROJECT_GRANT_OWNER\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ProjectGrantMember;\nimport com.pulumi.zitadel.ProjectGrantMemberArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new ProjectGrantMember(\"default\", ProjectGrantMemberArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .projectId(data.zitadel_project().default().id())\n .userId(data.zitadel_human_user().default().id())\n .grantId(\"123456789012345678\")\n .roles(\"PROJECT_GRANT_OWNER\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:ProjectGrantMember\n properties:\n orgId: ${data.zitadel_org.default.id}\n projectId: ${data.zitadel_project.default.id}\n userId: ${data.zitadel_human_user.default.id}\n grantId: '123456789012345678'\n roles:\n - PROJECT_GRANT_OWNER\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cproject_id:grant_id:user_id[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/projectGrantMember:ProjectGrantMember imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678'\n```\n\n ", "properties": { "grantId": { "type": "string", @@ -6566,7 +6688,7 @@ } }, "zitadel:index/projectMember:ProjectMember": { - "description": "Resource representing the membership of a user on an project, defined with the given role.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.ProjectMember(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n projectId: data.zitadel_project[\"default\"].id,\n userId: data.zitadel_human_user[\"default\"].id,\n roles: [\"PROJECT_OWNER\"],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.ProjectMember(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n user_id=data[\"zitadel_human_user\"][\"default\"][\"id\"],\n roles=[\"PROJECT_OWNER\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.ProjectMember(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = data.Zitadel_project.Default.Id,\n UserId = data.Zitadel_human_user.Default.Id,\n Roles = new[]\n {\n \"PROJECT_OWNER\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewProjectMember(ctx, \"default\", \u0026zitadel.ProjectMemberArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tProjectId: pulumi.Any(data.Zitadel_project.Default.Id),\n\t\t\tUserId: pulumi.Any(data.Zitadel_human_user.Default.Id),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"PROJECT_OWNER\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ProjectMember;\nimport com.pulumi.zitadel.ProjectMemberArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new ProjectMember(\"default\", ProjectMemberArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .projectId(data.zitadel_project().default().id())\n .userId(data.zitadel_human_user().default().id())\n .roles(\"PROJECT_OWNER\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:ProjectMember\n properties:\n orgId: ${data.zitadel_org.default.id}\n projectId: ${data.zitadel_project.default.id}\n userId: ${data.zitadel_human_user.default.id}\n roles:\n - PROJECT_OWNER\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cproject_id:user_id[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/projectMember:ProjectMember imported '123456789012345678:123456789012345678:123456789012345678'\n```\n\n ", + "description": "Resource representing the membership of a user on an project, defined with the given role.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.ProjectMember(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n projectId: data.zitadel_project[\"default\"].id,\n userId: data.zitadel_human_user[\"default\"].id,\n roles: [\"PROJECT_OWNER\"],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.ProjectMember(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n user_id=data[\"zitadel_human_user\"][\"default\"][\"id\"],\n roles=[\"PROJECT_OWNER\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.ProjectMember(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = data.Zitadel_project.Default.Id,\n UserId = data.Zitadel_human_user.Default.Id,\n Roles = new[]\n {\n \"PROJECT_OWNER\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewProjectMember(ctx, \"default\", \u0026zitadel.ProjectMemberArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tProjectId: pulumi.Any(data.Zitadel_project.Default.Id),\n\t\t\tUserId: pulumi.Any(data.Zitadel_human_user.Default.Id),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"PROJECT_OWNER\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ProjectMember;\nimport com.pulumi.zitadel.ProjectMemberArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new ProjectMember(\"default\", ProjectMemberArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .projectId(data.zitadel_project().default().id())\n .userId(data.zitadel_human_user().default().id())\n .roles(\"PROJECT_OWNER\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:ProjectMember\n properties:\n orgId: ${data.zitadel_org.default.id}\n projectId: ${data.zitadel_project.default.id}\n userId: ${data.zitadel_human_user.default.id}\n roles:\n - PROJECT_OWNER\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cproject_id:user_id[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/projectMember:ProjectMember imported '123456789012345678:123456789012345678:123456789012345678'\n```\n\n ", "properties": { "orgId": { "type": "string", @@ -6652,7 +6774,7 @@ } }, "zitadel:index/projectRole:ProjectRole": { - "description": "Resource representing the project roles, which can be given as authorizations to users.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.ProjectRole(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n projectId: data.zitadel_project[\"default\"].id,\n roleKey: \"super-user\",\n displayName: \"display_name2\",\n group: \"role_group\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.ProjectRole(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n role_key=\"super-user\",\n display_name=\"display_name2\",\n group=\"role_group\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.ProjectRole(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = data.Zitadel_project.Default.Id,\n RoleKey = \"super-user\",\n DisplayName = \"display_name2\",\n Group = \"role_group\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewProjectRole(ctx, \"default\", \u0026zitadel.ProjectRoleArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tProjectId: pulumi.Any(data.Zitadel_project.Default.Id),\n\t\t\tRoleKey: pulumi.String(\"super-user\"),\n\t\t\tDisplayName: pulumi.String(\"display_name2\"),\n\t\t\tGroup: pulumi.String(\"role_group\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ProjectRole;\nimport com.pulumi.zitadel.ProjectRoleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new ProjectRole(\"default\", ProjectRoleArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .projectId(data.zitadel_project().default().id())\n .roleKey(\"super-user\")\n .displayName(\"display_name2\")\n .group(\"role_group\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:ProjectRole\n properties:\n orgId: ${data.zitadel_org.default.id}\n projectId: ${data.zitadel_project.default.id}\n roleKey: super-user\n displayName: display_name2\n group: role_group\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cproject_id:role_key[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/projectRole:ProjectRole imported '123456789012345678:my-role-key:123456789012345678'\n```\n\n ", + "description": "Resource representing the project roles, which can be given as authorizations to users.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.ProjectRole(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n projectId: data.zitadel_project[\"default\"].id,\n roleKey: \"super-user\",\n displayName: \"display_name2\",\n group: \"role_group\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.ProjectRole(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n role_key=\"super-user\",\n display_name=\"display_name2\",\n group=\"role_group\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.ProjectRole(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = data.Zitadel_project.Default.Id,\n RoleKey = \"super-user\",\n DisplayName = \"display_name2\",\n Group = \"role_group\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewProjectRole(ctx, \"default\", \u0026zitadel.ProjectRoleArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tProjectId: pulumi.Any(data.Zitadel_project.Default.Id),\n\t\t\tRoleKey: pulumi.String(\"super-user\"),\n\t\t\tDisplayName: pulumi.String(\"display_name2\"),\n\t\t\tGroup: pulumi.String(\"role_group\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ProjectRole;\nimport com.pulumi.zitadel.ProjectRoleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new ProjectRole(\"default\", ProjectRoleArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .projectId(data.zitadel_project().default().id())\n .roleKey(\"super-user\")\n .displayName(\"display_name2\")\n .group(\"role_group\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:ProjectRole\n properties:\n orgId: ${data.zitadel_org.default.id}\n projectId: ${data.zitadel_project.default.id}\n roleKey: super-user\n displayName: display_name2\n group: role_group\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cproject_id:role_key[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/projectRole:ProjectRole imported '123456789012345678:my-role-key:123456789012345678'\n```\n\n ", "properties": { "displayName": { "type": "string", @@ -6741,7 +6863,7 @@ } }, "zitadel:index/smsProviderTwilio:SmsProviderTwilio": { - "description": "Resource representing the SMS provider Twilio configuration of an instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultSmsProviderTwilio = new zitadel.SmsProviderTwilio(\"default\", {\n senderNumber: \"019920892\",\n sid: \"sid\",\n token: \"twilio_token\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.SmsProviderTwilio(\"default\",\n sender_number=\"019920892\",\n sid=\"sid\",\n token=\"twilio_token\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.SmsProviderTwilio(\"default\", new()\n {\n SenderNumber = \"019920892\",\n Sid = \"sid\",\n Token = \"twilio_token\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewSmsProviderTwilio(ctx, \"default\", \u0026zitadel.SmsProviderTwilioArgs{\n\t\t\tSenderNumber: pulumi.String(\"019920892\"),\n\t\t\tSid: pulumi.String(\"sid\"),\n\t\t\tToken: pulumi.String(\"twilio_token\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.SmsProviderTwilio;\nimport com.pulumi.zitadel.SmsProviderTwilioArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new SmsProviderTwilio(\"default\", SmsProviderTwilioArgs.builder() \n .senderNumber(\"019920892\")\n .sid(\"sid\")\n .token(\"twilio_token\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:SmsProviderTwilio\n properties:\n senderNumber: 019920892\n sid: sid\n token: twilio_token\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cid[:token]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/smsProviderTwilio:SmsProviderTwilio imported '123456789012345678:12345678901234567890123456abcdef'\n```\n\n ", + "description": "Resource representing the SMS provider Twilio configuration of an instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.SmsProviderTwilio(\"default\", {\n senderNumber: \"019920892\",\n sid: \"sid\",\n token: \"twilio_token\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.SmsProviderTwilio(\"default\",\n sender_number=\"019920892\",\n sid=\"sid\",\n token=\"twilio_token\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.SmsProviderTwilio(\"default\", new()\n {\n SenderNumber = \"019920892\",\n Sid = \"sid\",\n Token = \"twilio_token\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewSmsProviderTwilio(ctx, \"default\", \u0026zitadel.SmsProviderTwilioArgs{\n\t\t\tSenderNumber: pulumi.String(\"019920892\"),\n\t\t\tSid: pulumi.String(\"sid\"),\n\t\t\tToken: pulumi.String(\"twilio_token\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.SmsProviderTwilio;\nimport com.pulumi.zitadel.SmsProviderTwilioArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new SmsProviderTwilio(\"default\", SmsProviderTwilioArgs.builder() \n .senderNumber(\"019920892\")\n .sid(\"sid\")\n .token(\"twilio_token\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:SmsProviderTwilio\n properties:\n senderNumber: '019920892'\n sid: sid\n token: twilio_token\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cid[:token]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/smsProviderTwilio:SmsProviderTwilio imported '123456789012345678:12345678901234567890123456abcdef'\n```\n\n ", "properties": { "senderNumber": { "type": "string", @@ -6753,7 +6875,8 @@ }, "token": { "type": "string", - "description": "Token used to communicate with Twilio.\n" + "description": "Token used to communicate with Twilio.\n", + "secret": true } }, "required": [ @@ -6772,7 +6895,8 @@ }, "token": { "type": "string", - "description": "Token used to communicate with Twilio.\n" + "description": "Token used to communicate with Twilio.\n", + "secret": true } }, "requiredInputs": [ @@ -6793,14 +6917,15 @@ }, "token": { "type": "string", - "description": "Token used to communicate with Twilio.\n" + "description": "Token used to communicate with Twilio.\n", + "secret": true } }, "type": "object" } }, "zitadel:index/smtpConfig:SmtpConfig": { - "description": "Resource representing the SMTP configuration of an instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultSmtpConfig = new zitadel.SmtpConfig(\"default\", {\n host: \"localhost:25\",\n password: \"secret_password\",\n senderAddress: \"sender@example.com\",\n senderName: \"no-reply\",\n tls: true,\n user: \"user\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.SmtpConfig(\"default\",\n host=\"localhost:25\",\n password=\"secret_password\",\n sender_address=\"sender@example.com\",\n sender_name=\"no-reply\",\n tls=True,\n user=\"user\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.SmtpConfig(\"default\", new()\n {\n Host = \"localhost:25\",\n Password = \"secret_password\",\n SenderAddress = \"sender@example.com\",\n SenderName = \"no-reply\",\n Tls = true,\n User = \"user\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewSmtpConfig(ctx, \"default\", \u0026zitadel.SmtpConfigArgs{\n\t\t\tHost: pulumi.String(\"localhost:25\"),\n\t\t\tPassword: pulumi.String(\"secret_password\"),\n\t\t\tSenderAddress: pulumi.String(\"sender@example.com\"),\n\t\t\tSenderName: pulumi.String(\"no-reply\"),\n\t\t\tTls: pulumi.Bool(true),\n\t\t\tUser: pulumi.String(\"user\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.SmtpConfig;\nimport com.pulumi.zitadel.SmtpConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new SmtpConfig(\"default\", SmtpConfigArgs.builder() \n .host(\"localhost:25\")\n .password(\"secret_password\")\n .senderAddress(\"sender@example.com\")\n .senderName(\"no-reply\")\n .tls(true)\n .user(\"user\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:SmtpConfig\n properties:\n host: localhost:25\n password: secret_password\n senderAddress: sender@example.com\n senderName: no-reply\n tls: true\n user: user\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003c[password]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/smtpConfig:SmtpConfig imported 'p4ssw0rd'\n```\n\n ", + "description": "Resource representing the SMTP configuration of an instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.SmtpConfig(\"default\", {\n host: \"localhost:25\",\n password: \"secret_password\",\n replyToAddress: \"replyto@example.com\",\n senderAddress: \"sender@example.com\",\n senderName: \"no-reply\",\n tls: true,\n user: \"user\",\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.SmtpConfig(\"default\",\n host=\"localhost:25\",\n password=\"secret_password\",\n reply_to_address=\"replyto@example.com\",\n sender_address=\"sender@example.com\",\n sender_name=\"no-reply\",\n tls=True,\n user=\"user\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.SmtpConfig(\"default\", new()\n {\n Host = \"localhost:25\",\n Password = \"secret_password\",\n ReplyToAddress = \"replyto@example.com\",\n SenderAddress = \"sender@example.com\",\n SenderName = \"no-reply\",\n Tls = true,\n User = \"user\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewSmtpConfig(ctx, \"default\", \u0026zitadel.SmtpConfigArgs{\n\t\t\tHost: pulumi.String(\"localhost:25\"),\n\t\t\tPassword: pulumi.String(\"secret_password\"),\n\t\t\tReplyToAddress: pulumi.String(\"replyto@example.com\"),\n\t\t\tSenderAddress: pulumi.String(\"sender@example.com\"),\n\t\t\tSenderName: pulumi.String(\"no-reply\"),\n\t\t\tTls: pulumi.Bool(true),\n\t\t\tUser: pulumi.String(\"user\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.SmtpConfig;\nimport com.pulumi.zitadel.SmtpConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new SmtpConfig(\"default\", SmtpConfigArgs.builder() \n .host(\"localhost:25\")\n .password(\"secret_password\")\n .replyToAddress(\"replyto@example.com\")\n .senderAddress(\"sender@example.com\")\n .senderName(\"no-reply\")\n .tls(true)\n .user(\"user\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:SmtpConfig\n properties:\n host: localhost:25\n password: secret_password\n replyToAddress: replyto@example.com\n senderAddress: sender@example.com\n senderName: no-reply\n tls: true\n user: user\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003c[password]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/smtpConfig:SmtpConfig imported 'p4ssw0rd'\n```\n\n ", "properties": { "host": { "type": "string", @@ -6808,7 +6933,12 @@ }, "password": { "type": "string", - "description": "Password used to communicate with your SMTP server.\n" + "description": "Password used to communicate with your SMTP server.\n", + "secret": true + }, + "replyToAddress": { + "type": "string", + "description": "Address to reply to.\n" }, "senderAddress": { "type": "string", @@ -6839,7 +6969,12 @@ }, "password": { "type": "string", - "description": "Password used to communicate with your SMTP server.\n" + "description": "Password used to communicate with your SMTP server.\n", + "secret": true + }, + "replyToAddress": { + "type": "string", + "description": "Address to reply to.\n" }, "senderAddress": { "type": "string", @@ -6872,7 +7007,12 @@ }, "password": { "type": "string", - "description": "Password used to communicate with your SMTP server.\n" + "description": "Password used to communicate with your SMTP server.\n", + "secret": true + }, + "replyToAddress": { + "type": "string", + "description": "Address to reply to.\n" }, "senderAddress": { "type": "string", @@ -6895,7 +7035,7 @@ } }, "zitadel:index/triggerActions:TriggerActions": { - "description": "Resource representing triggers, when actions get started\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.TriggerActions(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n flowType: \"FLOW_TYPE_CUSTOMISE_TOKEN\",\n triggerType: \"TRIGGER_TYPE_PRE_ACCESS_TOKEN_CREATION\",\n actionIds: [data.zitadel_action[\"default\"].id],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.TriggerActions(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n flow_type=\"FLOW_TYPE_CUSTOMISE_TOKEN\",\n trigger_type=\"TRIGGER_TYPE_PRE_ACCESS_TOKEN_CREATION\",\n action_ids=[data[\"zitadel_action\"][\"default\"][\"id\"]])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.TriggerActions(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n FlowType = \"FLOW_TYPE_CUSTOMISE_TOKEN\",\n TriggerType = \"TRIGGER_TYPE_PRE_ACCESS_TOKEN_CREATION\",\n ActionIds = new[]\n {\n data.Zitadel_action.Default.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewTriggerActions(ctx, \"default\", \u0026zitadel.TriggerActionsArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tFlowType: pulumi.String(\"FLOW_TYPE_CUSTOMISE_TOKEN\"),\n\t\t\tTriggerType: pulumi.String(\"TRIGGER_TYPE_PRE_ACCESS_TOKEN_CREATION\"),\n\t\t\tActionIds: pulumi.StringArray{\n\t\t\t\tpulumi.Any(data.Zitadel_action.Default.Id),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.TriggerActions;\nimport com.pulumi.zitadel.TriggerActionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new TriggerActions(\"default\", TriggerActionsArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .flowType(\"FLOW_TYPE_CUSTOMISE_TOKEN\")\n .triggerType(\"TRIGGER_TYPE_PRE_ACCESS_TOKEN_CREATION\")\n .actionIds(data.zitadel_action().default().id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:TriggerActions\n properties:\n orgId: ${data.zitadel_org.default.id}\n flowType: FLOW_TYPE_CUSTOMISE_TOKEN\n triggerType: TRIGGER_TYPE_PRE_ACCESS_TOKEN_CREATION\n actionIds:\n - ${data.zitadel_action.default.id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cflow_type:trigger_type[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/triggerActions:TriggerActions imported 'FLOW_TYPE_EXTERNAL_AUTHENTICATION:TRIGGER_TYPE_POST_CREATION:123456789012345678'\n```\n\n ", + "description": "Resource representing triggers, when actions get started\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.TriggerActions(\"default\", {\n orgId: data.zitadel_org[\"default\"].id,\n flowType: \"FLOW_TYPE_CUSTOMISE_TOKEN\",\n triggerType: \"TRIGGER_TYPE_PRE_ACCESS_TOKEN_CREATION\",\n actionIds: [data.zitadel_action[\"default\"].id],\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.TriggerActions(\"default\",\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n flow_type=\"FLOW_TYPE_CUSTOMISE_TOKEN\",\n trigger_type=\"TRIGGER_TYPE_PRE_ACCESS_TOKEN_CREATION\",\n action_ids=[data[\"zitadel_action\"][\"default\"][\"id\"]])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.TriggerActions(\"default\", new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n FlowType = \"FLOW_TYPE_CUSTOMISE_TOKEN\",\n TriggerType = \"TRIGGER_TYPE_PRE_ACCESS_TOKEN_CREATION\",\n ActionIds = new[]\n {\n data.Zitadel_action.Default.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewTriggerActions(ctx, \"default\", \u0026zitadel.TriggerActionsArgs{\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tFlowType: pulumi.String(\"FLOW_TYPE_CUSTOMISE_TOKEN\"),\n\t\t\tTriggerType: pulumi.String(\"TRIGGER_TYPE_PRE_ACCESS_TOKEN_CREATION\"),\n\t\t\tActionIds: pulumi.StringArray{\n\t\t\t\tdata.Zitadel_action.Default.Id,\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.TriggerActions;\nimport com.pulumi.zitadel.TriggerActionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new TriggerActions(\"default\", TriggerActionsArgs.builder() \n .orgId(data.zitadel_org().default().id())\n .flowType(\"FLOW_TYPE_CUSTOMISE_TOKEN\")\n .triggerType(\"TRIGGER_TYPE_PRE_ACCESS_TOKEN_CREATION\")\n .actionIds(data.zitadel_action().default().id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:TriggerActions\n properties:\n orgId: ${data.zitadel_org.default.id}\n flowType: FLOW_TYPE_CUSTOMISE_TOKEN\n triggerType: TRIGGER_TYPE_PRE_ACCESS_TOKEN_CREATION\n actionIds:\n - ${data.zitadel_action.default.id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cflow_type:trigger_type[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/triggerActions:TriggerActions imported 'FLOW_TYPE_EXTERNAL_AUTHENTICATION:TRIGGER_TYPE_POST_CREATION:123456789012345678'\n```\n\n ", "properties": { "actionIds": { "type": "array", @@ -6981,7 +7121,7 @@ } }, "zitadel:index/userGrant:UserGrant": { - "description": "Resource representing the authorization given to a user directly, including the given roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.UserGrant(\"default\", {\n projectId: data.zitadel_project[\"default\"].id,\n orgId: data.zitadel_org[\"default\"].id,\n roleKeys: [\"super-user\"],\n userId: data.zitadel_human_user[\"default\"].id,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.UserGrant(\"default\",\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n role_keys=[\"super-user\"],\n user_id=data[\"zitadel_human_user\"][\"default\"][\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.UserGrant(\"default\", new()\n {\n ProjectId = data.Zitadel_project.Default.Id,\n OrgId = data.Zitadel_org.Default.Id,\n RoleKeys = new[]\n {\n \"super-user\",\n },\n UserId = data.Zitadel_human_user.Default.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewUserGrant(ctx, \"default\", \u0026zitadel.UserGrantArgs{\n\t\t\tProjectId: pulumi.Any(data.Zitadel_project.Default.Id),\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tRoleKeys: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"super-user\"),\n\t\t\t},\n\t\t\tUserId: pulumi.Any(data.Zitadel_human_user.Default.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.UserGrant;\nimport com.pulumi.zitadel.UserGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new UserGrant(\"default\", UserGrantArgs.builder() \n .projectId(data.zitadel_project().default().id())\n .orgId(data.zitadel_org().default().id())\n .roleKeys(\"super-user\")\n .userId(data.zitadel_human_user().default().id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:UserGrant\n properties:\n projectId: ${data.zitadel_project.default.id}\n orgId: ${data.zitadel_org.default.id}\n roleKeys:\n - super-user\n userId: ${data.zitadel_human_user.default.id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform # The resource can be imported using the ID format `\u003cflow_type:trigger_type[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/userGrant:UserGrant imported '123456789012345678:123456789012345678:123456789012345678'\n```\n\n ", + "description": "Resource representing the authorization given to a user directly, including the given roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumiverse/zitadel\";\n\nconst _default = new zitadel.UserGrant(\"default\", {\n projectId: data.zitadel_project[\"default\"].id,\n orgId: data.zitadel_org[\"default\"].id,\n roleKeys: [\"super-user\"],\n userId: data.zitadel_human_user[\"default\"].id,\n});\n```\n```python\nimport pulumi\nimport pulumiverse_zitadel as zitadel\n\ndefault = zitadel.UserGrant(\"default\",\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n role_keys=[\"super-user\"],\n user_id=data[\"zitadel_human_user\"][\"default\"][\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumiverse.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = new Zitadel.UserGrant(\"default\", new()\n {\n ProjectId = data.Zitadel_project.Default.Id,\n OrgId = data.Zitadel_org.Default.Id,\n RoleKeys = new[]\n {\n \"super-user\",\n },\n UserId = data.Zitadel_human_user.Default.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.NewUserGrant(ctx, \"default\", \u0026zitadel.UserGrantArgs{\n\t\t\tProjectId: pulumi.Any(data.Zitadel_project.Default.Id),\n\t\t\tOrgId: pulumi.Any(data.Zitadel_org.Default.Id),\n\t\t\tRoleKeys: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"super-user\"),\n\t\t\t},\n\t\t\tUserId: pulumi.Any(data.Zitadel_human_user.Default.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.UserGrant;\nimport com.pulumi.zitadel.UserGrantArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var default_ = new UserGrant(\"default\", UserGrantArgs.builder() \n .projectId(data.zitadel_project().default().id())\n .orgId(data.zitadel_org().default().id())\n .roleKeys(\"super-user\")\n .userId(data.zitadel_human_user().default().id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: zitadel:UserGrant\n properties:\n projectId: ${data.zitadel_project.default.id}\n orgId: ${data.zitadel_org.default.id}\n roleKeys:\n - super-user\n userId: ${data.zitadel_human_user.default.id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nterraform The resource can be imported using the ID format `\u003cflow_type:trigger_type[:org_id]\u003e`, e.g.\n\n```sh\n $ pulumi import zitadel:index/userGrant:UserGrant imported '123456789012345678:123456789012345678:123456789012345678'\n```\n\n ", "properties": { "orgId": { "type": "string", @@ -7079,7 +7219,7 @@ }, "functions": { "zitadel:index/getAction:getAction": { - "description": "Datasource representing an action belonging to an organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getAction({\n orgId: data.zitadel_org[\"default\"].id,\n actionId: \"123456789012345678\",\n});\nexport const action = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_action(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n action_id=\"123456789012345678\")\npulumi.export(\"action\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetAction.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ActionId = \"123456789012345678\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"action\"] = @default.Apply(getActionResult =\u003e getActionResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupAction(ctx, \u0026GetActionArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tActionId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"action\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetActionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getAction(GetActionArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .actionId(\"123456789012345678\")\n .build());\n\n ctx.export(\"action\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getAction\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n actionId: 123456789012345678\noutputs:\n action: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing an action belonging to an organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getAction({\n orgId: data.zitadel_org[\"default\"].id,\n actionId: \"123456789012345678\",\n});\nexport const action = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_action(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n action_id=\"123456789012345678\")\npulumi.export(\"action\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetAction.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ActionId = \"123456789012345678\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"action\"] = @default,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupAction(ctx, \u0026zitadel.LookupActionArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tActionId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"action\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetActionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getAction(GetActionArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .actionId(\"123456789012345678\")\n .build());\n\n ctx.export(\"action\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getAction\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n actionId: '123456789012345678'\noutputs:\n action: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getAction.\n", "properties": { @@ -7145,7 +7285,7 @@ } }, "zitadel:index/getApplicationApi:getApplicationApi": { - "description": "Datasource representing an API application belonging to a project, with all configuration possibilities.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getApplicationApi({\n orgId: data.zitadel_org[\"default\"].id,\n projectId: data.zitadel_project[\"default\"].id,\n appId: \"123456789012345678\",\n});\nexport const applicationApi = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_application_api(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n app_id=\"123456789012345678\")\npulumi.export(\"applicationApi\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetApplicationApi.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = data.Zitadel_project.Default.Id,\n AppId = \"123456789012345678\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"applicationApi\"] = @default.Apply(getApplicationApiResult =\u003e getApplicationApiResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupApplicationApi(ctx, \u0026GetApplicationApiArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tProjectId: data.Zitadel_project.Default.Id,\n\t\t\tAppId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"applicationApi\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetApplicationApiArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getApplicationApi(GetApplicationApiArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .projectId(data.zitadel_project().default().id())\n .appId(\"123456789012345678\")\n .build());\n\n ctx.export(\"applicationApi\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getApplicationApi\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n projectId: ${data.zitadel_project.default.id}\n appId: 123456789012345678\noutputs:\n applicationApi: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing an API application belonging to a project, with all configuration possibilities.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getApplicationApi({\n orgId: data.zitadel_org[\"default\"].id,\n projectId: data.zitadel_project[\"default\"].id,\n appId: \"123456789012345678\",\n});\nexport const applicationApi = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_application_api(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n app_id=\"123456789012345678\")\npulumi.export(\"applicationApi\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetApplicationApi.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = data.Zitadel_project.Default.Id,\n AppId = \"123456789012345678\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"applicationApi\"] = @default,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupApplicationApi(ctx, \u0026zitadel.LookupApplicationApiArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tProjectId: data.Zitadel_project.Default.Id,\n\t\t\tAppId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"applicationApi\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetApplicationApiArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getApplicationApi(GetApplicationApiArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .projectId(data.zitadel_project().default().id())\n .appId(\"123456789012345678\")\n .build());\n\n ctx.export(\"applicationApi\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getApplicationApi\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n projectId: ${data.zitadel_project.default.id}\n appId: '123456789012345678'\noutputs:\n applicationApi: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getApplicationApi.\n", "properties": { @@ -7207,7 +7347,7 @@ } }, "zitadel:index/getApplicationOidc:getApplicationOidc": { - "description": "Datasource representing an OIDC application belonging to a project, with all configuration possibilities.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getApplicationOidc({\n orgId: data.zitadel_org[\"default\"].id,\n projectId: data.zitadel_project[\"default\"].id,\n appId: \"123456789012345678\",\n});\nexport const applicationOidc = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_application_oidc(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n app_id=\"123456789012345678\")\npulumi.export(\"applicationOidc\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetApplicationOidc.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = data.Zitadel_project.Default.Id,\n AppId = \"123456789012345678\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"applicationOidc\"] = @default.Apply(getApplicationOidcResult =\u003e getApplicationOidcResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupApplicationOidc(ctx, \u0026GetApplicationOidcArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tProjectId: data.Zitadel_project.Default.Id,\n\t\t\tAppId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"applicationOidc\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetApplicationOidcArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getApplicationOidc(GetApplicationOidcArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .projectId(data.zitadel_project().default().id())\n .appId(\"123456789012345678\")\n .build());\n\n ctx.export(\"applicationOidc\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getApplicationOidc\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n projectId: ${data.zitadel_project.default.id}\n appId: 123456789012345678\noutputs:\n applicationOidc: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing an OIDC application belonging to a project, with all configuration possibilities.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getApplicationOidc({\n orgId: data.zitadel_org[\"default\"].id,\n projectId: data.zitadel_project[\"default\"].id,\n appId: \"123456789012345678\",\n});\nexport const applicationOidc = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_application_oidc(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n app_id=\"123456789012345678\")\npulumi.export(\"applicationOidc\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetApplicationOidc.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = data.Zitadel_project.Default.Id,\n AppId = \"123456789012345678\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"applicationOidc\"] = @default,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupApplicationOidc(ctx, \u0026zitadel.LookupApplicationOidcArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tProjectId: data.Zitadel_project.Default.Id,\n\t\t\tAppId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"applicationOidc\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetApplicationOidcArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getApplicationOidc(GetApplicationOidcArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .projectId(data.zitadel_project().default().id())\n .appId(\"123456789012345678\")\n .build());\n\n ctx.export(\"applicationOidc\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getApplicationOidc\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n projectId: ${data.zitadel_project.default.id}\n appId: '123456789012345678'\noutputs:\n applicationOidc: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getApplicationOidc.\n", "properties": { @@ -7348,8 +7488,44 @@ ] } }, + "zitadel:index/getDefaultOidcSettings:getDefaultOidcSettings": { + "description": "Datasource representing the default oidc settings.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getDefaultOidcSettings({});\nexport const oidcSettings = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_default_oidc_settings()\npulumi.export(\"oidcSettings\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetDefaultOidcSettings.Invoke();\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"oidcSettings\"] = @default,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupDefaultOidcSettings(ctx, nil, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"oidcSettings\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getDefaultOidcSettings();\n\n ctx.export(\"oidcSettings\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getDefaultOidcSettings\n Arguments: {}\noutputs:\n oidcSettings: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", + "outputs": { + "description": "A collection of values returned by getDefaultOidcSettings.\n", + "properties": { + "accessTokenLifetime": { + "type": "string", + "description": "lifetime duration of access tokens\n" + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "idTokenLifetime": { + "type": "string", + "description": "lifetime duration of id tokens\n" + }, + "refreshTokenExpiration": { + "type": "string", + "description": "expiration duration of refresh tokens\n" + }, + "refreshTokenIdleExpiration": { + "type": "string", + "description": "expiration duration of idle refresh tokens\n" + } + }, + "type": "object", + "required": [ + "accessTokenLifetime", + "idTokenLifetime", + "refreshTokenExpiration", + "refreshTokenIdleExpiration", + "id" + ] + } + }, "zitadel:index/getHumanUser:getHumanUser": { - "description": "Datasource representing a human user situated under an organization, which then can be authorized through memberships or direct grants on other resources.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getHumanUser({\n orgId: data.zitadel_org[\"default\"].id,\n userId: \"123456789012345678\",\n});\nexport const humanUser = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_human_user(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n user_id=\"123456789012345678\")\npulumi.export(\"humanUser\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetHumanUser.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n UserId = \"123456789012345678\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"humanUser\"] = @default.Apply(getHumanUserResult =\u003e getHumanUserResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupHumanUser(ctx, \u0026GetHumanUserArgs{\n\t\t\tOrgId: data.Zitadel_org.Default.Id,\n\t\t\tUserId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"humanUser\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetHumanUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getHumanUser(GetHumanUserArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .userId(\"123456789012345678\")\n .build());\n\n ctx.export(\"humanUser\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getHumanUser\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n userId: 123456789012345678\noutputs:\n humanUser: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing a human user situated under an organization, which then can be authorized through memberships or direct grants on other resources.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getHumanUser({\n orgId: data.zitadel_org[\"default\"].id,\n userId: \"123456789012345678\",\n});\nexport const humanUser = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_human_user(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n user_id=\"123456789012345678\")\npulumi.export(\"humanUser\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetHumanUser.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n UserId = \"123456789012345678\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"humanUser\"] = @default,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupHumanUser(ctx, \u0026zitadel.LookupHumanUserArgs{\n\t\t\tOrgId: data.Zitadel_org.Default.Id,\n\t\t\tUserId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"humanUser\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetHumanUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getHumanUser(GetHumanUserArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .userId(\"123456789012345678\")\n .build());\n\n ctx.export(\"humanUser\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getHumanUser\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n userId: '123456789012345678'\noutputs:\n humanUser: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getHumanUser.\n", "properties": { @@ -7466,7 +7642,7 @@ } }, "zitadel:index/getIdpAzureAd:getIdpAzureAd": { - "description": "Datasource representing an Azure AD IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultIdpAzureAd = pulumi.output(zitadel.getIdpAzureAd({\n id: \"123456789012345678\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_idp_azure_ad(id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetIdpAzureAd.Invoke(new()\n {\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupIdpAzureAd(ctx, \u0026GetIdpAzureAdArgs{\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetIdpAzureAdArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getIdpAzureAd(GetIdpAzureAdArgs.builder()\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getIdpAzureAd\n Arguments:\n id: 123456789012345678\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing an Azure AD IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getIdpAzureAd({\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_idp_azure_ad(id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetIdpAzureAd.Invoke(new()\n {\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupIdpAzureAd(ctx, \u0026zitadel.LookupIdpAzureAdArgs{\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetIdpAzureAdArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getIdpAzureAd(GetIdpAzureAdArgs.builder()\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getIdpAzureAd\n Arguments:\n id: '123456789012345678'\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getIdpAzureAd.\n", "properties": { @@ -7489,7 +7665,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "emailVerified": { "type": "boolean", @@ -7553,7 +7730,7 @@ } }, "zitadel:index/getIdpGithub:getIdpGithub": { - "description": "Datasource representing a GitHub IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultIdpGithub = pulumi.output(zitadel.getIdpGithub({\n id: \"123456789012345678\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_idp_github(id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetIdpGithub.Invoke(new()\n {\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupIdpGithub(ctx, \u0026GetIdpGithubArgs{\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetIdpGithubArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getIdpGithub(GetIdpGithubArgs.builder()\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getIdpGithub\n Arguments:\n id: 123456789012345678\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing a GitHub IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getIdpGithub({\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_idp_github(id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetIdpGithub.Invoke(new()\n {\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupIdpGithub(ctx, \u0026zitadel.LookupIdpGithubArgs{\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetIdpGithubArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getIdpGithub(GetIdpGithubArgs.builder()\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getIdpGithub\n Arguments:\n id: '123456789012345678'\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getIdpGithub.\n", "properties": { @@ -7576,7 +7753,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "id": { "type": "string", @@ -7625,7 +7803,7 @@ } }, "zitadel:index/getIdpGithubEs:getIdpGithubEs": { - "description": "Datasource representing a GitHub Enterprise IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultIdpGithubEs = pulumi.output(zitadel.getIdpGithubEs({\n id: \"123456789012345678\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_idp_github_es(id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetIdpGithubEs.Invoke(new()\n {\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupIdpGithubEs(ctx, \u0026GetIdpGithubEsArgs{\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetIdpGithubEsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getIdpGithubEs(GetIdpGithubEsArgs.builder()\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getIdpGithubEs\n Arguments:\n id: 123456789012345678\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing a GitHub Enterprise IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getIdpGithubEs({\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_idp_github_es(id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetIdpGithubEs.Invoke(new()\n {\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupIdpGithubEs(ctx, \u0026zitadel.LookupIdpGithubEsArgs{\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetIdpGithubEsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getIdpGithubEs(GetIdpGithubEsArgs.builder()\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getIdpGithubEs\n Arguments:\n id: '123456789012345678'\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getIdpGithubEs.\n", "properties": { @@ -7652,7 +7830,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "id": { "type": "string", @@ -7712,7 +7891,7 @@ } }, "zitadel:index/getIdpGitlab:getIdpGitlab": { - "description": "Datasource representing a GitLab IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultIdpGitlab = pulumi.output(zitadel.getIdpGitlab({\n id: \"123456789012345678\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_idp_gitlab(id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetIdpGitlab.Invoke(new()\n {\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupIdpGitlab(ctx, \u0026GetIdpGitlabArgs{\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetIdpGitlabArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getIdpGitlab(GetIdpGitlabArgs.builder()\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getIdpGitlab\n Arguments:\n id: 123456789012345678\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing a GitLab IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getIdpGitlab({\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_idp_gitlab(id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetIdpGitlab.Invoke(new()\n {\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupIdpGitlab(ctx, \u0026zitadel.LookupIdpGitlabArgs{\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetIdpGitlabArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getIdpGitlab(GetIdpGitlabArgs.builder()\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getIdpGitlab\n Arguments:\n id: '123456789012345678'\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getIdpGitlab.\n", "properties": { @@ -7735,7 +7914,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "id": { "type": "string", @@ -7784,7 +7964,7 @@ } }, "zitadel:index/getIdpGitlabSelfHosted:getIdpGitlabSelfHosted": { - "description": "Datasource representing a GitLab Self Hosted IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultIdpGitlabSelfHosted = pulumi.output(zitadel.getIdpGitlabSelfHosted({\n id: \"123456789012345678\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_idp_gitlab_self_hosted(id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetIdpGitlabSelfHosted.Invoke(new()\n {\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupIdpGitlabSelfHosted(ctx, \u0026GetIdpGitlabSelfHostedArgs{\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetIdpGitlabSelfHostedArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getIdpGitlabSelfHosted(GetIdpGitlabSelfHostedArgs.builder()\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getIdpGitlabSelfHosted\n Arguments:\n id: 123456789012345678\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing a GitLab Self Hosted IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getIdpGitlabSelfHosted({\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_idp_gitlab_self_hosted(id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetIdpGitlabSelfHosted.Invoke(new()\n {\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupIdpGitlabSelfHosted(ctx, \u0026zitadel.LookupIdpGitlabSelfHostedArgs{\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetIdpGitlabSelfHostedArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getIdpGitlabSelfHosted(GetIdpGitlabSelfHostedArgs.builder()\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getIdpGitlabSelfHosted\n Arguments:\n id: '123456789012345678'\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getIdpGitlabSelfHosted.\n", "properties": { @@ -7807,7 +7987,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "id": { "type": "string", @@ -7861,7 +8042,7 @@ } }, "zitadel:index/getIdpGoogle:getIdpGoogle": { - "description": "Datasource representing a Google IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultIdpGoogle = pulumi.output(zitadel.getIdpGoogle({\n id: \"123456789012345678\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_idp_google(id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetIdpGoogle.Invoke(new()\n {\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupIdpGoogle(ctx, \u0026GetIdpGoogleArgs{\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetIdpGoogleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getIdpGoogle(GetIdpGoogleArgs.builder()\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getIdpGoogle\n Arguments:\n id: 123456789012345678\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing a Google IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getIdpGoogle({\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_idp_google(id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetIdpGoogle.Invoke(new()\n {\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupIdpGoogle(ctx, \u0026zitadel.LookupIdpGoogleArgs{\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetIdpGoogleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getIdpGoogle(GetIdpGoogleArgs.builder()\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getIdpGoogle\n Arguments:\n id: '123456789012345678'\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getIdpGoogle.\n", "properties": { @@ -7884,7 +8065,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "id": { "type": "string", @@ -7933,7 +8115,7 @@ } }, "zitadel:index/getIdpLdap:getIdpLdap": { - "description": "Datasource representing an LDAP IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst defaultIdpLdap = pulumi.output(zitadel.getIdpLdap({\n id: \"123456789012345678\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_idp_ldap(id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetIdpLdap.Invoke(new()\n {\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupIdpLdap(ctx, \u0026GetIdpLdapArgs{\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetIdpLdapArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getIdpLdap(GetIdpLdapArgs.builder()\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getIdpLdap\n Arguments:\n id: 123456789012345678\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing an LDAP IDP on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getIdpLdap({\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_idp_ldap(id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetIdpLdap.Invoke(new()\n {\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupIdpLdap(ctx, \u0026zitadel.LookupIdpLdapArgs{\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetIdpLdapArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getIdpLdap(GetIdpLdapArgs.builder()\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getIdpLdap\n Arguments:\n id: '123456789012345678'\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getIdpLdap.\n", "properties": { @@ -7964,7 +8146,8 @@ }, "bindPassword": { "type": "string", - "description": "Bind password for LDAP connections\n" + "description": "Bind password for LDAP connections\n", + "secret": true }, "displayNameAttribute": { "type": "string", @@ -8106,7 +8289,7 @@ } }, "zitadel:index/getMachineUser:getMachineUser": { - "description": "Datasource representing a serviceaccount situated under an organization, which then can be authorized through memberships or direct grants on other resources.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getMachineUser({\n orgId: data.zitadel_org[\"default\"].id,\n userId: \"123456789012345678\",\n});\nexport const machineUser = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_machine_user(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n user_id=\"123456789012345678\")\npulumi.export(\"machineUser\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetMachineUser.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n UserId = \"123456789012345678\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"machineUser\"] = @default.Apply(getMachineUserResult =\u003e getMachineUserResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupMachineUser(ctx, \u0026GetMachineUserArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tUserId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"machineUser\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetMachineUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getMachineUser(GetMachineUserArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .userId(\"123456789012345678\")\n .build());\n\n ctx.export(\"machineUser\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getMachineUser\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n userId: 123456789012345678\noutputs:\n machineUser: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing a serviceaccount situated under an organization, which then can be authorized through memberships or direct grants on other resources.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getMachineUser({\n orgId: data.zitadel_org[\"default\"].id,\n userId: \"123456789012345678\",\n});\nexport const machineUser = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_machine_user(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n user_id=\"123456789012345678\")\npulumi.export(\"machineUser\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetMachineUser.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n UserId = \"123456789012345678\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"machineUser\"] = @default,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupMachineUser(ctx, \u0026zitadel.LookupMachineUserArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tUserId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"machineUser\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetMachineUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getMachineUser(GetMachineUserArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .userId(\"123456789012345678\")\n .build());\n\n ctx.export(\"machineUser\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getMachineUser\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n userId: '123456789012345678'\noutputs:\n machineUser: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getMachineUser.\n", "properties": { @@ -8186,7 +8369,7 @@ } }, "zitadel:index/getOrg:getOrg": { - "description": "Datasource representing an organization in ZITADEL, which is the highest level after the instance and contains several other resource including policies if the configuration differs to the default policies on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getOrg({\n id: \"123456789012345678\",\n});\nexport const org = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_org(id=\"123456789012345678\")\npulumi.export(\"org\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetOrg.Invoke(new()\n {\n Id = \"123456789012345678\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"org\"] = @default.Apply(getOrgResult =\u003e getOrgResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupOrg(ctx, \u0026GetOrgArgs{\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"org\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrg(GetOrgArgs.builder()\n .id(\"123456789012345678\")\n .build());\n\n ctx.export(\"org\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getOrg\n Arguments:\n id: 123456789012345678\noutputs:\n org: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing an organization in ZITADEL, which is the highest level after the instance and contains several other resource including policies if the configuration differs to the default policies on the instance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getOrg({\n id: \"123456789012345678\",\n});\nexport const org = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_org(id=\"123456789012345678\")\npulumi.export(\"org\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetOrg.Invoke(new()\n {\n Id = \"123456789012345678\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"org\"] = @default,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupOrg(ctx, \u0026zitadel.LookupOrgArgs{\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"org\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrg(GetOrgArgs.builder()\n .id(\"123456789012345678\")\n .build());\n\n ctx.export(\"org\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getOrg\n Arguments:\n id: '123456789012345678'\noutputs:\n org: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getOrg.\n", "properties": { @@ -8207,6 +8390,10 @@ "type": "string", "description": "ID of the organization\n" }, + "isDefault": { + "type": "boolean", + "description": "Indicates whether the org is the default org of the instance.\n" + }, "name": { "type": "string", "description": "Name of the org.\n" @@ -8223,6 +8410,7 @@ "type": "object", "required": [ "id", + "isDefault", "name", "primaryDomain", "state" @@ -8230,7 +8418,7 @@ } }, "zitadel:index/getOrgIdpAzureAd:getOrgIdpAzureAd": { - "description": "Datasource representing an Azure AD IdP of the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getOrgIdpAzureAd({\n orgId: data.zitadel_org[\"default\"].id,\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_org_idp_azure_ad(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetOrgIdpAzureAd.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupOrgIdpAzureAd(ctx, \u0026GetOrgIdpAzureAdArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgIdpAzureAdArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrgIdpAzureAd(GetOrgIdpAzureAdArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getOrgIdpAzureAd\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n id: 123456789012345678\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing an Azure AD IdP of the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getOrgIdpAzureAd({\n orgId: data.zitadel_org[\"default\"].id,\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_org_idp_azure_ad(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetOrgIdpAzureAd.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupOrgIdpAzureAd(ctx, \u0026zitadel.LookupOrgIdpAzureAdArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgIdpAzureAdArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrgIdpAzureAd(GetOrgIdpAzureAdArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getOrgIdpAzureAd\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n id: '123456789012345678'\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getOrgIdpAzureAd.\n", "properties": { @@ -8257,7 +8445,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "emailVerified": { "type": "boolean", @@ -8325,7 +8514,7 @@ } }, "zitadel:index/getOrgIdpGithub:getOrgIdpGithub": { - "description": "Datasource representing a GitHub IdP of the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getOrgIdpGithub({\n orgId: data.zitadel_org[\"default\"].id,\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_org_idp_github(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetOrgIdpGithub.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupOrgIdpGithub(ctx, \u0026GetOrgIdpGithubArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgIdpGithubArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrgIdpGithub(GetOrgIdpGithubArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getOrgIdpGithub\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n id: 123456789012345678\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing a GitHub IdP of the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getOrgIdpGithub({\n orgId: data.zitadel_org[\"default\"].id,\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_org_idp_github(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetOrgIdpGithub.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupOrgIdpGithub(ctx, \u0026zitadel.LookupOrgIdpGithubArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgIdpGithubArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrgIdpGithub(GetOrgIdpGithubArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getOrgIdpGithub\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n id: '123456789012345678'\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getOrgIdpGithub.\n", "properties": { @@ -8352,7 +8541,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "id": { "type": "string", @@ -8405,7 +8595,7 @@ } }, "zitadel:index/getOrgIdpGithubEs:getOrgIdpGithubEs": { - "description": "Datasource representing a GitHub Enterprise IdP of the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getOrgIdpGithubEs({\n orgId: data.zitadel_org[\"default\"].id,\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_org_idp_github_es(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetOrgIdpGithubEs.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupOrgIdpGithubEs(ctx, \u0026GetOrgIdpGithubEsArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgIdpGithubEsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrgIdpGithubEs(GetOrgIdpGithubEsArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getOrgIdpGithubEs\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n id: 123456789012345678\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing a GitHub Enterprise IdP of the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getOrgIdpGithubEs({\n orgId: data.zitadel_org[\"default\"].id,\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_org_idp_github_es(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetOrgIdpGithubEs.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupOrgIdpGithubEs(ctx, \u0026zitadel.LookupOrgIdpGithubEsArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgIdpGithubEsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrgIdpGithubEs(GetOrgIdpGithubEsArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getOrgIdpGithubEs\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n id: '123456789012345678'\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getOrgIdpGithubEs.\n", "properties": { @@ -8436,7 +8626,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "id": { "type": "string", @@ -8500,7 +8691,7 @@ } }, "zitadel:index/getOrgIdpGitlab:getOrgIdpGitlab": { - "description": "Datasource representing a GitLab IdP of the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getOrgIdpGitlab({\n orgId: data.zitadel_org[\"default\"].id,\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_org_idp_gitlab(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetOrgIdpGitlab.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupOrgIdpGitlab(ctx, \u0026GetOrgIdpGitlabArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgIdpGitlabArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrgIdpGitlab(GetOrgIdpGitlabArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getOrgIdpGitlab\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n id: 123456789012345678\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing a GitLab IdP of the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getOrgIdpGitlab({\n orgId: data.zitadel_org[\"default\"].id,\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_org_idp_gitlab(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetOrgIdpGitlab.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupOrgIdpGitlab(ctx, \u0026zitadel.LookupOrgIdpGitlabArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgIdpGitlabArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrgIdpGitlab(GetOrgIdpGitlabArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getOrgIdpGitlab\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n id: '123456789012345678'\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getOrgIdpGitlab.\n", "properties": { @@ -8527,7 +8718,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "id": { "type": "string", @@ -8580,7 +8772,7 @@ } }, "zitadel:index/getOrgIdpGitlabSelfHosted:getOrgIdpGitlabSelfHosted": { - "description": "Datasource representing a GitLab Self Hosted IdP of the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getOrgIdpGitlabSelfHosted({\n orgId: data.zitadel_org[\"default\"].id,\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_org_idp_gitlab_self_hosted(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetOrgIdpGitlabSelfHosted.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupOrgIdpGitlabSelfHosted(ctx, \u0026GetOrgIdpGitlabSelfHostedArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgIdpGitlabSelfHostedArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrgIdpGitlabSelfHosted(GetOrgIdpGitlabSelfHostedArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getOrgIdpGitlabSelfHosted\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n id: 123456789012345678\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing a GitLab Self Hosted IdP of the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getOrgIdpGitlabSelfHosted({\n orgId: data.zitadel_org[\"default\"].id,\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_org_idp_gitlab_self_hosted(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetOrgIdpGitlabSelfHosted.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupOrgIdpGitlabSelfHosted(ctx, \u0026zitadel.LookupOrgIdpGitlabSelfHostedArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgIdpGitlabSelfHostedArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrgIdpGitlabSelfHosted(GetOrgIdpGitlabSelfHostedArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getOrgIdpGitlabSelfHosted\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n id: '123456789012345678'\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getOrgIdpGitlabSelfHosted.\n", "properties": { @@ -8607,7 +8799,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "id": { "type": "string", @@ -8665,7 +8858,7 @@ } }, "zitadel:index/getOrgIdpGoogle:getOrgIdpGoogle": { - "description": "Datasource representing a Google IdP of the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getOrgIdpGoogle({\n orgId: data.zitadel_org[\"default\"].id,\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_org_idp_google(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetOrgIdpGoogle.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupOrgIdpGoogle(ctx, \u0026GetOrgIdpGoogleArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgIdpGoogleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrgIdpGoogle(GetOrgIdpGoogleArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getOrgIdpGoogle\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n id: 123456789012345678\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing a Google IdP of the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getOrgIdpGoogle({\n orgId: data.zitadel_org[\"default\"].id,\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_org_idp_google(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetOrgIdpGoogle.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupOrgIdpGoogle(ctx, \u0026zitadel.LookupOrgIdpGoogleArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgIdpGoogleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrgIdpGoogle(GetOrgIdpGoogleArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getOrgIdpGoogle\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n id: '123456789012345678'\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getOrgIdpGoogle.\n", "properties": { @@ -8692,7 +8885,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "id": { "type": "string", @@ -8745,7 +8939,7 @@ } }, "zitadel:index/getOrgIdpLdap:getOrgIdpLdap": { - "description": "Datasource representing an LDAP IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getOrgIdpLdap({\n orgId: data.zitadel_org[\"default\"].id,\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_org_idp_ldap(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetOrgIdpLdap.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupOrgIdpLdap(ctx, \u0026GetOrgIdpLdapArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgIdpLdapArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrgIdpLdap(GetOrgIdpLdapArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getOrgIdpLdap\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n id: 123456789012345678\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing an LDAP IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getOrgIdpLdap({\n orgId: data.zitadel_org[\"default\"].id,\n id: \"123456789012345678\",\n});\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_org_idp_ldap(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n id=\"123456789012345678\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetOrgIdpLdap.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Id = \"123456789012345678\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := zitadel.LookupOrgIdpLdap(ctx, \u0026zitadel.LookupOrgIdpLdapArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgIdpLdapArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrgIdpLdap(GetOrgIdpLdapArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .id(\"123456789012345678\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getOrgIdpLdap\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n id: '123456789012345678'\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getOrgIdpLdap.\n", "properties": { @@ -8780,7 +8974,8 @@ }, "bindPassword": { "type": "string", - "description": "Bind password for LDAP connections\n" + "description": "Bind password for LDAP connections\n", + "secret": true }, "displayNameAttribute": { "type": "string", @@ -8926,7 +9121,7 @@ } }, "zitadel:index/getOrgJwtIdp:getOrgJwtIdp": { - "description": "Datasource representing a generic JWT IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgJwtIdpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrgJwtIdp(GetOrgJwtIdpArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .id(\"123456789012345678\")\n .build());\n\n ctx.export(\"orgIdpOrgJwtIdp\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getOrgJwtIdp\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n id: 123456789012345678\noutputs:\n orgIdpOrgJwtIdp: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing a generic JWT IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgJwtIdpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrgJwtIdp(GetOrgJwtIdpArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .id(\"123456789012345678\")\n .build());\n\n ctx.export(\"orgIdpOrgJwtIdp\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getOrgJwtIdp\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n id: '123456789012345678'\noutputs:\n orgIdpOrgJwtIdp: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getOrgJwtIdp.\n", "properties": { @@ -9005,7 +9200,7 @@ } }, "zitadel:index/getOrgOidcIdp:getOrgOidcIdp": { - "description": "Datasource representing a generic OIDC IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getOrgOidcIdp({\n orgId: data.zitadel_org[\"default\"].id,\n id: \"123456789012345678\",\n});\nexport const orgOidcIdp = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_org_oidc_idp(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n id=\"123456789012345678\")\npulumi.export(\"orgOidcIdp\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetOrgOidcIdp.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Id = \"123456789012345678\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"orgOidcIdp\"] = @default.Apply(getOrgOidcIdpResult =\u003e getOrgOidcIdpResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.GetOrgOidcIdp(ctx, \u0026GetOrgOidcIdpArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"orgOidcIdp\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgOidcIdpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrgOidcIdp(GetOrgOidcIdpArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .id(\"123456789012345678\")\n .build());\n\n ctx.export(\"orgOidcIdp\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getOrgOidcIdp\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n id: 123456789012345678\noutputs:\n orgOidcIdp: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing a generic OIDC IdP on the organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getOrgOidcIdp({\n orgId: data.zitadel_org[\"default\"].id,\n id: \"123456789012345678\",\n});\nexport const orgOidcIdp = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_org_oidc_idp(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n id=\"123456789012345678\")\npulumi.export(\"orgOidcIdp\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetOrgOidcIdp.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n Id = \"123456789012345678\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"orgOidcIdp\"] = @default,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.GetOrgOidcIdp(ctx, \u0026zitadel.GetOrgOidcIdpArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"orgOidcIdp\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetOrgOidcIdpArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getOrgOidcIdp(GetOrgOidcIdpArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .id(\"123456789012345678\")\n .build());\n\n ctx.export(\"orgOidcIdp\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getOrgOidcIdp\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n id: '123456789012345678'\noutputs:\n orgOidcIdp: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getOrgOidcIdp.\n", "properties": { @@ -9032,7 +9227,8 @@ }, "clientSecret": { "type": "string", - "description": "client secret generated by the identity provider\n" + "description": "client secret generated by the identity provider\n", + "secret": true }, "id": { "type": "string", @@ -9094,8 +9290,83 @@ ] } }, + "zitadel:index/getOrgs:getOrgs": { + "description": "Datasource representing an organization in ZITADEL, which is the highest level after the instance and contains several other resource including policies if the configuration differs to the default policies on the instance.\n", + "inputs": { + "description": "A collection of arguments for invoking getOrgs.\n", + "properties": { + "domain": { + "type": "string", + "description": "A domain of the org.\n" + }, + "domainMethod": { + "type": "string", + "description": "Method for querying orgs by domain, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE\n" + }, + "name": { + "type": "string", + "description": "Name of the org.\n" + }, + "nameMethod": { + "type": "string", + "description": "Method for querying orgs by name, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE\n" + }, + "state": { + "type": "string", + "description": "State of the org, supported values: ORG*STATE*UNSPECIFIED, ORG*STATE*ACTIVE, ORG*STATE*INACTIVE, ORG*STATE*REMOVED\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getOrgs.\n", + "properties": { + "domain": { + "type": "string", + "description": "A domain of the org.\n" + }, + "domainMethod": { + "type": "string", + "description": "Method for querying orgs by domain, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE\n" + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "ids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A set of all organization IDs.\n" + }, + "name": { + "type": "string", + "description": "Name of the org.\n" + }, + "nameMethod": { + "type": "string", + "description": "Method for querying orgs by name, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE\n" + }, + "primaryDomain": { + "type": "string", + "description": "Primary domain of the org\n" + }, + "state": { + "type": "string", + "description": "State of the org, supported values: ORG*STATE*UNSPECIFIED, ORG*STATE*ACTIVE, ORG*STATE*INACTIVE, ORG*STATE*REMOVED\n" + } + }, + "type": "object", + "required": [ + "ids", + "primaryDomain", + "id" + ] + } + }, "zitadel:index/getProject:getProject": { - "description": "Datasource representing the project, which can then be granted to different organizations or users directly, containing different applications.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getProject({\n orgId: data.zitadel_org[\"default\"].id,\n projectId: \"123456789012345678\",\n});\nexport const project = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_project(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=\"123456789012345678\")\npulumi.export(\"project\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetProject.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = \"123456789012345678\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"project\"] = @default.Apply(getProjectResult =\u003e getProjectResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupProject(ctx, \u0026GetProjectArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tProjectId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"project\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetProjectArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getProject(GetProjectArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .projectId(\"123456789012345678\")\n .build());\n\n ctx.export(\"project\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getProject\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n projectId: 123456789012345678\noutputs:\n project: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing the project, which can then be granted to different organizations or users directly, containing different applications.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getProject({\n orgId: data.zitadel_org[\"default\"].id,\n projectId: \"123456789012345678\",\n});\nexport const project = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_project(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=\"123456789012345678\")\npulumi.export(\"project\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetProject.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = \"123456789012345678\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"project\"] = @default,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupProject(ctx, \u0026zitadel.LookupProjectArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tProjectId: \"123456789012345678\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"project\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetProjectArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getProject(GetProjectArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .projectId(\"123456789012345678\")\n .build());\n\n ctx.export(\"project\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getProject\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n projectId: '123456789012345678'\noutputs:\n project: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getProject.\n", "properties": { @@ -9168,7 +9439,7 @@ } }, "zitadel:index/getProjectRole:getProjectRole": { - "description": "Datasource representing the project roles, which can be given as authorizations to users.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getProjectRole({\n orgId: data.zitadel_org[\"default\"].id,\n projectId: data.zitadel_project[\"default\"].id,\n roleKey: \"key\",\n});\nexport const projectRole = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_project_role(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n role_key=\"key\")\npulumi.export(\"projectRole\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetProjectRole.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = data.Zitadel_project.Default.Id,\n RoleKey = \"key\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"projectRole\"] = @default.Apply(getProjectRoleResult =\u003e getProjectRoleResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupProjectRole(ctx, \u0026GetProjectRoleArgs{\n\t\t\tOrgId: data.Zitadel_org.Default.Id,\n\t\t\tProjectId: data.Zitadel_project.Default.Id,\n\t\t\tRoleKey: \"key\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"projectRole\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetProjectRoleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getProjectRole(GetProjectRoleArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .projectId(data.zitadel_project().default().id())\n .roleKey(\"key\")\n .build());\n\n ctx.export(\"projectRole\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getProjectRole\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n projectId: ${data.zitadel_project.default.id}\n roleKey: key\noutputs:\n projectRole: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Datasource representing the project roles, which can be given as authorizations to users.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getProjectRole({\n orgId: data.zitadel_org[\"default\"].id,\n projectId: data.zitadel_project[\"default\"].id,\n roleKey: \"key\",\n});\nexport const projectRole = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_project_role(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n project_id=data[\"zitadel_project\"][\"default\"][\"id\"],\n role_key=\"key\")\npulumi.export(\"projectRole\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetProjectRole.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n ProjectId = data.Zitadel_project.Default.Id,\n RoleKey = \"key\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"projectRole\"] = @default,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupProjectRole(ctx, \u0026zitadel.LookupProjectRoleArgs{\n\t\t\tOrgId: data.Zitadel_org.Default.Id,\n\t\t\tProjectId: data.Zitadel_project.Default.Id,\n\t\t\tRoleKey: \"key\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"projectRole\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetProjectRoleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getProjectRole(GetProjectRoleArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .projectId(data.zitadel_project().default().id())\n .roleKey(\"key\")\n .build());\n\n ctx.export(\"projectRole\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getProjectRole\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n projectId: ${data.zitadel_project.default.id}\n roleKey: key\noutputs:\n projectRole: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getProjectRole.\n", "properties": { @@ -9232,7 +9503,7 @@ } }, "zitadel:index/getTriggerActions:getTriggerActions": { - "description": "Resource representing triggers, when actions get started\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getTriggerActions({\n orgId: data.zitadel_org[\"default\"].id,\n flowType: \"FLOW_TYPE_EXTERNAL_AUTHENTICATION\",\n triggerType: \"TRIGGER_TYPE_POST_AUTHENTICATION\",\n});\nexport const triggerActions = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_trigger_actions(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n flow_type=\"FLOW_TYPE_EXTERNAL_AUTHENTICATION\",\n trigger_type=\"TRIGGER_TYPE_POST_AUTHENTICATION\")\npulumi.export(\"triggerActions\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetTriggerActions.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n FlowType = \"FLOW_TYPE_EXTERNAL_AUTHENTICATION\",\n TriggerType = \"TRIGGER_TYPE_POST_AUTHENTICATION\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"triggerActions\"] = @default.Apply(getTriggerActionsResult =\u003e getTriggerActionsResult),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupTriggerActions(ctx, \u0026GetTriggerActionsArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tFlowType: \"FLOW_TYPE_EXTERNAL_AUTHENTICATION\",\n\t\t\tTriggerType: \"TRIGGER_TYPE_POST_AUTHENTICATION\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"triggerActions\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetTriggerActionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getTriggerActions(GetTriggerActionsArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .flowType(\"FLOW_TYPE_EXTERNAL_AUTHENTICATION\")\n .triggerType(\"TRIGGER_TYPE_POST_AUTHENTICATION\")\n .build());\n\n ctx.export(\"triggerActions\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n Fn::Invoke:\n Function: zitadel:getTriggerActions\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n flowType: FLOW_TYPE_EXTERNAL_AUTHENTICATION\n triggerType: TRIGGER_TYPE_POST_AUTHENTICATION\noutputs:\n triggerActions: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Resource representing triggers, when actions get started\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as zitadel from \"@pulumi/zitadel\";\n\nconst default = zitadel.getTriggerActions({\n orgId: data.zitadel_org[\"default\"].id,\n flowType: \"FLOW_TYPE_EXTERNAL_AUTHENTICATION\",\n triggerType: \"TRIGGER_TYPE_POST_AUTHENTICATION\",\n});\nexport const triggerActions = _default;\n```\n```python\nimport pulumi\nimport pulumi_zitadel as zitadel\n\ndefault = zitadel.get_trigger_actions(org_id=data[\"zitadel_org\"][\"default\"][\"id\"],\n flow_type=\"FLOW_TYPE_EXTERNAL_AUTHENTICATION\",\n trigger_type=\"TRIGGER_TYPE_POST_AUTHENTICATION\")\npulumi.export(\"triggerActions\", default)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Zitadel = Pulumi.Zitadel;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Zitadel.GetTriggerActions.Invoke(new()\n {\n OrgId = data.Zitadel_org.Default.Id,\n FlowType = \"FLOW_TYPE_EXTERNAL_AUTHENTICATION\",\n TriggerType = \"TRIGGER_TYPE_POST_AUTHENTICATION\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"triggerActions\"] = @default,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := zitadel.LookupTriggerActions(ctx, \u0026zitadel.LookupTriggerActionsArgs{\n\t\t\tOrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),\n\t\t\tFlowType: \"FLOW_TYPE_EXTERNAL_AUTHENTICATION\",\n\t\t\tTriggerType: \"TRIGGER_TYPE_POST_AUTHENTICATION\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"triggerActions\", _default)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.zitadel.ZitadelFunctions;\nimport com.pulumi.zitadel.inputs.GetTriggerActionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var default = ZitadelFunctions.getTriggerActions(GetTriggerActionsArgs.builder()\n .orgId(data.zitadel_org().default().id())\n .flowType(\"FLOW_TYPE_EXTERNAL_AUTHENTICATION\")\n .triggerType(\"TRIGGER_TYPE_POST_AUTHENTICATION\")\n .build());\n\n ctx.export(\"triggerActions\", default_);\n }\n}\n```\n```yaml\nvariables:\n default:\n fn::invoke:\n Function: zitadel:getTriggerActions\n Arguments:\n orgId: ${data.zitadel_org.default.id}\n flowType: FLOW_TYPE_EXTERNAL_AUTHENTICATION\n triggerType: TRIGGER_TYPE_POST_AUTHENTICATION\noutputs:\n triggerActions: ${default}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getTriggerActions.\n", "properties": { diff --git a/provider/go.mod b/provider/go.mod index 6ceaeda..055cd24 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -1,13 +1,13 @@ module github.com/pulumiverse/pulumi-zitadel/provider -go 1.18 +go 1.21 -replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20220824175045-450992f2f5b9 +replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e require ( - github.com/pulumi/pulumi-terraform-bridge/v3 v3.28.1 - github.com/pulumi/pulumi/sdk/v3 v3.38.0 - github.com/zitadel/terraform-provider-zitadel v1.0.2 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0 + github.com/pulumi/pulumi/sdk/v3 v3.89.0 + github.com/zitadel/terraform-provider-zitadel v1.0.4 ) require ( @@ -19,64 +19,88 @@ require ( cloud.google.com/go/logging v1.7.0 // indirect cloud.google.com/go/longrunning v0.5.1 // indirect cloud.google.com/go/storage v1.30.1 // indirect - github.com/Azure/azure-pipeline-go v0.2.3 // indirect - github.com/Azure/azure-sdk-for-go v57.0.0+incompatible // indirect - github.com/Azure/azure-storage-blob-go v0.14.0 // indirect - github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect + dario.cat/mergo v1.0.0 // indirect + github.com/AlecAivazis/survey/v2 v2.3.7 // indirect + github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect + github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 // indirect + github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 // indirect + github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 // indirect + github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 // indirect github.com/Azure/go-autorest v14.2.0+incompatible // indirect - github.com/Azure/go-autorest/autorest v0.11.20 // indirect - github.com/Azure/go-autorest/autorest/adal v0.9.15 // indirect - github.com/Azure/go-autorest/autorest/azure/auth v0.5.8 // indirect - github.com/Azure/go-autorest/autorest/azure/cli v0.4.3 // indirect + github.com/Azure/go-autorest/autorest v0.11.28 // indirect + github.com/Azure/go-autorest/autorest/adal v0.9.21 // indirect + github.com/Azure/go-autorest/autorest/azure/auth v0.5.11 // indirect + github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 // indirect github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect github.com/Azure/go-autorest/autorest/to v0.4.0 // indirect github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect github.com/Azure/go-autorest/logger v0.2.1 // indirect github.com/Azure/go-autorest/tracing v0.6.0 // indirect + github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect + github.com/BurntSushi/toml v1.2.1 // indirect github.com/Masterminds/goutils v1.1.1 // indirect + github.com/Masterminds/semver v1.5.0 // indirect github.com/Masterminds/semver/v3 v3.1.1 // indirect github.com/Masterminds/sprig/v3 v3.2.2 // indirect - github.com/Microsoft/go-winio v0.5.2 // indirect - github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect - github.com/acomagu/bufpipe v1.0.3 // indirect + github.com/Microsoft/go-winio v0.6.1 // indirect + github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 // indirect + github.com/acomagu/bufpipe v1.0.4 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect github.com/agext/levenshtein v1.2.3 // indirect github.com/apparentlymart/go-cidr v1.1.0 // indirect - github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect + github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect + github.com/armon/go-metrics v0.4.0 // indirect github.com/armon/go-radix v1.0.0 // indirect - github.com/aws/aws-sdk-go v1.44.122 // indirect - github.com/aws/aws-sdk-go-v2 v1.9.0 // indirect - github.com/aws/aws-sdk-go-v2/config v1.7.0 // indirect - github.com/aws/aws-sdk-go-v2/credentials v1.4.0 // indirect - github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.5.0 // indirect - github.com/aws/aws-sdk-go-v2/internal/ini v1.2.2 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.3.0 // indirect - github.com/aws/aws-sdk-go-v2/service/kms v1.5.0 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.4.0 // indirect - github.com/aws/aws-sdk-go-v2/service/sts v1.7.0 // indirect - github.com/aws/smithy-go v1.8.0 // indirect + github.com/atotto/clipboard v0.1.4 // indirect + github.com/aws/aws-sdk-go v1.44.298 // indirect + github.com/aws/aws-sdk-go-v2 v1.17.3 // indirect + github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 // indirect + github.com/aws/aws-sdk-go-v2/config v1.15.15 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.12.10 // indirect + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9 // indirect + github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21 // indirect + github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 // indirect + github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9 // indirect + github.com/aws/aws-sdk-go-v2/service/kms v1.18.1 // indirect + github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 // indirect + github.com/aws/smithy-go v1.13.5 // indirect + github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect github.com/bgentry/speakeasy v0.1.0 // indirect github.com/blang/semver v3.5.1+incompatible // indirect github.com/cenkalti/backoff/v3 v3.2.2 // indirect + github.com/charmbracelet/bubbles v0.16.1 // indirect + github.com/charmbracelet/bubbletea v0.24.2 // indirect + github.com/charmbracelet/lipgloss v0.7.1 // indirect github.com/cheggaaa/pb v1.0.29 // indirect + github.com/cloudflare/circl v1.3.3 // indirect + github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/dimchansky/utfbom v1.1.1 // indirect github.com/djherbis/times v1.5.0 // indirect - github.com/dustin/go-humanize v1.0.0 // indirect + github.com/dustin/go-humanize v1.0.1 // indirect github.com/edsrzf/mmap-go v1.1.0 // indirect - github.com/emirpasic/gods v1.12.0 // indirect + github.com/emirpasic/gods v1.18.1 // indirect github.com/envoyproxy/protoc-gen-validate v1.0.2 // indirect github.com/ettle/strcase v0.1.1 // indirect github.com/fatih/color v1.15.0 // indirect github.com/gabriel-vasile/mimetype v1.4.1 // indirect github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 // indirect - github.com/go-git/gcfg v1.5.0 // indirect - github.com/go-git/go-billy/v5 v5.3.1 // indirect - github.com/go-git/go-git/v5 v5.4.2 // indirect + github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect + github.com/go-git/go-billy/v5 v5.4.1 // indirect + github.com/go-git/go-git/v5 v5.8.1 // indirect github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang-jwt/jwt/v4 v4.0.0 // indirect + github.com/golang-jwt/jwt v3.2.1+incompatible // indirect + github.com/golang-jwt/jwt/v4 v4.4.2 // indirect github.com/golang/glog v1.1.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // indirect @@ -92,46 +116,55 @@ require ( github.com/gorilla/mux v1.8.0 // indirect github.com/gorilla/schema v1.2.0 // indirect github.com/gorilla/securecookie v1.1.1 // indirect - github.com/grpc-ecosystem/grpc-gateway/v2 v2.17.1 // indirect + github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0 // indirect github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect - github.com/hashicorp/go-getter v1.7.0 // indirect - github.com/hashicorp/go-hclog v1.4.0 // indirect + github.com/hashicorp/go-getter v1.7.1 // indirect + github.com/hashicorp/go-hclog v1.5.0 // indirect + github.com/hashicorp/go-immutable-radix v1.3.1 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/hashicorp/go-retryablehttp v0.7.0 // indirect + github.com/hashicorp/go-plugin v1.5.1 // indirect + github.com/hashicorp/go-retryablehttp v0.7.1 // indirect github.com/hashicorp/go-rootcerts v1.0.2 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect + github.com/hashicorp/go-secure-stdlib/mlock v0.1.2 // indirect + github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6 // indirect + github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect github.com/hashicorp/go-sockaddr v1.0.2 // indirect github.com/hashicorp/go-uuid v1.0.3 // indirect github.com/hashicorp/go-version v1.6.0 // indirect + github.com/hashicorp/golang-lru v0.5.4 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hashicorp/hcl/v2 v2.16.2 // indirect + github.com/hashicorp/hcl/v2 v2.18.0 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect github.com/hashicorp/logutils v1.0.0 // indirect github.com/hashicorp/terraform-plugin-framework v0.15.0 // indirect - github.com/hashicorp/terraform-plugin-go v0.14.3 // indirect - github.com/hashicorp/terraform-plugin-log v0.8.0 // indirect + github.com/hashicorp/terraform-plugin-go v0.19.0 // indirect + github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect github.com/hashicorp/terraform-plugin-sdk/v2 v2.26.1 // indirect - github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 // indirect - github.com/hashicorp/vault/api v1.1.1 // indirect - github.com/hashicorp/vault/sdk v0.2.1 // indirect + github.com/hashicorp/terraform-svchost v0.1.1 // indirect + github.com/hashicorp/vault/api v1.8.2 // indirect + github.com/hashicorp/vault/sdk v0.6.1 // indirect + github.com/hashicorp/yamux v0.1.1 // indirect github.com/huandu/xstrings v1.3.2 // indirect github.com/iancoleman/strcase v0.2.0 // indirect github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd // indirect - github.com/imdario/mergo v0.3.13 // indirect - github.com/inconshreveable/mousetrap v1.0.0 // indirect + github.com/imdario/mergo v0.3.15 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect - github.com/kevinburke/ssh_config v1.1.0 // indirect + github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/klauspost/compress v1.15.11 // indirect + github.com/kylelemons/godebug v1.1.0 // indirect + github.com/lucasb-eyer/go-colorful v1.2.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-ieproxy v0.0.1 // indirect - github.com/mattn/go-isatty v0.0.17 // indirect - github.com/mattn/go-runewidth v0.0.13 // indirect + github.com/mattn/go-isatty v0.0.18 // indirect + github.com/mattn/go-localereader v0.0.1 // indirect + github.com/mattn/go-runewidth v0.0.14 // indirect github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect github.com/mitchellh/cli v1.1.5 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect @@ -142,36 +175,45 @@ require ( github.com/mitchellh/hashstructure v1.0.0 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/mitchellh/reflectwalk v1.0.2 // indirect - github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect + github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b // indirect + github.com/muesli/cancelreader v0.2.2 // indirect + github.com/muesli/reflow v0.3.0 // indirect + github.com/muesli/termenv v0.15.1 // indirect github.com/natefinch/atomic v1.0.1 // indirect + github.com/oklog/run v1.1.0 // indirect github.com/opentracing/basictracer-go v1.1.0 // indirect github.com/opentracing/opentracing-go v1.2.0 // indirect github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 // indirect github.com/pierrec/lz4 v2.6.1+incompatible // indirect + github.com/pjbgf/sha1cd v0.3.0 // indirect + github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pkg/term v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/posener/complete v1.2.3 // indirect - github.com/pulumi/pulumi-java/pkg v0.5.3 // indirect - github.com/pulumi/pulumi-yaml v0.5.4 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.38.0 // indirect - github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e // indirect - github.com/rivo/uniseg v0.2.0 // indirect - github.com/rjeczalik/notify v0.9.2 // indirect - github.com/rogpeppe/go-internal v1.10.0 // indirect + github.com/pulumi/esc v0.5.2 // indirect + github.com/pulumi/pulumi-java/pkg v0.9.8 // indirect + github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 // indirect + github.com/pulumi/pulumi-yaml v1.2.2 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.89.0 // indirect + github.com/pulumi/schema-tools v0.1.2 // indirect + github.com/pulumi/terraform-diff-reader v0.0.2 // indirect + github.com/rivo/uniseg v0.4.4 // indirect + github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect github.com/segmentio/asm v1.1.3 // indirect github.com/segmentio/encoding v0.3.5 // indirect - github.com/sergi/go-diff v1.2.0 // indirect + github.com/sergi/go-diff v1.3.1 // indirect github.com/shopspring/decimal v1.3.1 // indirect - github.com/spf13/afero v1.9.2 // indirect + github.com/skeema/knownhosts v1.2.0 // indirect + github.com/spf13/afero v1.9.5 // indirect github.com/spf13/cast v1.5.0 // indirect - github.com/spf13/cobra v1.4.0 // indirect + github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/stretchr/testify v1.8.4 // indirect github.com/texttheater/golang-levenshtein v1.0.1 // indirect @@ -180,40 +222,40 @@ require ( github.com/uber/jaeger-lib v2.4.1+incompatible // indirect github.com/ulikunitz/xz v0.5.10 // indirect github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect - github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect - github.com/vmihailenco/tagparser v0.1.1 // indirect - github.com/xanzy/ssh-agent v0.3.1 // indirect + github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect + github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect + github.com/xanzy/ssh-agent v0.3.3 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xeipuuv/gojsonschema v1.2.0 // indirect - github.com/zclconf/go-cty v1.13.1 // indirect + github.com/zclconf/go-cty v1.14.0 // indirect github.com/zitadel/oidc v1.13.4 // indirect - github.com/zitadel/zitadel-go/v2 v2.0.19 // indirect + github.com/zitadel/zitadel-go/v2 v2.0.21 // indirect go.opencensus.io v0.24.0 // indirect go.uber.org/atomic v1.9.0 // indirect - gocloud.dev v0.24.0 // indirect - gocloud.dev/secrets/hashivault v0.24.0 // indirect - golang.org/x/crypto v0.12.0 // indirect - golang.org/x/mod v0.11.0 // indirect - golang.org/x/net v0.14.0 // indirect - golang.org/x/oauth2 v0.11.0 // indirect - golang.org/x/sync v0.2.0 // indirect - golang.org/x/sys v0.11.0 // indirect - golang.org/x/term v0.11.0 // indirect - golang.org/x/text v0.12.0 // indirect - golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect + gocloud.dev v0.27.0 // indirect + gocloud.dev/secrets/hashivault v0.27.0 // indirect + golang.org/x/crypto v0.14.0 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect + golang.org/x/mod v0.13.0 // indirect + golang.org/x/net v0.17.0 // indirect + golang.org/x/oauth2 v0.12.0 // indirect + golang.org/x/sync v0.4.0 // indirect + golang.org/x/sys v0.13.0 // indirect + golang.org/x/term v0.13.0 // indirect + golang.org/x/text v0.13.0 // indirect + golang.org/x/time v0.3.0 // indirect + golang.org/x/tools v0.14.0 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect google.golang.org/api v0.126.0 // indirect google.golang.org/appengine v1.6.7 // indirect google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 // indirect google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect - google.golang.org/grpc v1.57.0 // indirect + google.golang.org/grpc v1.58.1 // indirect google.golang.org/protobuf v1.31.0 // indirect - gopkg.in/AlecAivazis/survey.v1 v1.8.9-0.20200217094205-6773bdf39b7f // indirect gopkg.in/square/go-jose.v2 v2.6.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect - gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect lukechampine.com/frand v1.4.2 // indirect sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 // indirect diff --git a/provider/go.sum b/provider/go.sum index 4e597e0..de29b1a 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1,5 +1,5 @@ bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= -bazil.org/fuse v0.0.0-20180421153158-65cc252bf669/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= +bazil.org/fuse v0.0.0-20200407214033-5883e5a4b512/go.mod h1:FbcW6z/2VytnFDhZfumh8Ss8zxHE6qpMP5sHTRe0EaM= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= @@ -26,38 +26,98 @@ cloud.google.com/go v0.82.0/go.mod h1:vlKccHJGuFBFufnAnuB08dfEH9Y3H7dzDzRECFdC2T cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY= cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM= cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY= -cloud.google.com/go v0.88.0/go.mod h1:dnKwfYbP9hQhefiUvpbcAyoGSHUrOxR20JVElLiUvEY= -cloud.google.com/go v0.89.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= -cloud.google.com/go v0.92.2/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= -cloud.google.com/go v0.92.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= -cloud.google.com/go v0.94.0/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc= cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA= +cloud.google.com/go v0.100.1/go.mod h1:fs4QogzfH5n2pBXBP9vRiU+eCny7lD2vmFZy79Iuw1U= cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc= cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= +cloud.google.com/go v0.103.0/go.mod h1:vwLx1nqLrzLX/fpwSMOXmFIqBOyHsvHbnAdbGSJ+mKk= cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA= +cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM= +cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= +cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= cloud.google.com/go v0.110.6 h1:8uYAkj3YHTP/1iwReuHPxLSbdcyc+dSBbzFMrVwDR6Q= cloud.google.com/go v0.110.6/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= +cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4= +cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw= +cloud.google.com/go/accessapproval v1.6.0/go.mod h1:R0EiYnwV5fsRFiKZkPHr6mwyk2wxUJ30nL4j2pcFY2E= +cloud.google.com/go/accesscontextmanager v1.3.0/go.mod h1:TgCBehyr5gNMz7ZaH9xubp+CE8dkrszb4oK9CWyvD4o= +cloud.google.com/go/accesscontextmanager v1.4.0/go.mod h1:/Kjh7BBu/Gh83sv+K60vN9QE5NJcd80sU33vIe2IFPE= +cloud.google.com/go/accesscontextmanager v1.6.0/go.mod h1:8XCvZWfYw3K/ji0iVnp+6pu7huxoQTLmxAbVjbloTtM= +cloud.google.com/go/accesscontextmanager v1.7.0/go.mod h1:CEGLewx8dwa33aDAZQujl7Dx+uYhS0eay198wB/VumQ= cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw= cloud.google.com/go/aiplatform v1.24.0/go.mod h1:67UUvRBKG6GTayHKV8DBv2RtR1t93YRu5B1P3x99mYY= +cloud.google.com/go/aiplatform v1.27.0/go.mod h1:Bvxqtl40l0WImSb04d0hXFU7gDOiq9jQmorivIiWcKg= +cloud.google.com/go/aiplatform v1.35.0/go.mod h1:7MFT/vCaOyZT/4IIFfxH4ErVg/4ku6lKv3w0+tFTgXQ= +cloud.google.com/go/aiplatform v1.36.1/go.mod h1:WTm12vJRPARNvJ+v6P52RDHCNe4AhvjcIZ/9/RRHy/k= +cloud.google.com/go/aiplatform v1.37.0/go.mod h1:IU2Cv29Lv9oCn/9LkFiiuKfwrRTq+QQMbW+hPCxJGZw= cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI= cloud.google.com/go/analytics v0.12.0/go.mod h1:gkfj9h6XRf9+TS4bmuhPEShsh3hH8PAZzm/41OOhQd4= +cloud.google.com/go/analytics v0.17.0/go.mod h1:WXFa3WSym4IZ+JiKmavYdJwGG/CvpqiqczmL59bTD9M= +cloud.google.com/go/analytics v0.18.0/go.mod h1:ZkeHGQlcIPkw0R/GW+boWHhCOR43xz9RN/jn7WcqfIE= +cloud.google.com/go/analytics v0.19.0/go.mod h1:k8liqf5/HCnOUkbawNtrWWc+UAzyDlW89doe8TtoDsE= +cloud.google.com/go/apigateway v1.3.0/go.mod h1:89Z8Bhpmxu6AmUxuVRg/ECRGReEdiP3vQtk4Z1J9rJk= +cloud.google.com/go/apigateway v1.4.0/go.mod h1:pHVY9MKGaH9PQ3pJ4YLzoj6U5FUDeDFBllIz7WmzJoc= +cloud.google.com/go/apigateway v1.5.0/go.mod h1:GpnZR3Q4rR7LVu5951qfXPJCHquZt02jf7xQx7kpqN8= +cloud.google.com/go/apigeeconnect v1.3.0/go.mod h1:G/AwXFAKo0gIXkPTVfZDd2qA1TxBXJ3MgMRBQkIi9jc= +cloud.google.com/go/apigeeconnect v1.4.0/go.mod h1:kV4NwOKqjvt2JYR0AoIWo2QGfoRtn/pkS3QlHp0Ni04= +cloud.google.com/go/apigeeconnect v1.5.0/go.mod h1:KFaCqvBRU6idyhSNyn3vlHXc8VMDJdRmwDF6JyFRqZ8= +cloud.google.com/go/apigeeregistry v0.4.0/go.mod h1:EUG4PGcsZvxOXAdyEghIdXwAEi/4MEaoqLMLDMIwKXY= +cloud.google.com/go/apigeeregistry v0.5.0/go.mod h1:YR5+s0BVNZfVOUkMa5pAR2xGd0A473vA5M7j247o1wM= +cloud.google.com/go/apigeeregistry v0.6.0/go.mod h1:BFNzW7yQVLZ3yj0TKcwzb8n25CFBri51GVGOEUcgQsc= +cloud.google.com/go/apikeys v0.4.0/go.mod h1:XATS/yqZbaBK0HOssf+ALHp8jAlNHUgyfprvNcBIszU= +cloud.google.com/go/apikeys v0.5.0/go.mod h1:5aQfwY4D+ewMMWScd3hm2en3hCj+BROlyrt3ytS7KLI= +cloud.google.com/go/apikeys v0.6.0/go.mod h1:kbpXu5upyiAlGkKrJgQl8A0rKNNJ7dQ377pdroRSSi8= +cloud.google.com/go/appengine v1.4.0/go.mod h1:CS2NhuBuDXM9f+qscZ6V86m1MIIqPj3WC/UoEuR1Sno= +cloud.google.com/go/appengine v1.5.0/go.mod h1:TfasSozdkFI0zeoxW3PTBLiNqRmzraodCWatWI9Dmak= +cloud.google.com/go/appengine v1.6.0/go.mod h1:hg6i0J/BD2cKmDJbaFSYHFyZkgBEfQrDg/X0V5fJn84= +cloud.google.com/go/appengine v1.7.0/go.mod h1:eZqpbHFCqRGa2aCdope7eC0SWLV1j0neb/QnMJVWx6A= +cloud.google.com/go/appengine v1.7.1/go.mod h1:IHLToyb/3fKutRysUlFO0BPt5j7RiQ45nrzEJmKTo6E= cloud.google.com/go/area120 v0.5.0/go.mod h1:DE/n4mp+iqVyvxHN41Vf1CR602GiHQjFPusMFW6bGR4= cloud.google.com/go/area120 v0.6.0/go.mod h1:39yFJqWVgm0UZqWTOdqkLhjoC7uFfgXRC8g/ZegeAh0= +cloud.google.com/go/area120 v0.7.0/go.mod h1:a3+8EUD1SX5RUcCs3MY5YasiO1z6yLiNLRiFrykbynY= +cloud.google.com/go/area120 v0.7.1/go.mod h1:j84i4E1RboTWjKtZVWXPqvK5VHQFJRF2c1Nm69pWm9k= cloud.google.com/go/artifactregistry v1.6.0/go.mod h1:IYt0oBPSAGYj/kprzsBjZ/4LnG/zOcHyFHjWPCi6SAQ= cloud.google.com/go/artifactregistry v1.7.0/go.mod h1:mqTOFOnGZx8EtSqK/ZWcsm/4U8B77rbcLP6ruDU2Ixk= +cloud.google.com/go/artifactregistry v1.8.0/go.mod h1:w3GQXkJX8hiKN0v+at4b0qotwijQbYUqF2GWkZzAhC0= +cloud.google.com/go/artifactregistry v1.9.0/go.mod h1:2K2RqvA2CYvAeARHRkLDhMDJ3OXy26h3XW+3/Jh2uYc= +cloud.google.com/go/artifactregistry v1.11.1/go.mod h1:lLYghw+Itq9SONbCa1YWBoWs1nOucMH0pwXN1rOBZFI= +cloud.google.com/go/artifactregistry v1.11.2/go.mod h1:nLZns771ZGAwVLzTX/7Al6R9ehma4WUEhZGWV6CeQNQ= +cloud.google.com/go/artifactregistry v1.12.0/go.mod h1:o6P3MIvtzTOnmvGagO9v/rOjjA0HmhJ+/6KAXrmYDCI= +cloud.google.com/go/artifactregistry v1.13.0/go.mod h1:uy/LNfoOIivepGhooAUpL1i30Hgee3Cu0l4VTWHUC08= cloud.google.com/go/asset v1.5.0/go.mod h1:5mfs8UvcM5wHhqtSv8J1CtxxaQq3AdBxxQi2jGW/K4o= cloud.google.com/go/asset v1.7.0/go.mod h1:YbENsRK4+xTiL+Ofoj5Ckf+O17kJtgp3Y3nn4uzZz5s= cloud.google.com/go/asset v1.8.0/go.mod h1:mUNGKhiqIdbr8X7KNayoYvyc4HbbFO9URsjbytpUaW0= +cloud.google.com/go/asset v1.9.0/go.mod h1:83MOE6jEJBMqFKadM9NLRcs80Gdw76qGuHn8m3h8oHQ= +cloud.google.com/go/asset v1.10.0/go.mod h1:pLz7uokL80qKhzKr4xXGvBQXnzHn5evJAEAtZiIb0wY= +cloud.google.com/go/asset v1.11.1/go.mod h1:fSwLhbRvC9p9CXQHJ3BgFeQNM4c9x10lqlrdEUYXlJo= +cloud.google.com/go/asset v1.12.0/go.mod h1:h9/sFOa4eDIyKmH6QMpm4eUK3pDojWnUhTgJlk762Hg= +cloud.google.com/go/asset v1.13.0/go.mod h1:WQAMyYek/b7NBpYq/K4KJWcRqzoalEsxz/t/dTk4THw= cloud.google.com/go/assuredworkloads v1.5.0/go.mod h1:n8HOZ6pff6re5KYfBXcFvSViQjDwxFkAkmUFffJRbbY= cloud.google.com/go/assuredworkloads v1.6.0/go.mod h1:yo2YOk37Yc89Rsd5QMVECvjaMKymF9OP+QXWlKXUkXw= cloud.google.com/go/assuredworkloads v1.7.0/go.mod h1:z/736/oNmtGAyU47reJgGN+KVoYoxeLBoj4XkKYscNI= +cloud.google.com/go/assuredworkloads v1.8.0/go.mod h1:AsX2cqyNCOvEQC8RMPnoc0yEarXQk6WEKkxYfL6kGIo= +cloud.google.com/go/assuredworkloads v1.9.0/go.mod h1:kFuI1P78bplYtT77Tb1hi0FMxM0vVpRC7VVoJC3ZoT0= +cloud.google.com/go/assuredworkloads v1.10.0/go.mod h1:kwdUQuXcedVdsIaKgKTp9t0UJkE5+PAVNhdQm4ZVq2E= cloud.google.com/go/automl v1.5.0/go.mod h1:34EjfoFGMZ5sgJ9EoLsRtdPSNZLcfflJR39VbVNS2M0= cloud.google.com/go/automl v1.6.0/go.mod h1:ugf8a6Fx+zP0D59WLhqgTDsQI9w07o64uf/Is3Nh5p8= +cloud.google.com/go/automl v1.7.0/go.mod h1:RL9MYCCsJEOmt0Wf3z9uzG0a7adTT1fe+aObgSpkCt8= +cloud.google.com/go/automl v1.8.0/go.mod h1:xWx7G/aPEe/NP+qzYXktoBSDfjO+vnKMGgsApGJJquM= +cloud.google.com/go/automl v1.12.0/go.mod h1:tWDcHDp86aMIuHmyvjuKeeHEGq76lD7ZqfGLN6B0NuU= +cloud.google.com/go/baremetalsolution v0.3.0/go.mod h1:XOrocE+pvK1xFfleEnShBlNAXf+j5blPPxrhjKgnIFc= +cloud.google.com/go/baremetalsolution v0.4.0/go.mod h1:BymplhAadOO/eBa7KewQ0Ppg4A4Wplbn+PsFKRLo0uI= +cloud.google.com/go/baremetalsolution v0.5.0/go.mod h1:dXGxEkmR9BMwxhzBhV0AioD0ULBmuLZI8CdwalUxuss= +cloud.google.com/go/batch v0.3.0/go.mod h1:TR18ZoAekj1GuirsUsR1ZTKN3FC/4UDnScjT8NXImFE= +cloud.google.com/go/batch v0.4.0/go.mod h1:WZkHnP43R/QCGQsZ+0JyG4i79ranE2u8xvjq/9+STPE= +cloud.google.com/go/batch v0.7.0/go.mod h1:vLZN95s6teRUqRQ4s3RLDsH8PvboqBK+rn1oevL159g= +cloud.google.com/go/beyondcorp v0.2.0/go.mod h1:TB7Bd+EEtcw9PCPQhCJtJGjk/7TC6ckmnSFS+xwTfm4= +cloud.google.com/go/beyondcorp v0.3.0/go.mod h1:E5U5lcrcXMsCuoDNyGrpyTm/hn7ne941Jz2vmksAxW8= +cloud.google.com/go/beyondcorp v0.4.0/go.mod h1:3ApA0mbhHx6YImmuubf5pyW8srKnCEPON32/5hj+RmM= +cloud.google.com/go/beyondcorp v0.5.0/go.mod h1:uFqj9X+dSfrheVp7ssLTaRHd2EHqSL4QZmH4e8WXGGU= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= @@ -65,12 +125,44 @@ cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUM cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= cloud.google.com/go/bigquery v1.42.0/go.mod h1:8dRTJxhtG+vwBKzE5OseQn/hiydoQN3EedCaOdYmxRA= +cloud.google.com/go/bigquery v1.43.0/go.mod h1:ZMQcXHsl+xmU1z36G2jNGZmKp9zNY5BUua5wDgmNCfw= +cloud.google.com/go/bigquery v1.44.0/go.mod h1:0Y33VqXTEsbamHJvJHdFmtqHvMIY28aK1+dFsvaChGc= +cloud.google.com/go/bigquery v1.47.0/go.mod h1:sA9XOgy0A8vQK9+MWhEQTY6Tix87M/ZurWFIxmF9I/E= +cloud.google.com/go/bigquery v1.48.0/go.mod h1:QAwSz+ipNgfL5jxiaK7weyOhzdoAy1zFm0Nf1fysJac= +cloud.google.com/go/bigquery v1.49.0/go.mod h1:Sv8hMmTFFYBlt/ftw2uN6dFdQPzBlREY9yBh7Oy7/4Q= +cloud.google.com/go/bigquery v1.50.0/go.mod h1:YrleYEh2pSEbgTBZYMJ5SuSr0ML3ypjRB1zgf7pvQLU= cloud.google.com/go/billing v1.4.0/go.mod h1:g9IdKBEFlItS8bTtlrZdVLWSSdSyFUZKXNS02zKMOZY= cloud.google.com/go/billing v1.5.0/go.mod h1:mztb1tBc3QekhjSgmpf/CV4LzWXLzCArwpLmP2Gm88s= +cloud.google.com/go/billing v1.6.0/go.mod h1:WoXzguj+BeHXPbKfNWkqVtDdzORazmCjraY+vrxcyvI= +cloud.google.com/go/billing v1.7.0/go.mod h1:q457N3Hbj9lYwwRbnlD7vUpyjq6u5U1RAOArInEiD5Y= +cloud.google.com/go/billing v1.12.0/go.mod h1:yKrZio/eu+okO/2McZEbch17O5CB5NpZhhXG6Z766ss= +cloud.google.com/go/billing v1.13.0/go.mod h1:7kB2W9Xf98hP9Sr12KfECgfGclsH3CQR0R08tnRlRbc= cloud.google.com/go/binaryauthorization v1.1.0/go.mod h1:xwnoWu3Y84jbuHa0zd526MJYmtnVXn0syOjaJgy4+dM= cloud.google.com/go/binaryauthorization v1.2.0/go.mod h1:86WKkJHtRcv5ViNABtYMhhNWRrD1Vpi//uKEy7aYEfI= +cloud.google.com/go/binaryauthorization v1.3.0/go.mod h1:lRZbKgjDIIQvzYQS1p99A7/U1JqvqeZg0wiI5tp6tg0= +cloud.google.com/go/binaryauthorization v1.4.0/go.mod h1:tsSPQrBd77VLplV70GUhBf/Zm3FsKmgSqgm4UmiDItk= +cloud.google.com/go/binaryauthorization v1.5.0/go.mod h1:OSe4OU1nN/VswXKRBmciKpo9LulY41gch5c68htf3/Q= +cloud.google.com/go/certificatemanager v1.3.0/go.mod h1:n6twGDvcUBFu9uBgt4eYvvf3sQ6My8jADcOVwHmzadg= +cloud.google.com/go/certificatemanager v1.4.0/go.mod h1:vowpercVFyqs8ABSmrdV+GiFf2H/ch3KyudYQEMM590= +cloud.google.com/go/certificatemanager v1.6.0/go.mod h1:3Hh64rCKjRAX8dXgRAyOcY5vQ/fE1sh8o+Mdd6KPgY8= +cloud.google.com/go/channel v1.8.0/go.mod h1:W5SwCXDJsq/rg3tn3oG0LOxpAo6IMxNa09ngphpSlnk= +cloud.google.com/go/channel v1.9.0/go.mod h1:jcu05W0my9Vx4mt3/rEHpfxc9eKi9XwsdDL8yBMbKUk= +cloud.google.com/go/channel v1.11.0/go.mod h1:IdtI0uWGqhEeatSB62VOoJ8FSUhJ9/+iGkJVqp74CGE= +cloud.google.com/go/channel v1.12.0/go.mod h1:VkxCGKASi4Cq7TbXxlaBezonAYpp1GCnKMY6tnMQnLU= +cloud.google.com/go/cloudbuild v1.3.0/go.mod h1:WequR4ULxlqvMsjDEEEFnOG5ZSRSgWOywXYDb1vPE6U= +cloud.google.com/go/cloudbuild v1.4.0/go.mod h1:5Qwa40LHiOXmz3386FrjrYM93rM/hdRr7b53sySrTqA= +cloud.google.com/go/cloudbuild v1.6.0/go.mod h1:UIbc/w9QCbH12xX+ezUsgblrWv+Cv4Tw83GiSMHOn9M= +cloud.google.com/go/cloudbuild v1.7.0/go.mod h1:zb5tWh2XI6lR9zQmsm1VRA+7OCuve5d8S+zJUul8KTg= +cloud.google.com/go/cloudbuild v1.9.0/go.mod h1:qK1d7s4QlO0VwfYn5YuClDGg2hfmLZEb4wQGAbIgL1s= +cloud.google.com/go/clouddms v1.3.0/go.mod h1:oK6XsCDdW4Ib3jCCBugx+gVjevp2TMXFtgxvPSee3OM= +cloud.google.com/go/clouddms v1.4.0/go.mod h1:Eh7sUGCC+aKry14O1NRljhjyrr0NFC0G2cjwX0cByRk= +cloud.google.com/go/clouddms v1.5.0/go.mod h1:QSxQnhikCLUw13iAbffF2CZxAER3xDGNHjsTAkQJcQA= cloud.google.com/go/cloudtasks v1.5.0/go.mod h1:fD92REy1x5woxkKEkLdvavGnPJGEn8Uic9nWuLzqCpY= cloud.google.com/go/cloudtasks v1.6.0/go.mod h1:C6Io+sxuke9/KNRkbQpihnW93SWDU3uXt92nu85HkYI= +cloud.google.com/go/cloudtasks v1.7.0/go.mod h1:ImsfdYWwlWNJbdgPIIGJWC+gemEGTBK/SunNQQNCAb4= +cloud.google.com/go/cloudtasks v1.8.0/go.mod h1:gQXUIwCSOI4yPVK7DgTVFiiP0ZW/eQkydWzwVMdHxrI= +cloud.google.com/go/cloudtasks v1.9.0/go.mod h1:w+EyLsVkLWHcOaqNEyvcKAsWp9p29dL6uL9Nst1cI7Y= +cloud.google.com/go/cloudtasks v1.10.0/go.mod h1:NDSoTLkZ3+vExFEWu2UJV1arUyzVDAiZtdWcsUyNwBs= cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= @@ -78,181 +170,519 @@ cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU= +cloud.google.com/go/compute v1.12.0/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU= +cloud.google.com/go/compute v1.12.1/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU= +cloud.google.com/go/compute v1.13.0/go.mod h1:5aPTS0cUNMIc1CE546K+Th6weJUNQErARyZtRXDJ8GE= +cloud.google.com/go/compute v1.14.0/go.mod h1:YfLtxrj9sU4Yxv+sXzZkyPjEyPBZfXHUvjxega5vAdo= +cloud.google.com/go/compute v1.15.1/go.mod h1:bjjoF/NtFUrkD/urWfdHaKuOPDR5nWIs63rR+SXhcpA= +cloud.google.com/go/compute v1.18.0/go.mod h1:1X7yHxec2Ga+Ss6jPyjxRxpu2uu7PLgsOVXvgU0yacs= +cloud.google.com/go/compute v1.19.0/go.mod h1:rikpw2y+UMidAe9tISo04EHNOIf42RLYF/q8Bs93scU= +cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IKd5/kvShxE= cloud.google.com/go/compute v1.23.0 h1:tP41Zoavr8ptEqaW6j+LQOnyBBhO7OkOMAGrgLopTwY= cloud.google.com/go/compute v1.23.0/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= +cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU= +cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= +cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= +cloud.google.com/go/contactcenterinsights v1.3.0/go.mod h1:Eu2oemoePuEFc/xKFPjbTuPSj0fYJcPls9TFlPNnHHY= +cloud.google.com/go/contactcenterinsights v1.4.0/go.mod h1:L2YzkGbPsv+vMQMCADxJoT9YiTTnSEd6fEvCeHTYVck= +cloud.google.com/go/contactcenterinsights v1.6.0/go.mod h1:IIDlT6CLcDoyv79kDv8iWxMSTZhLxSCofVV5W6YFM/w= +cloud.google.com/go/container v1.6.0/go.mod h1:Xazp7GjJSeUYo688S+6J5V+n/t+G5sKBTFkKNudGRxg= +cloud.google.com/go/container v1.7.0/go.mod h1:Dp5AHtmothHGX3DwwIHPgq45Y8KmNsgN3amoYfxVkLo= +cloud.google.com/go/container v1.13.1/go.mod h1:6wgbMPeQRw9rSnKBCAJXnds3Pzj03C4JHamr8asWKy4= +cloud.google.com/go/container v1.14.0/go.mod h1:3AoJMPhHfLDxLvrlVWaK57IXzaPnLaZq63WX59aQBfM= +cloud.google.com/go/container v1.15.0/go.mod h1:ft+9S0WGjAyjDggg5S06DXj+fHJICWg8L7isCQe9pQA= cloud.google.com/go/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I= cloud.google.com/go/containeranalysis v0.6.0/go.mod h1:HEJoiEIu+lEXM+k7+qLCci0h33lX3ZqoYFdmPcoO7s4= +cloud.google.com/go/containeranalysis v0.7.0/go.mod h1:9aUL+/vZ55P2CXfuZjS4UjQ9AgXoSw8Ts6lemfmxBxI= +cloud.google.com/go/containeranalysis v0.9.0/go.mod h1:orbOANbwk5Ejoom+s+DUCTTJ7IBdBQJDcSylAx/on9s= cloud.google.com/go/datacatalog v1.3.0/go.mod h1:g9svFY6tuR+j+hrTw3J2dNcmI0dzmSiyOzm8kpLq0a0= cloud.google.com/go/datacatalog v1.5.0/go.mod h1:M7GPLNQeLfWqeIm3iuiruhPzkt65+Bx8dAKvScX8jvs= cloud.google.com/go/datacatalog v1.6.0/go.mod h1:+aEyF8JKg+uXcIdAmmaMUmZ3q1b/lKLtXCmXdnc0lbc= +cloud.google.com/go/datacatalog v1.7.0/go.mod h1:9mEl4AuDYWw81UGc41HonIHH7/sn52H0/tc8f8ZbZIE= +cloud.google.com/go/datacatalog v1.8.0/go.mod h1:KYuoVOv9BM8EYz/4eMFxrr4DUKhGIOXxZoKYF5wdISM= +cloud.google.com/go/datacatalog v1.8.1/go.mod h1:RJ58z4rMp3gvETA465Vg+ag8BGgBdnRPEMMSTr5Uv+M= +cloud.google.com/go/datacatalog v1.12.0/go.mod h1:CWae8rFkfp6LzLumKOnmVh4+Zle4A3NXLzVJ1d1mRm0= +cloud.google.com/go/datacatalog v1.13.0/go.mod h1:E4Rj9a5ZtAxcQJlEBTLgMTphfP11/lNaAshpoBgemX8= cloud.google.com/go/dataflow v0.6.0/go.mod h1:9QwV89cGoxjjSR9/r7eFDqqjtvbKxAK2BaYU6PVk9UM= cloud.google.com/go/dataflow v0.7.0/go.mod h1:PX526vb4ijFMesO1o202EaUmouZKBpjHsTlCtB4parQ= +cloud.google.com/go/dataflow v0.8.0/go.mod h1:Rcf5YgTKPtQyYz8bLYhFoIV/vP39eL7fWNcSOyFfLJE= cloud.google.com/go/dataform v0.3.0/go.mod h1:cj8uNliRlHpa6L3yVhDOBrUXH+BPAO1+KFMQQNSThKo= cloud.google.com/go/dataform v0.4.0/go.mod h1:fwV6Y4Ty2yIFL89huYlEkwUPtS7YZinZbzzj5S9FzCE= +cloud.google.com/go/dataform v0.5.0/go.mod h1:GFUYRe8IBa2hcomWplodVmUx/iTL0FrsauObOM3Ipr0= +cloud.google.com/go/dataform v0.6.0/go.mod h1:QPflImQy33e29VuapFdf19oPbE4aYTJxr31OAPV+ulA= +cloud.google.com/go/dataform v0.7.0/go.mod h1:7NulqnVozfHvWUBpMDfKMUESr+85aJsC/2O0o3jWPDE= +cloud.google.com/go/datafusion v1.4.0/go.mod h1:1Zb6VN+W6ALo85cXnM1IKiPw+yQMKMhB9TsTSRDo/38= +cloud.google.com/go/datafusion v1.5.0/go.mod h1:Kz+l1FGHB0J+4XF2fud96WMmRiq/wj8N9u007vyXZ2w= +cloud.google.com/go/datafusion v1.6.0/go.mod h1:WBsMF8F1RhSXvVM8rCV3AeyWVxcC2xY6vith3iw3S+8= cloud.google.com/go/datalabeling v0.5.0/go.mod h1:TGcJ0G2NzcsXSE/97yWjIZO0bXj0KbVlINXMG9ud42I= cloud.google.com/go/datalabeling v0.6.0/go.mod h1:WqdISuk/+WIGeMkpw/1q7bK/tFEZxsrFJOJdY2bXvTQ= +cloud.google.com/go/datalabeling v0.7.0/go.mod h1:WPQb1y08RJbmpM3ww0CSUAGweL0SxByuW2E+FU+wXcM= +cloud.google.com/go/dataplex v1.3.0/go.mod h1:hQuRtDg+fCiFgC8j0zV222HvzFQdRd+SVX8gdmFcZzA= +cloud.google.com/go/dataplex v1.4.0/go.mod h1:X51GfLXEMVJ6UN47ESVqvlsRplbLhcsAt0kZCCKsU0A= +cloud.google.com/go/dataplex v1.5.2/go.mod h1:cVMgQHsmfRoI5KFYq4JtIBEUbYwc3c7tXmIDhRmNNVQ= +cloud.google.com/go/dataplex v1.6.0/go.mod h1:bMsomC/aEJOSpHXdFKFGQ1b0TDPIeL28nJObeO1ppRs= +cloud.google.com/go/dataproc v1.7.0/go.mod h1:CKAlMjII9H90RXaMpSxQ8EU6dQx6iAYNPcYPOkSbi8s= +cloud.google.com/go/dataproc v1.8.0/go.mod h1:5OW+zNAH0pMpw14JVrPONsxMQYMBqJuzORhIBfBn9uI= +cloud.google.com/go/dataproc v1.12.0/go.mod h1:zrF3aX0uV3ikkMz6z4uBbIKyhRITnxvr4i3IjKsKrw4= cloud.google.com/go/dataqna v0.5.0/go.mod h1:90Hyk596ft3zUQ8NkFfvICSIfHFh1Bc7C4cK3vbhkeo= cloud.google.com/go/dataqna v0.6.0/go.mod h1:1lqNpM7rqNLVgWBJyk5NF6Uen2PHym0jtVJonplVsDA= +cloud.google.com/go/dataqna v0.7.0/go.mod h1:Lx9OcIIeqCrw1a6KdO3/5KMP1wAmTc0slZWwP12Qq3c= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= +cloud.google.com/go/datastore v1.10.0/go.mod h1:PC5UzAmDEkAmkfaknstTYbNpgE49HAgW2J1gcgUfmdM= +cloud.google.com/go/datastore v1.11.0/go.mod h1:TvGxBIHCS50u8jzG+AW/ppf87v1of8nwzFNgEZU1D3c= cloud.google.com/go/datastream v1.2.0/go.mod h1:i/uTP8/fZwgATHS/XFu0TcNUhuA0twZxxQ3EyCUQMwo= cloud.google.com/go/datastream v1.3.0/go.mod h1:cqlOX8xlyYF/uxhiKn6Hbv6WjwPPuI9W2M9SAXwaLLQ= +cloud.google.com/go/datastream v1.4.0/go.mod h1:h9dpzScPhDTs5noEMQVWP8Wx8AFBRyS0s8KWPx/9r0g= +cloud.google.com/go/datastream v1.5.0/go.mod h1:6TZMMNPwjUqZHBKPQ1wwXpb0d5VDVPl2/XoS5yi88q4= +cloud.google.com/go/datastream v1.6.0/go.mod h1:6LQSuswqLa7S4rPAOZFVjHIG3wJIjZcZrw8JDEDJuIs= +cloud.google.com/go/datastream v1.7.0/go.mod h1:uxVRMm2elUSPuh65IbZpzJNMbuzkcvu5CjMqVIUHrww= +cloud.google.com/go/deploy v1.4.0/go.mod h1:5Xghikd4VrmMLNaF6FiRFDlHb59VM59YoDQnOUdsH/c= +cloud.google.com/go/deploy v1.5.0/go.mod h1:ffgdD0B89tToyW/U/D2eL0jN2+IEV/3EMuXHA0l4r+s= +cloud.google.com/go/deploy v1.6.0/go.mod h1:f9PTHehG/DjCom3QH0cntOVRm93uGBDt2vKzAPwpXQI= +cloud.google.com/go/deploy v1.8.0/go.mod h1:z3myEJnA/2wnB4sgjqdMfgxCA0EqC3RBTNcVPs93mtQ= cloud.google.com/go/dialogflow v1.15.0/go.mod h1:HbHDWs33WOGJgn6rfzBW1Kv807BE3O1+xGbn59zZWI4= cloud.google.com/go/dialogflow v1.16.1/go.mod h1:po6LlzGfK+smoSmTBnbkIZY2w8ffjz/RcGSS+sh1el0= cloud.google.com/go/dialogflow v1.17.0/go.mod h1:YNP09C/kXA1aZdBgC/VtXX74G/TKn7XVCcVumTflA+8= +cloud.google.com/go/dialogflow v1.18.0/go.mod h1:trO7Zu5YdyEuR+BhSNOqJezyFQ3aUzz0njv7sMx/iek= +cloud.google.com/go/dialogflow v1.19.0/go.mod h1:JVmlG1TwykZDtxtTXujec4tQ+D8SBFMoosgy+6Gn0s0= +cloud.google.com/go/dialogflow v1.29.0/go.mod h1:b+2bzMe+k1s9V+F2jbJwpHPzrnIyHihAdRFMtn2WXuM= +cloud.google.com/go/dialogflow v1.31.0/go.mod h1:cuoUccuL1Z+HADhyIA7dci3N5zUssgpBJmCzI6fNRB4= +cloud.google.com/go/dialogflow v1.32.0/go.mod h1:jG9TRJl8CKrDhMEcvfcfFkkpp8ZhgPz3sBGmAUYJ2qE= +cloud.google.com/go/dlp v1.6.0/go.mod h1:9eyB2xIhpU0sVwUixfBubDoRwP+GjeUoxxeueZmqvmM= +cloud.google.com/go/dlp v1.7.0/go.mod h1:68ak9vCiMBjbasxeVD17hVPxDEck+ExiHavX8kiHG+Q= +cloud.google.com/go/dlp v1.9.0/go.mod h1:qdgmqgTyReTz5/YNSSuueR8pl7hO0o9bQ39ZhtgkWp4= cloud.google.com/go/documentai v1.7.0/go.mod h1:lJvftZB5NRiFSX4moiye1SMxHx0Bc3x1+p9e/RfXYiU= cloud.google.com/go/documentai v1.8.0/go.mod h1:xGHNEB7CtsnySCNrCFdCyyMz44RhFEEX2Q7UD0c5IhU= +cloud.google.com/go/documentai v1.9.0/go.mod h1:FS5485S8R00U10GhgBC0aNGrJxBP8ZVpEeJ7PQDZd6k= +cloud.google.com/go/documentai v1.10.0/go.mod h1:vod47hKQIPeCfN2QS/jULIvQTugbmdc0ZvxxfQY1bg4= +cloud.google.com/go/documentai v1.16.0/go.mod h1:o0o0DLTEZ+YnJZ+J4wNfTxmDVyrkzFvttBXXtYRMHkM= +cloud.google.com/go/documentai v1.18.0/go.mod h1:F6CK6iUH8J81FehpskRmhLq/3VlwQvb7TvwOceQ2tbs= cloud.google.com/go/domains v0.6.0/go.mod h1:T9Rz3GasrpYk6mEGHh4rymIhjlnIuB4ofT1wTxDeT4Y= cloud.google.com/go/domains v0.7.0/go.mod h1:PtZeqS1xjnXuRPKE/88Iru/LdfoRyEHYA9nFQf4UKpg= +cloud.google.com/go/domains v0.8.0/go.mod h1:M9i3MMDzGFXsydri9/vW+EWz9sWb4I6WyHqdlAk0idE= cloud.google.com/go/edgecontainer v0.1.0/go.mod h1:WgkZ9tp10bFxqO8BLPqv2LlfmQF1X8lZqwW4r1BTajk= cloud.google.com/go/edgecontainer v0.2.0/go.mod h1:RTmLijy+lGpQ7BXuTDa4C4ssxyXT34NIuHIgKuP4s5w= -cloud.google.com/go/firestore v1.5.0/go.mod h1:c4nNYR1qdq7eaZ+jSc5fonrQN2k3M7sWATcYTiakjEo= +cloud.google.com/go/edgecontainer v0.3.0/go.mod h1:FLDpP4nykgwwIfcLt6zInhprzw0lEi2P1fjO6Ie0qbc= +cloud.google.com/go/edgecontainer v1.0.0/go.mod h1:cttArqZpBB2q58W/upSG++ooo6EsblxDIolxa3jSjbY= +cloud.google.com/go/errorreporting v0.3.0/go.mod h1:xsP2yaAp+OAW4OIm60An2bbLpqIhKXdWR/tawvl7QzU= +cloud.google.com/go/essentialcontacts v1.3.0/go.mod h1:r+OnHa5jfj90qIfZDO/VztSFqbQan7HV75p8sA+mdGI= +cloud.google.com/go/essentialcontacts v1.4.0/go.mod h1:8tRldvHYsmnBCHdFpvU+GL75oWiBKl80BiqlFh9tp+8= +cloud.google.com/go/essentialcontacts v1.5.0/go.mod h1:ay29Z4zODTuwliK7SnX8E86aUF2CTzdNtvv42niCX0M= +cloud.google.com/go/eventarc v1.7.0/go.mod h1:6ctpF3zTnaQCxUjHUdcfgcA1A2T309+omHZth7gDfmc= +cloud.google.com/go/eventarc v1.8.0/go.mod h1:imbzxkyAU4ubfsaKYdQg04WS1NvncblHEup4kvF+4gw= +cloud.google.com/go/eventarc v1.10.0/go.mod h1:u3R35tmZ9HvswGRBnF48IlYgYeBcPUCjkr4BTdem2Kw= +cloud.google.com/go/eventarc v1.11.0/go.mod h1:PyUjsUKPWoRBCHeOxZd/lbOOjahV41icXyUY5kSTvVY= +cloud.google.com/go/filestore v1.3.0/go.mod h1:+qbvHGvXU1HaKX2nD0WEPo92TP/8AQuCVEBXNY9z0+w= +cloud.google.com/go/filestore v1.4.0/go.mod h1:PaG5oDfo9r224f8OYXURtAsY+Fbyq/bLYoINEK8XQAI= +cloud.google.com/go/filestore v1.5.0/go.mod h1:FqBXDWBp4YLHqRnVGveOkHDf8svj9r5+mUDLupOWEDs= +cloud.google.com/go/filestore v1.6.0/go.mod h1:di5unNuss/qfZTw2U9nhFqo8/ZDSc466dre85Kydllg= +cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= +cloud.google.com/go/firestore v1.6.1/go.mod h1:asNXNOzBdyVQmEU+ggO8UPodTkEVFW5Qx+rwHnAz+EY= +cloud.google.com/go/firestore v1.9.0/go.mod h1:HMkjKHNTtRyZNiMzu7YAsLr9K3X2udY2AMwDaMEQiiE= cloud.google.com/go/functions v1.6.0/go.mod h1:3H1UA3qiIPRWD7PeZKLvHZ9SaQhR26XIJcC0A5GbvAk= cloud.google.com/go/functions v1.7.0/go.mod h1:+d+QBcWM+RsrgZfV9xo6KfA1GlzJfxcfZcRPEhDDfzg= +cloud.google.com/go/functions v1.8.0/go.mod h1:RTZ4/HsQjIqIYP9a9YPbU+QFoQsAlYgrwOXJWHn1POY= +cloud.google.com/go/functions v1.9.0/go.mod h1:Y+Dz8yGguzO3PpIjhLTbnqV1CWmgQ5UwtlpzoyquQ08= +cloud.google.com/go/functions v1.10.0/go.mod h1:0D3hEOe3DbEvCXtYOZHQZmD+SzYsi1YbI7dGvHfldXw= +cloud.google.com/go/functions v1.12.0/go.mod h1:AXWGrF3e2C/5ehvwYo/GH6O5s09tOPksiKhz+hH8WkA= +cloud.google.com/go/functions v1.13.0/go.mod h1:EU4O007sQm6Ef/PwRsI8N2umygGqPBS/IZQKBQBcJ3c= cloud.google.com/go/gaming v1.5.0/go.mod h1:ol7rGcxP/qHTRQE/RO4bxkXq+Fix0j6D4LFPzYTIrDM= cloud.google.com/go/gaming v1.6.0/go.mod h1:YMU1GEvA39Qt3zWGyAVA9bpYz/yAhTvaQ1t2sK4KPUA= +cloud.google.com/go/gaming v1.7.0/go.mod h1:LrB8U7MHdGgFG851iHAfqUdLcKBdQ55hzXy9xBJz0+w= +cloud.google.com/go/gaming v1.8.0/go.mod h1:xAqjS8b7jAVW0KFYeRUxngo9My3f33kFmua++Pi+ggM= +cloud.google.com/go/gaming v1.9.0/go.mod h1:Fc7kEmCObylSWLO334NcO+O9QMDyz+TKC4v1D7X+Bc0= +cloud.google.com/go/gkebackup v0.2.0/go.mod h1:XKvv/4LfG829/B8B7xRkk8zRrOEbKtEam6yNfuQNH60= +cloud.google.com/go/gkebackup v0.3.0/go.mod h1:n/E671i1aOQvUxT541aTkCwExO/bTer2HDlj4TsBRAo= +cloud.google.com/go/gkebackup v0.4.0/go.mod h1:byAyBGUwYGEEww7xsbnUTBHIYcOPy/PgUWUtOeRm9Vg= cloud.google.com/go/gkeconnect v0.5.0/go.mod h1:c5lsNAg5EwAy7fkqX/+goqFsU1Da/jQFqArp+wGNr/o= cloud.google.com/go/gkeconnect v0.6.0/go.mod h1:Mln67KyU/sHJEBY8kFZ0xTeyPtzbq9StAVvEULYK16A= +cloud.google.com/go/gkeconnect v0.7.0/go.mod h1:SNfmVqPkaEi3bF/B3CNZOAYPYdg7sU+obZ+QTky2Myw= cloud.google.com/go/gkehub v0.9.0/go.mod h1:WYHN6WG8w9bXU0hqNxt8rm5uxnk8IH+lPY9J2TV7BK0= cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y977wO+hBH0= +cloud.google.com/go/gkehub v0.11.0/go.mod h1:JOWHlmN+GHyIbuWQPl47/C2RFhnFKH38jH9Ascu3n0E= +cloud.google.com/go/gkehub v0.12.0/go.mod h1:djiIwwzTTBrF5NaXCGv3mf7klpEMcST17VBTVVDcuaw= +cloud.google.com/go/gkemulticloud v0.3.0/go.mod h1:7orzy7O0S+5kq95e4Hpn7RysVA7dPs8W/GgfUtsPbrA= +cloud.google.com/go/gkemulticloud v0.4.0/go.mod h1:E9gxVBnseLWCk24ch+P9+B2CoDFJZTyIgLKSalC7tuI= +cloud.google.com/go/gkemulticloud v0.5.0/go.mod h1:W0JDkiyi3Tqh0TJr//y19wyb1yf8llHVto2Htf2Ja3Y= cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc= +cloud.google.com/go/gsuiteaddons v1.3.0/go.mod h1:EUNK/J1lZEZO8yPtykKxLXI6JSVN2rg9bN8SXOa0bgM= +cloud.google.com/go/gsuiteaddons v1.4.0/go.mod h1:rZK5I8hht7u7HxFQcFei0+AtfS9uSushomRlg+3ua1o= +cloud.google.com/go/gsuiteaddons v1.5.0/go.mod h1:TFCClYLd64Eaa12sFVmUyG62tk4mdIsI7pAnSXRkcFo= +cloud.google.com/go/iam v0.1.0/go.mod h1:vcUNEa0pEm0qRVpmWepWaFMIAI8/hjB9mO8rNCJtF6c= cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc= +cloud.google.com/go/iam v0.6.0/go.mod h1:+1AH33ueBne5MzYccyMHtEKqLE4/kJOibtffMHDMFMc= +cloud.google.com/go/iam v0.7.0/go.mod h1:H5Br8wRaDGNc8XP3keLc4unfUUZeyH3Sfl9XpQEYOeg= +cloud.google.com/go/iam v0.8.0/go.mod h1:lga0/y3iH6CX7sYqypWJ33hf7kkfXJag67naqGESjkE= +cloud.google.com/go/iam v0.11.0/go.mod h1:9PiLDanza5D+oWFZiH1uG+RnRCfEGKoyl6yo4cgWZGY= +cloud.google.com/go/iam v0.12.0/go.mod h1:knyHGviacl11zrtZUoDuYpDgLjvr28sLQaG0YB2GYAY= +cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0= cloud.google.com/go/iam v1.1.1 h1:lW7fzj15aVIXYHREOqjRBV9PsH0Z6u8Y46a1YGvQP4Y= cloud.google.com/go/iam v1.1.1/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= -cloud.google.com/go/kms v0.1.0/go.mod h1:8Qp8PCAypHg4FdmlyW1QRAv09BGQ9Uzh7JnmIZxPk+c= +cloud.google.com/go/iap v1.4.0/go.mod h1:RGFwRJdihTINIe4wZ2iCP0zF/qu18ZwyKxrhMhygBEc= +cloud.google.com/go/iap v1.5.0/go.mod h1:UH/CGgKd4KyohZL5Pt0jSKE4m3FR51qg6FKQ/z/Ix9A= +cloud.google.com/go/iap v1.6.0/go.mod h1:NSuvI9C/j7UdjGjIde7t7HBz+QTwBcapPE07+sSRcLk= +cloud.google.com/go/iap v1.7.0/go.mod h1:beqQx56T9O1G1yNPph+spKpNibDlYIiIixiqsQXxLIo= +cloud.google.com/go/iap v1.7.1/go.mod h1:WapEwPc7ZxGt2jFGB/C/bm+hP0Y6NXzOYGjpPnmMS74= +cloud.google.com/go/ids v1.1.0/go.mod h1:WIuwCaYVOzHIj2OhN9HAwvW+DBdmUAdcWlFxRl+KubM= +cloud.google.com/go/ids v1.2.0/go.mod h1:5WXvp4n25S0rA/mQWAg1YEEBBq6/s+7ml1RDCW1IrcY= +cloud.google.com/go/ids v1.3.0/go.mod h1:JBdTYwANikFKaDP6LtW5JAi4gubs57SVNQjemdt6xV4= +cloud.google.com/go/iot v1.3.0/go.mod h1:r7RGh2B61+B8oz0AGE+J72AhA0G7tdXItODWsaA2oLs= +cloud.google.com/go/iot v1.4.0/go.mod h1:dIDxPOn0UvNDUMD8Ger7FIaTuvMkj+aGk94RPP0iV+g= +cloud.google.com/go/iot v1.5.0/go.mod h1:mpz5259PDl3XJthEmh9+ap0affn/MqNSP4My77Qql9o= +cloud.google.com/go/iot v1.6.0/go.mod h1:IqdAsmE2cTYYNO1Fvjfzo9po179rAtJeVGUvkLN3rLE= +cloud.google.com/go/kms v1.4.0/go.mod h1:fajBHndQ+6ubNw6Ss2sSd+SWvjL26RNo/dr7uxsnnOA= +cloud.google.com/go/kms v1.5.0/go.mod h1:QJS2YY0eJGBg3mnDfuaCyLauWwBJiHRboYxJ++1xJNg= +cloud.google.com/go/kms v1.6.0/go.mod h1:Jjy850yySiasBUDi6KFUwUv2n1+o7QZFyuUJg6OgjA0= +cloud.google.com/go/kms v1.8.0/go.mod h1:4xFEhYFqvW+4VMELtZyxomGSYtSQKzM178ylFW4jMAg= +cloud.google.com/go/kms v1.9.0/go.mod h1:qb1tPTgfF9RQP8e1wq4cLFErVuTJv7UsSC915J8dh3w= +cloud.google.com/go/kms v1.10.0/go.mod h1:ng3KTUtQQU9bPX3+QGLsflZIHlkbn8amFAMY63m8d24= +cloud.google.com/go/kms v1.10.1/go.mod h1:rIWk/TryCkR59GMC3YtHtXeLzd634lBbKenvyySAyYI= cloud.google.com/go/kms v1.15.0 h1:xYl5WEaSekKYN5gGRyhjvZKM22GVBBCzegGNVPy+aIs= cloud.google.com/go/kms v1.15.0/go.mod h1:c9J991h5DTl+kg7gi3MYomh12YEENGrf48ee/N/2CDM= cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI= +cloud.google.com/go/language v1.7.0/go.mod h1:DJ6dYN/W+SQOjF8e1hLQXMF21AkH2w9wiPzPCJa2MIE= +cloud.google.com/go/language v1.8.0/go.mod h1:qYPVHf7SPoNNiCL2Dr0FfEFNil1qi3pQEyygwpgVKB8= +cloud.google.com/go/language v1.9.0/go.mod h1:Ns15WooPM5Ad/5no/0n81yUetis74g3zrbeJBE+ptUY= cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaMLqh5vLUXs9zvT8= cloud.google.com/go/lifesciences v0.6.0/go.mod h1:ddj6tSX/7BOnhxCSd3ZcETvtNr8NZ6t/iPhY2Tyfu08= +cloud.google.com/go/lifesciences v0.8.0/go.mod h1:lFxiEOMqII6XggGbOnKiyZ7IBwoIqA84ClvoezaA/bo= +cloud.google.com/go/logging v1.6.1/go.mod h1:5ZO0mHHbvm8gEmeEUHrmDlTDSu5imF6MUP9OfilNXBw= cloud.google.com/go/logging v1.7.0 h1:CJYxlNNNNAMkHp9em/YEXcfJg+rPDg7YfwoRpMU+t5I= cloud.google.com/go/logging v1.7.0/go.mod h1:3xjP2CjkM3ZkO73aj4ASA5wRPGGCRrPIAeNqVNkzY8M= +cloud.google.com/go/longrunning v0.1.1/go.mod h1:UUFxuDWkv22EuY93jjmDMFT5GPQKeFVJBIF6QlTqdsE= +cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc= +cloud.google.com/go/longrunning v0.4.1/go.mod h1:4iWDqhBZ70CvZ6BfETbvam3T8FMvLK+eFj0E6AaRQTo= cloud.google.com/go/longrunning v0.5.1 h1:Fr7TXftcqTudoyRJa113hyaqlGdiBQkp0Gq7tErFDWI= cloud.google.com/go/longrunning v0.5.1/go.mod h1:spvimkwdz6SPWKEt/XBij79E9fiTkHSQl/fRUUQJYJc= +cloud.google.com/go/managedidentities v1.3.0/go.mod h1:UzlW3cBOiPrzucO5qWkNkh0w33KFtBJU281hacNvsdE= +cloud.google.com/go/managedidentities v1.4.0/go.mod h1:NWSBYbEMgqmbZsLIyKvxrYbtqOsxY1ZrGM+9RgDqInM= +cloud.google.com/go/managedidentities v1.5.0/go.mod h1:+dWcZ0JlUmpuxpIDfyP5pP5y0bLdRwOS4Lp7gMni/LA= +cloud.google.com/go/maps v0.1.0/go.mod h1:BQM97WGyfw9FWEmQMpZ5T6cpovXXSd1cGmFma94eubI= +cloud.google.com/go/maps v0.6.0/go.mod h1:o6DAMMfb+aINHz/p/jbcY+mYeXBoZoxTfdSQ8VAJaCw= +cloud.google.com/go/maps v0.7.0/go.mod h1:3GnvVl3cqeSvgMcpRlQidXsPYuDGQ8naBis7MVzpXsY= cloud.google.com/go/mediatranslation v0.5.0/go.mod h1:jGPUhGTybqsPQn91pNXw0xVHfuJ3leR1wj37oU3y1f4= cloud.google.com/go/mediatranslation v0.6.0/go.mod h1:hHdBCTYNigsBxshbznuIMFNe5QXEowAuNmmC7h8pu5w= +cloud.google.com/go/mediatranslation v0.7.0/go.mod h1:LCnB/gZr90ONOIQLgSXagp8XUW1ODs2UmUMvcgMfI2I= cloud.google.com/go/memcache v1.4.0/go.mod h1:rTOfiGZtJX1AaFUrOgsMHX5kAzaTQ8azHiuDoTPzNsE= cloud.google.com/go/memcache v1.5.0/go.mod h1:dk3fCK7dVo0cUU2c36jKb4VqKPS22BTkf81Xq617aWM= +cloud.google.com/go/memcache v1.6.0/go.mod h1:XS5xB0eQZdHtTuTF9Hf8eJkKtR3pVRCcvJwtm68T3rA= +cloud.google.com/go/memcache v1.7.0/go.mod h1:ywMKfjWhNtkQTxrWxCkCFkoPjLHPW6A7WOTVI8xy3LY= +cloud.google.com/go/memcache v1.9.0/go.mod h1:8oEyzXCu+zo9RzlEaEjHl4KkgjlNDaXbCQeQWlzNFJM= cloud.google.com/go/metastore v1.5.0/go.mod h1:2ZNrDcQwghfdtCwJ33nM0+GrBGlVuh8rakL3vdPY3XY= cloud.google.com/go/metastore v1.6.0/go.mod h1:6cyQTls8CWXzk45G55x57DVQ9gWg7RiH65+YgPsNh9s= -cloud.google.com/go/monitoring v0.1.0/go.mod h1:Hpm3XfzJv+UTiXzCG5Ffp0wijzHTC7Cv4eR7o3x/fEE= +cloud.google.com/go/metastore v1.7.0/go.mod h1:s45D0B4IlsINu87/AsWiEVYbLaIMeUSoxlKKDqBGFS8= +cloud.google.com/go/metastore v1.8.0/go.mod h1:zHiMc4ZUpBiM7twCIFQmJ9JMEkDSyZS9U12uf7wHqSI= +cloud.google.com/go/metastore v1.10.0/go.mod h1:fPEnH3g4JJAk+gMRnrAnoqyv2lpUCqJPWOodSaf45Eo= +cloud.google.com/go/monitoring v1.1.0/go.mod h1:L81pzz7HKn14QCMaCs6NTQkdBnE87TElyanS95vIcl4= +cloud.google.com/go/monitoring v1.5.0/go.mod h1:/o9y8NYX5j91JjD/JvGLYbi86kL11OjyJXq2XziLJu4= +cloud.google.com/go/monitoring v1.7.0/go.mod h1:HpYse6kkGo//7p6sT0wsIC6IBDET0RhIsnmlA53dvEk= +cloud.google.com/go/monitoring v1.8.0/go.mod h1:E7PtoMJ1kQXWxPjB6mv2fhC5/15jInuulFdYYtlcvT4= +cloud.google.com/go/monitoring v1.12.0/go.mod h1:yx8Jj2fZNEkL/GYZyTLS4ZtZEZN8WtDEiEqG4kLK50w= +cloud.google.com/go/monitoring v1.13.0/go.mod h1:k2yMBAB1H9JT/QETjNkgdCGD9bPF712XiLTVr+cBrpw= cloud.google.com/go/networkconnectivity v1.4.0/go.mod h1:nOl7YL8odKyAOtzNX73/M5/mGZgqqMeryi6UPZTk/rA= cloud.google.com/go/networkconnectivity v1.5.0/go.mod h1:3GzqJx7uhtlM3kln0+x5wyFvuVH1pIBJjhCpjzSt75o= +cloud.google.com/go/networkconnectivity v1.6.0/go.mod h1:OJOoEXW+0LAxHh89nXd64uGG+FbQoeH8DtxCHVOMlaM= +cloud.google.com/go/networkconnectivity v1.7.0/go.mod h1:RMuSbkdbPwNMQjB5HBWD5MpTBnNm39iAVpC3TmsExt8= +cloud.google.com/go/networkconnectivity v1.10.0/go.mod h1:UP4O4sWXJG13AqrTdQCD9TnLGEbtNRqjuaaA7bNjF5E= +cloud.google.com/go/networkconnectivity v1.11.0/go.mod h1:iWmDD4QF16VCDLXUqvyspJjIEtBR/4zq5hwnY2X3scM= +cloud.google.com/go/networkmanagement v1.4.0/go.mod h1:Q9mdLLRn60AsOrPc8rs8iNV6OHXaGcDdsIQe1ohekq8= +cloud.google.com/go/networkmanagement v1.5.0/go.mod h1:ZnOeZ/evzUdUsnvRt792H0uYEnHQEMaz+REhhzJRcf4= +cloud.google.com/go/networkmanagement v1.6.0/go.mod h1:5pKPqyXjB/sgtvB5xqOemumoQNB7y95Q7S+4rjSOPYY= cloud.google.com/go/networksecurity v0.5.0/go.mod h1:xS6fOCoqpVC5zx15Z/MqkfDwH4+m/61A3ODiDV1xmiQ= cloud.google.com/go/networksecurity v0.6.0/go.mod h1:Q5fjhTr9WMI5mbpRYEbiexTzROf7ZbDzvzCrNl14nyU= +cloud.google.com/go/networksecurity v0.7.0/go.mod h1:mAnzoxx/8TBSyXEeESMy9OOYwo1v+gZ5eMRnsT5bC8k= +cloud.google.com/go/networksecurity v0.8.0/go.mod h1:B78DkqsxFG5zRSVuwYFRZ9Xz8IcQ5iECsNrPn74hKHU= cloud.google.com/go/notebooks v1.2.0/go.mod h1:9+wtppMfVPUeJ8fIWPOq1UnATHISkGXGqTkxeieQ6UY= cloud.google.com/go/notebooks v1.3.0/go.mod h1:bFR5lj07DtCPC7YAAJ//vHskFBxA5JzYlH68kXVdk34= +cloud.google.com/go/notebooks v1.4.0/go.mod h1:4QPMngcwmgb6uw7Po99B2xv5ufVoIQ7nOGDyL4P8AgA= +cloud.google.com/go/notebooks v1.5.0/go.mod h1:q8mwhnP9aR8Hpfnrc5iN5IBhrXUy8S2vuYs+kBJ/gu0= +cloud.google.com/go/notebooks v1.7.0/go.mod h1:PVlaDGfJgj1fl1S3dUwhFMXFgfYGhYQt2164xOMONmE= +cloud.google.com/go/notebooks v1.8.0/go.mod h1:Lq6dYKOYOWUCTvw5t2q1gp1lAp0zxAxRycayS0iJcqQ= +cloud.google.com/go/optimization v1.1.0/go.mod h1:5po+wfvX5AQlPznyVEZjGJTMr4+CAkJf2XSTQOOl9l4= +cloud.google.com/go/optimization v1.2.0/go.mod h1:Lr7SOHdRDENsh+WXVmQhQTrzdu9ybg0NecjHidBq6xs= +cloud.google.com/go/optimization v1.3.1/go.mod h1:IvUSefKiwd1a5p0RgHDbWCIbDFgKuEdB+fPPuP0IDLI= +cloud.google.com/go/orchestration v1.3.0/go.mod h1:Sj5tq/JpWiB//X/q3Ngwdl5K7B7Y0KZ7bfv0wL6fqVA= +cloud.google.com/go/orchestration v1.4.0/go.mod h1:6W5NLFWs2TlniBphAViZEVhrXRSMgUGDfW7vrWKvsBk= +cloud.google.com/go/orchestration v1.6.0/go.mod h1:M62Bevp7pkxStDfFfTuCOaXgaaqRAga1yKyoMtEoWPQ= +cloud.google.com/go/orgpolicy v1.4.0/go.mod h1:xrSLIV4RePWmP9P3tBl8S93lTmlAxjm06NSm2UTmKvE= +cloud.google.com/go/orgpolicy v1.5.0/go.mod h1:hZEc5q3wzwXJaKrsx5+Ewg0u1LxJ51nNFlext7Tanwc= +cloud.google.com/go/orgpolicy v1.10.0/go.mod h1:w1fo8b7rRqlXlIJbVhOMPrwVljyuW5mqssvBtU18ONc= cloud.google.com/go/osconfig v1.7.0/go.mod h1:oVHeCeZELfJP7XLxcBGTMBvRO+1nQ5tFG9VQTmYS2Fs= cloud.google.com/go/osconfig v1.8.0/go.mod h1:EQqZLu5w5XA7eKizepumcvWx+m8mJUhEwiPqWiZeEdg= +cloud.google.com/go/osconfig v1.9.0/go.mod h1:Yx+IeIZJ3bdWmzbQU4fxNl8xsZ4amB+dygAwFPlvnNo= +cloud.google.com/go/osconfig v1.10.0/go.mod h1:uMhCzqC5I8zfD9zDEAfvgVhDS8oIjySWh+l4WK6GnWw= +cloud.google.com/go/osconfig v1.11.0/go.mod h1:aDICxrur2ogRd9zY5ytBLV89KEgT2MKB2L/n6x1ooPw= cloud.google.com/go/oslogin v1.4.0/go.mod h1:YdgMXWRaElXz/lDk1Na6Fh5orF7gvmJ0FGLIs9LId4E= cloud.google.com/go/oslogin v1.5.0/go.mod h1:D260Qj11W2qx/HVF29zBg+0fd6YCSjSqLUkY/qEenQU= +cloud.google.com/go/oslogin v1.6.0/go.mod h1:zOJ1O3+dTU8WPlGEkFSh7qeHPPSoxrcMbbK1Nm2iX70= +cloud.google.com/go/oslogin v1.7.0/go.mod h1:e04SN0xO1UNJ1M5GP0vzVBFicIe4O53FOfcixIqTyXo= +cloud.google.com/go/oslogin v1.9.0/go.mod h1:HNavntnH8nzrn8JCTT5fj18FuJLFJc4NaZJtBnQtKFs= cloud.google.com/go/phishingprotection v0.5.0/go.mod h1:Y3HZknsK9bc9dMi+oE8Bim0lczMU6hrX0UpADuMefr0= cloud.google.com/go/phishingprotection v0.6.0/go.mod h1:9Y3LBLgy0kDTcYET8ZH3bq/7qni15yVUoAxiFxnlSUA= +cloud.google.com/go/phishingprotection v0.7.0/go.mod h1:8qJI4QKHoda/sb/7/YmMQ2omRLSLYSu9bU0EKCNI+Lk= +cloud.google.com/go/policytroubleshooter v1.3.0/go.mod h1:qy0+VwANja+kKrjlQuOzmlvscn4RNsAc0e15GGqfMxg= +cloud.google.com/go/policytroubleshooter v1.4.0/go.mod h1:DZT4BcRw3QoO8ota9xw/LKtPa8lKeCByYeKTIf/vxdE= +cloud.google.com/go/policytroubleshooter v1.5.0/go.mod h1:Rz1WfV+1oIpPdN2VvvuboLVRsB1Hclg3CKQ53j9l8vw= +cloud.google.com/go/policytroubleshooter v1.6.0/go.mod h1:zYqaPTsmfvpjm5ULxAyD/lINQxJ0DDsnWOP/GZ7xzBc= cloud.google.com/go/privatecatalog v0.5.0/go.mod h1:XgosMUvvPyxDjAVNDYxJ7wBW8//hLDDYmnsNcMGq1K0= cloud.google.com/go/privatecatalog v0.6.0/go.mod h1:i/fbkZR0hLN29eEWiiwue8Pb+GforiEIBnV9yrRUOKI= +cloud.google.com/go/privatecatalog v0.7.0/go.mod h1:2s5ssIFO69F5csTXcwBP7NPFTZvps26xGzvQ2PQaBYg= +cloud.google.com/go/privatecatalog v0.8.0/go.mod h1:nQ6pfaegeDAq/Q5lrfCQzQLhubPiZhSaNhIgfJlnIXs= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/pubsub v1.16.0/go.mod h1:6A8EfoWZ/lUvCWStKGwAWauJZSiuV0Mkmu6WilK/TxQ= +cloud.google.com/go/pubsub v1.24.0/go.mod h1:rWv09Te1SsRpRGPiWOMDKraMQTJyJps4MkUCoMGUgqw= +cloud.google.com/go/pubsub v1.26.0/go.mod h1:QgBH3U/jdJy/ftjPhTkyXNj543Tin1pRYcdcPRnFIRI= +cloud.google.com/go/pubsub v1.27.1/go.mod h1:hQN39ymbV9geqBnfQq6Xf63yNhUAhv9CZhzp5O6qsW0= +cloud.google.com/go/pubsub v1.28.0/go.mod h1:vuXFpwaVoIPQMGXqRyUQigu/AX1S3IWugR9xznmcXX8= +cloud.google.com/go/pubsub v1.30.0/go.mod h1:qWi1OPS0B+b5L+Sg6Gmc9zD1Y+HaM0MdUr7LsupY1P4= +cloud.google.com/go/pubsublite v1.5.0/go.mod h1:xapqNQ1CuLfGi23Yda/9l4bBCKz/wC3KIJ5gKcxveZg= +cloud.google.com/go/pubsublite v1.6.0/go.mod h1:1eFCS0U11xlOuMFV/0iBqw3zP12kddMeCbj/F3FSj9k= +cloud.google.com/go/pubsublite v1.7.0/go.mod h1:8hVMwRXfDfvGm3fahVbtDbiLePT3gpoiJYJY+vxWxVM= cloud.google.com/go/recaptchaenterprise v1.3.1/go.mod h1:OdD+q+y4XGeAlxRaMn1Y7/GveP6zmq76byL6tjPE7d4= cloud.google.com/go/recaptchaenterprise/v2 v2.1.0/go.mod h1:w9yVqajwroDNTfGuhmOjPDN//rZGySaf6PtFVcSCa7o= cloud.google.com/go/recaptchaenterprise/v2 v2.2.0/go.mod h1:/Zu5jisWGeERrd5HnlS3EUGb/D335f9k51B/FVil0jk= cloud.google.com/go/recaptchaenterprise/v2 v2.3.0/go.mod h1:O9LwGCjrhGHBQET5CA7dd5NwwNQUErSgEDit1DLNTdo= +cloud.google.com/go/recaptchaenterprise/v2 v2.4.0/go.mod h1:Am3LHfOuBstrLrNCBrlI5sbwx9LBg3te2N6hGvHn2mE= +cloud.google.com/go/recaptchaenterprise/v2 v2.5.0/go.mod h1:O8LzcHXN3rz0j+LBC91jrwI3R+1ZSZEWrfL7XHgNo9U= +cloud.google.com/go/recaptchaenterprise/v2 v2.6.0/go.mod h1:RPauz9jeLtB3JVzg6nCbe12qNoaa8pXc4d/YukAmcnA= +cloud.google.com/go/recaptchaenterprise/v2 v2.7.0/go.mod h1:19wVj/fs5RtYtynAPJdDTb69oW0vNHYDBTbB4NvMD9c= cloud.google.com/go/recommendationengine v0.5.0/go.mod h1:E5756pJcVFeVgaQv3WNpImkFP8a+RptV6dDLGPILjvg= cloud.google.com/go/recommendationengine v0.6.0/go.mod h1:08mq2umu9oIqc7tDy8sx+MNJdLG0fUi3vaSVbztHgJ4= +cloud.google.com/go/recommendationengine v0.7.0/go.mod h1:1reUcE3GIu6MeBz/h5xZJqNLuuVjNg1lmWMPyjatzac= cloud.google.com/go/recommender v1.5.0/go.mod h1:jdoeiBIVrJe9gQjwd759ecLJbxCDED4A6p+mqoqDvTg= cloud.google.com/go/recommender v1.6.0/go.mod h1:+yETpm25mcoiECKh9DEScGzIRyDKpZ0cEhWGo+8bo+c= +cloud.google.com/go/recommender v1.7.0/go.mod h1:XLHs/W+T8olwlGOgfQenXBTbIseGclClff6lhFVe9Bs= +cloud.google.com/go/recommender v1.8.0/go.mod h1:PkjXrTT05BFKwxaUxQmtIlrtj0kph108r02ZZQ5FE70= +cloud.google.com/go/recommender v1.9.0/go.mod h1:PnSsnZY7q+VL1uax2JWkt/UegHssxjUVVCrX52CuEmQ= cloud.google.com/go/redis v1.7.0/go.mod h1:V3x5Jq1jzUcg+UNsRvdmsfuFnit1cfe3Z/PGyq/lm4Y= cloud.google.com/go/redis v1.8.0/go.mod h1:Fm2szCDavWzBk2cDKxrkmWBqoCiL1+Ctwq7EyqBCA/A= +cloud.google.com/go/redis v1.9.0/go.mod h1:HMYQuajvb2D0LvMgZmLDZW8V5aOC/WxstZHiy4g8OiA= +cloud.google.com/go/redis v1.10.0/go.mod h1:ThJf3mMBQtW18JzGgh41/Wld6vnDDc/F/F35UolRZPM= +cloud.google.com/go/redis v1.11.0/go.mod h1:/X6eicana+BWcUda5PpwZC48o37SiFVTFSs0fWAJ7uQ= +cloud.google.com/go/resourcemanager v1.3.0/go.mod h1:bAtrTjZQFJkiWTPDb1WBjzvc6/kifjj4QBYuKCCoqKA= +cloud.google.com/go/resourcemanager v1.4.0/go.mod h1:MwxuzkumyTX7/a3n37gmsT3py7LIXwrShilPh3P1tR0= +cloud.google.com/go/resourcemanager v1.5.0/go.mod h1:eQoXNAiAvCf5PXxWxXjhKQoTMaUSNrEfg+6qdf/wots= +cloud.google.com/go/resourcemanager v1.6.0/go.mod h1:YcpXGRs8fDzcUl1Xw8uOVmI8JEadvhRIkoXXUNVYcVo= +cloud.google.com/go/resourcemanager v1.7.0/go.mod h1:HlD3m6+bwhzj9XCouqmeiGuni95NTrExfhoSrkC/3EI= +cloud.google.com/go/resourcesettings v1.3.0/go.mod h1:lzew8VfESA5DQ8gdlHwMrqZs1S9V87v3oCnKCWoOuQU= +cloud.google.com/go/resourcesettings v1.4.0/go.mod h1:ldiH9IJpcrlC3VSuCGvjR5of/ezRrOxFtpJoJo5SmXg= +cloud.google.com/go/resourcesettings v1.5.0/go.mod h1:+xJF7QSG6undsQDfsCJyqWXyBwUoJLhetkRMDRnIoXA= cloud.google.com/go/retail v1.8.0/go.mod h1:QblKS8waDmNUhghY2TI9O3JLlFk8jybHeV4BF19FrE4= cloud.google.com/go/retail v1.9.0/go.mod h1:g6jb6mKuCS1QKnH/dpu7isX253absFl6iE92nHwlBUY= +cloud.google.com/go/retail v1.10.0/go.mod h1:2gDk9HsL4HMS4oZwz6daui2/jmKvqShXKQuB2RZ+cCc= +cloud.google.com/go/retail v1.11.0/go.mod h1:MBLk1NaWPmh6iVFSz9MeKG/Psyd7TAgm6y/9L2B4x9Y= +cloud.google.com/go/retail v1.12.0/go.mod h1:UMkelN/0Z8XvKymXFbD4EhFJlYKRx1FGhQkVPU5kF14= +cloud.google.com/go/run v0.2.0/go.mod h1:CNtKsTA1sDcnqqIFR3Pb5Tq0usWxJJvsWOCPldRU3Do= +cloud.google.com/go/run v0.3.0/go.mod h1:TuyY1+taHxTjrD0ZFk2iAR+xyOXEA0ztb7U3UNA0zBo= +cloud.google.com/go/run v0.8.0/go.mod h1:VniEnuBwqjigv0A7ONfQUaEItaiCRVujlMqerPPiktM= +cloud.google.com/go/run v0.9.0/go.mod h1:Wwu+/vvg8Y+JUApMwEDfVfhetv30hCG4ZwDR/IXl2Qg= cloud.google.com/go/scheduler v1.4.0/go.mod h1:drcJBmxF3aqZJRhmkHQ9b3uSSpQoltBPGPxGAWROx6s= cloud.google.com/go/scheduler v1.5.0/go.mod h1:ri073ym49NW3AfT6DZi21vLZrG07GXr5p3H1KxN5QlI= -cloud.google.com/go/secretmanager v0.1.0/go.mod h1:3nGKHvnzDUVit7U0S9KAKJ4aOsO1xtwRG+7ey5LK1bM= +cloud.google.com/go/scheduler v1.6.0/go.mod h1:SgeKVM7MIwPn3BqtcBntpLyrIJftQISRrYB5ZtT+KOk= +cloud.google.com/go/scheduler v1.7.0/go.mod h1:jyCiBqWW956uBjjPMMuX09n3x37mtyPJegEWKxRsn44= +cloud.google.com/go/scheduler v1.8.0/go.mod h1:TCET+Y5Gp1YgHT8py4nlg2Sew8nUHMqcpousDgXJVQc= +cloud.google.com/go/scheduler v1.9.0/go.mod h1:yexg5t+KSmqu+njTIh3b7oYPheFtBWGcbVUYF1GGMIc= +cloud.google.com/go/secretmanager v1.5.0/go.mod h1:5C9kM+RwSpkURNovKySkNvGQLUaOgyoR5W0RUx2SyHQ= cloud.google.com/go/secretmanager v1.6.0/go.mod h1:awVa/OXF6IiyaU1wQ34inzQNc4ISIDIrId8qE5QGgKA= +cloud.google.com/go/secretmanager v1.8.0/go.mod h1:hnVgi/bN5MYHd3Gt0SPuTPPp5ENina1/LxM+2W9U9J4= +cloud.google.com/go/secretmanager v1.9.0/go.mod h1:b71qH2l1yHmWQHt9LC80akm86mX8AL6X1MA01dW8ht4= +cloud.google.com/go/secretmanager v1.10.0/go.mod h1:MfnrdvKMPNra9aZtQFvBcvRU54hbPD8/HayQdlUgJpU= cloud.google.com/go/security v1.5.0/go.mod h1:lgxGdyOKKjHL4YG3/YwIL2zLqMFCKs0UbQwgyZmfJl4= cloud.google.com/go/security v1.7.0/go.mod h1:mZklORHl6Bg7CNnnjLH//0UlAlaXqiG7Lb9PsPXLfD0= cloud.google.com/go/security v1.8.0/go.mod h1:hAQOwgmaHhztFhiQ41CjDODdWP0+AE1B3sX4OFlq+GU= +cloud.google.com/go/security v1.9.0/go.mod h1:6Ta1bO8LXI89nZnmnsZGp9lVoVWXqsVbIq/t9dzI+2Q= +cloud.google.com/go/security v1.10.0/go.mod h1:QtOMZByJVlibUT2h9afNDWRZ1G96gVywH8T5GUSb9IA= +cloud.google.com/go/security v1.12.0/go.mod h1:rV6EhrpbNHrrxqlvW0BWAIawFWq3X90SduMJdFwtLB8= +cloud.google.com/go/security v1.13.0/go.mod h1:Q1Nvxl1PAgmeW0y3HTt54JYIvUdtcpYKVfIB8AOMZ+0= cloud.google.com/go/securitycenter v1.13.0/go.mod h1:cv5qNAqjY84FCN6Y9z28WlkKXyWsgLO832YiWwkCWcU= cloud.google.com/go/securitycenter v1.14.0/go.mod h1:gZLAhtyKv85n52XYWt6RmeBdydyxfPeTrpToDPw4Auc= +cloud.google.com/go/securitycenter v1.15.0/go.mod h1:PeKJ0t8MoFmmXLXWm41JidyzI3PJjd8sXWaVqg43WWk= +cloud.google.com/go/securitycenter v1.16.0/go.mod h1:Q9GMaLQFUD+5ZTabrbujNWLtSLZIZF7SAR0wWECrjdk= +cloud.google.com/go/securitycenter v1.18.1/go.mod h1:0/25gAzCM/9OL9vVx4ChPeM/+DlfGQJDwBy/UC8AKK0= +cloud.google.com/go/securitycenter v1.19.0/go.mod h1:LVLmSg8ZkkyaNy4u7HCIshAngSQ8EcIRREP3xBnyfag= +cloud.google.com/go/servicecontrol v1.4.0/go.mod h1:o0hUSJ1TXJAmi/7fLJAedOovnujSEvjKCAFNXPQ1RaU= +cloud.google.com/go/servicecontrol v1.5.0/go.mod h1:qM0CnXHhyqKVuiZnGKrIurvVImCs8gmqWsDoqe9sU1s= +cloud.google.com/go/servicecontrol v1.10.0/go.mod h1:pQvyvSRh7YzUF2efw7H87V92mxU8FnFDawMClGCNuAA= +cloud.google.com/go/servicecontrol v1.11.0/go.mod h1:kFmTzYzTUIuZs0ycVqRHNaNhgR+UMUpw9n02l/pY+mc= +cloud.google.com/go/servicecontrol v1.11.1/go.mod h1:aSnNNlwEFBY+PWGQ2DoM0JJ/QUXqV5/ZD9DOLB7SnUk= cloud.google.com/go/servicedirectory v1.4.0/go.mod h1:gH1MUaZCgtP7qQiI+F+A+OpeKF/HQWgtAddhTbhL2bs= cloud.google.com/go/servicedirectory v1.5.0/go.mod h1:QMKFL0NUySbpZJ1UZs3oFAmdvVxhhxB6eJ/Vlp73dfg= +cloud.google.com/go/servicedirectory v1.6.0/go.mod h1:pUlbnWsLH9c13yGkxCmfumWEPjsRs1RlmJ4pqiNjVL4= +cloud.google.com/go/servicedirectory v1.7.0/go.mod h1:5p/U5oyvgYGYejufvxhgwjL8UVXjkuw7q5XcG10wx1U= +cloud.google.com/go/servicedirectory v1.8.0/go.mod h1:srXodfhY1GFIPvltunswqXpVxFPpZjf8nkKQT7XcXaY= +cloud.google.com/go/servicedirectory v1.9.0/go.mod h1:29je5JjiygNYlmsGz8k6o+OZ8vd4f//bQLtvzkPPT/s= +cloud.google.com/go/servicemanagement v1.4.0/go.mod h1:d8t8MDbezI7Z2R1O/wu8oTggo3BI2GKYbdG4y/SJTco= +cloud.google.com/go/servicemanagement v1.5.0/go.mod h1:XGaCRe57kfqu4+lRxaFEAuqmjzF0r+gWHjWqKqBvKFo= +cloud.google.com/go/servicemanagement v1.6.0/go.mod h1:aWns7EeeCOtGEX4OvZUWCCJONRZeFKiptqKf1D0l/Jc= +cloud.google.com/go/servicemanagement v1.8.0/go.mod h1:MSS2TDlIEQD/fzsSGfCdJItQveu9NXnUniTrq/L8LK4= +cloud.google.com/go/serviceusage v1.3.0/go.mod h1:Hya1cozXM4SeSKTAgGXgj97GlqUvF5JaoXacR1JTP/E= +cloud.google.com/go/serviceusage v1.4.0/go.mod h1:SB4yxXSaYVuUBYUml6qklyONXNLt83U0Rb+CXyhjEeU= +cloud.google.com/go/serviceusage v1.5.0/go.mod h1:w8U1JvqUqwJNPEOTQjrMHkw3IaIFLoLsPLvsE3xueec= +cloud.google.com/go/serviceusage v1.6.0/go.mod h1:R5wwQcbOWsyuOfbP9tGdAnCAc6B9DRwPG1xtWMDeuPA= +cloud.google.com/go/shell v1.3.0/go.mod h1:VZ9HmRjZBsjLGXusm7K5Q5lzzByZmJHf1d0IWHEN5X4= +cloud.google.com/go/shell v1.4.0/go.mod h1:HDxPzZf3GkDdhExzD/gs8Grqk+dmYcEjGShZgYa9URw= +cloud.google.com/go/shell v1.6.0/go.mod h1:oHO8QACS90luWgxP3N9iZVuEiSF84zNyLytb+qE2f9A= +cloud.google.com/go/spanner v1.41.0/go.mod h1:MLYDBJR/dY4Wt7ZaMIQ7rXOTLjYrmxLE/5ve9vFfWos= +cloud.google.com/go/spanner v1.44.0/go.mod h1:G8XIgYdOK+Fbcpbs7p2fiprDw4CaZX63whnSMLVBxjk= +cloud.google.com/go/spanner v1.45.0/go.mod h1:FIws5LowYz8YAE1J8fOS7DJup8ff7xJeetWEo5REA2M= cloud.google.com/go/speech v1.6.0/go.mod h1:79tcr4FHCimOp56lwC01xnt/WPJZc4v3gzyT7FoBkCM= cloud.google.com/go/speech v1.7.0/go.mod h1:KptqL+BAQIhMsj1kOP2la5DSEEerPDuOP/2mmkhHhZQ= +cloud.google.com/go/speech v1.8.0/go.mod h1:9bYIl1/tjsAnMgKGHKmBZzXKEkGgtU+MpdDPTE9f7y0= +cloud.google.com/go/speech v1.9.0/go.mod h1:xQ0jTcmnRFFM2RfX/U+rk6FQNUF6DQlydUSyoooSpco= +cloud.google.com/go/speech v1.14.1/go.mod h1:gEosVRPJ9waG7zqqnsHpYTOoAS4KouMRLDFMekpJ0J0= +cloud.google.com/go/speech v1.15.0/go.mod h1:y6oH7GhqCaZANH7+Oe0BhgIogsNInLlz542tg3VqeYI= cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= -cloud.google.com/go/storage v1.16.1/go.mod h1:LaNorbty3ehnU3rEjXSNV/NRgQA0O8Y+uh6bPe5UOk4= cloud.google.com/go/storage v1.22.1/go.mod h1:S8N1cAStu7BOeFfE8KAQzmyyLkK8p/vmRq6kuBTW58Y= cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeLgDvXzfIXc= +cloud.google.com/go/storage v1.24.0/go.mod h1:3xrJEFMXBsQLgxwThyjuD3aYlroL0TMRec1ypGUQ0KE= cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= +cloud.google.com/go/storage v1.28.1/go.mod h1:Qnisd4CqDdo6BGs2AD5LLnEsmSQ80wQ5ogcBBKhU86Y= +cloud.google.com/go/storage v1.29.0/go.mod h1:4puEjyTKnku6gfKoTfNOU/W+a9JyuVNxjpS5GBrB8h4= cloud.google.com/go/storage v1.30.1 h1:uOdMxAs8HExqBlnLtnQyP0YkvbiDpdGShGKtx6U/oNM= cloud.google.com/go/storage v1.30.1/go.mod h1:NfxhC0UJE1aXSx7CIIbCf7y9HKT7BiccwkR7+P7gN8E= +cloud.google.com/go/storagetransfer v1.5.0/go.mod h1:dxNzUopWy7RQevYFHewchb29POFv3/AaBgnhqzqiK0w= +cloud.google.com/go/storagetransfer v1.6.0/go.mod h1:y77xm4CQV/ZhFZH75PLEXY0ROiS7Gh6pSKrM8dJyg6I= +cloud.google.com/go/storagetransfer v1.7.0/go.mod h1:8Giuj1QNb1kfLAiWM1bN6dHzfdlDAVC9rv9abHot2W4= +cloud.google.com/go/storagetransfer v1.8.0/go.mod h1:JpegsHHU1eXg7lMHkvf+KE5XDJ7EQu0GwNJbbVGanEw= cloud.google.com/go/talent v1.1.0/go.mod h1:Vl4pt9jiHKvOgF9KoZo6Kob9oV4lwd/ZD5Cto54zDRw= cloud.google.com/go/talent v1.2.0/go.mod h1:MoNF9bhFQbiJ6eFD3uSsg0uBALw4n4gaCaEjBw9zo8g= -cloud.google.com/go/trace v0.1.0/go.mod h1:wxEwsoeRVPbeSkt7ZC9nWCgmoKQRAoySN7XHW2AmI7g= +cloud.google.com/go/talent v1.3.0/go.mod h1:CmcxwJ/PKfRgd1pBjQgU6W3YBwiewmUzQYH5HHmSCmM= +cloud.google.com/go/talent v1.4.0/go.mod h1:ezFtAgVuRf8jRsvyE6EwmbTK5LKciD4KVnHuDEFmOOA= +cloud.google.com/go/talent v1.5.0/go.mod h1:G+ODMj9bsasAEJkQSzO2uHQWXHHXUomArjWQQYkqK6c= +cloud.google.com/go/texttospeech v1.4.0/go.mod h1:FX8HQHA6sEpJ7rCMSfXuzBcysDAuWusNNNvN9FELDd8= +cloud.google.com/go/texttospeech v1.5.0/go.mod h1:oKPLhR4n4ZdQqWKURdwxMy0uiTS1xU161C8W57Wkea4= +cloud.google.com/go/texttospeech v1.6.0/go.mod h1:YmwmFT8pj1aBblQOI3TfKmwibnsfvhIBzPXcW4EBovc= +cloud.google.com/go/tpu v1.3.0/go.mod h1:aJIManG0o20tfDQlRIej44FcwGGl/cD0oiRyMKG19IQ= +cloud.google.com/go/tpu v1.4.0/go.mod h1:mjZaX8p0VBgllCzF6wcU2ovUXN9TONFLd7iz227X2Xg= +cloud.google.com/go/tpu v1.5.0/go.mod h1:8zVo1rYDFuW2l4yZVY0R0fb/v44xLh3llq7RuV61fPM= +cloud.google.com/go/trace v1.0.0/go.mod h1:4iErSByzxkyHWzzlAj63/Gmjz0NH1ASqhJguHpGcr6A= +cloud.google.com/go/trace v1.2.0/go.mod h1:Wc8y/uYyOhPy12KEnXG9XGrvfMz5F5SrYecQlbW1rwM= +cloud.google.com/go/trace v1.3.0/go.mod h1:FFUE83d9Ca57C+K8rDl/Ih8LwOzWIV1krKgxg6N0G28= +cloud.google.com/go/trace v1.4.0/go.mod h1:UG0v8UBqzusp+z63o7FK74SdFE+AXpCLdFb1rshXG+Y= +cloud.google.com/go/trace v1.8.0/go.mod h1:zH7vcsbAhklH8hWFig58HvxcxyQbaIqMarMg9hn5ECA= +cloud.google.com/go/trace v1.9.0/go.mod h1:lOQqpE5IaWY0Ixg7/r2SjixMuc6lfTFeO4QGM4dQWOk= +cloud.google.com/go/translate v1.3.0/go.mod h1:gzMUwRjvOqj5i69y/LYLd8RrNQk+hOmIXTi9+nb3Djs= +cloud.google.com/go/translate v1.4.0/go.mod h1:06Dn/ppvLD6WvA5Rhdp029IX2Mi3Mn7fpMRLPvXT5Wg= +cloud.google.com/go/translate v1.5.0/go.mod h1:29YDSYveqqpA1CQFD7NQuP49xymq17RXNaUDdc0mNu0= +cloud.google.com/go/translate v1.6.0/go.mod h1:lMGRudH1pu7I3n3PETiOB2507gf3HnfLV8qlkHZEyos= +cloud.google.com/go/translate v1.7.0/go.mod h1:lMGRudH1pu7I3n3PETiOB2507gf3HnfLV8qlkHZEyos= +cloud.google.com/go/video v1.8.0/go.mod h1:sTzKFc0bUSByE8Yoh8X0mn8bMymItVGPfTuUBUyRgxk= +cloud.google.com/go/video v1.9.0/go.mod h1:0RhNKFRF5v92f8dQt0yhaHrEuH95m068JYOvLZYnJSw= +cloud.google.com/go/video v1.12.0/go.mod h1:MLQew95eTuaNDEGriQdcYn0dTwf9oWiA4uYebxM5kdg= +cloud.google.com/go/video v1.13.0/go.mod h1:ulzkYlYgCp15N2AokzKjy7MQ9ejuynOJdf1tR5lGthk= +cloud.google.com/go/video v1.14.0/go.mod h1:SkgaXwT+lIIAKqWAJfktHT/RbgjSuY6DobxEp0C5yTQ= +cloud.google.com/go/video v1.15.0/go.mod h1:SkgaXwT+lIIAKqWAJfktHT/RbgjSuY6DobxEp0C5yTQ= cloud.google.com/go/videointelligence v1.6.0/go.mod h1:w0DIDlVRKtwPCn/C4iwZIJdvC69yInhW0cfi+p546uU= cloud.google.com/go/videointelligence v1.7.0/go.mod h1:k8pI/1wAhjznARtVT9U1llUaFNPh7muw8QyOUpavru4= +cloud.google.com/go/videointelligence v1.8.0/go.mod h1:dIcCn4gVDdS7yte/w+koiXn5dWVplOZkE+xwG9FgK+M= +cloud.google.com/go/videointelligence v1.9.0/go.mod h1:29lVRMPDYHikk3v8EdPSaL8Ku+eMzDljjuvRs105XoU= +cloud.google.com/go/videointelligence v1.10.0/go.mod h1:LHZngX1liVtUhZvi2uNS0VQuOzNi2TkY1OakiuoUOjU= cloud.google.com/go/vision v1.2.0/go.mod h1:SmNwgObm5DpFBme2xpyOyasvBc1aPdjvMk2bBk0tKD0= cloud.google.com/go/vision/v2 v2.2.0/go.mod h1:uCdV4PpN1S0jyCyq8sIM42v2Y6zOLkZs+4R9LrGYwFo= cloud.google.com/go/vision/v2 v2.3.0/go.mod h1:UO61abBx9QRMFkNBbf1D8B1LXdS2cGiiCRx0vSpZoUo= +cloud.google.com/go/vision/v2 v2.4.0/go.mod h1:VtI579ll9RpVTrdKdkMzckdnwMyX2JILb+MhPqRbPsY= +cloud.google.com/go/vision/v2 v2.5.0/go.mod h1:MmaezXOOE+IWa+cS7OhRRLK2cNv1ZL98zhqFFZaaH2E= +cloud.google.com/go/vision/v2 v2.6.0/go.mod h1:158Hes0MvOS9Z/bDMSFpjwsUrZ5fPrdwuyyvKSGAGMY= +cloud.google.com/go/vision/v2 v2.7.0/go.mod h1:H89VysHy21avemp6xcf9b9JvZHVehWbET0uT/bcuY/0= +cloud.google.com/go/vmmigration v1.2.0/go.mod h1:IRf0o7myyWFSmVR1ItrBSFLFD/rJkfDCUTO4vLlJvsE= +cloud.google.com/go/vmmigration v1.3.0/go.mod h1:oGJ6ZgGPQOFdjHuocGcLqX4lc98YQ7Ygq8YQwHh9A7g= +cloud.google.com/go/vmmigration v1.5.0/go.mod h1:E4YQ8q7/4W9gobHjQg4JJSgXXSgY21nA5r8swQV+Xxc= +cloud.google.com/go/vmmigration v1.6.0/go.mod h1:bopQ/g4z+8qXzichC7GW1w2MjbErL54rk3/C843CjfY= +cloud.google.com/go/vmwareengine v0.1.0/go.mod h1:RsdNEf/8UDvKllXhMz5J40XxDrNJNN4sagiox+OI208= +cloud.google.com/go/vmwareengine v0.2.2/go.mod h1:sKdctNJxb3KLZkE/6Oui94iw/xs9PRNC2wnNLXsHvH8= +cloud.google.com/go/vmwareengine v0.3.0/go.mod h1:wvoyMvNWdIzxMYSpH/R7y2h5h3WFkx6d+1TIsP39WGY= +cloud.google.com/go/vpcaccess v1.4.0/go.mod h1:aQHVbTWDYUR1EbTApSVvMq1EnT57ppDmQzZ3imqIk4w= +cloud.google.com/go/vpcaccess v1.5.0/go.mod h1:drmg4HLk9NkZpGfCmZ3Tz0Bwnm2+DKqViEpeEpOq0m8= +cloud.google.com/go/vpcaccess v1.6.0/go.mod h1:wX2ILaNhe7TlVa4vC5xce1bCnqE3AeH27RV31lnmZes= cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xXZmFiHmGE= cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuWDEEsqMTg= +cloud.google.com/go/webrisk v1.6.0/go.mod h1:65sW9V9rOosnc9ZY7A7jsy1zoHS5W9IAXv6dGqhMQMc= +cloud.google.com/go/webrisk v1.7.0/go.mod h1:mVMHgEYH0r337nmt1JyLthzMr6YxwN1aAIEc2fTcq7A= +cloud.google.com/go/webrisk v1.8.0/go.mod h1:oJPDuamzHXgUc+b8SiHRcVInZQuybnvEW72PqTc7sSg= +cloud.google.com/go/websecurityscanner v1.3.0/go.mod h1:uImdKm2wyeXQevQJXeh8Uun/Ym1VqworNDlBXQevGMo= +cloud.google.com/go/websecurityscanner v1.4.0/go.mod h1:ebit/Fp0a+FWu5j4JOmJEV8S8CzdTkAS77oDsiSqYWQ= +cloud.google.com/go/websecurityscanner v1.5.0/go.mod h1:Y6xdCPy81yi0SQnDY1xdNTNpfY1oAgXUlcfN3B3eSng= cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0= cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= +cloud.google.com/go/workflows v1.8.0/go.mod h1:ysGhmEajwZxGn1OhGOGKsTXc5PyxOc0vfKf5Af+to4M= +cloud.google.com/go/workflows v1.9.0/go.mod h1:ZGkj1aFIOd9c8Gerkjjq7OW7I5+l6cSvT3ujaO/WwSA= +cloud.google.com/go/workflows v1.10.0/go.mod h1:fZ8LmRmZQWacon9UCX1r/g/DfAXx5VcPALq2CxzdePw= +code.cloudfoundry.org/clock v0.0.0-20180518195852-02e53af36e6c/go.mod h1:QD9Lzhd/ux6eNQVUDVRJX/RKTigpewimNYBi7ivZKY8= contrib.go.opencensus.io/exporter/aws v0.0.0-20200617204711-c478e41e60e9/go.mod h1:uu1P0UCM/6RbsMrgPa98ll8ZcHM858i/AD06a9aLRCA= -contrib.go.opencensus.io/exporter/stackdriver v0.13.8/go.mod h1:huNtlWx75MwO7qMs0KrMxPZXzNNWebav1Sq/pm02JdQ= +contrib.go.opencensus.io/exporter/stackdriver v0.13.13/go.mod h1:5pSSGY0Bhuk7waTHuDf4aQ8D2DrhgETRo9fy6k3Xlzc= contrib.go.opencensus.io/integrations/ocsql v0.1.7/go.mod h1:8DsSdjz3F+APR+0z0WkU1aRorQCFfRxvqjUUPMbF3fE= +dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk= +dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/AlecAivazis/survey/v2 v2.0.5/go.mod h1:WYBhg6f0y/fNYUuesWQc0PKbJcEliGcYHB9sNT3Bg74= -github.com/Azure/azure-amqp-common-go/v3 v3.1.0/go.mod h1:PBIGdzcO1teYoufTKMcGibdKaYZv4avS+O6LNIp8bq0= -github.com/Azure/azure-amqp-common-go/v3 v3.1.1/go.mod h1:YsDaPfaO9Ub2XeSKdIy2DfwuiQlHQCauHJwSqtrkECI= -github.com/Azure/azure-pipeline-go v0.2.3 h1:7U9HBg1JFK3jHl5qmo4CTZKFTVgMwdFHMVtCdfBE21U= -github.com/Azure/azure-pipeline-go v0.2.3/go.mod h1:x841ezTBIMG6O3lAcl8ATHnsOPVl2bqk7S3ta6S6u4k= -github.com/Azure/azure-sdk-for-go v51.1.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v57.0.0+incompatible h1:isVki3PbIFrwKvKdVP1byxo73/pt+Nn174YxW1k4PNw= -github.com/Azure/azure-sdk-for-go v57.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-service-bus-go v0.10.16/go.mod h1:MlkLwGGf1ewcx5jZadn0gUEty+tTg0RaElr6bPf+QhI= -github.com/Azure/azure-storage-blob-go v0.14.0 h1:1BCg74AmVdYwO3dlKwtFU1V0wU2PZdREkXvAmZJRUlM= -github.com/Azure/azure-storage-blob-go v0.14.0/go.mod h1:SMqIBi+SuiQH32bvyjngEewEeXoPfKMgWlBDaYf6fck= -github.com/Azure/go-amqp v0.13.0/go.mod h1:qj+o8xPCz9tMSbQ83Vp8boHahuRDl5mkNHyt1xlxUTs= -github.com/Azure/go-amqp v0.13.11/go.mod h1:D5ZrjQqB1dyp1A+G73xeL/kNn7D5qHJIIsNNps7YNmk= -github.com/Azure/go-amqp v0.13.12/go.mod h1:D5ZrjQqB1dyp1A+G73xeL/kNn7D5qHJIIsNNps7YNmk= +gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8= +git.sr.ht/~sbinet/gg v0.3.1/go.mod h1:KGYtlADtqsqANL9ueOFkWymvzUvLMQllU5Ixo+8v3pc= +github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= +github.com/AlecAivazis/survey/v2 v2.3.7 h1:6I/u8FvytdGsgonrYsVn2t8t4QiRnh6QSTqkkhIiSjQ= +github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo= +github.com/Azure/azure-amqp-common-go/v3 v3.2.3/go.mod h1:7rPmbSfszeovxGfc5fSAXE4ehlXQZHpMja2OtxC2Tas= +github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go v63.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go v65.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go v66.0.0+incompatible h1:bmmC38SlE8/E81nNADlgmVGurPWMHDX2YNXVQMrBpEE= +github.com/Azure/azure-sdk-for-go v66.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0/go.mod h1:h6H6c8enJmmocHUbLiiGY6sx7f9i+X3m1CHdd5c6Rdw= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 h1:tz19qLF65vuu2ibfTqGVJxG/zZAI27NEIIbvAOQwYbw= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.11.0/go.mod h1:HcM1YX14R7CJcghJGOYCgdezslRSVzqwLf/q+4Y2r/0= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 h1:Yoicul8bnVdQrhDMTHxdEckRGX01XvwXDHUT9zYZ3k0= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0/go.mod h1:+6sju8gk8FRmSajX3Oz4G5Gm7P+mbqE9FVaXXFYTkCM= +github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0/go.mod h1:yqy467j36fJxcRV2TzfVZ1pCb5vxm4BtZPUdYWe/Xo8= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 h1:jp0dGvZ7ZK0mgqnTSClMxa5xuRL7NZgHameVYF6BurY= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= +github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus v1.0.2/go.mod h1:LH9XQnMr2ZYxQdVdCrzLO9mxeDyrDFa6wbSI3x5zCZk= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 h1:QSdcrd/UFJv6Bp/CfoVf2SrENpFn9P6Yh8yb+xNhYMM= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1/go.mod h1:eZ4g6GUvXiGulfIbbhh1Xr4XwUYaYaWMqzGD/284wCA= +github.com/Azure/go-amqp v0.17.0/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= +github.com/Azure/go-amqp v0.17.5/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= -github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= +github.com/Azure/go-ansiterm v0.0.0-20210608223527-2377c96fe795/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= +github.com/Azure/go-autorest v10.8.1+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest/autorest v0.11.3/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= -github.com/Azure/go-autorest/autorest v0.11.17/go.mod h1:eipySxLmqSyC5s5k1CLupqet0PSENBEDP93LQ9a8QYw= +github.com/Azure/go-autorest/autorest v0.11.1/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= -github.com/Azure/go-autorest/autorest v0.11.20 h1:s8H1PbCZSqg/DH7JMlOz6YMig6htWLNPsjDdlLqCx3M= -github.com/Azure/go-autorest/autorest v0.11.20/go.mod h1:o3tqFY+QR40VOlk+pV4d77mORO64jOXSgEnPQgLK6JY= +github.com/Azure/go-autorest/autorest v0.11.24/go.mod h1:G6kyRlFnTuSbEYkQGawPfsCswgme4iYf6rfSKUDzbCc= +github.com/Azure/go-autorest/autorest v0.11.25/go.mod h1:7l8ybrIdUmGqZMTD0sRtAr8NvbHjfofbf8RSP2q7w7U= +github.com/Azure/go-autorest/autorest v0.11.27/go.mod h1:7l8ybrIdUmGqZMTD0sRtAr8NvbHjfofbf8RSP2q7w7U= +github.com/Azure/go-autorest/autorest v0.11.28 h1:ndAExarwr5Y+GaHE6VCaY1kyS/HwwGGyuimVhWsHOEM= +github.com/Azure/go-autorest/autorest v0.11.28/go.mod h1:MrkzG3Y3AH668QyF9KRk5neJnGgmhQ6krbhR8Q5eMvA= github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod h1:/c022QCutn2P7uY+/oQWWNcK9YU+MH96NgK+jErpbcg= github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= -github.com/Azure/go-autorest/autorest/adal v0.9.11/go.mod h1:nBKAnTomx8gDtl+3ZCJv2v0KACFHWTB2drffI1B68Pk= github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= -github.com/Azure/go-autorest/autorest/adal v0.9.14/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= -github.com/Azure/go-autorest/autorest/adal v0.9.15 h1:X+p2GF0GWyOiSmqohIaEeuNFNDY4I4EOlVuUQvFdWMk= -github.com/Azure/go-autorest/autorest/adal v0.9.15/go.mod h1:tGMin8I49Yij6AQ+rvV+Xa/zwxYQB5hmsd6DkfAx2+A= -github.com/Azure/go-autorest/autorest/azure/auth v0.5.8 h1:TzPg6B6fTZ0G1zBf3T54aI7p3cAT6u//TOXGPmFMOXg= -github.com/Azure/go-autorest/autorest/azure/auth v0.5.8/go.mod h1:kxyKZTSfKh8OVFWPAgOgQ/frrJgeYQJPyR5fLFmXko4= -github.com/Azure/go-autorest/autorest/azure/cli v0.4.2/go.mod h1:7qkJkT+j6b+hIpzMOwPChJhTqS8VbsqqgULzMNRugoM= -github.com/Azure/go-autorest/autorest/azure/cli v0.4.3 h1:DOhB+nXkF7LN0JfBGB5YtCF6QLK8mLe4psaHF7ZQEKM= -github.com/Azure/go-autorest/autorest/azure/cli v0.4.3/go.mod h1:yAQ2b6eP/CmLPnmLvxtT1ALIY3OR1oFcCqVBi8vHiTc= +github.com/Azure/go-autorest/autorest/adal v0.9.18/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ= +github.com/Azure/go-autorest/autorest/adal v0.9.20/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ= +github.com/Azure/go-autorest/autorest/adal v0.9.21 h1:jjQnVFXPfekaqb8vIsv2G1lxshoW+oGv4MDlhRtnYZk= +github.com/Azure/go-autorest/autorest/adal v0.9.21/go.mod h1:zua7mBUaCc5YnSLKYgGJR/w5ePdMDA6H56upLsHzA9U= +github.com/Azure/go-autorest/autorest/azure/auth v0.5.11 h1:P6bYXFoao05z5uhOQzbC3Qd8JqF3jUoocoTeIxkp2cA= +github.com/Azure/go-autorest/autorest/azure/auth v0.5.11/go.mod h1:84w/uV8E37feW2NCJ08uT9VBfjfUHpgLVnG2InYD6cg= +github.com/Azure/go-autorest/autorest/azure/cli v0.4.5/go.mod h1:ADQAXrkgm7acgWVUNamOgh8YNrv4p27l3Wc55oVfpzg= +github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 h1:w77/uPk80ZET2F+AfQExZyEWtn+0Rk/uw17m9fv5Ajc= +github.com/Azure/go-autorest/autorest/azure/cli v0.4.6/go.mod h1:piCfgPho7BiIDdEQ1+g4VmKyD5y+p/XtSNqE6Hc4QD0= github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw= github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/autorest/mocks v0.4.1 h1:K0laFcLE6VLTOwNgSxaGbUcLPuGXlNkbVvq4cW4nIHk= github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= +github.com/Azure/go-autorest/autorest/mocks v0.4.2 h1:PGN4EDXnuQbojHbU0UWoNvmu9AGVwYHG9/fkDYhtAfw= +github.com/Azure/go-autorest/autorest/mocks v0.4.2/go.mod h1:Vy7OitM9Kei0i1Oj+LvyAWMXJHeKH1MVlzFugfVrmyU= github.com/Azure/go-autorest/autorest/to v0.4.0 h1:oXVqrxakqqV1UZdSazDOPOLvOIz+XA683u8EctwboHk= github.com/Azure/go-autorest/autorest/to v0.4.0/go.mod h1:fE8iZBn7LQR7zH/9XU2NcPR4o9jEImooCeWJcYV/zLE= github.com/Azure/go-autorest/autorest/validation v0.3.1 h1:AgyqjAd94fwNAoTjl/WQXg4VvFeRFpO+UhNyRXqF1ac= @@ -262,46 +692,98 @@ github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+Z github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= +github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c= +github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= +github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/GoogleCloudPlatform/cloudsql-proxy v1.24.0/go.mod h1:3tx938GhY4FC+E1KT/jNjDw7Z5qxAEtIiERJ2sXjnII= +github.com/GoogleCloudPlatform/cloudsql-proxy v1.31.2/go.mod h1:qR6jVnZTKDCW3j+fC9mOEPHm++1nKDMkqbbkD6KNsfo= github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= +github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= +github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0CRv0ky0k6m906ixxpzmDRLvX58TFUKS2eePweuyxk= +github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= +github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= +github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc= github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= github.com/Masterminds/sprig/v3 v3.2.1/go.mod h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk= github.com/Masterminds/sprig/v3 v3.2.2 h1:17jRggJu518dr3QaafizSXOjKYp94wKfABxUmyxvxX8= github.com/Masterminds/sprig/v3 v3.2.2/go.mod h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk= +github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA= github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw= +github.com/Microsoft/go-winio v0.4.16-0.20201130162521-d1ffc52c7331/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= -github.com/Microsoft/go-winio v0.5.0/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= -github.com/Microsoft/go-winio v0.5.2 h1:a9IhgEQBCUEk6QCdml9CiJGhAws+YwffDHEMp1VMrpA= +github.com/Microsoft/go-winio v0.4.17-0.20210211115548-6eac466e5fa3/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= +github.com/Microsoft/go-winio v0.4.17-0.20210324224401-5516f17a5958/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= +github.com/Microsoft/go-winio v0.4.17/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= +github.com/Microsoft/go-winio v0.5.1/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= +github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= +github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= +github.com/Microsoft/hcsshim v0.8.6/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= +github.com/Microsoft/hcsshim v0.8.7-0.20190325164909-8abdbb8205e4/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= +github.com/Microsoft/hcsshim v0.8.7/go.mod h1:OHd7sQqRFrYd3RmSgbgji+ctCwkbq2wbEYNSzOYtcBQ= github.com/Microsoft/hcsshim v0.8.9/go.mod h1:5692vkUqntj1idxauYlpoINNKeqCiG6Sg38RRsjT5y8= -github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8 h1:xzYJEypr/85nBpB11F9br+3HUrpgb+fcm5iADzXXYEw= -github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8/go.mod h1:oX5x61PbNXchhh0oikYAH+4Pcfw5LKv21+Jnpr6r6Pc= +github.com/Microsoft/hcsshim v0.8.14/go.mod h1:NtVKoYxQuTLx6gEq0L96c9Ju4JbRJ4nY2ow3VK6a9Lg= +github.com/Microsoft/hcsshim v0.8.15/go.mod h1:x38A4YbHbdxJtc0sF6oIz+RG0npwSCAvn69iY6URG00= +github.com/Microsoft/hcsshim v0.8.16/go.mod h1:o5/SZqmR7x9JNKsW3pu+nqHm0MF8vbA+VxGOoXdC600= +github.com/Microsoft/hcsshim v0.8.20/go.mod h1:+w2gRZ5ReXQhFOrvSQeNfhrYB/dg3oDwTOcER2fw4I4= +github.com/Microsoft/hcsshim v0.8.21/go.mod h1:+w2gRZ5ReXQhFOrvSQeNfhrYB/dg3oDwTOcER2fw4I4= +github.com/Microsoft/hcsshim v0.8.23/go.mod h1:4zegtUJth7lAvFyc6cH2gGQ5B3OFQim01nnU2M8jKDg= +github.com/Microsoft/hcsshim v0.9.2/go.mod h1:7pLA8lDk46WKDWlVsENo92gC0XFa8rbKfyFRBqxEbCc= +github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5hlzMzRKMLyo42nCZ9oml8AdTlq/0cvIaBv6tK1RehU= +github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= +github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= +github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= +github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= +github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 h1:YoJbenK9C67SkzkDfmQuVln04ygHj3vjZfd9FL+GmQQ= -github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo= -github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk= -github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= +github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 h1:KLq8BE0KwCL+mmXnjLWEAOYO+2l2AE4YMmqG1ZpZHBs= +github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= +github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= +github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= +github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= +github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= +github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod h1:HI8ITrYtUY+O+ZhtlqUnD8+KwNPOyugEhfP9fdUIaEQ= +github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= +github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= +github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= +github.com/acomagu/bufpipe v1.0.4 h1:e3H4WUzM3npvo5uv95QuJM3cQspFNtFBzvJ2oNjKIDQ= +github.com/acomagu/bufpipe v1.0.4/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= +github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/agext/levenshtein v1.2.2/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412/go.mod h1:WPjqKcmVOxf0XSf3YxCJs6N6AOSrOx3obionmG7T0y0= +github.com/ajstarks/deck v0.0.0-20200831202436-30c9fc6549a9/go.mod h1:JynElWSGnm/4RlzPXRlREEwqTHAN3T56Bv2ITsFT3gY= +github.com/ajstarks/deck/generate v0.0.0-20210309230005-c3f852c02e19/go.mod h1:T13YZdzov6OU0A1+RfKZiZN9ca6VeKdBdyDV+BY97Tk= +github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= +github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b/go.mod h1:1KcenG0jGWcpt8ov532z81sp/kMMUG485J2InIOyADM= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA= -github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= +github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= +github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= +github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:CgnQgUtFrFz9mxFNtED3jI5tLDjKlOM+oUF/sTk6ps0= +github.com/alexflint/go-filemutex v1.1.0/go.mod h1:7P4iRhttt/nUvUOrYIhcpMzv2G6CY9UnI16Z+UJqRyk= +github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= +github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= +github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/apache/arrow/go/v10 v10.0.1/go.mod h1:YvhnlEePVnBS4+0z3fhPfUy7W1Ikj0Ih0vcRo/gZ1M0= +github.com/apache/arrow/go/v11 v11.0.0/go.mod h1:Eg5OsL5H+e299f7u5ssuXsuHQVEGC4xei5aX110hRiI= +github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= +github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= +github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2FXSqgU= github.com/apparentlymart/go-cidr v1.0.1/go.mod h1:EBcsNrHc3zQeuaeCeCtQruQm+n9/YjEn/vI25Lg7Gwc= github.com/apparentlymart/go-cidr v1.1.0 h1:2mAhrMoF+nhXqxTzSZMUzDHkLjmIHC+Zzn4tdgBZjnU= github.com/apparentlymart/go-cidr v1.1.0/go.mod h1:EBcsNrHc3zQeuaeCeCtQruQm+n9/YjEn/vI25Lg7Gwc= @@ -310,47 +792,95 @@ github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0 h1:MzVXffFU github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk= github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec= -github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= -github.com/armon/go-metrics v0.3.0/go.mod h1:zXjbSimjXTd7vOpY8B0/2LpvNvDoXBuplAD+gJD3GYs= +github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew1u1fNQOlOtuGxQY= +github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4= +github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= +github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= +github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= github.com/armon/go-metrics v0.3.3/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= +github.com/armon/go-metrics v0.3.9/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= +github.com/armon/go-metrics v0.4.0 h1:yCQqn7dwca4ITXb+CbubHmedzaQYHhNhrEXLYUeEe8Q= +github.com/armon/go-metrics v0.4.0/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= +github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= +github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= +github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= +github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= +github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4= +github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI= +github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= +github.com/aws/aws-sdk-go v1.15.11/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= github.com/aws/aws-sdk-go v1.15.27/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM= github.com/aws/aws-sdk-go v1.25.3/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.25.37/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.30.27/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= -github.com/aws/aws-sdk-go v1.37.0/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= -github.com/aws/aws-sdk-go v1.40.34/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q= -github.com/aws/aws-sdk-go v1.44.122 h1:p6mw01WBaNpbdP2xrisz5tIkcNwzj/HysobNoaAHjgo= +github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= +github.com/aws/aws-sdk-go v1.38.35/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= +github.com/aws/aws-sdk-go v1.43.11/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.43.31/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.44.45/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.44.68/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= -github.com/aws/aws-sdk-go-v2 v1.9.0 h1:+S+dSqQCN3MSU5vJRu1HqHrq00cJn6heIMU7X9hcsoo= -github.com/aws/aws-sdk-go-v2 v1.9.0/go.mod h1:cK/D0BBs0b/oWPIcX/Z/obahJK1TT7IPVjy53i/mX/4= -github.com/aws/aws-sdk-go-v2/config v1.7.0 h1:J2cZ7qe+3IpqBEXnHUrFrOjoB9BlsXg7j53vxcl5IVg= -github.com/aws/aws-sdk-go-v2/config v1.7.0/go.mod h1:w9+nMZ7soXCe5nT46Ri354SNhXDQ6v+V5wqDjnZE+GY= -github.com/aws/aws-sdk-go-v2/credentials v1.4.0 h1:kmvesfjY861FzlCU9mvAfe01D9aeXcG2ZuC+k9F2YLM= -github.com/aws/aws-sdk-go-v2/credentials v1.4.0/go.mod h1:dgGR+Qq7Wjcd4AOAW5Rf5Tnv3+x7ed6kETXyS9WCuAY= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.5.0 h1:OxTAgH8Y4BXHD6PGCJ8DHx2kaZPCQfSTqmDsdRZFezE= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.5.0/go.mod h1:CpNzHK9VEFUCknu50kkB8z58AH2B5DvPP7ea1LHve/Y= -github.com/aws/aws-sdk-go-v2/internal/ini v1.2.2 h1:d95cddM3yTm4qffj3P6EnP+TzX1SSkWaQypXSgT/hpA= -github.com/aws/aws-sdk-go-v2/internal/ini v1.2.2/go.mod h1:BQV0agm+JEhqR+2RT5e1XTFIDcAAV0eW6z2trp+iduw= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.3.0 h1:VNJ5NLBteVXEwE2F1zEXVmyIH58mZ6kIQGJoC7C+vkg= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.3.0/go.mod h1:R1KK+vY8AfalhG1AOu5e35pOD2SdoPKQCFLTvnxiohk= -github.com/aws/aws-sdk-go-v2/service/kms v1.5.0 h1:10e9mzaaYIIePEuxUzW5YJ8LKHNG/NX63evcvS3ux9U= -github.com/aws/aws-sdk-go-v2/service/kms v1.5.0/go.mod h1:w7JuP9Oq1IKMFQPkNe3V6s9rOssXzOVEMNEqK1L1bao= -github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.6.0/go.mod h1:B+7C5UKdVq1ylkI/A6O8wcurFtaux0R1njePNPtKwoA= -github.com/aws/aws-sdk-go-v2/service/ssm v1.10.0/go.mod h1:4dXS5YNqI3SNbetQ7X7vfsMlX6ZnboJA2dulBwJx7+g= -github.com/aws/aws-sdk-go-v2/service/sso v1.4.0 h1:sHXMIKYS6YiLPzmKSvDpPmOpJDHxmAUgbiF49YNVztg= -github.com/aws/aws-sdk-go-v2/service/sso v1.4.0/go.mod h1:+1fpWnL96DL23aXPpMGbsmKe8jLTEfbjuQoA4WS1VaA= -github.com/aws/aws-sdk-go-v2/service/sts v1.7.0 h1:1at4e5P+lvHNl2nUktdM2/v+rpICg/QSEr9TO/uW9vU= -github.com/aws/aws-sdk-go-v2/service/sts v1.7.0/go.mod h1:0qcSMCyASQPN2sk/1KQLQ2Fh6yq8wm0HSDAimPhzCoM= -github.com/aws/smithy-go v1.8.0 h1:AEwwwXQZtUwP5Mz506FeXXrKBe0jA8gVM+1gEcSRooc= -github.com/aws/smithy-go v1.8.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E= +github.com/aws/aws-sdk-go v1.44.298 h1:5qTxdubgV7PptZJmp/2qDwD2JL187ePL7VOxsSh1i3g= +github.com/aws/aws-sdk-go v1.44.298/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= +github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= +github.com/aws/aws-sdk-go-v2 v1.16.8/go.mod h1:6CpKuLXg2w7If3ABZCl/qZ6rEgwtjZTn4eAf4RcEyuw= +github.com/aws/aws-sdk-go-v2 v1.17.3 h1:shN7NlnVzvDUgPQ+1rLMSxY8OWRNDRYtiqe0p/PgrhY= +github.com/aws/aws-sdk-go-v2 v1.17.3/go.mod h1:uzbQtefpm44goOPmdKyAlXSNcwlRgF3ePWVW6EtJvvw= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 h1:S/ZBwevQkr7gv5YxONYpGQxlMFFYSRfz3RMcjsC9Qhk= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3/go.mod h1:gNsR5CaXKmQSSzrmGxmwmct/r+ZBfbxorAuXYsj/M5Y= +github.com/aws/aws-sdk-go-v2/config v1.15.15 h1:yBV+J7Au5KZwOIrIYhYkTGJbifZPCkAnCFSvGsF3ui8= +github.com/aws/aws-sdk-go-v2/config v1.15.15/go.mod h1:A1Lzyy/o21I5/s2FbyX5AevQfSVXpvvIDCoVFD0BC4E= +github.com/aws/aws-sdk-go-v2/credentials v1.12.10 h1:7gGcMQePejwiKoDWjB9cWnpfVdnz/e5JwJFuT6OrroI= +github.com/aws/aws-sdk-go-v2/credentials v1.12.10/go.mod h1:g5eIM5XRs/OzIIK81QMBl+dAuDyoLN0VYaLP+tBqEOk= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9 h1:hz8tc+OW17YqxyFFPSkvfSikbqWcyyHRyPVSTzC0+aI= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9/go.mod h1:KDCCm4ONIdHtUloDcFvK2+vshZvx4Zmj7UMDfusuz5s= +github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21 h1:bpiKFJ9aC0xTVpygSRRRL/YHC1JZ+pHQHENATHuoiwo= +github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21/go.mod h1:iIYPrQ2rYfZiB/iADYlhj9HHZ9TTi6PqKQPAqygohbE= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.15/go.mod h1:pWrr2OoHlT7M/Pd2y4HV3gJyPb3qj5qMmnPkKSNPYK4= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27 h1:I3cakv2Uy1vNmmhRQmFptYDxOvBnwCdNwyw63N0RaRU= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27/go.mod h1:a1/UpzeyBBerajpnP5nGZa9mGzsBn5cOKxm6NWQsvoI= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.9/go.mod h1:08tUpeSGN33QKSO7fwxXczNfiwCpbj+GxK6XKwqWVv0= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21 h1:5NbbMrIzmUn/TXFqAle6mgrH5m9cOvMLRGL7pnG8tRE= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21/go.mod h1:+Gxn8jYn5k9ebfHEqlhrMirFjSW0v0C9fI+KN5vk2kE= +github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 h1:f0ySVcmQhwmzn7zQozd8wBM3yuGBfzdpsOaKQ0/Epzw= +github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16/go.mod h1:CYmI+7x03jjJih8kBEEFKRQc40UjUokT0k7GbvrhhTc= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 h1:3L8pcjvgaSOs0zzZcMKzxDSkYKEpwJ2dNVDdxm68jAY= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6/go.mod h1:O7Oc4peGZDEKlddivslfYFvAbgzvl/GH3J8j3JIGBXc= +github.com/aws/aws-sdk-go-v2/service/iam v1.19.0 h1:9vCynoqC+dgxZKrsjvAniyIopsv3RZFsZ6wkQ+yxtj8= +github.com/aws/aws-sdk-go-v2/service/iam v1.19.0/go.mod h1:OyAuvpFeSVNppcSsp1hFOVQcaTRc1LE24YIR7pMbbAA= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 h1:4n4KCtv5SUoT5Er5XV41huuzrCqepxlW3SDI9qHQebc= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3/go.mod h1:gkb2qADY+OHaGLKNTYxMaQNacfeyQpZ4csDTQMeFmcw= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 h1:7LJcuRalaLw+GYQTMGmVUl4opg2HrDZkvn/L3KvIQfw= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10/go.mod h1:Qks+dxK3O+Z2deAhNo6cJ8ls1bam3tUGUAcgxQP1c70= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9 h1:sHfDuhbOuuWSIAEDd3pma6p0JgUcR2iePxtCE8gfCxQ= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9/go.mod h1:yQowTpvdZkFVuHrLBXmczat4W+WJKg/PafBZnGBLga0= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9 h1:sJdKvydGYDML9LTFcp6qq6Z5fIjN0Rdq2Gvw1hUg8tc= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9/go.mod h1:Rc5+wn2k8gFSi3V1Ch4mhxOzjMh+bYSXVFfVaqowQOY= +github.com/aws/aws-sdk-go-v2/service/kms v1.18.1 h1:y07kzPdcjuuyDVYWf1CCsQQ6kcAWMbFy+yIJ71xQBS0= +github.com/aws/aws-sdk-go-v2/service/kms v1.18.1/go.mod h1:4PZMUkc9rXHWGVB5J9vKaZy3D7Nai79ORworQ3ASMiM= +github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2 h1:NvzGue25jKnuAsh6yQ+TZ4ResMcnp49AWgWGm2L4b5o= +github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2/go.mod h1:u+566cosFI+d+motIz3USXEh6sN8Nq4GrNXSg2RXVMo= +github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.15.14/go.mod h1:xakbH8KMsQQKqzX87uyyzTHshc/0/Df8bsTneTS5pFU= +github.com/aws/aws-sdk-go-v2/service/sns v1.17.10/go.mod h1:uITsRNVMeCB3MkWpXxXw0eDz8pW4TYLzj+eyQtbhSxM= +github.com/aws/aws-sdk-go-v2/service/sqs v1.19.1/go.mod h1:A94o564Gj+Yn+7QO1eLFeI7UVv3riy/YBFOfICVqFvU= +github.com/aws/aws-sdk-go-v2/service/ssm v1.27.6/go.mod h1:fiFzQgj4xNOg4/wqmAiPvzgDMXPD+cUEplX/CYn+0j0= +github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 h1:DQpf+al+aWozOEmVEdml67qkVZ6vdtGUi71BZZWw40k= +github.com/aws/aws-sdk-go-v2/service/sso v1.11.13/go.mod h1:d7ptRksDDgvXaUvxyHZ9SYh+iMDymm94JbVcgvSYSzU= +github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 h1:7tquJrhjYz2EsCBvA9VTl+sBAAh1bv7h/sGASdZOGGo= +github.com/aws/aws-sdk-go-v2/service/sts v1.16.10/go.mod h1:cftkHYN6tCDNfkSasAmclSfl4l7cySoay8vz7p/ce0E= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.13.5 h1:hgz0X/DX0dGqTYpGALqXJoRKRj5oQ7150i5FdTePzO8= +github.com/aws/smithy-go v1.13.5/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= +github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= +github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= +github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= @@ -358,71 +888,278 @@ github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d h1:xDfNPAt8lFiC1U github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ00z/TKoufEY6K/a0k6AhaJrQKdFe6OfVXsa4= github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= +github.com/bitly/go-simplejson v0.5.0/go.mod h1:cXHtHw4XUPsvGaxgjIAn8PhEWG9NfngEKAMDJEczWVA= +github.com/bits-and-blooms/bitset v1.2.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA= +github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= +github.com/blang/semver v3.1.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= +github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= +github.com/boombuler/barcode v1.0.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= +github.com/boombuler/barcode v1.0.1/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= +github.com/bshuster-repo/logrus-logstash-hook v0.4.1/go.mod h1:zsTqEiSzDgAa/8GZR7E1qaXrhYNDKBYy5/dWPTIflbk= +github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZlaQsNA= +github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8= +github.com/buger/jsonparser v0.0.0-20180808090653-f4dd9f5a6b44/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= +github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= +github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8= +github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b/go.mod h1:obH5gd0BsqsP2LwDJ9aOkm/6J86V6lyAXCoQWGw3K50= +github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0/go.mod h1:D/8v3kj0zr8ZAKg1AQ6crr+5VwKN5eIywRkfhyM/+dE= +github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= +github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= +github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/cenkalti/backoff/v3 v3.0.0/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= github.com/cenkalti/backoff/v3 v3.2.2 h1:cfUAAO3yvKMYKPrvhDuHSwQnhZNk/RMHKdZqKTxfm6M= github.com/cenkalti/backoff/v3 v3.2.2/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= +github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= +github.com/cenkalti/backoff/v4 v4.1.2/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= +github.com/cenkalti/backoff/v4 v4.1.3/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw= +github.com/certifi/gocertifi v0.0.0-20191021191039-0944d244cd40/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= +github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/charmbracelet/bubbles v0.16.1 h1:6uzpAAaT9ZqKssntbvZMlksWHruQLNxg49H5WdeuYSY= +github.com/charmbracelet/bubbles v0.16.1/go.mod h1:2QCp9LFlEsBQMvIYERr7Ww2H2bA7xen1idUDIzm/+Xc= +github.com/charmbracelet/bubbletea v0.24.2 h1:uaQIKx9Ai6Gdh5zpTbGiWpytMU+CfsPp06RaW2cx/SY= +github.com/charmbracelet/bubbletea v0.24.2/go.mod h1:XdrNrV4J8GiyshTtx3DNuYkR1FDaJmO3l2nejekbsgg= +github.com/charmbracelet/lipgloss v0.7.1 h1:17WMwi7N1b1rVWOjMT+rCh7sQkvDU75B2hbZpc5Kc1E= +github.com/charmbracelet/lipgloss v0.7.1/go.mod h1:yG0k3giv8Qj8edTCbbg6AlQ5e8KNWpFujkNawKNhE2c= +github.com/checkpoint-restore/go-criu/v4 v4.1.0/go.mod h1:xUQBLp4RLc5zJtWY++yjOoMoB5lihDt7fai+75m+rGw= +github.com/checkpoint-restore/go-criu/v5 v5.0.0/go.mod h1:cfwC0EG7HMUenopBsUf9d89JlCLQIfgVcNsNN0t6T2M= +github.com/checkpoint-restore/go-criu/v5 v5.3.0/go.mod h1:E/eQpaFtUKGOOSEBZgmKAcn+zUUwWxqcaKZlF54wK8E= github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s= github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo= github.com/cheggaaa/pb v1.0.29/go.mod h1:W40334L7FMC5JKWldsTWbdGjLo0RxUKK73K+TuPxX30= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/logex v1.2.0/go.mod h1:9+9sk7u7pGNWYMkh0hdiL++6OeibzJccyQU4p4MedaY= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/readline v1.5.0/go.mod h1:x22KAscuvRqlLoK9CsoYsmxoXZMMFVyOl86cAH8qUic= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/chzyer/test v0.0.0-20210722231415-061457976a23/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/cilium/ebpf v0.0.0-20200110133405-4032b1d8aae3/go.mod h1:MA5e5Lr8slmEg9bt0VpxxWqJlO4iwu3FBdHUzV7wQVg= +github.com/cilium/ebpf v0.0.0-20200702112145-1c8d4c9ef775/go.mod h1:7cR51M8ViRLIdUjrmSXlK9pkrsDlLHbO8jiB8X8JnOc= +github.com/cilium/ebpf v0.2.0/go.mod h1:To2CFviqOWL/M0gIMsvSMlqe7em/l1ALkX1PyjrX2Qs= +github.com/cilium/ebpf v0.4.0/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= +github.com/cilium/ebpf v0.6.2/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= +github.com/cilium/ebpf v0.7.0/go.mod h1:/oI2+1shJiTGAMgl6/RgJr36Eo1jzrRcAWbcXO2usCA= github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= +github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cloudflare/circl v1.3.3 h1:fE/Qz0QdIGqeWfnwq0RE0R7MI51s0M2E4Ga9kq5AEMs= +github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= +github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= +github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= +github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo= +github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA= +github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI= +github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= +github.com/containerd/aufs v0.0.0-20200908144142-dab0cbea06f4/go.mod h1:nukgQABAEopAHvB6j7cnP5zJ+/3aVcE7hCYqvIwAHyE= +github.com/containerd/aufs v0.0.0-20201003224125-76a6863f2989/go.mod h1:AkGGQs9NM2vtYHaUen+NljV0/baGCAPELGm2q9ZXpWU= +github.com/containerd/aufs v0.0.0-20210316121734-20793ff83c97/go.mod h1:kL5kd6KM5TzQjR79jljyi4olc1Vrx6XBlcyj3gNv2PU= +github.com/containerd/aufs v1.0.0/go.mod h1:kL5kd6KM5TzQjR79jljyi4olc1Vrx6XBlcyj3gNv2PU= +github.com/containerd/btrfs v0.0.0-20201111183144-404b9149801e/go.mod h1:jg2QkJcsabfHugurUvvPhS3E08Oxiuh5W/g1ybB4e0E= +github.com/containerd/btrfs v0.0.0-20210316141732-918d888fb676/go.mod h1:zMcX3qkXTAi9GI50+0HOeuV8LU2ryCE/V2vG/ZBiTss= +github.com/containerd/btrfs v1.0.0/go.mod h1:zMcX3qkXTAi9GI50+0HOeuV8LU2ryCE/V2vG/ZBiTss= +github.com/containerd/cgroups v0.0.0-20190717030353-c4b9ac5c7601/go.mod h1:X9rLEHIqSf/wfK8NsPqxJmeZgW4pcfzdXITDrUSJ6uI= github.com/containerd/cgroups v0.0.0-20190919134610-bf292b21730f/go.mod h1:OApqhQ4XNSNC13gXIwDjhOQxjWa/NxkwZXJ1EvqT0ko= +github.com/containerd/cgroups v0.0.0-20200531161412-0dbf7f05ba59/go.mod h1:pA0z1pT8KYB3TCXK/ocprsh7MAkoW8bZVzPdih9snmM= +github.com/containerd/cgroups v0.0.0-20200710171044-318312a37340/go.mod h1:s5q4SojHctfxANBDvMeIaIovkq29IP48TKAxnhYRxvo= +github.com/containerd/cgroups v0.0.0-20200824123100-0b889c03f102/go.mod h1:s5q4SojHctfxANBDvMeIaIovkq29IP48TKAxnhYRxvo= +github.com/containerd/cgroups v0.0.0-20210114181951-8a68de567b68/go.mod h1:ZJeTFisyysqgcCdecO57Dj79RfL0LNeGiFUqLYQRYLE= +github.com/containerd/cgroups v1.0.1/go.mod h1:0SJrPIenamHDcZhEcJMNBB85rHcUsw4f25ZfBiPYRkU= +github.com/containerd/cgroups v1.0.3/go.mod h1:/ofk34relqNjSGyqPrmEULrO4Sc8LJhvJmWbUCUKqj8= github.com/containerd/console v0.0.0-20180822173158-c12b1e7919c1/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw= +github.com/containerd/console v0.0.0-20181022165439-0650fd9eeb50/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw= +github.com/containerd/console v0.0.0-20191206165004-02ecf6a7291e/go.mod h1:8Pf4gM6VEbTNRIT26AyyU7hxdQU3MvAvxVI0sc00XBE= +github.com/containerd/console v1.0.1/go.mod h1:XUsP6YE/mKtz6bxc+I8UiKKTP04qjQL4qcS3XoQ5xkw= +github.com/containerd/console v1.0.2/go.mod h1:ytZPjGgY2oeTkAONYafi2kSj0aYggsf8acV1PGKCbzQ= +github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U= +github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 h1:q2hJAaP1k2wIvVRd/hEHD7lacgqrCPS+k8g1MndzfWY= +github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81/go.mod h1:YynlIjWYF8myEu6sdkwKIvGQq+cOckRm6So2avqoYAk= +github.com/containerd/containerd v1.2.10/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.3.0-beta.2.0.20190828155532-0293cbd26c69/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.3.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.3.2/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.3.4/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.4.0-beta.2.0.20200729163537-40b22ef07410/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.4.1/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.4.3/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.4.9/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.5.0-beta.1/go.mod h1:5HfvG1V2FsKesEGQ17k5/T7V960Tmcumvqn8Mc+pCYQ= +github.com/containerd/containerd v1.5.0-beta.3/go.mod h1:/wr9AVtEM7x9c+n0+stptlo/uBBoBORwEx6ardVcmKU= +github.com/containerd/containerd v1.5.0-beta.4/go.mod h1:GmdgZd2zA2GYIBZ0w09ZvgqEq8EfBp/m3lcVZIvPHhI= +github.com/containerd/containerd v1.5.0-rc.0/go.mod h1:V/IXoMqNGgBlabz3tHD2TWDoTJseu1FGOKuoA4nNb2s= +github.com/containerd/containerd v1.5.1/go.mod h1:0DOxVqwDy2iZvrZp2JUx/E+hS0UNTVn7dJnIOwtYR4g= +github.com/containerd/containerd v1.5.7/go.mod h1:gyvv6+ugqY25TiXxcZC3L5yOeYgEw0QMhscqVp1AR9c= +github.com/containerd/containerd v1.5.8/go.mod h1:YdFSv5bTFLpG2HIYmfqDpSYYTDX+mc5qtSuYx1YUb/s= +github.com/containerd/containerd v1.6.1/go.mod h1:1nJz5xCZPusx6jJU8Frfct988y0NpumIq9ODB0kLtoE= github.com/containerd/continuity v0.0.0-20190426062206-aaeac12a7ffc/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= -github.com/containerd/continuity v0.0.0-20200709052629-daa8e1ccc0bc/go.mod h1:cECdGN1O8G9bgKTlLhuPJimka6Xb/Gg7vYzCTNVxhvo= +github.com/containerd/continuity v0.0.0-20190815185530-f2a389ac0a02/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= +github.com/containerd/continuity v0.0.0-20191127005431-f65d91d395eb/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= +github.com/containerd/continuity v0.0.0-20200710164510-efbc4488d8fe/go.mod h1:cECdGN1O8G9bgKTlLhuPJimka6Xb/Gg7vYzCTNVxhvo= +github.com/containerd/continuity v0.0.0-20201208142359-180525291bb7/go.mod h1:kR3BEg7bDFaEddKm54WSmrol1fKWDU1nKYkgrcgZT7Y= +github.com/containerd/continuity v0.0.0-20210208174643-50096c924a4e/go.mod h1:EXlVlkqNba9rJe3j7w3Xa924itAMLgZH4UD/Q4PExuQ= +github.com/containerd/continuity v0.1.0/go.mod h1:ICJu0PwR54nI0yPEnJ6jcS+J7CZAUXrLh8lPo2knzsM= +github.com/containerd/continuity v0.2.2/go.mod h1:pWygW9u7LtS1o4N/Tn0FoCFDIXZ7rxcMX7HX1Dmibvk= +github.com/containerd/fifo v0.0.0-20180307165137-3d5202aec260/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= github.com/containerd/fifo v0.0.0-20190226154929-a9fb20d87448/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= +github.com/containerd/fifo v0.0.0-20200410184934-f15a3290365b/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0= +github.com/containerd/fifo v0.0.0-20201026212402-0724c46b320c/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0= +github.com/containerd/fifo v0.0.0-20210316144830-115abcc95a1d/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4= +github.com/containerd/fifo v1.0.0/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4= +github.com/containerd/go-cni v1.0.1/go.mod h1:+vUpYxKvAF72G9i1WoDOiPGRtQpqsNW/ZHtSlv++smU= +github.com/containerd/go-cni v1.0.2/go.mod h1:nrNABBHzu0ZwCug9Ije8hL2xBCYh/pjfMb1aZGrrohk= +github.com/containerd/go-cni v1.1.0/go.mod h1:Rflh2EJ/++BA2/vY5ao3K6WJRR/bZKsX123aPk+kUtA= +github.com/containerd/go-cni v1.1.3/go.mod h1:Rflh2EJ/++BA2/vY5ao3K6WJRR/bZKsX123aPk+kUtA= github.com/containerd/go-runc v0.0.0-20180907222934-5a6d9f37cfa3/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0= +github.com/containerd/go-runc v0.0.0-20190911050354-e029b79d8cda/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0= +github.com/containerd/go-runc v0.0.0-20200220073739-7016d3ce2328/go.mod h1:PpyHrqVs8FTi9vpyHwPwiNEGaACDxT/N/pLcvMSRA9g= +github.com/containerd/go-runc v0.0.0-20201020171139-16b287bc67d0/go.mod h1:cNU0ZbCgCQVZK4lgG3P+9tn9/PaJNmoDXPpoJhDR+Ok= +github.com/containerd/go-runc v1.0.0/go.mod h1:cNU0ZbCgCQVZK4lgG3P+9tn9/PaJNmoDXPpoJhDR+Ok= +github.com/containerd/imgcrypt v1.0.1/go.mod h1:mdd8cEPW7TPgNG4FpuP3sGBiQ7Yi/zak9TYCG3juvb0= +github.com/containerd/imgcrypt v1.0.4-0.20210301171431-0ae5c75f59ba/go.mod h1:6TNsg0ctmizkrOgXRNQjAPFWpMYRWuiB6dSF4Pfa5SA= +github.com/containerd/imgcrypt v1.1.1-0.20210312161619-7ed62a527887/go.mod h1:5AZJNI6sLHJljKuI9IHnw1pWqo/F0nGDOuR9zgTs7ow= +github.com/containerd/imgcrypt v1.1.1/go.mod h1:xpLnwiQmEUJPvQoAapeb2SNCxz7Xr6PJrXQb0Dpc4ms= +github.com/containerd/imgcrypt v1.1.3/go.mod h1:/TPA1GIDXMzbj01yd8pIbQiLdQxed5ue1wb8bP7PQu4= +github.com/containerd/nri v0.0.0-20201007170849-eb1350a75164/go.mod h1:+2wGSDGFYfE5+So4M5syatU0N0f0LbWpuqyMi4/BE8c= +github.com/containerd/nri v0.0.0-20210316161719-dbaa18c31c14/go.mod h1:lmxnXF6oMkbqs39FiCt1s0R2HSMhcLel9vNL3m4AaeY= +github.com/containerd/nri v0.1.0/go.mod h1:lmxnXF6oMkbqs39FiCt1s0R2HSMhcLel9vNL3m4AaeY= +github.com/containerd/stargz-snapshotter/estargz v0.4.1/go.mod h1:x7Q9dg9QYb4+ELgxmo4gBUeJB0tl5dqH1Sdz0nJU1QM= github.com/containerd/ttrpc v0.0.0-20190828154514-0e0f228740de/go.mod h1:PvCDdDGpgqzQIzDW1TphrGLssLDZp2GuS+X5DkEJB8o= +github.com/containerd/ttrpc v0.0.0-20190828172938-92c8520ef9f8/go.mod h1:PvCDdDGpgqzQIzDW1TphrGLssLDZp2GuS+X5DkEJB8o= +github.com/containerd/ttrpc v0.0.0-20191028202541-4f1b8fe65a5c/go.mod h1:LPm1u0xBw8r8NOKoOdNMeVHSawSsltak+Ihv+etqsE8= +github.com/containerd/ttrpc v1.0.1/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= +github.com/containerd/ttrpc v1.0.2/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= +github.com/containerd/ttrpc v1.1.0/go.mod h1:XX4ZTnoOId4HklF4edwc4DcqskFZuvXB1Evzy5KFQpQ= github.com/containerd/typeurl v0.0.0-20180627222232-a93fcdb778cd/go.mod h1:Cm3kwCdlkCfMSHURc+r6fwoGH6/F1hH3S4sg0rLFWPc= +github.com/containerd/typeurl v0.0.0-20190911142611-5eb25027c9fd/go.mod h1:GeKYzf2pQcqv7tJ0AoCuuhtnqhva5LNU3U+OyKxxJpk= +github.com/containerd/typeurl v1.0.1/go.mod h1:TB1hUtrpaiO88KEK56ijojHS1+NeF0izUACaJW2mdXg= +github.com/containerd/typeurl v1.0.2/go.mod h1:9trJWW2sRlGub4wZJRTW83VtbOLS6hwcDZXTn6oPz9s= +github.com/containerd/zfs v0.0.0-20200918131355-0a33824f23a2/go.mod h1:8IgZOBdv8fAgXddBT4dBXJPtxyRsejFIpXoklgxgEjw= +github.com/containerd/zfs v0.0.0-20210301145711-11e8f1707f62/go.mod h1:A9zfAbMlQwE+/is6hi0Xw8ktpL+6glmqZYtevJgaB8Y= +github.com/containerd/zfs v0.0.0-20210315114300-dde8f0fda960/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY= +github.com/containerd/zfs v0.0.0-20210324211415-d5c4544f0433/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY= +github.com/containerd/zfs v1.0.0/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY= +github.com/containernetworking/cni v0.7.1/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= +github.com/containernetworking/cni v0.8.0/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= +github.com/containernetworking/cni v0.8.1/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= +github.com/containernetworking/cni v1.0.1/go.mod h1:AKuhXbN5EzmD4yTNtfSsX3tPcmtrBI6QcRV0NiNt15Y= +github.com/containernetworking/plugins v0.8.6/go.mod h1:qnw5mN19D8fIwkqW7oHHYDHVlzhJpcY6TQxn/fUyDDM= +github.com/containernetworking/plugins v0.9.1/go.mod h1:xP/idU2ldlzN6m4p5LmGiwRDjeJr6FLK6vuiUwoH7P8= +github.com/containernetworking/plugins v1.0.1/go.mod h1:QHCfGpaTwYTbbH+nZXKVTxNBDZcxSOplJT5ico8/FLE= +github.com/containers/ocicrypt v1.0.1/go.mod h1:MeJDzk1RJHv89LjsH0Sp5KTY3ZYkjXO/C+bKAeWFIrc= +github.com/containers/ocicrypt v1.1.0/go.mod h1:b8AOe0YR67uU8OqfVNcznfFpAzu3rdgUV4GP9qXPfu4= +github.com/containers/ocicrypt v1.1.1/go.mod h1:Dm55fwWm1YZAjYRaJ94z2mfZikIyIN4B0oB3dj3jFxY= +github.com/containers/ocicrypt v1.1.2/go.mod h1:Dm55fwWm1YZAjYRaJ94z2mfZikIyIN4B0oB3dj3jFxY= +github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= +github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/go-iptables v0.4.5/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU= +github.com/coreos/go-iptables v0.5.0/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU= +github.com/coreos/go-iptables v0.6.0/go.mod h1:Qe8Bv2Xik5FyTXwgIbLAnv2sWSBmvWdFETJConOQ//Q= +github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= +github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-systemd v0.0.0-20161114122254-48702e0da86b/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/go-systemd/v22 v22.0.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= +github.com/coreos/go-systemd/v22 v22.1.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= -github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= +github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= +github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= +github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= +github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/creack/pty v1.1.11 h1:07n33Z8lZxZ2qwegKbObQohDhXDQxiMMz1NOUGYlesw= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/creack/pty v1.1.17 h1:QeVUsEDNrLBW4tMgZHvxy18sKtr6VI492kBhUfhDJNI= +github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= +github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= +github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= +github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1SMSibvLzxjeJLnrYEVLULFNiHY9YfQ= +github.com/d2g/dhcp4client v1.0.0/go.mod h1:j0hNfjhrt2SxUOw55nL0ATM/z4Yt3t2Kd1mW34z5W5s= +github.com/d2g/dhcp4server v0.0.0-20181031114812-7d4a0a7f59a5/go.mod h1:Eo87+Kg/IX2hfWJfwxMzLyuSZyxSoAug2nGa1G2QAi8= +github.com/d2g/hardwareaddr v0.0.0-20190221164911-e7d9fbe030e4/go.mod h1:bMl4RjIciD2oAxI7DmWRx6gbeqrkoLqv3MV0vzNad+I= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/denisenkom/go-mssqldb v0.9.0/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU= +github.com/denisenkom/go-mssqldb v0.12.2/go.mod h1:lnIw1mZukFRZDJYQ0Pb833QS2IaC3l5HkEfra2LJ+sk= +github.com/dennwc/varint v1.0.0/go.mod h1:hnItb35rvZvJrbTALZtY/iQfDs48JKRG1RPpgziApxA= +github.com/denverdino/aliyungo v0.0.0-20190125010748-a747050bb1ba/go.mod h1:dV8lFg6daOBZbT6/BDGIz6Y3WFGn8juu6G+CQ6LHtl0= github.com/devigned/tab v0.1.1/go.mod h1:XG9mPq0dFghrYvoBF3xdRrJzSTX1b7IQrvaL9mzjeJY= +github.com/dgrijalva/jwt-go v0.0.0-20170104182250-a601269ab70c/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= -github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8= +github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= +github.com/dgryski/go-sip13 v0.0.0-20200911182023-62edffca9245/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= +github.com/digitalocean/godo v1.78.0/go.mod h1:GBmu8MkjZmNARE7IXRPmkbbnocNN8+uBm0xbEVw2LCs= +github.com/digitalocean/godo v1.81.0/go.mod h1:BPCqvwbjbGqxuUnIKB4EvS/AX7IDnNmt5fwvIkWo+ew= github.com/dimchansky/utfbom v1.1.1 h1:vV6w1AhK4VMnhBno/TPVCoK9U/LP0PkLCS9tbxHdi/U= github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE= github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU= github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0= +github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= +github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= +github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= +github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= +github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= +github.com/docker/distribution v0.0.0-20190905152932-14b96e55d84c/go.mod h1:0+TTO4EOBfRPhZXAeF1Vu+W3hHZ8eLp8PgKVZlcvtFY= +github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/docker v1.4.2-0.20200319182547-c7ad2b866182/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v20.10.14+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v20.10.17+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker-credential-helpers v0.6.3/go.mod h1:WRaJzqw3CTB9bk10avuGsjVBZsD05qeibJ1/TYlvc0Y= github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= +github.com/docker/go-events v0.0.0-20170721190031-9461782956ad/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA= +github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA= +github.com/docker/go-metrics v0.0.0-20180209012529-399ea8c73916/go.mod h1:/u0gXw0Gay3ceNrsHubL3BtdOL2fHf93USgMTe0W5dI= +github.com/docker/go-metrics v0.0.1/go.mod h1:cG1hvH2utMXtqgqqYE9plW6lDxS3/5ayHzueweSI3Vw= +github.com/docker/go-units v0.3.3/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= +github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1/go.mod h1:cyGadeNEkKy96OOhEzfZl+yxihPEzKnqJwvfuSUqbZE= +github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= +github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= +github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= +github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= +github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= +github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= +github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= github.com/edsrzf/mmap-go v1.1.0 h1:6EUwBLQ/Mcr1EYLE4Tn1VdW1A4ckqCQWZBw8Hr0kjpQ= github.com/edsrzf/mmap-go v1.1.0/go.mod h1:19H/e8pUPLicwkyNgOykDXkJ9F0MHE+Z52B8EIth78Q= -github.com/emirpasic/gods v1.12.0 h1:QAUIPSaCu4G+POclxeqb3F+WPpdKqFGlw36+yOzGlrg= -github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o= +github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= +github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819 h1:RIB4cRk+lBqKK3Oy0r2gRX4ui7tuhiZq2SuTtTCi0/0= +github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= +github.com/elazarl/goproxy/ext v0.0.0-20190711103511-473e67f1d7d2/go.mod h1:gNh8nYJoAm43RfaxurUnxr+N1PwuFV3ZMl/efxlIlY8= +github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc= +github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ= +github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= @@ -431,83 +1168,216 @@ github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.m github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= +github.com/envoyproxy/go-control-plane v0.10.1/go.mod h1:AY7fTTXNdv/aJ2O5jwpxAPOWUZ7hQAEvzN5Pf27BkQQ= github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= +github.com/envoyproxy/go-control-plane v0.10.3/go.mod h1:fJJn/j26vwOu972OllsvAgJJM//w9BV6Fxbg2LuVd34= +github.com/envoyproxy/go-control-plane v0.11.1-0.20230524094728-9239064ad72f/go.mod h1:sfYdkwUW4BA3PbKjySwjJy+O4Pu0h62rlqCMHNk+K+Q= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/envoyproxy/protoc-gen-validate v0.6.7/go.mod h1:dyJXwwfPK2VSqiB9Klm1J6romD608Ba7Hij42vrOBCo= +github.com/envoyproxy/protoc-gen-validate v0.9.1/go.mod h1:OKNgG7TCp5pF4d6XftA0++PMirau2/yoOwVac3AbF2w= +github.com/envoyproxy/protoc-gen-validate v0.10.1/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= github.com/envoyproxy/protoc-gen-validate v1.0.2 h1:QkIBuU5k+x7/QXPvPPnWXWlCdaBFApVqftFV6k087DA= github.com/envoyproxy/protoc-gen-validate v1.0.2/go.mod h1:GpiZQP3dDbg4JouG/NNS7QWXpgx6x8QiMKdmN72jogE= github.com/ettle/strcase v0.1.1 h1:htFueZyVeE1XNnMEfbqp5r67qAN/4r6ya1ysq8Q+Zcw= github.com/ettle/strcase v0.1.1/go.mod h1:hzDLsPC7/lwKyBOywSHEP89nt2pDgdy+No1NBA9o9VY= +github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/evanphx/json-patch v4.11.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/evanphx/json-patch/v5 v5.5.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= +github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs= github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw= +github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= -github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= +github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= +github.com/felixge/httpsnoop v1.0.2/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= +github.com/felixge/httpsnoop v1.0.3/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= +github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= +github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= +github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= +github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= +github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= github.com/frankban/quicktest v1.10.0/go.mod h1:ui7WezCLWMWxVWr1GETZY3smRy0G4KWq9vcPtJmFl7Y= +github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= +github.com/frankban/quicktest v1.13.0/go.mod h1:qLE0fzW0VuyUAJgPU19zByoIr0HtCHN/r/VLSOOIySU= github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= +github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= +github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= +github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa/go.mod h1:KnogPXtdwXqoenmZCw6S+25EAm2MkxbG0deNDu4cbSA= github.com/gabriel-vasile/mimetype v1.4.1 h1:TRWk7se+TOjCYgRth7+1/OYLNiRNIotknkFtf/dnN7Q= github.com/gabriel-vasile/mimetype v1.4.1/go.mod h1:05Vi0w3Y9c/lNvJOdmIwvrrAhX3rYhfQQCaf9VJcv7M= +github.com/garyburd/redigo v0.0.0-20150301180006-535138d7bcd7/go.mod h1:NR3MbYisc3/PwhQ00EMzDiPmrwpPxAn5GI05/YaO1SY= github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 h1:Uc+IZ7gYqAf/rSGFplbWBSHaGolEQlNLgMgSE3ccnIQ= github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813/go.mod h1:P+oSoE9yhSRvsmYyZsshflcR6ePWYLql6UU1amW13IM= +github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg= +github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ= +github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= -github.com/gliderlabs/ssh v0.2.2 h1:6zsha5zo/TWhRhwqCD3+EarCAgZ2yN28ipRnGPnwkI0= -github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= +github.com/gin-gonic/gin v1.7.7/go.mod h1:axIBovoeJpVj8S3BwE0uPMTeReE4+AfFtqpqaZ1qq1U= +github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY= +github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4= github.com/go-asn1-ber/asn1-ber v1.3.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= -github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4= -github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= -github.com/go-git/go-billy/v5 v5.2.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= -github.com/go-git/go-billy/v5 v5.3.1 h1:CPiOUAzKtMRvolEKw+bG1PLRpT7D3LIs3/3ey4Aiu34= +github.com/go-fonts/dejavu v0.1.0/go.mod h1:4Wt4I4OU2Nq9asgDCteaAaWZOV24E+0/Pwo0gppep4g= +github.com/go-fonts/latin-modern v0.2.0/go.mod h1:rQVLdDMK+mK1xscDwsqM5J8U2jrRa3T0ecnM9pNujks= +github.com/go-fonts/liberation v0.1.1/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY= +github.com/go-fonts/liberation v0.2.0/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY= +github.com/go-fonts/stix v0.1.0/go.mod h1:w/c1f0ldAUlJmLBvlbkvVXLAD+tAMqobIIQpmnUIzUY= +github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= +github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= -github.com/go-git/go-git-fixtures/v4 v4.2.1 h1:n9gGL1Ct/yIw+nfsfr8s4+sbhT+Ncu2SubfXjIWgci8= -github.com/go-git/go-git-fixtures/v4 v4.2.1/go.mod h1:K8zd3kDUAykwTdDCr+I0per6Y6vMiRR/nnVTBtavnB0= -github.com/go-git/go-git/v5 v5.4.2 h1:BXyZu9t0VkbiHtqrsvdq39UDhGJTl1h55VW6CSC4aY4= -github.com/go-git/go-git/v5 v5.4.2/go.mod h1:gQ1kArt6d+n+BGd+/B/I74HwRTLhth2+zti4ihgckDc= +github.com/go-git/go-billy/v5 v5.4.1 h1:Uwp5tDRkPr+l/TnbHOQzp+tmJfLceOlbVucgpTz8ix4= +github.com/go-git/go-billy/v5 v5.4.1/go.mod h1:vjbugF6Fz7JIflbVpl1hJsGjSHNltrSw45YK/ukIvQg= +github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f h1:Pz0DHeFij3XFhoBRGUDPzSJ+w2UcK5/0JvF8DRI58r8= +github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo= +github.com/go-git/go-git/v5 v5.8.1 h1:Zo79E4p7TRk0xoRgMq0RShiTHGKcKI4+DI6BfJc/Q+A= +github.com/go-git/go-git/v5 v5.8.1/go.mod h1:FHFuoD6yGz5OSKEBK+aWN9Oah0q54Jxl0abmj6GnqAo= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-ini/ini v1.25.4/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-ldap/ldap/v3 v3.1.3/go.mod h1:3rbOH3jRS2u6jg2rJnKAMLE/xQyCKIveG2Sa/Cohzb8= +github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgOZ7o= +github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= +github.com/go-kit/log v0.2.0/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= +github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= +github.com/go-latex/latex v0.0.0-20210118124228-b3d85cf34e07/go.mod h1:CO1AlKB2CSIqUrmQPqA0gdRIlnLEY0gK5JGjh37zN5U= +github.com/go-latex/latex v0.0.0-20210823091927-c0d11ff05a81/go.mod h1:SX0U8uGpxhq9o2S/CELCSUxEWWAuoCUcVCQWv7G2OCk= github.com/go-ldap/ldap/v3 v3.1.10/go.mod h1:5Zun81jBTabRaI8lzN7E1JjyEl1g6zI6u9pd8luAK4Q= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= +github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= +github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= +github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= +github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= +github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= +github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.1/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/stdr v1.2.0/go.mod h1:YkVgnZu1ZjjL7xTxrfm/LLZBfkhTqSR1ydtm6jTKKwI= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= +github.com/go-openapi/analysis v0.21.2/go.mod h1:HZwRk4RRisyG8vx2Oe6aqeSQcoxRp47Xkp3+K6q+LdY= +github.com/go-openapi/errors v0.19.8/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M= +github.com/go-openapi/errors v0.19.9/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M= +github.com/go-openapi/errors v0.20.2/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M= +github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0= +github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= +github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg= +github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc= +github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= +github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= +github.com/go-openapi/jsonreference v0.19.6/go.mod h1:diGHMEHg2IqXZGKxqyvWdfWU/aim5Dprw5bqpKkTvns= +github.com/go-openapi/loads v0.21.1/go.mod h1:/DtAMXXneXFjbQMGEtbamCZb+4x7eGwkvZCvBmwUG+g= +github.com/go-openapi/runtime v0.23.1/go.mod h1:AKurw9fNre+h3ELZfk6ILsfvPN+bvvlaU/M9q/r9hpk= +github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc= +github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= +github.com/go-openapi/spec v0.20.4/go.mod h1:faYFR1CvsJZ0mNsmsphTMSoRrNV3TEDoAM7FOEWeq8I= +github.com/go-openapi/strfmt v0.21.0/go.mod h1:ZRQ409bWMj+SOgXofQAGTIo2Ebu72Gs+WaRADcS5iNg= +github.com/go-openapi/strfmt v0.21.1/go.mod h1:I/XVKeLc5+MM5oPNN7P6urMOpuLXEcNrCX/rPGuWb0k= +github.com/go-openapi/strfmt v0.21.2/go.mod h1:I/XVKeLc5+MM5oPNN7P6urMOpuLXEcNrCX/rPGuWb0k= +github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I= +github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= +github.com/go-openapi/swag v0.19.15/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= +github.com/go-openapi/swag v0.21.1/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= +github.com/go-openapi/validate v0.21.0/go.mod h1:rjnrwK57VJ7A8xqfpAOEKRH8yQSGUriMu5/zuPSQ1hg= +github.com/go-pdf/fpdf v0.5.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= +github.com/go-pdf/fpdf v0.6.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= -github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= +github.com/go-playground/validator/v10 v10.4.1/go.mod h1:nlOn6nFhuKACm19sB/8EGNn9GlaMV7XkbRSipzJ0Ii4= +github.com/go-resty/resty/v2 v2.1.1-0.20191201195748-d7b97669fe48/go.mod h1:dZGr0i9PLlaaTD4H/hoZIDjQ+r6xq8mgbRzHZf7f2J8= +github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/go-test/deep v1.0.2-0.20181118220953-042da051cf31/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= +github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4= +github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= github.com/go-test/deep v1.0.2/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/go-test/deep v1.0.7 h1:/VSMRlnY/JSyqxQUzQLKVMAskpY/NZKFA5j2P+0pP2M= +github.com/go-test/deep v1.0.7/go.mod h1:QV8Hv/iy04NyLBxAdO9njL0iVPN1S4d/A3NVv1V36o8= +github.com/go-zookeeper/zk v1.0.2/go.mod h1:nOB03cncLtlp4t+UAkGSV+9beXP/akpekBwL+UX1Qcw= +github.com/gobuffalo/attrs v0.0.0-20190224210810-a9411de4debd/go.mod h1:4duuawTqi2wkkpB4ePgWMaai6/Kc6WEz83bhFwpHzj0= +github.com/gobuffalo/depgen v0.0.0-20190329151759-d478694a28d3/go.mod h1:3STtPUQYuzV0gBVOY3vy6CfMm/ljR4pABfrTeHNLHUY= +github.com/gobuffalo/depgen v0.1.0/go.mod h1:+ifsuy7fhi15RWncXQQKjWS9JPkdah5sZvtHc2RXGlg= +github.com/gobuffalo/envy v1.6.15/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= +github.com/gobuffalo/envy v1.7.0/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= +github.com/gobuffalo/flect v0.1.0/go.mod h1:d2ehjJqGOH/Kjqcoz+F7jHTBbmDb38yXA598Hb50EGs= +github.com/gobuffalo/flect v0.1.1/go.mod h1:8JCgGVbRjJhVgD6399mQr4fx5rRfGKVzFjbj6RE/9UI= +github.com/gobuffalo/flect v0.1.3/go.mod h1:8JCgGVbRjJhVgD6399mQr4fx5rRfGKVzFjbj6RE/9UI= +github.com/gobuffalo/genny v0.0.0-20190329151137-27723ad26ef9/go.mod h1:rWs4Z12d1Zbf19rlsn0nurr75KqhYp52EAGGxTbBhNk= +github.com/gobuffalo/genny v0.0.0-20190403191548-3ca520ef0d9e/go.mod h1:80lIj3kVJWwOrXWWMRzzdhW3DsrdjILVil/SFKBzF28= +github.com/gobuffalo/genny v0.1.0/go.mod h1:XidbUqzak3lHdS//TPu2OgiFB+51Ur5f7CSnXZ/JDvo= +github.com/gobuffalo/genny v0.1.1/go.mod h1:5TExbEyY48pfunL4QSXxlDOmdsD44RRq4mVZ0Ex28Xk= +github.com/gobuffalo/gitgen v0.0.0-20190315122116-cc086187d211/go.mod h1:vEHJk/E9DmhejeLeNt7UVvlSGv3ziL+djtTr3yyzcOw= +github.com/gobuffalo/gogen v0.0.0-20190315121717-8f38393713f5/go.mod h1:V9QVDIxsgKNZs6L2IYiGR8datgMhB577vzTDqypH360= +github.com/gobuffalo/gogen v0.1.0/go.mod h1:8NTelM5qd8RZ15VjQTFkAW6qOMx5wBbW4dSCS3BY8gg= +github.com/gobuffalo/gogen v0.1.1/go.mod h1:y8iBtmHmGc4qa3urIyo1shvOD8JftTtfcKi+71xfDNE= +github.com/gobuffalo/logger v0.0.0-20190315122211-86e12af44bc2/go.mod h1:QdxcLw541hSGtBnhUc4gaNIXRjiDppFGaDqzbrBd3v8= +github.com/gobuffalo/mapi v1.0.1/go.mod h1:4VAGh89y6rVOvm5A8fKFxYG+wIW6LO1FMTG9hnKStFc= +github.com/gobuffalo/mapi v1.0.2/go.mod h1:4VAGh89y6rVOvm5A8fKFxYG+wIW6LO1FMTG9hnKStFc= +github.com/gobuffalo/packd v0.0.0-20190315124812-a385830c7fc0/go.mod h1:M2Juc+hhDXf/PnmBANFCqx4DM3wRbgDvnVWeG2RIxq4= +github.com/gobuffalo/packd v0.1.0/go.mod h1:M2Juc+hhDXf/PnmBANFCqx4DM3wRbgDvnVWeG2RIxq4= +github.com/gobuffalo/packr/v2 v2.0.9/go.mod h1:emmyGweYTm6Kdper+iywB6YK5YzuKchGtJQZ0Odn4pQ= +github.com/gobuffalo/packr/v2 v2.2.0/go.mod h1:CaAwI0GPIAv+5wKLtv8Afwl+Cm78K/I/VCm/3ptBN+0= +github.com/gobuffalo/syncx v0.0.0-20190224160051-33c29581e754/go.mod h1:HhnNqWY95UYwwW3uSASeV7vtgYkT2t16hJgV3AEPUpw= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= +github.com/goccy/go-json v0.9.11/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= +github.com/goccy/go-yaml v1.9.5/go.mod h1:U/jl18uSupI5rdI2jmuCswEA2htH9eXfferR3KfscvA= +github.com/godbus/dbus v0.0.0-20151105175453-c7fdd8b5cd55/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= +github.com/godbus/dbus v0.0.0-20180201030542-885f9cc04c9c/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= +github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= +github.com/godbus/dbus/v5 v5.0.6/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= +github.com/gofrs/uuid v3.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gofrs/uuid v4.2.0+incompatible h1:yyYWMnhkhrKwwr8gAOcOCYxOOscHgDS9yZgBrnJfGa0= github.com/gofrs/uuid v4.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= +github.com/gogo/googleapis v1.2.0/go.mod h1:Njal3psf3qN6dwBtQfUmBZh2ybovJ0tlu3o/AC7HYjU= +github.com/gogo/googleapis v1.4.0/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang-jwt/jwt/v4 v4.0.0 h1:RAqyYixv1p7uEnocuy8P1nru5wprCh/MH2BIlW5z5/o= +github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= +github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang-jwt/jwt/v4 v4.4.2 h1:rcc4lwaZgFMCZ5jxF9ABolDcIHdBytAFgqFPbSJQAYs= +github.com/golang-jwt/jwt/v4 v4.4.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= +github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EOqtpKwwwHI= +github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= +github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -542,12 +1412,16 @@ github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= +github.com/google/flatbuffers v2.0.8+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= +github.com/google/gnostic v0.5.7-v3refs/go.mod h1:73MKFl6jIHelAJNaBGFzt3SPtZULs9dYrGFt8OiIsHQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -564,13 +1438,17 @@ github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8 github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0= +github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= github.com/google/go-replayers/grpcreplay v1.1.0 h1:S5+I3zYyZ+GQz68OfbURDdt/+cSMqCK1wrvNx7WBzTE= github.com/google/go-replayers/grpcreplay v1.1.0/go.mod h1:qzAvJ8/wi57zq7gWqaE6AwLM6miiXUQwP1S+I9icmhk= -github.com/google/go-replayers/httpreplay v1.0.0 h1:8SmT8fUYM4nueF+UnXIX8LJxNTb1vpPuknXz+yTWzL4= -github.com/google/go-replayers/httpreplay v1.0.0/go.mod h1:LJhKoTwS5Wy5Ld/peq8dFFG5OfJyHEz7ft+DsTUv25M= +github.com/google/go-replayers/httpreplay v1.1.1 h1:H91sIMlt1NZzN7R+/ASswyouLJfW0WLW7fhyUFvDEkY= +github.com/google/go-replayers/httpreplay v1.1.1/go.mod h1:gN9GeLIs7l6NUoVaSSnv2RiqK1NiwAmD0MrKeC9IIks= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian v2.1.1-0.20190517191504-25dcb96d9e51+incompatible h1:xmapqc1AyLoB+ddYT6r04bD9lIjlOqGaREovi0SzFaE= github.com/google/martian v2.1.1-0.20190517191504-25dcb96d9e51+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= @@ -578,6 +1456,7 @@ github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIG github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= github.com/google/martian/v3 v3.3.2 h1:IqNFLAmvJOgVlpdEBiQbDc2EwKW77amAycfTuWKdfvw= +github.com/google/martian/v3 v3.3.2/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= @@ -593,14 +1472,16 @@ github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20210506205249-923b5ab0fc1a/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210715191844-86eeefc3e471/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20220318212150-b2ab0324ddda/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg= +github.com/google/pprof v0.0.0-20220608213341-c488b8fa1db3/go.mod h1:gSuNB+gJaOiQKLEZ+q+PK9Mq3SOzhRcw2GsGS/FhYDk= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/s2a-go v0.1.4 h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc= github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= github.com/google/subcommands v1.0.1/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk= +github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -611,6 +1492,7 @@ github.com/google/wire v0.5.0/go.mod h1:ngWDr9Qvq3yZA10YrxfyGELY/AFWGVpy9c1LTRi1 github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= +github.com/googleapis/enterprise-certificate-proxy v0.2.1/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= github.com/googleapis/enterprise-certificate-proxy v0.2.3 h1:yk9/cqRKtT9wXZSsRH9aurXEpJX+U6FLtpYTdC3R06k= github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= @@ -622,23 +1504,60 @@ github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99 github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqEF02fYlzkUCyo= github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY= +github.com/googleapis/gax-go/v2 v2.7.0/go.mod h1:TEop28CZZQ2y+c0VxMUmu1lV+fQx57QpBWsYpwqHJx8= +github.com/googleapis/gax-go/v2 v2.7.1/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38/qKbhSAKP6QI= github.com/googleapis/gax-go/v2 v2.11.0 h1:9V9PWXEsWnPpQhu/PeQIkS4eGzMlTLGgt80cUUI8Ki4= github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= +github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= +github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= +github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA= github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= -github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/gophercloud/gophercloud v0.24.0/go.mod h1:Q8fZtyi5zZxPS/j9aj3sSxtvj41AdQMDwyo1myduD5c= +github.com/gophercloud/gophercloud v0.25.0/go.mod h1:Q8fZtyi5zZxPS/j9aj3sSxtvj41AdQMDwyo1myduD5c= +github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= +github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= +github.com/gorilla/handlers v0.0.0-20150720190736-60c7bfde3e33/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= +github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/mux v1.7.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/schema v1.2.0 h1:YufUaxZYCKGFuAq3c96BOhjgd5nmXiOY9NGzF247Tsc= github.com/gorilla/schema v1.2.0/go.mod h1:kgLaKoK1FELgZqMAVxx/5cbj0kT+57qxUrAlIO2eleU= github.com/gorilla/securecookie v1.1.1 h1:miw7JPhV+b/lAHSXz4qd/nN9jRiAFV5FwjeKyCS8BvQ= github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4= +github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= +github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/grafana/regexp v0.0.0-20220304095617-2e8d9baf4ac2/go.mod h1:M5qHK+eWfAv8VR/265dIuEpL3fNfeC21tXXp9itM24A= +github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= +github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= +github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= +github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= +github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= +github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= +github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.17.1 h1:LSsiG61v9IzzxMkqEr6nrix4miJI62xlRjwT7BYD2SM= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.17.1/go.mod h1:Hbb13e3/WtqQ8U5hLGkek9gJvBLasHuPFI0UEGfnQ10= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.10.2/go.mod h1:chrfS3YoLAlKTRE5cFWvCbt8uGAjshktT4PveTUpsFQ= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0 h1:RtRsiaGvWxcwd8y3BiRZxsylPT8hLWZ5SPcfI+3IDNk= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0/go.mod h1:TzP6duP4Py2pHLVPPQp42aoYI92+PCrVotyR5e8Vqlk= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= +github.com/hanwen/go-fuse v1.0.0/go.mod h1:unqXarDXqzAk0rt98O2tVndEPIpUgLD9+rwFisZH3Ok= +github.com/hanwen/go-fuse/v2 v2.1.0/go.mod h1:oRyA5eK+pvJyv5otpO/DgccS8y/RvYMaO00GgRLGryc= +github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= +github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE= +github.com/hashicorp/consul/api v1.12.0/go.mod h1:6pVBMo0ebnYdt2S3H87XhekM/HHrUoTD2XXb/VrZVy0= +github.com/hashicorp/consul/api v1.13.0/go.mod h1:ZlVrynguJKcYr54zGaDbaL3fOvKC9m72FhPvA8T35KQ= +github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= +github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= +github.com/hashicorp/consul/sdk v0.8.0/go.mod h1:GBvyrGALthsZObzUGsfgHZQDXjg4lOjagTIwIR1vPms= +github.com/hashicorp/cronexpr v1.1.1/go.mod h1:P4wA0KBl9C5q2hABiMO7cp6jcIg96CDh1Efb3g1PWA4= +github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= @@ -651,38 +1570,58 @@ github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/S github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 h1:1/D3zfFHttUKaCaGKZ/dR2roBXv0vKbSCnssIldfQdI= github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs= github.com/hashicorp/go-getter v1.4.0/go.mod h1:7qxyCd8rBfcShwsvxgIguu4KbS3l8bUCwg2Umn7RjeY= -github.com/hashicorp/go-getter v1.7.0 h1:bzrYP+qu/gMrL1au7/aDvkoOVGUJpeKBgbqRHACAFDY= -github.com/hashicorp/go-getter v1.7.0/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= +github.com/hashicorp/go-getter v1.7.1 h1:SWiSWN/42qdpR0MdhaOc/bLR48PLuP1ZQtYLRlM69uY= +github.com/hashicorp/go-getter v1.7.1/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod h1:9bjs9uLqI8l75knNv3lV1kA55veR+WUPSiKIWcQHudI= github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= +github.com/hashicorp/go-hclog v0.12.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-hclog v0.14.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-hclog v0.16.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-hclog v1.2.1/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= -github.com/hashicorp/go-hclog v1.4.0 h1:ctuWFGrhFha8BnnzxqeRGidlEcQkDyL5u8J8t5eA11I= -github.com/hashicorp/go-hclog v1.4.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= +github.com/hashicorp/go-hclog v0.16.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= +github.com/hashicorp/go-hclog v1.2.2/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= +github.com/hashicorp/go-hclog v1.5.0 h1:bI2ocEMgcVlz55Oj1xZNBsVi900c7II+fWDyV9o+13c= +github.com/hashicorp/go-hclog v1.5.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-immutable-radix v1.1.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-immutable-radix v1.2.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc= +github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-kms-wrapping/entropy v0.1.0/go.mod h1:d1g9WGtAunDNpek8jUIEJnBlbgKS1N2Q61QkHiZyR1g= +github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= +github.com/hashicorp/go-multierror v0.0.0-20161216184304-ed905158d874/go.mod h1:JMRHfdO9jKNzS/+BTlxCjKNQHg/jZAft8U7LloJvN7I= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+vmowP0z+KUhOZdA= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-plugin v1.0.1/go.mod h1:++UyYGoz3o5w9ZzAdZxtQKrWWP+iqPBn3cQptSMzBuY= +github.com/hashicorp/go-plugin v1.4.3/go.mod h1:5fGEH17QVwTTcR0zV7yhDPLLmFX9YSZ38b18Udy6vYQ= github.com/hashicorp/go-plugin v1.4.4/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s= -github.com/hashicorp/go-plugin v1.4.8 h1:CHGwpxYDOttQOY7HOWgETU9dyVjOXzniXDqJcYJE1zM= +github.com/hashicorp/go-plugin v1.5.1 h1:oGm7cWBaYIp3lJpx1RUEfLWophprE2EV/KUeqBYo+6k= +github.com/hashicorp/go-plugin v1.5.1/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= -github.com/hashicorp/go-retryablehttp v0.6.2/go.mod h1:gEx6HMUGxYYhJScX7W1Il64m6cc2C1mDaW3NQ9sY1FY= github.com/hashicorp/go-retryablehttp v0.6.6/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= -github.com/hashicorp/go-retryablehttp v0.7.0 h1:eu1EI/mbirUgP5C8hVsTNaGZreBDlYiwC1FZWkvQPQ4= -github.com/hashicorp/go-retryablehttp v0.7.0/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= -github.com/hashicorp/go-rootcerts v1.0.1/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= +github.com/hashicorp/go-retryablehttp v0.7.1 h1:sUiuQAnLlbvmExtFQs72iFW/HXeUn8Z1aJLQ4LJJbTQ= +github.com/hashicorp/go-retryablehttp v0.7.1/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= +github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= github.com/hashicorp/go-rootcerts v1.0.2 h1:jzhAVGtqPKbwpyCPELlgNWhE1znq+qwJtW5Oi2viEzc= github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo= github.com/hashicorp/go-safetemp v1.0.0/go.mod h1:oaerMy3BhqiTbVye6QuFhFtIceqFoDHxNAB65b+Rj1I= +github.com/hashicorp/go-secure-stdlib/base62 v0.1.1/go.mod h1:EdWO6czbmthiwZ3/PUsDV+UD1D5IRU4ActiaWGwt0Yw= +github.com/hashicorp/go-secure-stdlib/mlock v0.1.1/go.mod h1:zq93CJChV6L9QTfGKtfBxKqD7BqqXx5O04A/ns2p5+I= +github.com/hashicorp/go-secure-stdlib/mlock v0.1.2 h1:p4AKXPPS24tO8Wc8i1gLvSKdmkiSY5xuju57czJ/IJQ= +github.com/hashicorp/go-secure-stdlib/mlock v0.1.2/go.mod h1:zq93CJChV6L9QTfGKtfBxKqD7BqqXx5O04A/ns2p5+I= +github.com/hashicorp/go-secure-stdlib/parseutil v0.1.1/go.mod h1:QmrqtbKuxxSWTN3ETMPuB+VtEiBJ/A9XhoYGv8E1uD8= +github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6 h1:om4Al8Oy7kCm/B86rLCLah4Dt5Aa0Fr5rYBG60OzwHQ= +github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6/go.mod h1:QmrqtbKuxxSWTN3ETMPuB+VtEiBJ/A9XhoYGv8E1uD8= +github.com/hashicorp/go-secure-stdlib/password v0.1.1/go.mod h1:9hH302QllNwu1o2TGYtSk8I8kTAN0ca1EHpwhm5Mmzo= +github.com/hashicorp/go-secure-stdlib/strutil v0.1.1/go.mod h1:gKOamz3EwoIoJq7mlMIRBpVTAUn8qPCrEclOKKWhD3U= +github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 h1:kes8mmyCpxJsI7FTwtzRqEy9CdjCtrXrXGuOpxEA7Ts= +github.com/hashicorp/go-secure-stdlib/strutil v0.1.2/go.mod h1:Gou2R9+il93BqX25LAKCLuM+y9U2T4hlwvT1yprcna4= +github.com/hashicorp/go-secure-stdlib/tlsutil v0.1.1/go.mod h1:l8slYwnJA26yBz+ErHpp2IRCLr0vuOMGBORIz4rRiAs= +github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= github.com/hashicorp/go-sockaddr v1.0.2 h1:ztczhD1jLxIRjVejw8gFomI1BQZOe2WoVOu0SyteCQc= github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjGlgmH/UkBUC97A= +github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= @@ -690,121 +1629,218 @@ github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/C github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-version v1.1.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/go-version v1.5.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.3/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= -github.com/hashicorp/hc-install v0.4.0/go.mod h1:5d155H8EC5ewegao9A4PUTMNPZaq+TbOzkJJZ4vrXeI= -github.com/hashicorp/hc-install v0.5.0 h1:D9bl4KayIYKEeJ4vUDe9L5huqxZXczKaykSRcmQ0xY0= +github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= +github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hashicorp/hc-install v0.6.0 h1:fDHnU7JNFNSQebVKYhHZ0va1bC6SrPQ8fpebsvNr2w4= +github.com/hashicorp/hc-install v0.6.0/go.mod h1:10I912u3nntx9Umo1VAeYPUUuehk0aRQJYpMwbX5wQA= github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f/go.mod h1:oZtUIOe8dh44I2q6ScRibXws4Ajl+d+nod3AaR9vL5w= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/hcl/v2 v2.0.0/go.mod h1:oVVDG71tEinNGYCxinCYadcmKU9bglqW9pV3txagJ90= -github.com/hashicorp/hcl/v2 v2.13.0/go.mod h1:e4z5nxYlWNPdDSNYX+ph14EvWYMFm3eP0zIUqPc2jr0= -github.com/hashicorp/hcl/v2 v2.16.2 h1:mpkHZh/Tv+xet3sy3F9Ld4FyI2tUpWe9x3XtPx9f1a0= -github.com/hashicorp/hcl/v2 v2.16.2/go.mod h1:JRmR89jycNkrrqnMmvPDMd56n1rQJ2Q6KocSLCMCXng= +github.com/hashicorp/hcl/v2 v2.18.0 h1:wYnG7Lt31t2zYkcquwgKo6MWXzRUDIeIVU5naZwHLl8= +github.com/hashicorp/hcl/v2 v2.18.0/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 h1:T1Q6ag9tCwun16AW+XK3tAql24P4uTGUMIn1/92WsQQ= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93/go.mod h1:n2TSygSNwsLJ76m8qFXTSc7beTb+auJxYdqrnoqwZWE= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= +github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= +github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc= +github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= +github.com/hashicorp/memberlist v0.3.0/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE= +github.com/hashicorp/memberlist v0.3.1/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE= +github.com/hashicorp/nomad/api v0.0.0-20220629141207-c2428e1673ec/go.mod h1:jP79oXjopTyH6E8LF0CEMq67STgrlmBRIyijA0tuR5o= +github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= +github.com/hashicorp/serf v0.9.6/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= github.com/hashicorp/terraform-config-inspect v0.0.0-20191115094559-17f92b0546e8/go.mod h1:p+ivJws3dpqbp1iP84+npOyAmTTOLMgCzrXd3GSdn/A= -github.com/hashicorp/terraform-exec v0.17.2/go.mod h1:tuIbsL2l4MlwwIZx9HPM+LOV9vVyEfBYu2GsO1uH3/8= -github.com/hashicorp/terraform-exec v0.18.1 h1:LAbfDvNQU1l0NOQlTuudjczVhHj061fNX5H8XZxHlH4= +github.com/hashicorp/terraform-exec v0.19.0 h1:FpqZ6n50Tk95mItTSS9BjeOVUb4eg81SpgVtZNNtFSM= +github.com/hashicorp/terraform-exec v0.19.0/go.mod h1:tbxUpe3JKruE9Cuf65mycSIT8KiNPZ0FkuTE3H4urQg= github.com/hashicorp/terraform-json v0.4.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8jnkVYN28gJkSJrLhU= -github.com/hashicorp/terraform-json v0.14.0/go.mod h1:5A9HIWPkk4e5aeeXIBbkcOvaZbIYnAIkEyqP2pNSckM= -github.com/hashicorp/terraform-json v0.16.0 h1:UKkeWRWb23do5LNAFlh/K3N0ymn1qTOO8c+85Albo3s= +github.com/hashicorp/terraform-json v0.17.1 h1:eMfvh/uWggKmY7Pmb3T85u86E2EQg6EQHgyRwf3RkyA= +github.com/hashicorp/terraform-json v0.17.1/go.mod h1:Huy6zt6euxaY9knPAFKjUITn8QxUFIe9VuSzb4zn/0o= github.com/hashicorp/terraform-plugin-framework v0.15.0 h1:6f4UY2yfp5UsSX9JhUA6RSptjd+ojStBGWA4jrPhB6Q= github.com/hashicorp/terraform-plugin-framework v0.15.0/go.mod h1:wcZdk4+Uef6Ng+BiBJjGAcIPlIs5bhlEV/TA1k6Xkq8= -github.com/hashicorp/terraform-plugin-go v0.14.0/go.mod h1:2nNCBeRLaenyQEi78xrGrs9hMbulveqG/zDMQSvVJTE= -github.com/hashicorp/terraform-plugin-go v0.14.3 h1:nlnJ1GXKdMwsC8g1Nh05tK2wsC3+3BL/DBBxFEki+j0= -github.com/hashicorp/terraform-plugin-go v0.14.3/go.mod h1:7ees7DMZ263q8wQ6E4RdIdR6nHHJtrdt4ogX5lPkX1A= -github.com/hashicorp/terraform-plugin-log v0.7.0/go.mod h1:p4R1jWBXRTvL4odmEkFfDdhUjHf9zcs/BCoNHAc7IK4= -github.com/hashicorp/terraform-plugin-log v0.8.0 h1:pX2VQ/TGKu+UU1rCay0OlzosNKe4Nz1pepLXj95oyy0= -github.com/hashicorp/terraform-plugin-log v0.8.0/go.mod h1:1myFrhVsBLeylQzYYEV17VVjtG8oYPRFdaZs7xdW2xs= +github.com/hashicorp/terraform-plugin-go v0.19.0 h1:BuZx/6Cp+lkmiG0cOBk6Zps0Cb2tmqQpDM3iAtnhDQU= +github.com/hashicorp/terraform-plugin-go v0.19.0/go.mod h1:EhRSkEPNoylLQntYsk5KrDHTZJh9HQoumZXbOGOXmec= +github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0= +github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow= github.com/hashicorp/terraform-plugin-mux v0.7.0 h1:wRbSYzg+v2sn5Mdee0UKm4YTt4wJG0LfSwtgNuBkglY= +github.com/hashicorp/terraform-plugin-mux v0.7.0/go.mod h1:Ae30Mc5lz4d1awtiCbHP0YyvgBeiQ00Q1nAq0U3lb+I= github.com/hashicorp/terraform-plugin-sdk v1.7.0 h1:B//oq0ZORG+EkVrIJy0uPGSonvmXqxSzXe8+GhknoW0= github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY= github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs= -github.com/hashicorp/terraform-registry-address v0.0.0-20220623143253-7d51757b572c/go.mod h1:Wn3Na71knbXc1G8Lh+yu/dQWWJeFQEpDeJMtWMtlmNI= -github.com/hashicorp/terraform-registry-address v0.1.0 h1:W6JkV9wbum+m516rCl5/NjKxCyTVaaUBbzYcMzBDO3U= +github.com/hashicorp/terraform-registry-address v0.2.2 h1:lPQBg403El8PPicg/qONZJDC6YlgCVbWDtNmmZKtBno= +github.com/hashicorp/terraform-registry-address v0.2.2/go.mod h1:LtwNbCihUoUZ3RYriyS2wF/lGPB6gF9ICLRtuDk7hSo= github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= -github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 h1:HKLsbzeOsfXmKNpr3GiT18XAblV0BjCbzL8KQAMZGa0= -github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= -github.com/hashicorp/vault/api v1.0.5-0.20200519221902-385fac77e20f/go.mod h1:euTFbi2YJgwcju3imEt919lhJKF68nN1cQPq3aA+kBE= -github.com/hashicorp/vault/api v1.1.1 h1:907ld+Z9cALyvbZK2qUX9cLwvSaEQsMVQB3x2KE8+AI= -github.com/hashicorp/vault/api v1.1.1/go.mod h1:29UXcn/1cLOPHQNMWA7bCz2By4PSd0VKPAydKXS5yN0= -github.com/hashicorp/vault/sdk v0.1.14-0.20200519221530-14615acda45f/go.mod h1:WX57W2PwkrOPQ6rVQk+dy5/htHIaB4aBM70EwKThu10= -github.com/hashicorp/vault/sdk v0.2.1 h1:S4O6Iv/dyKlE9AUTXGa7VOvZmsCvg36toPKgV4f2P4M= -github.com/hashicorp/vault/sdk v0.2.1/go.mod h1:WfUiO1vYzfBkz1TmoE4ZGU7HD0T0Cl/rZwaxjBkgN4U= +github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ= +github.com/hashicorp/terraform-svchost v0.1.1/go.mod h1:mNsjQfZyf/Jhz35v6/0LWcv26+X7JPS+buii2c9/ctc= +github.com/hashicorp/vault/api v1.7.2/go.mod h1:xbfA+1AvxFseDzxxdWaL0uO99n1+tndus4GCrtouy0M= +github.com/hashicorp/vault/api v1.8.2 h1:C7OL9YtOtwQbTKI9ogB0A1wffRbCN+rH/LLCHO3d8HM= +github.com/hashicorp/vault/api v1.8.2/go.mod h1:ML8aYzBIhY5m1MD1B2Q0JV89cC85YVH4t5kBaZiyVaE= +github.com/hashicorp/vault/sdk v0.5.1/go.mod h1:DoGraE9kKGNcVgPmTuX357Fm6WAx1Okvde8Vp3dPDoU= +github.com/hashicorp/vault/sdk v0.5.3/go.mod h1:DoGraE9kKGNcVgPmTuX357Fm6WAx1Okvde8Vp3dPDoU= +github.com/hashicorp/vault/sdk v0.6.1 h1:sjZC1z4j5Rh2GXYbkxn5BLK05S1p7+MhW4AgdUmgRUA= +github.com/hashicorp/vault/sdk v0.6.1/go.mod h1:Ck4JuAC6usTphfrrRJCRH+7/N7O2ozZzkm/fzQFt4uM= github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= -github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d h1:kJCB4vdITiW1eC1vq2e6IsrXKrZit1bv/TDYFGMp4BQ= github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= +github.com/hashicorp/yamux v0.1.1 h1:yrQxtgseBDrq9Y652vSRDvsKCJKOUD+GzTS4Y0Y8pvE= +github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ= +github.com/hetznercloud/hcloud-go v1.33.1/go.mod h1:XX/TQub3ge0yWR2yHWmnDVIrB+MQbda1pHxkUmDlUME= +github.com/hetznercloud/hcloud-go v1.35.0/go.mod h1:mepQwR6va27S3UQthaEPGS86jtzSY9xWL1e9dyxXpgA= github.com/hexops/autogold v1.3.0 h1:IEtGNPxBeBu8RMn8eKWh/Ll9dVNgSnJ7bp/qHgMQ14o= +github.com/hexops/autogold v1.3.0/go.mod h1:d4hwi2rid66Sag+BVuHgwakW/EmaFr8vdTSbWDbrDRI= github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= +github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= github.com/hexops/valast v1.4.0 h1:sFzyxPDP0riFQUzSBXTCCrAbbIndHPWMndxuEjXdZlc= -github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174 h1:WlZsjVhE8Af9IcZDGgJGQpNflI3+MJSBhsgT5PCtzBQ= -github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174/go.mod h1:DqJ97dSdRW1W22yXSB90986pcOyQ7r45iio1KN2ez1A= +github.com/hexops/valast v1.4.0/go.mod h1:uVjKZ0smVuYlgCSPz9NRi5A04sl7lp6GtFWsROKDgEs= +github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= +github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02 h1:AgcIVYPa6XJnU3phs104wLj8l5GEththEw6+F79YsIY= +github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw= github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= +github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= github.com/iancoleman/strcase v0.2.0 h1:05I4QRnGpI0m37iZQRuskXh+w77mr6Z41lwQzuHLwW0= github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= +github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd h1:anPrsicrIi2ColgWTVPk+TrN42hJIWlfPHSBP9S0ZkM= github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd/go.mod h1:3LVOLeyx9XVvwPgrt2be44XgSqndprz1G18rSk8KD84= +github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= +github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= +github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= -github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= -github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= -github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= +github.com/imdario/mergo v0.3.15 h1:M8XP7IuFNsqUx6VPK2P9OSmsYsI/YFaGil0uD21V3dM= +github.com/imdario/mergo v0.3.15/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+hD27ysY= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= +github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= +github.com/intel/goresctrl v0.2.0/go.mod h1:+CZdzouYFn5EsxgqAQTEzMfwKwuc0fVdMrT9FCCAVRQ= +github.com/ionos-cloud/sdk-go/v6 v6.1.0/go.mod h1:Ox3W0iiEz0GHnfY9e5LmAxwklsxguuNFEUSu0gVRTME= +github.com/j-keck/arping v0.0.0-20160618110441-2cf9dc699c56/go.mod h1:ymszkNOg6tORTn+6F6j+Jc8TOr5osrynvN6ivFWZ2GA= +github.com/j-keck/arping v1.0.2/go.mod h1:aJbELhR92bSk7tp79AWM/ftfc90EfEi2bQJrbBFOsPw= +github.com/jackc/chunkreader v1.0.0/go.mod h1:RT6O25fNZIuasFJRyZ4R/Y2BbhasbmZXF9QQ7T3kePo= +github.com/jackc/chunkreader/v2 v2.0.0/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= +github.com/jackc/chunkreader/v2 v2.0.1/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= +github.com/jackc/pgconn v0.0.0-20190420214824-7e0022ef6ba3/go.mod h1:jkELnwuX+w9qN5YIfX0fl88Ehu4XC3keFuOJJk9pcnA= +github.com/jackc/pgconn v0.0.0-20190824142844-760dd75542eb/go.mod h1:lLjNuW/+OfW9/pnVKPazfWOgNfH2aPem8YQ7ilXGvJE= +github.com/jackc/pgconn v0.0.0-20190831204454-2fabfa3c18b7/go.mod h1:ZJKsE/KZfsUgOEh9hBm+xYTstcNHg7UPMVJqRfQxq4s= +github.com/jackc/pgconn v1.8.0/go.mod h1:1C2Pb36bGIP9QHGBYCjnyhqu7Rv3sGshaQUvmfGIB/o= +github.com/jackc/pgconn v1.9.0/go.mod h1:YctiPyvzfU11JFxoXokUOOKQXQmDMoJL9vJzHH8/2JY= +github.com/jackc/pgconn v1.9.1-0.20210724152538-d89c8390a530/go.mod h1:4z2w8XhRbP1hYxkpTuBjTS3ne3J48K83+u0zoyvg2pI= +github.com/jackc/pgconn v1.12.1/go.mod h1:ZkhRC59Llhrq3oSfrikvwQ5NaxYExr6twkdkMLaKono= +github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8= +github.com/jackc/pgmock v0.0.0-20190831213851-13a1b77aafa2/go.mod h1:fGZlG77KXmcq05nJLRkk0+p82V8B8Dw8KN2/V9c/OAE= +github.com/jackc/pgmock v0.0.0-20201204152224-4fe30f7445fd/go.mod h1:hrBW0Enj2AZTNpt/7Y5rr2xe/9Mn757Wtb2xeBzPv2c= +github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65/go.mod h1:5R2h2EEX+qri8jOWMbJCtaPWkrrNc7OHwsp2TCqp7ak= +github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= +github.com/jackc/pgproto3 v1.1.0/go.mod h1:eR5FA3leWg7p9aeAqi37XOTgTIbkABlvcPB3E5rlc78= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190420180111-c116219b62db/go.mod h1:bhq50y+xrl9n5mRYyCBFKkpRVTLYJVWeCc+mEAI3yXA= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190609003834-432c2951c711/go.mod h1:uH0AWtUmuShn0bcesswc4aBTWGvw0cAxIJp+6OB//Wg= +github.com/jackc/pgproto3/v2 v2.0.0-rc3/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= +github.com/jackc/pgproto3/v2 v2.0.0-rc3.0.20190831210041-4c03ce451f29/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= +github.com/jackc/pgproto3/v2 v2.0.6/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.1.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.3.0/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= +github.com/jackc/pgtype v0.0.0-20190421001408-4ed0de4755e0/go.mod h1:hdSHsc1V01CGwFsrv11mJRHWJ6aifDLfdV3aVjFF0zg= +github.com/jackc/pgtype v0.0.0-20190824184912-ab885b375b90/go.mod h1:KcahbBH1nCMSo2DXpzsoWOAfFkdEtEJpPbVLq8eE+mc= +github.com/jackc/pgtype v0.0.0-20190828014616-a8802b16cc59/go.mod h1:MWlu30kVJrUS8lot6TQqcg7mtthZ9T0EoIBFiJcmcyw= +github.com/jackc/pgtype v1.8.1-0.20210724151600-32e20a603178/go.mod h1:C516IlIV9NKqfsMCXTdChteoXmwgUceqaLfjg2e3NlM= +github.com/jackc/pgtype v1.11.0/go.mod h1:LUMuVrfsFfdKGLw+AFFVv6KtHOFMwRgDDzBt76IqCA4= +github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96/go.mod h1:mdxmSJJuR08CZQyj1PVQBHy9XOp5p8/SHH6a0psbY9Y= +github.com/jackc/pgx/v4 v4.0.0-20190421002000-1b8f0016e912/go.mod h1:no/Y67Jkk/9WuGR0JG/JseM9irFbnEPbuWV2EELPNuM= +github.com/jackc/pgx/v4 v4.0.0-pre1.0.20190824185557-6972a5742186/go.mod h1:X+GQnOEnf1dqHGpw7JmHqHc1NxDoalibchSk9/RWuDc= +github.com/jackc/pgx/v4 v4.12.1-0.20210724153913-640aa07df17c/go.mod h1:1QD0+tgSXP7iUjYm9C1NxKhny7lq6ee99u/z+IHFcgs= +github.com/jackc/pgx/v4 v4.16.1/go.mod h1:SIhx0D5hoADaiXZVyv+3gSm3LCIIINTVO0PficsvWGQ= +github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v1.2.1/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= +github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= +github.com/jhump/gopoet v0.0.0-20190322174617-17282ff210b3/go.mod h1:me9yfT6IJSlOL3FCfrg+L6yzUEZ+5jW6WHt4Sk+UPUI= +github.com/jhump/gopoet v0.1.0/go.mod h1:me9yfT6IJSlOL3FCfrg+L6yzUEZ+5jW6WHt4Sk+UPUI= +github.com/jhump/goprotoc v0.5.0/go.mod h1:VrbvcYrQOrTi3i0Vf+m+oqQWk9l72mjkJCYo7UvLHRQ= github.com/jhump/protoreflect v1.6.0/go.mod h1:eaTn3RZAmMBcV0fifFvlm6VHNz3wSkYyXYWUh7ymB74= +github.com/jhump/protoreflect v1.11.0/go.mod h1:U7aMIjN0NWq9swDP7xDdoMfRHb35uiuTd3Z9nFXJf5E= +github.com/jhump/protoreflect v1.15.1 h1:HUMERORf3I3ZdX05WaQ6MIpd/NJ434hTp5YiKgfCL6c= +github.com/jhump/protoreflect v1.15.1/go.mod h1:jD/2GMKKE6OqX8qTjhADU1e6DShO+gavG9e0Q693nKo= github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= +github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= -github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= +github.com/joefitzgerald/rainbow-reporter v0.1.0/go.mod h1:481CNgqmVHQZzdIbN52CupLJyoVwB10FQ/IQlF1pdL8= github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= +github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= +github.com/jonboulle/clockwork v0.2.2/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8= +github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= +github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= +github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= +github.com/jung-kurt/gofpdf v1.0.0/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= +github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= +github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4= +github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= -github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= -github.com/kevinburke/ssh_config v1.1.0 h1:pH/t1WS9NzT8go394IqZeJTMHVm6Cr6ZJ6AQ+mdNo/o= -github.com/kevinburke/ssh_config v1.1.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= +github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= +github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/keybase/go-crypto v0.0.0-20161004153544-93f5b35093ba/go.mod h1:ghbZscTyKdM07+Fw3KSi0hcJm+AlEUWj8QLlPtijN/M= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE= github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.13.5/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/klauspost/compress v1.11.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= +github.com/klauspost/compress v1.11.13/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= +github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/klauspost/compress v1.15.1/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU= github.com/klauspost/compress v1.15.11 h1:Lcadnb3RKGin4FYM/orgq0qde+nc15E5Cbqg4B9Sx9c= github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= +github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= +github.com/kolo/xmlrpc v0.0.0-20201022064351-38db28db192b/go.mod h1:pcaDhQK0/NJZEvtCO0qQPPropqV0sJOJ6YW7X+9kRwM= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/pty v1.1.4/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/pty v1.1.8 h1:AkaSdXYQOWeaO3neb8EM634ahkXXe3jYbVh/F9lq+GI= +github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= +github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= @@ -812,7 +1848,33 @@ github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LE github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= +github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/lib/pq v1.10.6/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= +github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= +github.com/linode/linodego v1.4.0/go.mod h1:PVsRxSlOiJyvG4/scTszpmZDTdgS+to3X6eS8pRrWI8= +github.com/linode/linodego v1.8.0/go.mod h1:heqhl91D8QTPVm2k9qZHP78zzbOdTFLXE9NJc3bcc50= +github.com/linuxkit/virtsock v0.0.0-20201010232012-f8cee7dfc7a3/go.mod h1:3r6x7q95whyfWQpmGZTu3gk3v2YkMi05HEzl7Tf7YEo= +github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY= +github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= +github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= +github.com/lyft/protoc-gen-star v0.6.1/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= +github.com/lyft/protoc-gen-star/v2 v2.0.1/go.mod h1:RcCdONR2ScXaYnQC5tUzxzlpA3WVYF7/opLeUgcQs/o= +github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= +github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs= +github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2/go.mod h1:Ld9puTsIW75CHf65OeIOkyKbteujpZVXDpWK6YGZbxE= +github.com/markbates/safe v1.0.1/go.mod h1:nAqgmRi7cY2nqMc92/bSEeQA+R4OheNU2T1kNSCBdG0= +github.com/marstr/guid v1.1.0/go.mod h1:74gB1z2wpxxInTG6yaqA7KrtM0NZ+RbrcqDvYHefzho= github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= @@ -820,30 +1882,51 @@ github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcncea github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= -github.com/mattn/go-ieproxy v0.0.1 h1:qiyop7gCflfhwCzGyeT0gro3sF9AIg9HU98JORTkqfI= -github.com/mattn/go-ieproxy v0.0.1/go.mod h1:pYabZ6IHcRpFh7vIaLfK7rdcWgFEb3SFJ6/gNWuh88E= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng= -github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.18 h1:DOKFKCQ7FNG2L1rbrmstDN4QVRdS89Nkh85u68Uwp98= +github.com/mattn/go-isatty v0.0.18/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4= +github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88= +github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU= -github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= +github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk= +github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWVwUuU= +github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= +github.com/mattn/go-shellwords v1.0.3/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= +github.com/mattn/go-shellwords v1.0.6/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= +github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y= +github.com/mattn/go-sqlite3 v1.14.14/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= +github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4= github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= +github.com/microsoft/ApplicationInsights-Go v0.4.4/go.mod h1:fKRUseBqkw6bDiXTs3ESTiU/4YTIHsQS4W3fP2ieF4U= +github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= +github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= +github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI= +github.com/miekg/dns v1.1.48/go.mod h1:e3IlAVfNqAllflbibAZEWOXOQ+Ynzk/dDozDxY7XnME= +github.com/miekg/dns v1.1.50/go.mod h1:e3IlAVfNqAllflbibAZEWOXOQ+Ynzk/dDozDxY7XnME= +github.com/miekg/pkcs11 v1.0.3/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= +github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY= +github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE= +github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible/go.mod h1:8AuVvqP/mXw1px98n46wfvcGfQ4ci2FwoAjKYxuo3Z4= github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= +github.com/mitchellh/cli v1.1.0/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI= github.com/mitchellh/cli v1.1.5 h1:OxRIeJXpAMztws/XHlN2vu6imG5Dpq+j61AzAX5fLng= github.com/mitchellh/cli v1.1.5/go.mod h1:v8+iFts2sPIKUV1ltktPXMCC8fumSKFItNcD2cLtRR4= github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod h1:l0dey0ia/Uv7NcFFVbCLtqEBQbrT4OCwCSKTEv6enCw= @@ -863,20 +1946,34 @@ github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZX github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= +github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= github.com/mitchellh/hashstructure v1.0.0 h1:ZkRJX1CyOoTkar7p/mLS5TZU4nJ1Rn/F8u9dGS02Q3Y= github.com/mitchellh/hashstructure v1.0.0/go.mod h1:QjSHrPWS+BGUVBYkbTZWEnOh3G1DutKwClXU/ABz6AQ= +github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= +github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.3.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.3.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.4.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f/go.mod h1:OkQIRizQZAeMln+1tSwduZz7+Af5oFlKirV/MSYes2A= github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/mitchellh/reflectwalk v1.0.1/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 h1:dcztxKSvZ4Id8iPpHERQBbIJfabdt4wUm5qy3wOL2Zc= +github.com/mmcloughlin/avo v0.5.0/go.mod h1:ChHFdoV7ql95Wi7vuq2YT1bwCJqiWdZrQ1im3VujLYM= +github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc= +github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= +github.com/moby/sys/mountinfo v0.4.0/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= +github.com/moby/sys/mountinfo v0.4.1/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= +github.com/moby/sys/mountinfo v0.5.0/go.mod h1:3bMD3Rg+zkqx8MRYPi7Pyb0Ie97QEBmdxbhnCLlSvSU= +github.com/moby/sys/signal v0.6.0/go.mod h1:GQ6ObYZfqacOwTtlXvcmh9A26dVRul/hbOZn88Kg8Tg= +github.com/moby/sys/symlink v0.1.0/go.mod h1:GGDODQmbFOjFsXvfLVn3+ZRxkch54RkSiGqsZeMYowQ= +github.com/moby/sys/symlink v0.2.0/go.mod h1:7uZVF2dqJjG/NsClqul95CqKOBRQyYSNnJ6BMgR/gFs= +github.com/moby/term v0.0.0-20200312100748-672ec06f55cd/go.mod h1:DdlQx2hp0Ss5/fLikoLlEeIYiATotOjgB//nb973jeo= +github.com/moby/term v0.0.0-20210610120745-9d4ed1856297/go.mod h1:vgPCkQMyxTZ7IDy8SXRufE172gr8+K/JE/7hHFxHW3A= github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6/go.mod h1:E2VnQOmVuvZB6UYnnDB0qG5Nq/1tD9acaOpo6xmt0Kw= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= @@ -885,42 +1982,143 @@ github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lN github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= +github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= +github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc= +github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= +github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= +github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b h1:1XF24mVaiu7u+CFywTdcDo2ie1pzzhwjt6RHqzpMU34= +github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b/go.mod h1:fQuZ0gauxyBcmsdE3ZT4NasjaRdxmbCS0jRHsrWu3Ho= +github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA= +github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo= +github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s= +github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8= +github.com/muesli/termenv v0.15.1 h1:UzuTb/+hhlBugQz28rpzey4ZuKcZ03MeKsoG7IJZIxs= +github.com/muesli/termenv v0.15.1/go.mod h1:HeAQPTzpfs016yGtA4g00CsdYnVLJvxsS4ANqrZs2sQ= +github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= +github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= github.com/natefinch/atomic v1.0.1 h1:ZPYKxkqQOx3KZ+RsbnP/YsgvxWQPGxjC0oBt2AhwV0A= github.com/natefinch/atomic v1.0.1/go.mod h1:N/D/ELrljoqDyT3rZrsUmtsuzvHkeB/wWjHV22AZRbM= +github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= +github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU= +github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k= +github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w= +github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= +github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= +github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= +github.com/ncw/swift v1.0.47/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nightlyone/lockfile v1.0.0 h1:RHep2cFKK4PonZJDdEl4GmkabuhbsRMgk/k3uAmxBiA= -github.com/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce/go.mod h1:uFMI8w+ref4v2r9jz+c9i1IfIttS/OkmLfrk1jne5hs= -github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw= +github.com/nightlyone/lockfile v1.0.0/go.mod h1:rywoIealpdNse2r832aiD9jRk8ErCatROs6LzC841CI= +github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= +github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= +github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= +github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA= +github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU= +github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= +github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= +github.com/onsi/ginkgo v0.0.0-20151202141238-7f8ab55aaf3b/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.10.1/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.10.3/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.12.0/go.mod h1:oUhWkIvk5aDxtKvDDuw8gItl8pKl42LzjC9KZE0HfGg= +github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= +github.com/onsi/ginkgo v1.13.0/go.mod h1:+REjRxOmWfHCjfv9TTWB1jD1Frx4XydAD3zm1lskyM0= +github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= +github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= +github.com/onsi/gomega v0.0.0-20151007035656-2152b45fa28a/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= +github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= +github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= +github.com/onsi/gomega v1.9.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoTdcA= +github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= +github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc= +github.com/onsi/gomega v1.15.0/go.mod h1:cIuvLEne0aoVhAgh/O6ac0Op8WWw9H6eYCriF+tEHG0= +github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= +github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= +github.com/opencontainers/go-digest v1.0.0-rc1.0.20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= +github.com/opencontainers/image-spec v1.0.0/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= +github.com/opencontainers/image-spec v1.0.2-0.20211117181255-693428a734f5/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= +github.com/opencontainers/image-spec v1.0.2/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= github.com/opencontainers/runc v0.0.0-20190115041553-12f6a991201f/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= github.com/opencontainers/runc v0.1.1/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= +github.com/opencontainers/runc v1.0.0-rc8.0.20190926000215-3e425f80a8c9/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= +github.com/opencontainers/runc v1.0.0-rc9/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= +github.com/opencontainers/runc v1.0.0-rc93/go.mod h1:3NOsor4w32B2tC0Zbl8Knk4Wg84SM2ImC1fxBuqJ/H0= +github.com/opencontainers/runc v1.0.2/go.mod h1:aTaHFFwQXuA71CiyxOdFFIorAoemI04suvGRQFzWTD0= +github.com/opencontainers/runc v1.1.0/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6iptFpuvbbKqc= github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-spec v1.0.1/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-spec v1.0.2-0.20190207185410-29686dbc5559/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-spec v1.0.2/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-spec v1.0.3-0.20200929063507-e6143ca7d51d/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-tools v0.0.0-20181011054405-1d69bd0f9c39/go.mod h1:r3f7wjNzSs2extwzU3Y+6pKfobzPh+kKFJ3ofN+3nfs= +github.com/opencontainers/selinux v1.6.0/go.mod h1:VVGKuOLlE7v4PJyT6h7mNWvq1rzqiriPsEqVhc+svHE= +github.com/opencontainers/selinux v1.8.0/go.mod h1:RScLhm78qiWa2gbVCcGkC7tCGdgk3ogry1nUQF8Evvo= +github.com/opencontainers/selinux v1.8.2/go.mod h1:MUIHuUEvKB1wtJjQdOyYRgOnLD2xAPP8dBsCoU0KuF8= +github.com/opencontainers/selinux v1.10.0/go.mod h1:2i0OySw99QjzBBQByd1Gr9gSjvuho1lHsJxIJ3gGbJI= +github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= +github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= github.com/opentracing/basictracer-go v1.1.0 h1:Oa1fTSBvAl8pa3U+IJYqrKm0NALwH9OsgwOqDv4xJW0= github.com/opentracing/basictracer-go v1.1.0/go.mod h1:V2HZueSJEp879yv285Aap1BS69fQMD+MNP1mRs6mBQc= +github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs= github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= +github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5/go.mod h1:/wsWhb9smxSfWAKL3wpBW7V8scJMt8N8gnaMCS9E/cA= +github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= +github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= +github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= +github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= +github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= +github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0MwY= github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= +github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= +github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= +github.com/pelletier/go-toml v1.7.0/go.mod h1:vwGMzjaWMwyfHwgIBhI2YUM4fB6nL6lVAvS1LBMMhTE= +github.com/pelletier/go-toml v1.8.1/go.mod h1:T2/BmBdy8dvIRq1a/8aqjN41wvWlN4lrapLU/GW4pbc= +github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= +github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= +github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 h1:LoCV5cscNVWyK5ChN/uCoIFJz8jZD63VQiGJIRgr6uo= github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386/go.mod h1:MRxHTJrf9FhdfNQ8Hdeh9gmHevC9RJE/fu8M3JIGjoE= +github.com/phpdave11/gofpdf v1.4.2/go.mod h1:zpO6xFn9yxo3YLyMvW8HcKWVdbNqgIfOOp2dXMnm1mY= +github.com/phpdave11/gofpdi v1.0.12/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI= +github.com/phpdave11/gofpdi v1.0.13/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI= +github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pierrec/lz4 v2.5.2+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pierrec/lz4 v2.6.1+incompatible h1:9UY3+iC23yxF0UfGaYrGplQ+79Rg+h/q9FV9ix19jjM= github.com/pierrec/lz4 v2.6.1+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pierrec/lz4/v4 v4.1.15/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= +github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= +github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= +github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA= +github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= +github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= +github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= +github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= @@ -930,93 +2128,208 @@ github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndr github.com/posener/complete v1.2.1/go.mod h1:6gapUrK/U1TAN7ciCoNRIdVC5sbdBTUh1DKN0g6uH7E= github.com/posener/complete v1.2.3 h1:NP0eAhjcjImqslEwo/1hq7gpajME0fTLTezBKDqfXqo= github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= +github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA= +github.com/prashantv/gostub v1.1.0/go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U= +github.com/prometheus/alertmanager v0.24.0/go.mod h1:r6fy/D7FRuZh5YbnX6J3MBY0eI4Pb5yPYS7/bPSXXqI= +github.com/prometheus/client_golang v0.0.0-20180209125602-c332b6f63c06/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.2/go.mod h1:OsXs2jCmiKlQ1lTBmv21f2mNfw4xf/QclQDMrYNZzcM= +github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= +github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= +github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g= +github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= +github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= +github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= +github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= +github.com/prometheus/client_golang v1.12.2/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= +github.com/prometheus/client_model v0.0.0-20171117100541-99fa1f4be8e5/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= +github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= +github.com/prometheus/common v0.0.0-20180110214958-89604d197083/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= +github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= +github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= +github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= +github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= +github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= +github.com/prometheus/common v0.29.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= +github.com/prometheus/common v0.30.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= +github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= +github.com/prometheus/common v0.34.0/go.mod h1:gB3sOl7P0TvJabZpLY5uQMpUqRCPPCyRLCZYc7JZTNE= +github.com/prometheus/common v0.37.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= +github.com/prometheus/common/assets v0.1.0/go.mod h1:D17UVUE12bHbim7HzwUvtqm6gwBEaDQ0F+hIGbFbccI= +github.com/prometheus/common/assets v0.2.0/go.mod h1:D17UVUE12bHbim7HzwUvtqm6gwBEaDQ0F+hIGbFbccI= +github.com/prometheus/common/sigv4 v0.1.0/go.mod h1:2Jkxxk9yYvCkE5G1sQT7GuEXm57JrvHu9k5YwTjsNtI= +github.com/prometheus/exporter-toolkit v0.7.1/go.mod h1:ZUBIj498ePooX9t/2xtDjeQYwvRpiPP2lh5u4iblj2g= github.com/prometheus/procfs v0.0.0-20180125133057-cb4147076ac7/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.0.0-20190522114515-bc1a522cf7b1/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.0.3/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= +github.com/prometheus/procfs v0.0.5/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= -github.com/pulumi/pulumi-java/pkg v0.5.3 h1:wqiP6TnKZm+ocTRLVwjzmd3fApCKQkvwba0qoh7zMV4= -github.com/pulumi/pulumi-java/pkg v0.5.3/go.mod h1:leMQvQ5IR3APhejwcWSfwZnkHosKHygKRaWkIyhsvtw= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.28.1 h1:eA9UqT9fywdd47eB1rLfEOwx+FE24+DFlFxsm2dIL9k= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.28.1/go.mod h1:vJGI7DS84/eqsOjn1lOml/PpnYqO/f+2PQSf0X/VLyw= -github.com/pulumi/pulumi-yaml v0.5.4 h1:O4H0PD0hiJjpci0GJFSkihS+yC8rWACKxuLyjYVt5wo= -github.com/pulumi/pulumi-yaml v0.5.4/go.mod h1:e8BcP30yunk/u3mLXDykhtEQf8tTItYgQzPHDmRvJcg= -github.com/pulumi/pulumi/pkg/v3 v3.38.0 h1:JeL4iFCpW+56CPih/FOzdEFE4UyYBmiBt7g2hlu6JyU= -github.com/pulumi/pulumi/pkg/v3 v3.38.0/go.mod h1:AYMD/cLcFwYW0lZDTIgdy+QyCj3t/pTS1hNpUNwiXAs= -github.com/pulumi/pulumi/sdk/v3 v3.38.0 h1:xqO+t81RDY9w+GT+YRUZDHuvfYEz+vgQBkdtLe/8i7U= -github.com/pulumi/pulumi/sdk/v3 v3.38.0/go.mod h1:3/6Fr/c01n7Hw7mtAlO7X8WMBgLP5AVTyYe4CRfJQc4= -github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e h1:Dik4Qe/+xguB8JagPyXNlbOnRiXGmq/PSPQTGunYnTk= -github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ= -github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20220824175045-450992f2f5b9 h1:JMw+t5I+6E8Lna7JF+ghAoOLOl23UIbshJyRNP+K1HU= -github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20220824175045-450992f2f5b9/go.mod h1:mYPs/uchNcBq7AclQv9QUtSf9iNcfp1Ag21jqTlDf2M= -github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY= +github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= +github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= +github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= +github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= +github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY= +github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= +github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= +github.com/pulumi/esc v0.5.2 h1:Wnr0oXy8MAyRMtVrMHPI2frjyuylVnU47ReFPNjE3C0= +github.com/pulumi/esc v0.5.2/go.mod h1:lp6lkE9JrifhmjlXVH9//Rj45OETlVPHZKvoNRyU54Q= +github.com/pulumi/pulumi-java/pkg v0.9.8 h1:c8mYsalnRXA2Ibgvv6scefOn6mW1Vb0UT0mcDqjsivQ= +github.com/pulumi/pulumi-java/pkg v0.9.8/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ= +github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc= +github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1/go.mod h1:7OeUPH8rpt5ipyj9EFcnXpuzQ8SHL0dyqdfa8nOacdk= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0 h1:oZNwz2YupCstNNwxCcUaEBV6iL6wikiAqjas9ufR4yE= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0/go.mod h1:8UuPmsuaGgUDUSsRKhoSf5J6SlfjHioKO+XeEWfXQfE= +github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4= +github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4/go.mod h1:Kt8RIZWa/N8rW3+0g6NrqCBmF3o+HuIhFaZpssEkG6w= +github.com/pulumi/pulumi-yaml v1.2.2 h1:W6BeUBLhDrJ2GSU0em1AUVelG9PBI4ABY61DdhJOO3E= +github.com/pulumi/pulumi-yaml v1.2.2/go.mod h1:EgakC7b/4+VBNnlgM1RZIea2gUstV8s/7bdFJZt0P64= +github.com/pulumi/pulumi/pkg/v3 v3.89.0 h1:4gaR9ZerHqtc0NYcq7TLxhj2029H9CtRrirmibyLw/E= +github.com/pulumi/pulumi/pkg/v3 v3.89.0/go.mod h1:5DIoI81I+NmW/y2BDlQR4CwnzTeVwkI3DZ4FBnSprXs= +github.com/pulumi/pulumi/sdk/v3 v3.89.0 h1:WlkOQ4Q/Xyxu4lckGWssNI4Wdrobo5Zb7JQVoFVkzMo= +github.com/pulumi/pulumi/sdk/v3 v3.89.0/go.mod h1:XBIlxfHv/jnRj6v8rXP79Z3E11jQz/Ky+bDhwVAHOPk= +github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= +github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= +github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= +github.com/pulumi/terraform-diff-reader v0.0.2/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ= +github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e h1:blSirnXqvm8JXLxwxelsBroUNRhOHakDO7cgJUYTdpQ= +github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e/go.mod h1:qH/34G25Ugdj5FcM95cSoXzUgIbgfhVLXCcEcYaMwq8= +github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= +github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= +github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= -github.com/rjeczalik/notify v0.9.2 h1:MiTWrPj55mNDHEiIX5YUSKefw/+lCQVoAFmD6oQm5w8= -github.com/rjeczalik/notify v0.9.2/go.mod h1:aErll2f0sUX9PXZnVNyeiObbmTlk5jnMoCa4QEjJeqM= +github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= +github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= +github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= +github.com/rogpeppe/go-charset v0.0.0-20180617210344-2471d30d28b4/go.mod h1:qgYeAmZ5ZIpBWTGllZSQnw97Dj+woV0toclVaRGI8pc= +github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= +github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= +github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= +github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= +github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= +github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= +github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc= +github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/ruudk/golang-pdf417 v0.0.0-20181029194003-1af4ab5afa58/go.mod h1:6lfFZQK844Gfx8o5WFuvpxWRwnSoipWe/p622j1v06w= +github.com/ruudk/golang-pdf417 v0.0.0-20201230142125-a7e3863a1245/go.mod h1:pQAZKsJ8yyVxGRWYNEm9oFB8ieLgKFnamEyDmSA0BRk= +github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/ryanuber/go-glob v1.0.0 h1:iQh3xXAumdQ+4Ufa5b25cRpC5TYKlno6hsv6Cb3pkBk= github.com/ryanuber/go-glob v1.0.0/go.mod h1:807d1WSdnB0XRJzKNil9Om6lcp/3a0v4qIHxIXzX/Yc= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= +github.com/safchain/ethtool v0.0.0-20190326074333-42ed695e3de8/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= +github.com/safchain/ethtool v0.0.0-20210803160452-9aa261dae9b1/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= +github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 h1:TToq11gyfNlrMFZiYujSekIsPd9AmsA2Bj/iv+s4JHE= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0/go.mod h1:FKdcjfQW6rpZSnxxUvEA5H/cDPdvJ/SZJQLWWXWGrZ0= +github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= +github.com/sclevine/agouti v3.0.0+incompatible/go.mod h1:b4WX9W9L1sfQKXeJf1mUTLZKJ48R1S7H23Ji7oFO5Bw= +github.com/sclevine/spec v1.2.0/go.mod h1:W4J29eT/Kzv7/b9IWLB055Z+qvVC9vt0Arko24q7p+U= +github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4= +github.com/seccomp/libseccomp-golang v0.9.1/go.mod h1:GbW5+tmTXfcxTToHLXlScSlAvWlF4P2Ca7zGrPiEpWo= +github.com/seccomp/libseccomp-golang v0.9.2-0.20210429002308-3879420cc921/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg= github.com/segmentio/asm v1.1.3 h1:WM03sfUOENvvKexOLp+pCqgb/WDjsi7EK8gIsICtzhc= github.com/segmentio/asm v1.1.3/go.mod h1:Ld3L4ZXGNcSLRg4JBsZ3//1+f/TjYl0Mzen/DQy1EJg= github.com/segmentio/encoding v0.3.5 h1:UZEiaZ55nlXGDL92scoVuw00RmiRCazIEmvPSbSvt8Y= github.com/segmentio/encoding v0.3.5/go.mod h1:n0JeuIqEQrQoPDGsjo8UNd1iA0U8d8+oHAA4E3G3OxM= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= +github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= +github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8= github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shurcooL/go-goon v0.0.0-20210110234559-7585751d9a17 h1:lRAUE0dIvigSSFAmaM2dfg7OH8T+a8zJ5smEh09a/GI= +github.com/shurcooL/go-goon v0.0.0-20210110234559-7585751d9a17/go.mod h1:N5mDOmsrJOB+vfqUK+7DmDyjhSLIIBnXo9lvZJj3MWQ= +github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg= +github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= +github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw= github.com/sirupsen/logrus v1.0.4-0.20170822132746-89742aefa4b2/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= +github.com/sirupsen/logrus v1.0.6/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/sirupsen/logrus v1.4.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= +github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= +github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= +github.com/skeema/knownhosts v1.2.0 h1:h9r9cf0+u7wSE+M183ZtMGgOJKiL96brpaz5ekfJCpM= +github.com/skeema/knownhosts v1.2.0/go.mod h1:g4fPeYpque7P0xefxtGzV81ihjC8sX2IqpAoNkjxbMo= +github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= +github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= +github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= +github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= +github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0= +github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= +github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= -github.com/spf13/afero v1.9.2 h1:j49Hj62F0n+DaZ1dDCvhABaPNSGNkt32oRFxI33IEMw= +github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4= +github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= +github.com/spf13/afero v1.9.5 h1:stMpOSZFs//0Lv29HduCmli3GUfpFoF3Y1Q/aXj/wVM= +github.com/spf13/afero v1.9.5/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= +github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= -github.com/spf13/cobra v1.4.0 h1:y+wJpx64xcgO1V+RcnwW0LEHxTKRi2ZDPSBjWnrg88Q= -github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB84g= +github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= +github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= +github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= +github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= +github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= +github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= +github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.2/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= +github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= +github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980/go.mod h1:AO3tvPzVZ/ayst6UlUKUv6rcPQInYe3IknH3jYhAKu8= +github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= +github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= +github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= +github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= +github.com/stretchr/objx v0.0.0-20180129172003-8a3f7159479f/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= @@ -1025,134 +2338,289 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= +github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= +github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= +github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= +github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= +github.com/tchap/go-patricia v2.2.6+incompatible/go.mod h1:bmLyhP68RS6kStMGxByiQ23RP/odRBOTVjwp2cDyi6I= +github.com/tedsuo/ifrit v0.0.0-20180802180643-bea94bb476cc/go.mod h1:eyZnKCc955uh98WQvzOm0dgAeLnf2O0Rz0LPoC5ze+0= github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U= github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8= +github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= +github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= +github.com/tv42/httpunix v0.0.0-20191220191345-2ba4b9c3382c/go.mod h1:hzIxponao9Kjc7aWznkXaL4U4TWaDSs8zcsY4Ka08nM= github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7/go.mod h1:UxoP3EypF8JfGEjAII8jx1q8rQyDnX8qdTCs/UQBVIE= github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o= github.com/uber/jaeger-client-go v2.30.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= github.com/uber/jaeger-lib v2.4.1+incompatible h1:td4jdvLcExb4cBISKIpHuGoVXh+dVKhn2Um6rjCsSsg= github.com/uber/jaeger-lib v2.4.1+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U= +github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= github.com/ulikunitz/xz v0.5.5/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8= github.com/ulikunitz/xz v0.5.10 h1:t92gobL9l3HE202wg3rlk19F6X+JOxl9BBrCCMYEYd8= github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= +github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= +github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= +github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= +github.com/vishvananda/netlink v0.0.0-20181108222139-023a6dafdcdf/go.mod h1:+SR5DhBJrl6ZM7CoCKvpw5BKroDKQ+PJqOg65H/2ktk= +github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= +github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho= +github.com/vishvananda/netlink v1.1.1-0.20210330154013-f5de75959ad5/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho= +github.com/vishvananda/netns v0.0.0-20180720170159-13995c7128cc/go.mod h1:ZjcWmFBXmLKZu9Nxj3WKYEafiSqer2rnvPr0en9UNpI= +github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= +github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= +github.com/vishvananda/netns v0.0.0-20210104183010-2eb08e3e575f/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack v4.0.1+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= -github.com/vmihailenco/msgpack/v4 v4.3.12 h1:07s4sz9IReOgdikxLTKNbBdqDMLsjPKXwvCazn8G65U= -github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4= github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU= -github.com/vmihailenco/tagparser v0.1.1 h1:quXMXlA39OCbd2wAdTsGDlK9RkOk6Wuw+x37wVyIuWY= -github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI= +github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= -github.com/xanzy/ssh-agent v0.3.0/go.mod h1:3s9xbODqPuuhK9JV1R321M/FlMZSBvE5aY6eAcqrDh0= -github.com/xanzy/ssh-agent v0.3.1 h1:AmzO1SSWxw73zxFZPRwaMN1MohDw8UyHnmuxyceTEGo= -github.com/xanzy/ssh-agent v0.3.1/go.mod h1:QIE4lCeL7nkC25x+yA3LBIYfwCc1TFziCtG7cBAac6w= +github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= +github.com/vultr/govultr/v2 v2.17.2/go.mod h1:ZFOKGWmgjytfyjeyAdhQlSWwTjh2ig+X49cAp50dzXI= +github.com/willf/bitset v1.1.11-0.20200630133818-d5bec3311243/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= +github.com/willf/bitset v1.1.11/go.mod h1:83CECat5yLh5zVOf4P1ErAgKA5UDvKtgyUABdr3+MjI= +github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= +github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw= +github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= +github.com/xdg-go/scram v1.0.2/go.mod h1:1WAq6h33pAW+iRreB34OORO2Nf7qel3VV3fjBj+hCSs= +github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6+da4O5kxM= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f h1:J9EGpcZtP0E/raorCMxlFGSTBrsSlaDGf3jU/qvAE2c= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 h1:EzJWgHovont7NscjpAxXsDA8S8BMYve8Y5+7cuRE7R0= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= +github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f/go.mod h1:5yf86TLmAcydyeJq5YvxkGPE2fm/u4myDekKRoLuqhs= github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17UxZ74= github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= +github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/xlab/treeprint v1.1.0/go.mod h1:gj5Gd3gPdKtR1ikdDK6fnFLdmIS0X30kTTuNd/WEJu0= +github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= +github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7JulP+udvsHwJoVG1YGAP6VLg4y9I5dyZdqmA= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +github.com/yvasiyarov/go-metrics v0.0.0-20140926110328-57bccd1ccd43/go.mod h1:aX5oPXxHm3bOH+xeAttToC8pqch2ScQN/JoXYupl6xs= +github.com/yvasiyarov/gorelic v0.0.0-20141212073537-a9bba5b9ab50/go.mod h1:NUSPSUX/bi6SeDMUh6brw0nXpxHnc96TguQh0+r/ssA= +github.com/yvasiyarov/newrelic_platform_go v0.0.0-20140908184405-b21fdbd4370f/go.mod h1:GlGEuHIJweS1mbCqG+7vt2nvWLzLLnRHbXz5JKd/Qbg= github.com/zclconf/go-cty v1.0.0/go.mod h1:xnAOWiHeOqg2nWS62VtQ7pbOu17FtxJNW8RLEih+O3s= github.com/zclconf/go-cty v1.1.0/go.mod h1:xnAOWiHeOqg2nWS62VtQ7pbOu17FtxJNW8RLEih+O3s= github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= github.com/zclconf/go-cty v1.2.1/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= -github.com/zclconf/go-cty v1.8.0/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= -github.com/zclconf/go-cty v1.10.0/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= -github.com/zclconf/go-cty v1.13.1 h1:0a6bRwuiSHtAmqCqNOE+c2oHgepv0ctoxU4FUe43kwc= +github.com/zclconf/go-cty v1.13.0/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= github.com/zclconf/go-cty v1.13.1/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= +github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= +github.com/zclconf/go-cty v1.14.0 h1:/Xrd39K7DXbHzlisFP9c4pHao4yyf+/Ug9LEz+Y/yhc= +github.com/zclconf/go-cty v1.14.0/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= +github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b h1:FosyBZYxY34Wul7O/MSKey3txpPYyCqVO5ZyceuQJEI= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= github.com/zclconf/go-cty-yaml v1.0.1 h1:up11wlgAaDvlAGENcFDnZgkn0qUJurso7k6EpURKNF8= github.com/zclconf/go-cty-yaml v1.0.1/go.mod h1:IP3Ylp0wQpYm50IHK8OZWKMu6sPJIUgKa8XhiVHura0= +github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0= +github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA= +github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= github.com/zitadel/oidc v1.13.4 h1:+k2GKqP9Ld9S2MSFlj+KaNsoZ3J9oy+Ezw51EzSFuC8= github.com/zitadel/oidc v1.13.4/go.mod h1:3h2DhUcP02YV6q/CA/BG4yla0o6rXjK+DkJGK/dwJfw= -github.com/zitadel/terraform-provider-zitadel v1.0.2 h1:VboUZ9778D2MCEgs9nnCUccYsRZX/0HpKtNHE9g9OC4= -github.com/zitadel/terraform-provider-zitadel v1.0.2/go.mod h1:92xT81y7tYCcfQgJ/HsjHB0jvhgOVAO2kgj/X2WMC7o= -github.com/zitadel/zitadel-go/v2 v2.0.19 h1:oLs2iLfPGqMLrgtzHoffnLBWHfk8JmTSXZFCXRgb+YM= -github.com/zitadel/zitadel-go/v2 v2.0.19/go.mod h1:pCT8y65qnRqTDBFf7UT5+6NAsAdfjgQCfn4BQ6pMWZ0= +github.com/zitadel/terraform-provider-zitadel v1.0.4 h1:fv2X0nueuUfyYy+uYwLHsBbvNeAfTeYlQyFJX/A9KbY= +github.com/zitadel/terraform-provider-zitadel v1.0.4/go.mod h1:6AHXpHOu0B6O2lNavJiiyoOKB4T10IUlNZdIaO1Tzz8= +github.com/zitadel/zitadel-go/v2 v2.0.21 h1:P+m8rBReph8UhxrchSR0npthHTlwqmVHi8k8JI1q1ds= +github.com/zitadel/zitadel-go/v2 v2.0.21/go.mod h1:1kHc4fpCjAHVAA13bZNrpxaAO83VaPnF8rzM157A9rQ= +go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= +go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= +go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= +go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= +go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= +go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489/go.mod h1:yVHk9ub3CSBatqGNg7GRmsnfLWtoW60w4eDYfh7vHDg= +go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= +go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= +go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ= +go.etcd.io/etcd/client/v3 v3.5.0/go.mod h1:AIKXXVX/DQXtfTEqBryiLTUXwON+GuvO6Z7lLS/oTh0= +go.etcd.io/etcd/pkg/v3 v3.5.0/go.mod h1:UzJGatBQ1lXChBkQF0AuAtkRQMYnHubxAEYIrC3MSsE= +go.etcd.io/etcd/raft/v3 v3.5.0/go.mod h1:UFOHSIvO/nKwd4lhkwabrTD3cqW5yVyYYf/KlD00Szc= +go.etcd.io/etcd/server/v3 v3.5.0/go.mod h1:3Ah5ruV+M+7RZr0+Y/5mNLwC+eQlni+mQmOVdCRJoS4= +go.mongodb.org/mongo-driver v1.7.3/go.mod h1:NqaYOwnXWr5Pm7AOpO5QFxKJ503nbMse/R79oO62zWg= +go.mongodb.org/mongo-driver v1.7.5/go.mod h1:VXEWRZ6URJIkUq2SCAyapmhH0ZLRBP+FT4xhp5Zvxng= +go.mongodb.org/mongo-driver v1.8.3/go.mod h1:0sQWfOeY63QTntERDJJ/0SuKK0T1uVSgKCuAROlKEPY= +go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk= go.opencensus.io v0.15.0/go.mod h1:UffZAU+4sDEINUGP/B7UfBBkq4fqLu9zXAX7ke6CHW0= +go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= +go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= -go.opencensus.io v0.22.6/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= +go.opentelemetry.io/contrib v0.20.0/go.mod h1:G/EtFaa6qaN7+LxqfIAT3GiZa7Wv5DTBUzl5H4LY0Kc= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0/go.mod h1:oVGt1LRbBOBq1A5BQLlUg9UaU/54aiHw8cgjV3aWZ/E= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.28.0/go.mod h1:vEhqr0m4eTc+DWxfsXoXue2GBgV2uUwVznkGIHW/e5w= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0/go.mod h1:2AboqHi0CiIZU0qwhtUfCYD1GeUzvvIXWNkhDt7ZMG4= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.31.0/go.mod h1:PFmBsWbldL1kiWZk9+0LBZz2brhByaGsvp6pRICMlPE= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.32.0/go.mod h1:5eCOqeGphOyz6TsY3ZDNjE33SM/TFAK3RGuCL2naTgY= +go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= +go.opentelemetry.io/otel v1.3.0/go.mod h1:PWIKzi6JCp7sM0k9yZ43VX+T345uNbAkDKwHVjb2PTs= +go.opentelemetry.io/otel v1.6.0/go.mod h1:bfJD2DZVw0LBxghOTlgnlI0CV3hLDu9XF/QKOUXMTQQ= +go.opentelemetry.io/otel v1.6.1/go.mod h1:blzUabWHkX6LJewxvadmzafgh/wnvBSDBdOuwkAtrWQ= +go.opentelemetry.io/otel v1.7.0/go.mod h1:5BdUoMIz5WEs0vt0CUEMtSSaTSHBBVwrhnz7+nrD5xk= +go.opentelemetry.io/otel/exporters/otlp v0.20.0/go.mod h1:YIieizyaN77rtLJra0buKiNBOm9XQfkPEKBeuhoMwAM= +go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.3.0/go.mod h1:VpP4/RMn8bv8gNo9uK7/IMY4mtWLELsS+JIP0inH0h4= +go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.6.1/go.mod h1:NEu79Xo32iVb+0gVNV8PMd7GoWqnyDXRlj04yFjqz40= +go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.7.0/go.mod h1:M1hVZHNxcbkAlcvrOMlpQ4YOO3Awf+4N2dxkZL3xm04= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.3.0/go.mod h1:hO1KLR7jcKaDDKDkvI9dP/FIhpmna5lkqPUQdEjFAM8= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.6.1/go.mod h1:YJ/JbY5ag/tSQFXzH3mtDmHqzF3aFn3DI/aB1n7pt4w= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.7.0/go.mod h1:ceUgdyfNv4h4gLxHR0WNfDiiVmZFodZhZSbOLhpxqXE= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.3.0/go.mod h1:keUU7UfnwWTWpJ+FWnyqmogPa82nuU5VUANFq49hlMY= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.6.1/go.mod h1:UJJXJj0rltNIemDMwkOJyggsvyMG9QHfJeFH0HS5JjM= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.7.0/go.mod h1:E+/KKhwOSw8yoPxSSuUHG6vKppkvhN+S1Jc7Nib3k3o= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.3.0/go.mod h1:QNX1aly8ehqqX1LEa6YniTU7VY9I6R3X/oPxhGdTceE= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.6.1/go.mod h1:DAKwdo06hFLc0U88O10x4xnb5sc7dDRDqRuiN+io8JE= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.7.0/go.mod h1:aFXT9Ng2seM9eizF+LfKiyPBGy8xIZKwhusC1gIu3hA= +go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= +go.opentelemetry.io/otel/metric v0.28.0/go.mod h1:TrzsfQAmQaB1PDcdhBauLMk7nyyg9hm+GoQq/ekE9Iw= +go.opentelemetry.io/otel/metric v0.30.0/go.mod h1:/ShZ7+TS4dHzDFmfi1kSXMhMVubNoP0oIaBp70J6UXU= +go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= +go.opentelemetry.io/otel/sdk v0.20.0/go.mod h1:g/IcepuwNsoiX5Byy2nNV0ySUF1em498m7hBWC279Yc= +go.opentelemetry.io/otel/sdk v1.3.0/go.mod h1:rIo4suHNhQwBIPg9axF8V9CA72Wz2mKF1teNrup8yzs= +go.opentelemetry.io/otel/sdk v1.6.1/go.mod h1:IVYrddmFZ+eJqu2k38qD3WezFR2pymCzm8tdxyh3R4E= +go.opentelemetry.io/otel/sdk v1.7.0/go.mod h1:uTEOTwaqIVuTGiJN7ii13Ibp75wJmYUDe374q6cZwUU= +go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi+bJK+Dr8NQCh0qGhm1KDnNlE= +go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE= +go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= +go.opentelemetry.io/otel/trace v1.3.0/go.mod h1:c/VDhno8888bvQYmbYLqe41/Ldmr/KKunbvWM4/fEjk= +go.opentelemetry.io/otel/trace v1.6.0/go.mod h1:qs7BrU5cZ8dXQHBGxHMOxwME/27YH2qEp4/+tZLLwJE= +go.opentelemetry.io/otel/trace v1.6.1/go.mod h1:RkFRM1m0puWIq10oxImnGEduNBzxiN7TXluRBtE+5j0= +go.opentelemetry.io/otel/trace v1.7.0/go.mod h1:fzLSB9nqR2eXzxPXb2JW9IKE+ScyXA48yyE4TNvoHqU= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= +go.opentelemetry.io/proto/otlp v0.11.0/go.mod h1:QpEjXPrNQzrFDZgoTo49dgHR9RYRSrg3NAKnUGl9YpQ= +go.opentelemetry.io/proto/otlp v0.12.1/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= +go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= +go.opentelemetry.io/proto/otlp v0.16.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= +go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= +go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/automaxprocs v1.5.1/go.mod h1:BF4eumQw0P9GtnuxxovUd06vwm1o18oMzFtK66vU6XU= go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= +go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= +go.uber.org/goleak v1.1.12/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= +go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= +go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= -go.uber.org/multierr v1.7.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= -go.uber.org/zap v1.18.1/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= -go.uber.org/zap v1.19.0/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= -gocloud.dev v0.24.0 h1:cNtHD07zQQiv02OiwwDyVMuHmR7iQt2RLkzoAgz7wBs= -gocloud.dev v0.24.0/go.mod h1:uA+als++iBX5ShuG4upQo/3Zoz49iIPlYUWHV5mM8w8= -gocloud.dev/secrets/hashivault v0.24.0 h1:rutqnevHcRze+92YMGmjCH3gX+qES8IArg5qPhr8ZnM= -gocloud.dev/secrets/hashivault v0.24.0/go.mod h1:I4EieZgy8VTp5iVK2jSPlTidjENujhKq2Y/wXz8r8V0= +go.uber.org/multierr v1.8.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= +go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= +go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= +go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= +go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw= +gocloud.dev v0.27.0 h1:j0WTUsnKTxCsWO7y8T+YCiBZUmLl9w/WIowqAY3yo0g= +gocloud.dev v0.27.0/go.mod h1:YlYKhYsY5/1JdHGWQDkAuqkezVKowu7qbe9aIeUF6p0= +gocloud.dev/secrets/hashivault v0.27.0 h1:AAeGJXr0tiHHJgg5tL8atOGktB4eK9EJAqkZbPKAcOo= +gocloud.dev/secrets/hashivault v0.27.0/go.mod h1:offqsI5oj0B0bVHZdfk/88uIb3NnN93ia8py0yvRlHY= +golang.org/x/arch v0.1.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20181009213950-7c1a557ab941/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190418165655-df01cb2cc480/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= +golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= +golang.org/x/crypto v0.0.0-20190422162423-af44ce270edf/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200414173820-0848c9571904/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200604202706-70a84ac30bf9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201203163018-be400aefbc4c/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.0.0-20201216223049-8b5274cf687f/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8= golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20211202192323-5770296d904e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220517005047-85d78b3ac167/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.12.0 h1:tFM/ta59kqch6LlvYnPa0yx5a83cL2nHflFhYKvv9Yk= -golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw= +golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= +golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= +golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= +golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE= +golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= +golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= +golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= +golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= +golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191002040644-a1355ae1e2c3/go.mod h1:NOZ3BPKG0ec/BKJQgnvsSFpcKLM5xXVWnvZS97DWHgE= golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= +golang.org/x/exp v0.0.0-20220827204233-334a2380cb91/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= +golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20190910094157-69e4b8554b2a/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20200119044424-58c23975cae1/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20200430140353-33d19683fad8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20200618115811-c13761719519/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20201208152932-35266b937fa6/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20210216034530-4410531fe030/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20210607152325-775e3b0c77b9/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= +golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= +golang.org/x/image v0.0.0-20211028202545-6944b10bf410/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= +golang.org/x/image v0.0.0-20220302094943-723b81ca9867/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -1177,31 +2645,45 @@ golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= +golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= +golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.11.0 h1:bUO06HqtnRcc/7l71XBe4WcqTZ+3AH1J59zWDDwLKgU= -golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= +golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= +golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181011144130-49bb7cea24b1/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190619014844-b5b0513f8c1b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191004110552-13f9640d40b9/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191009170851-d66e71096ffb/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191112182307-2180aed22343/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -1213,26 +2695,37 @@ golang.org/x/net v0.0.0-20200421231249-e086a090c8fd/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200602114024-627f9648deb9/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= -golang.org/x/net v0.0.0-20210326060303-6b1517762897/go.mod h1:uSPa2vr4CLtc/ILN5odXGNXS6mhrKVzTaCXzk9m6W3k= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= +golang.org/x/net v0.0.0-20210410081132-afb366fc7cd1/go.mod h1:9tjilg8BloeKEkVJvy7fQ90B1CfIiPueXVOjqfkSzI8= +golang.org/x/net v0.0.0-20210421230115-4e50805a0758/go.mod h1:72T/g9IO56b78aLF+1Kcs5dz7/ng1VjMUvfKvpfy+jM= +golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210614182718-04defd469f4e/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210520170846-37e1c6afe023/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210726213435-c6fcb2dbf985/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210825183410-e898025ed96a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211209124913-491a49abca63/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211216030914-fe4d6282115f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= @@ -1242,11 +2735,24 @@ golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.0.0-20220617184016-355a448f1bc9/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220802222814-0bcc04d9c69b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= +golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= +golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= -golang.org/x/net v0.14.0 h1:BONx9s002vGdD9umnlX1Po8vOZmrgH34qlHcD1MfK14= -golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI= +golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= +golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= +golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= +golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= +golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= +golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= +golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1255,7 +2761,6 @@ golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4Iltr golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210126194326-f9ce19ea3013/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= @@ -1264,22 +2769,31 @@ golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= golang.org/x/oauth2 v0.0.0-20220608161450-d0670ef3b1eb/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= +golang.org/x/oauth2 v0.0.0-20220628200809-02e64fa58f26/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= +golang.org/x/oauth2 v0.0.0-20220722155238-128564f6959c/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= +golang.org/x/oauth2 v0.0.0-20221006150949-b44042a4b9c1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= -golang.org/x/oauth2 v0.11.0 h1:vPL4xzxBM4niKCW6g9whtaWVXTJf1U5e4aZxxFx/gbU= -golang.org/x/oauth2 v0.11.0/go.mod h1:LdF7O/8bLR/qWK9DrpXmbHLTouvRHK0SgJl0GmDBchk= +golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec= +golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I= +golang.org/x/oauth2 v0.6.0/go.mod h1:ycmewcwgD4Rpr3eZJLSB4Kyyljb3qDh40vJ8STE5HKw= +golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= +golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4= +golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190412183630-56d357773e84/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1289,44 +2803,69 @@ golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI= -golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= +golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180926160741-c2ed4eda69e7/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190129075346-302c3dd5f1cc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190419153524-e8e3143a4f4a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502175342-a43fa875dd82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190530182044-ad28b68e88f1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190522044717-8097e1b27ff5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190531175056-4c3a928424d2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606203320-7fc4e5ec1444/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190804053845-51ab0e2deafa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190812073006-9eafafc0a87e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190922100055-0a153f010e69/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191112214154-59a1497f0cea/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191115151921-52ab43148777/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191210023423-ac6580df4449/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200120151820-655fe14d7479/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200217220822-9197077df867/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1334,48 +2873,75 @@ golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200622214017-ed371f2e16b4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200728102440-3e129f6d46b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200828194041-157a740278f4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200817155316-9781c653f443/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200831180312-196b9ba8737a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200916030750-2334cc1a136f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200922070232-aee5d888a860/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201112073958-5cba982894dd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201117170446-d9b008d0a637/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201202213521-69691e467435/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210223095934-7937bea0104d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210304124612-50617c2ba197/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210420072515-93ed5bcd2bfe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210502180810-71e4cd670f79/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210503080704-8803ae5d1324/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210903071746-97244b99971b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210917161153-d61c044b1678/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211110154304-99a53858aa08/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211116061358-0a5406a5449c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -1384,17 +2950,44 @@ golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220624220833-87e55d714810/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220627191245-f75cf1eec38b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220731174439-a90be440212d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220829200755-d48e67d00261/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM= -golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.11.0 h1:F9tnn/DA/Im8nCwm+fX+1/eBwi4qFjRT++MhtVC4ZX0= -golang.org/x/term v0.11.0/go.mod h1:zC9APTIj3jG3FdV/Ons+XE1riIZXG4aZ4GTHiPZJPIU= +golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= +golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= +golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= +golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= +golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= +golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= +golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= +golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= +golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= +golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1406,35 +2999,68 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.12.0 h1:k+n5B8goJNdU7hSvEtMUz3d1Q6D/XW4COJSJR6fN0mc= -golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac h1:7zkz7BUtwNFFqcowJ+RIgu2MaV/MapERkDIy+mwPyjs= +golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220210224613-90d013bbcef8/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220224211638-0e9765cccd65/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220609170525-579cf78fd858/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220922220347-f3bd1da661af/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.1.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= +golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190329151228-23e29df326fe/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190416151739-9c9e1878f421/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190420181800-aa740d480789/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190422233926-fe54fb35175b/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190425163242-31fd60d6bfdc/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190531172133-b3315ee88b7d/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190706070813-72ffa07ba3db/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190823170909-c4a336ef6a2f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190927191325-030b2cf1153e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -1442,6 +3068,7 @@ golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= @@ -1454,18 +3081,22 @@ golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjs golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200616133436-c1934b75d054/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200713011307-fd294ab11aed/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= +golang.org/x/tools v0.0.0-20200916195026-c9a70fc28ce3/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201124115921-2c860bdd6e78/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= @@ -1475,8 +3106,19 @@ golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.6-0.20210726203631-07bc1bf47fb2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.9/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= +golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= +golang.org/x/tools v0.1.11/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.10.0 h1:tvDr/iQoUqNdohiYm0LmmKcBk+q86lb9EprIUFhHHGg= +golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= +golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= +golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= +golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= +golang.org/x/tools v0.14.0 h1:jvNa2pY0M4r62jkRQ6RwEZZyPcymeL9XZMLBbV7U2nc= +golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= +golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1486,6 +3128,16 @@ golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNq golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= +gonum.org/v1/gonum v0.8.2/go.mod h1:oe/vMfY3deqTw+1EZJhuvEW2iwGF1bW9wwu7XCu0+v0= +gonum.org/v1/gonum v0.9.3/go.mod h1:TZumC3NeyVQskjXqmyWt4S3bINhy7B4eYwW69EbyX+0= +gonum.org/v1/gonum v0.11.0/go.mod h1:fSG4YDCxxUZQJ7rKsQrj0gMOg00Il0Z96/qMA4bVQhA= +gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= +gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= +gonum.org/v1/plot v0.9.0/go.mod h1:3Pcqqmp6RHvJI72kgb8fThyUnav364FOsdDo2aGW5lY= +gonum.org/v1/plot v0.10.1/go.mod h1:VZW5OlhkL1mysU9vaqNHnsy86inf6Ot+jB3r+BczCEo= +google.golang.org/api v0.0.0-20160322025152-9bf6e6e569ff/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= +google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= @@ -1504,7 +3156,6 @@ google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSr google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= -google.golang.org/api v0.37.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= @@ -1513,11 +3164,12 @@ google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59t google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4= google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw= google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU= -google.golang.org/api v0.52.0/go.mod h1:Him/adpjt0sxtkWViy0b6xyKW/SD71CwdJ7HqJo7SrU= google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k= google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI= +google.golang.org/api v0.58.0/go.mod h1:cAbP2FsxoGVNwtgNAmmn3y5G1TWAiVYRmg4yku3lv+E= +google.golang.org/api v0.59.0/go.mod h1:sT2boj7M9YJxZzgeZqXogmhfmRWDtPzT31xkieUbuZU= google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I= google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo= google.golang.org/api v0.67.0/go.mod h1:ShHKP8E60yPsKNw/w8w+VYaj9H6buA5UqDp8dhbQZ6g= @@ -1530,16 +3182,28 @@ google.golang.org/api v0.78.0/go.mod h1:1Sg78yoMLOhlQTeF+ARBoytAcH1NNyyl390YMy6r google.golang.org/api v0.80.0/go.mod h1:xY3nI94gbvBrE0J6NHXhxOmW97HG7Khjkku6AFB3Hyg= google.golang.org/api v0.84.0/go.mod h1:NTsGnUFJMYROtiquksZHBWtHfeMC7iYthki7Eq3pa8o= google.golang.org/api v0.85.0/go.mod h1:AqZf8Ep9uZ2pyTvgL+x0D3Zt0eoT9b5E8fmzfu6FO2g= +google.golang.org/api v0.86.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= google.golang.org/api v0.90.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= +google.golang.org/api v0.91.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= google.golang.org/api v0.93.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= google.golang.org/api v0.95.0/go.mod h1:eADj+UBuxkh5zlrSntJghuNeg8HwQ1w5lTKkuqaETEI= google.golang.org/api v0.96.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.97.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.98.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= +google.golang.org/api v0.99.0/go.mod h1:1YOf74vkVndF7pG6hIHuINsM7eWwpVTAfNMNiL91A08= google.golang.org/api v0.100.0/go.mod h1:ZE3Z2+ZOr87Rx7dqFsdRQkRBk36kDtp/h+QpHbB7a70= +google.golang.org/api v0.102.0/go.mod h1:3VFl6/fzoA+qNuS1N1/VfXY4LjoXN/wzeIp7TweWwGo= +google.golang.org/api v0.103.0/go.mod h1:hGtW6nK1AC+d9si/UBhw8Xli+QMOf6xyNAyJw4qU9w0= +google.golang.org/api v0.106.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= +google.golang.org/api v0.107.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= +google.golang.org/api v0.108.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= +google.golang.org/api v0.110.0/go.mod h1:7FC4Vvx1Mooxh8C5HWjzZHcavuS2f6pmJpZx60ca7iI= +google.golang.org/api v0.111.0/go.mod h1:qtFHvU9mhgTJegR31csQ+rwxyUTHOKFqCKWp1J0fdw0= +google.golang.org/api v0.114.0/go.mod h1:ifYI2ZsFK6/uGddGfAD5BMxlnkBqCmqHSDUVi45N5Yg= google.golang.org/api v0.126.0 h1:q4GJq+cAdMAC7XP7njvQ4tvohGLiSlytuL4BQxbIZ+o= google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= @@ -1547,12 +3211,15 @@ google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCID google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/cloud v0.0.0-20151119220103-975617b05ea8/go.mod h1:0H1ncTHf11KCFhTc/+EFRbzSCOZx+VUbRMk55Yv5MYk= google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190522204451-c2c4e71fbf69/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= +google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= @@ -1561,6 +3228,7 @@ google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvx google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200117163144-32f20d992d24/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= @@ -1569,23 +3237,25 @@ google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200711021454-869866162049/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210126160654-44e461bb6506/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= @@ -1602,18 +3272,20 @@ google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxH google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24= google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= -google.golang.org/genproto v0.0.0-20210721163202-f1cecdd8b78a/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= -google.golang.org/genproto v0.0.0-20210722135532-667f2b7c528f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210825212027-de86158e7fda/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210917145530-b395a37504d4/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210921142501-181ce0d877f6/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211008145708-270636b82663/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211018162055-cf77aa76bad2/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211028162531-8db9c33dc351/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= @@ -1625,6 +3297,7 @@ google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2 google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= +google.golang.org/genproto v0.0.0-20220329172620-7be39ac1afc7/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= google.golang.org/genproto v0.0.0-20220414192740-2d67ff6cf2b4/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= @@ -1633,6 +3306,7 @@ google.golang.org/genproto v0.0.0-20220429170224-98d788798c3e/go.mod h1:8w6bsBMX google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= google.golang.org/genproto v0.0.0-20220505152158-f39f71e6c8f3/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= google.golang.org/genproto v0.0.0-20220518221133-4f43b3371335/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= google.golang.org/genproto v0.0.0-20220523171625-347a074981d8/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= google.golang.org/genproto v0.0.0-20220608133413-ed9918b62aac/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= google.golang.org/genproto v0.0.0-20220616135557-88e70c0c3a90/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= @@ -1641,6 +3315,7 @@ google.golang.org/genproto v0.0.0-20220624142145-8cd45d7dbd1f/go.mod h1:KEWEmljW google.golang.org/genproto v0.0.0-20220628213854-d9e0b6570c03/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= google.golang.org/genproto v0.0.0-20220722212130-b98a9ff5e252/go.mod h1:GkXuJDJ6aQ7lnJcRF+SJVgFdQhypqgl3LB1C9vabdRE= google.golang.org/genproto v0.0.0-20220801145646-83ce21fca29f/go.mod h1:iHe1svFLAZg9VWz891+QbRMwUv9O/1Ww+/mngYeThbc= +google.golang.org/genproto v0.0.0-20220802133213-ce4fa296bf78/go.mod h1:iHe1svFLAZg9VWz891+QbRMwUv9O/1Ww+/mngYeThbc= google.golang.org/genproto v0.0.0-20220815135757-37a418bb8959/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= google.golang.org/genproto v0.0.0-20220817144833-d7fd3f11b9b1/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= @@ -1657,21 +3332,60 @@ google.golang.org/genproto v0.0.0-20220926220553-6981cbe3cfce/go.mod h1:woMGP53B google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqwhZAwq4wsRUaVG555sVgsNmIjRtO7t/JH29U= google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= +google.golang.org/genproto v0.0.0-20221024153911-1573dae28c9c/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= +google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= +google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c/go.mod h1:CGI5F/G+E5bKwmfYo09AXuVN4dD894kIKUFmVbP2/Fo= +google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221114212237-e4508ebdbee1/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221117204609-8f9c96812029/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221201164419-0e50fba7f41c/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221201204527-e3fa12d562f3/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221202195650-67e5cbc046fd/go.mod h1:cTsE614GARnxrLsqKREzmNYJACSWWpAWdNMwnD7c2BE= +google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230112194545-e10362b5ecf9/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230113154510-dbe35b8444a5/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230123190316-2c411cf9d197/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230124163310-31e0e69b6fc2/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230209215440-0dfe4f8abfcc/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230216225411-c8e22ba71e44/go.mod h1:8B0gmkoRebU8ukX6HP+4wrVQUY1+6PkQ44BSyIlflHA= +google.golang.org/genproto v0.0.0-20230222225845-10f96fb3dbec/go.mod h1:3Dl5ZL0q0isWJt+FVcfpQyirqemEuLAK/iFvg1UP1Hw= +google.golang.org/genproto v0.0.0-20230223222841-637eb2293923/go.mod h1:3Dl5ZL0q0isWJt+FVcfpQyirqemEuLAK/iFvg1UP1Hw= +google.golang.org/genproto v0.0.0-20230303212802-e74f57abe488/go.mod h1:TvhZT5f700eVlTNwND1xoEZQeWTB2RY/65kplwl/bFA= +google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4/go.mod h1:NWraEVixdDnqcqQ30jipen1STv2r/n24Wb7twVTGR4s= +google.golang.org/genproto v0.0.0-20230320184635-7606e756e683/go.mod h1:NWraEVixdDnqcqQ30jipen1STv2r/n24Wb7twVTGR4s= +google.golang.org/genproto v0.0.0-20230323212658-478b75c54725/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= +google.golang.org/genproto v0.0.0-20230330154414-c0448cd141ea/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= +google.golang.org/genproto v0.0.0-20230331144136-dcfb400f0633/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= +google.golang.org/genproto v0.0.0-20230525234025-438c736192d0/go.mod h1:9ExIQyXL5hZrHzQceCwuSYwZZ5QZBazOcprJ5rgs3lY= +google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54/go.mod h1:zqTuNwFlFRsw5zIts5VnzLQxSRqh+CGOTVMlYbY0Eyk= google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 h1:L6iMMGrtzgHsWofoFcihmDEMYeDR9KN/ThbPWGrh++g= google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5/go.mod h1:oH/ZOT02u4kWEp7oYBGYFFkCdKS/uYR9Z7+0/xuuFp8= +google.golang.org/genproto/googleapis/api v0.0.0-20230525234020-1aefcd67740a/go.mod h1:ts19tUU+Z0ZShN1y3aPyq2+O3d5FUNNgT6FtOzmrNn8= +google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d h1:DoPTO70H+bcDXcd39vOqb2viZxgqeBeSGtZ55yZU4/Q= google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d/go.mod h1:KjSP20unUpOx5kyQUFa7k4OJg0qeJ7DEZflGDu2p6Bk= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234015-3fc162c6f38a/go.mod h1:xURIpW9ES5+/GZhnV6beoEtxQrnkRGIfP5VQG2tCBLc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d h1:uvYuEyMHKNt+lT4K3bN6fGswmK8qSvcreM3BwjDh+y4= google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d/go.mod h1:+Bk1OCOj40wS2hwAMA+aCW9ypzm63QTBBHp6lQ3p+9M= +google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= +google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.22.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.24.0/go.mod h1:XDChyiUovWa60DnaeDeZmSW86xtLtjtZbwvSiRnRtcA= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= @@ -1694,6 +3408,9 @@ google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnD google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.41.0/go.mod h1:U3l9uK9J0sini8mHphKoXyaqDA/8VyGnDee1zzIUK6k= +google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= +google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= @@ -1703,10 +3420,14 @@ google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACu google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= -google.golang.org/grpc v1.57.0 h1:kfzNeI/klCGD2YPMUlaGNT3pxvYfga7smW3Vth8Zsiw= +google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww= +google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= +google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw= +google.golang.org/grpc v1.54.0/go.mod h1:PUSEXI6iWghWaB6lXM4knEgpJNu2qUcKfDtNci3EC2g= google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= +google.golang.org/grpc v1.58.1 h1:OL+Vz23DTtrrldqHK49FUOPHyY75rvFqJfXC84NYW58= +google.golang.org/grpc v1.58.1/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSsCJk0= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= -google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0/go.mod h1:DNq5QpG7LJqD2AamLZ7zvKE0DEpVl2BSEVjFycAAjRY= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -1722,29 +3443,42 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.28.2-0.20230222093303-bc1253ad3743/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -gopkg.in/AlecAivazis/survey.v1 v1.8.9-0.20200217094205-6773bdf39b7f h1:AQkMzsSzHWrgZWqGRpuRaRPDmyNibcXlpGcnQJ7HxZw= -gopkg.in/AlecAivazis/survey.v1 v1.8.9-0.20200217094205-6773bdf39b7f/go.mod h1:CaHjv79TCgAvXMSFJSVgonHXYWxnhzI3eoHtnX5UgUo= gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20141024133853-64131543e789/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= +gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/cheggaaa/pb.v1 v1.0.27/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= +gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2/go.mod h1:Xk6kEKp8OKb+X14hQBKWaSkCsqBpgog8nAV2xsGOxlo= +gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec/go.mod h1:aPpfJ7XW+gOuirDoZ8gHhLh3kZ1B08FtV2bbmy7Jv3s= +gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= +gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/ini.v1 v1.66.4/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= +gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= +gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/square/go-jose.v2 v2.3.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/square/go-jose.v2 v2.5.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/square/go-jose.v2 v2.6.0 h1:NGk74WTnPKBNUhNzQX7PYcTLUjoq7mzKk2OKbvwk2iI= gopkg.in/square/go-jose.v2 v2.6.0/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= +gopkg.in/telebot.v3 v3.0.0/go.mod h1:7rExV8/0mDDNu9epSrDm/8j22KLaActH1Tbee6YjzWg= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= +gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= @@ -1755,14 +3489,15 @@ gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20200605160147-a5ece683394c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= -gotest.tools/v3 v3.0.2 h1:kG1BFyqVHuQoVQiR1bWGnfz/fmHvvuiSPIV7rvl360E= gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= +gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= +honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -1770,14 +3505,124 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +honnef.co/go/tools v0.1.3/go.mod h1:NgwopIslSNH47DimFoV78dnkksY2EFtX0ajyb3K/las= +k8s.io/api v0.20.1/go.mod h1:KqwcCVogGxQY3nBlRpwt+wpAMF/KjaCc7RpywacvqUo= +k8s.io/api v0.20.4/go.mod h1:++lNL1AJMkDymriNniQsWRkMDzRaX2Y/POTUi8yvqYQ= +k8s.io/api v0.20.6/go.mod h1:X9e8Qag6JV/bL5G6bU8sdVRltWKmdHsFUGS3eVndqE8= +k8s.io/api v0.22.5/go.mod h1:mEhXyLaSD1qTOf40rRiKXkc+2iCem09rWLlFwhCEiAs= +k8s.io/api v0.23.5/go.mod h1:Na4XuKng8PXJ2JsploYYrivXrINeTaycCGcYgF91Xm8= +k8s.io/api v0.24.2/go.mod h1:AHqbSkTm6YrQ0ObxjO3Pmp/ubFF/KuM7jU+3khoBsOg= +k8s.io/apimachinery v0.20.1/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= +k8s.io/apimachinery v0.20.4/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= +k8s.io/apimachinery v0.20.6/go.mod h1:ejZXtW1Ra6V1O5H8xPBGz+T3+4gfkTCeExAHKU57MAc= +k8s.io/apimachinery v0.22.1/go.mod h1:O3oNtNadZdeOMxHFVxOreoznohCpy0z6mocxbZr7oJ0= +k8s.io/apimachinery v0.22.5/go.mod h1:xziclGKwuuJ2RM5/rSFQSYAj0zdbci3DH8kj+WvyN0U= +k8s.io/apimachinery v0.23.5/go.mod h1:BEuFMMBaIbcOqVIJqNZJXGFTP4W6AycEpb5+m/97hrM= +k8s.io/apimachinery v0.24.2/go.mod h1:82Bi4sCzVBdpYjyI4jY6aHX+YCUchUIrZrXKedjd2UM= +k8s.io/apiserver v0.20.1/go.mod h1:ro5QHeQkgMS7ZGpvf4tSMx6bBOgPfE+f52KwvXfScaU= +k8s.io/apiserver v0.20.4/go.mod h1:Mc80thBKOyy7tbvFtB4kJv1kbdD0eIH8k8vianJcbFM= +k8s.io/apiserver v0.20.6/go.mod h1:QIJXNt6i6JB+0YQRNcS0hdRHJlMhflFmsBDeSgT1r8Q= +k8s.io/apiserver v0.22.5/go.mod h1:s2WbtgZAkTKt679sYtSudEQrTGWUSQAPe6MupLnlmaQ= +k8s.io/client-go v0.20.1/go.mod h1:/zcHdt1TeWSd5HoUe6elJmHSQ6uLLgp4bIJHVEuy+/Y= +k8s.io/client-go v0.20.4/go.mod h1:LiMv25ND1gLUdBeYxBIwKpkSC5IsozMMmOOeSJboP+k= +k8s.io/client-go v0.20.6/go.mod h1:nNQMnOvEUEsOzRRFIIkdmYOjAZrC8bgq0ExboWSU1I0= +k8s.io/client-go v0.22.5/go.mod h1:cs6yf/61q2T1SdQL5Rdcjg9J1ElXSwbjSrW2vFImM4Y= +k8s.io/client-go v0.23.5/go.mod h1:flkeinTO1CirYgzMPRWxUCnV0G4Fbu2vLhYCObnt/r4= +k8s.io/client-go v0.24.2/go.mod h1:zg4Xaoo+umDsfCWr4fCnmLEtQXyCNXCvJuSsglNcV30= +k8s.io/code-generator v0.19.7/go.mod h1:lwEq3YnLYb/7uVXLorOJfxg+cUu2oihFhHZ0n9NIla0= +k8s.io/component-base v0.20.1/go.mod h1:guxkoJnNoh8LNrbtiQOlyp2Y2XFCZQmrcg2n/DeYNLk= +k8s.io/component-base v0.20.4/go.mod h1:t4p9EdiagbVCJKrQ1RsA5/V4rFQNDfRlevJajlGwgjI= +k8s.io/component-base v0.20.6/go.mod h1:6f1MPBAeI+mvuts3sIdtpjljHWBQ2cIy38oBIWMYnrM= +k8s.io/component-base v0.22.5/go.mod h1:VK3I+TjuF9eaa+Ln67dKxhGar5ynVbwnGrUiNF4MqCI= +k8s.io/cri-api v0.17.3/go.mod h1:X1sbHmuXhwaHs9xxYffLqJogVsnI+f6cPRcgPel7ywM= +k8s.io/cri-api v0.20.1/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI= +k8s.io/cri-api v0.20.4/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI= +k8s.io/cri-api v0.20.6/go.mod h1:ew44AjNXwyn1s0U4xCKGodU7J1HzBeZ1MpGrpa5r8Yc= +k8s.io/cri-api v0.23.1/go.mod h1:REJE3PSU0h/LOV1APBrupxrEJqnoxZC8KWzkBUHwrK4= +k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= +k8s.io/gengo v0.0.0-20200428234225-8167cfdcfc14/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= +k8s.io/gengo v0.0.0-20201113003025-83324d819ded/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= +k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= +k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= +k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= +k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= +k8s.io/klog/v2 v2.4.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= +k8s.io/klog/v2 v2.9.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec= +k8s.io/klog/v2 v2.30.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/klog/v2 v2.40.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/klog/v2 v2.60.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/klog/v2 v2.70.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6/go.mod h1:UuqjUnNftUyPE5H64/qeyjQoUZhGpeFDVdxjTeEVN2o= +k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd/go.mod h1:WOJ3KddDSol4tAGcJo0Tvi+dK12EcqSLqcWsryKMpfM= +k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw= +k8s.io/kube-openapi v0.0.0-20211109043538-20434351676c/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw= +k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65/go.mod h1:sX9MT8g7NVZM5lVL/j8QyCCJe8YSMW30QvGZWaCIDIk= +k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42/go.mod h1:Z/45zLw8lUo4wdiUkI+v/ImEGAvu3WatcZl3lPMR4Rk= +k8s.io/kubernetes v1.13.0/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk= +k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20211116205334-6203023598ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= lukechampine.com/frand v1.4.2 h1:RzFIpOvkMXuPMBb9maa4ND4wjBn71E1Jpf8BzJHMaVw= lukechampine.com/frand v1.4.2/go.mod h1:4S/TM2ZgrKejMcKMbeLjISpJMO+/eZ1zu3vYX9dtj3s= +lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= +lukechampine.com/uint128 v1.2.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= +modernc.org/cc/v3 v3.36.0/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= +modernc.org/cc/v3 v3.36.2/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= +modernc.org/cc/v3 v3.36.3/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= +modernc.org/ccgo/v3 v3.0.0-20220428102840-41399a37e894/go.mod h1:eI31LL8EwEBKPpNpA4bU1/i+sKOwOrQy8D87zWUcRZc= +modernc.org/ccgo/v3 v3.0.0-20220430103911-bc99d88307be/go.mod h1:bwdAnOoaIt8Ax9YdWGjxWsdkPcZyRPHqrOvJxaKAKGw= +modernc.org/ccgo/v3 v3.16.4/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ= +modernc.org/ccgo/v3 v3.16.6/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ= +modernc.org/ccgo/v3 v3.16.8/go.mod h1:zNjwkizS+fIFDrDjIAgBSCLkWbJuHF+ar3QRn+Z9aws= +modernc.org/ccgo/v3 v3.16.9/go.mod h1:zNMzC9A9xeNUepy6KuZBbugn3c0Mc9TeiJO4lgvkJDo= +modernc.org/ccorpus v1.11.6/go.mod h1:2gEUTrWqdpH2pXsmTM1ZkjeSrUWDpjMu2T6m29L/ErQ= +modernc.org/httpfs v1.0.6/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM= +modernc.org/libc v0.0.0-20220428101251-2d5f3daf273b/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA= +modernc.org/libc v1.16.0/go.mod h1:N4LD6DBE9cf+Dzf9buBlzVJndKr/iJHG97vGLHYnb5A= +modernc.org/libc v1.16.1/go.mod h1:JjJE0eu4yeK7tab2n4S1w8tlWd9MxXLRzheaRnAKymU= +modernc.org/libc v1.16.17/go.mod h1:hYIV5VZczAmGZAnG15Vdngn5HSF5cSkbvfz2B7GRuVU= +modernc.org/libc v1.16.19/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA= +modernc.org/libc v1.17.0/go.mod h1:XsgLldpP4aWlPlsjqKRdHPqCxCjISdHfM/yeWC5GyW0= +modernc.org/libc v1.17.1/go.mod h1:FZ23b+8LjxZs7XtFMbSzL/EhPxNbfZbErxEHc7cbD9s= +modernc.org/mathutil v1.2.2/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= +modernc.org/mathutil v1.4.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= +modernc.org/mathutil v1.5.0/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= +modernc.org/memory v1.1.1/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw= +modernc.org/memory v1.2.0/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw= +modernc.org/memory v1.2.1/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= +modernc.org/opt v0.1.1/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= +modernc.org/opt v0.1.3/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= +modernc.org/sqlite v1.18.1/go.mod h1:6ho+Gow7oX5V+OiOQ6Tr4xeqbx13UZ6t+Fw9IRUG4d4= +modernc.org/strutil v1.1.1/go.mod h1:DE+MQQ/hjKBZS2zNInV5hhcipt5rLPWkmpbGeW5mmdw= +modernc.org/strutil v1.1.3/go.mod h1:MEHNA7PdEnEwLvspRMtWTNnp2nnyvMfkimT1NKNAGbw= +modernc.org/tcl v1.13.1/go.mod h1:XOLfOwzhkljL4itZkK6T72ckMgvj0BDsnKNdZVUOecw= +modernc.org/token v1.0.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= +modernc.org/z v1.5.1/go.mod h1:eWFB510QWW5Th9YGZT81s+LwvaAs3Q2yr4sP0rmLkv8= mvdan.cc/gofumpt v0.1.0 h1:hsVv+Y9UsZ/mFZTxJZuHVI6shSQCtzZ11h1JEFPAZLw= +mvdan.cc/gofumpt v0.1.0/go.mod h1:yXG1r1WqZVKWbVRtBWKWX9+CxGYfA51nSomhM0woR48= nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= -nhooyr.io/websocket v1.8.7/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= -pgregory.net/rapid v0.4.7 h1:MTNRktPuv5FNqOO151TM9mDTa+XHcX6ypYeISDVD14g= +pgregory.net/rapid v0.6.1 h1:4eyrDxyht86tT4Ztm+kvlyNBLIk071gR+ZQdhphc9dQ= +pgregory.net/rapid v0.6.1/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= +rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.14/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.22/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= +sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6/go.mod h1:p4QtZmO4uMYipTQNzagwnNoseA6OxSUutVw05NhYDRs= +sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2/go.mod h1:B+TnT182UBxE84DiCz4CVE26eOSDAeYCpfDnC2kdKMY= +sigs.k8s.io/structured-merge-diff/v4 v4.0.1/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= +sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= +sigs.k8s.io/structured-merge-diff/v4 v4.0.3/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= +sigs.k8s.io/structured-merge-diff/v4 v4.1.2/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= +sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= +sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= +sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= +sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= +sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 h1:hfyJ5ku9yFtLVOiSxa3IN+dx5eBQT9mPmKFypAmg8XM= sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= diff --git a/provider/resources.go b/provider/resources.go index a73a1b1..a946b81 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -124,6 +124,7 @@ func Provider() tfbridge.ProviderInfo { "zitadel_default_domain_policy": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "DefaultDomainPolicy")}, "zitadel_default_privacy_policy": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "DefaultPrivacyPolicy")}, "zitadel_default_password_complexity_policy": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "DefaultPasswordComplexityPolicy")}, + "zitadel_default_oidc_settings": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "DefaultOidcSettings")}, "zitadel_sms_provider_twilio": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "SmsProviderTwilio")}, "zitadel_smtp_config": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "SmtpConfig")}, "zitadel_default_notification_policy": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "DefaultNotificationPolicy")}, @@ -147,6 +148,7 @@ func Provider() tfbridge.ProviderInfo { }, DataSources: map[string]*tfbridge.DataSourceInfo{ "zitadel_org": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getOrg")}, + "zitadel_orgs": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getOrgs")}, "zitadel_human_user": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getHumanUser")}, "zitadel_machine_user": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getMachineUser")}, "zitadel_project": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getProject")}, @@ -171,6 +173,7 @@ func Provider() tfbridge.ProviderInfo { "zitadel_org_idp_google": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getOrgIdpGoogle")}, "zitadel_org_idp_azure_ad": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getOrgIdpAzureAd")}, "zitadel_org_idp_ldap": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getOrgIdpLdap")}, + "zitadel_default_oidc_settings": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getDefaultOidcSettings")}, }, JavaScript: &tfbridge.JavaScriptInfo{ PackageName: "@pulumiverse/zitadel", diff --git a/sdk/dotnet/Action.cs b/sdk/dotnet/Action.cs index 33383f3..064d703 100644 --- a/sdk/dotnet/Action.cs +++ b/sdk/dotnet/Action.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -35,7 +36,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:org_id]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:org_id]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/action:Action imported '123456789012345678:123456789012345678' diff --git a/sdk/dotnet/ApplicationApi.cs b/sdk/dotnet/ApplicationApi.cs index fb63f49..3d80d7d 100644 --- a/sdk/dotnet/ApplicationApi.cs +++ b/sdk/dotnet/ApplicationApi.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -34,7 +35,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id:project_id[:org_id][:client_id][:client_secret]>`, e.g. + /// terraform The resource can be imported using the ID format `<id:project_id[:org_id][:client_id][:client_secret]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/applicationApi:ApplicationApi imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df' @@ -103,6 +104,11 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "clientId", + "clientSecret", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -164,17 +170,37 @@ public sealed class ApplicationApiState : global::Pulumi.ResourceArgs [Input("authMethodType")] public Input? AuthMethodType { get; set; } + [Input("clientId")] + private Input? _clientId; + /// /// generated ID for this config /// - [Input("clientId")] - public Input? ClientId { get; set; } + public Input? ClientId + { + get => _clientId; + set + { + var emptySecret = Output.CreateSecret(0); + _clientId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientSecret")] + private Input? _clientSecret; /// /// generated secret for this config /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Name of the application diff --git a/sdk/dotnet/ApplicationKey.cs b/sdk/dotnet/ApplicationKey.cs index 964a92c..bf8cebd 100644 --- a/sdk/dotnet/ApplicationKey.cs +++ b/sdk/dotnet/ApplicationKey.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -36,7 +37,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id:project_id:app_id[:org_id][:key_details]>`. # You can use __SEMICOLON__ to escape :, e.g. + /// terraform The resource can be imported using the ID format `<id:project_id:app_id[:org_id][:key_details]>`. You can use __SEMICOLON__ to escape :, e.g. /// /// ```sh /// $ pulumi import zitadel:index/applicationKey:ApplicationKey imported "123456789012345678:123456789012345678:123456789012345678:123456789012345678:$(cat ~/Downloads/123456789012345678.json | sed -e 's/:/__SEMICOLON__/g')" @@ -105,6 +106,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "keyDetails", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -178,11 +183,21 @@ public sealed class ApplicationKeyState : global::Pulumi.ResourceArgs [Input("expirationDate")] public Input? ExpirationDate { get; set; } + [Input("keyDetails")] + private Input? _keyDetails; + /// /// Value of the app key /// - [Input("keyDetails")] - public Input? KeyDetails { get; set; } + public Input? KeyDetails + { + get => _keyDetails; + set + { + var emptySecret = Output.CreateSecret(0); + _keyDetails = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Type of the app key, supported values: KEY*TYPE*UNSPECIFIED, KEY*TYPE*JSON diff --git a/sdk/dotnet/ApplicationOidc.cs b/sdk/dotnet/ApplicationOidc.cs index 0d85b0c..efc9c41 100644 --- a/sdk/dotnet/ApplicationOidc.cs +++ b/sdk/dotnet/ApplicationOidc.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -59,7 +60,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id:project_id[:org_id][:client_id][:client_secret]>`, e.g. + /// terraform The resource can be imported using the ID format `<id:project_id[:org_id][:client_id][:client_secret]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/applicationOidc:ApplicationOidc imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df' @@ -206,6 +207,11 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "clientId", + "clientSecret", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -405,17 +411,37 @@ public InputList AdditionalOrigins [Input("authMethodType")] public Input? AuthMethodType { get; set; } + [Input("clientId")] + private Input? _clientId; + /// /// generated ID for this config /// - [Input("clientId")] - public Input? ClientId { get; set; } + public Input? ClientId + { + get => _clientId; + set + { + var emptySecret = Output.CreateSecret(0); + _clientId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientSecret")] + private Input? _clientSecret; /// /// generated secret for this config /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Clockskew diff --git a/sdk/dotnet/Config/Config.cs b/sdk/dotnet/Config/Config.cs index c88cbca..c874098 100644 --- a/sdk/dotnet/Config/Config.cs +++ b/sdk/dotnet/Config/Config.cs @@ -8,7 +8,7 @@ namespace Pulumiverse.Zitadel { public static class Config { - [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "IDE1006", Justification = + [global::System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "IDE1006", Justification = "Double underscore prefix used to avoid conflicts with variable names.")] private sealed class __Value { @@ -30,7 +30,7 @@ public void Set(T value) } } - private static readonly Pulumi.Config __config = new Pulumi.Config("zitadel"); + private static readonly global::Pulumi.Config __config = new global::Pulumi.Config("zitadel"); private static readonly __Value _domain = new __Value(() => __config.Get("domain")); /// diff --git a/sdk/dotnet/DefaultDomainPolicy.cs b/sdk/dotnet/DefaultDomainPolicy.cs index abd9d15..5aee43e 100644 --- a/sdk/dotnet/DefaultDomainPolicy.cs +++ b/sdk/dotnet/DefaultDomainPolicy.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -34,7 +35,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<>`, e.g. + /// terraform The resource can be imported using the ID format `<>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/defaultDomainPolicy:DefaultDomainPolicy imported '' diff --git a/sdk/dotnet/DefaultLabelPolicy.cs b/sdk/dotnet/DefaultLabelPolicy.cs index 66993dc..e55f8cd 100644 --- a/sdk/dotnet/DefaultLabelPolicy.cs +++ b/sdk/dotnet/DefaultLabelPolicy.cs @@ -15,7 +15,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<>`, e.g. + /// terraform The resource can be imported using the ID format `<>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/defaultLabelPolicy:DefaultLabelPolicy imported '' diff --git a/sdk/dotnet/DefaultLockoutPolicy.cs b/sdk/dotnet/DefaultLockoutPolicy.cs index 7bfa111..9b433bc 100644 --- a/sdk/dotnet/DefaultLockoutPolicy.cs +++ b/sdk/dotnet/DefaultLockoutPolicy.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -32,7 +33,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<>`, e.g. + /// terraform The resource can be imported using the ID format `<>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/defaultLockoutPolicy:DefaultLockoutPolicy imported '' diff --git a/sdk/dotnet/DefaultLoginPolicy.cs b/sdk/dotnet/DefaultLoginPolicy.cs index 0138f05..b043350 100644 --- a/sdk/dotnet/DefaultLoginPolicy.cs +++ b/sdk/dotnet/DefaultLoginPolicy.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -62,7 +63,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<>`, e.g. + /// terraform The resource can be imported using the ID format `<>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/defaultLoginPolicy:DefaultLoginPolicy imported '' diff --git a/sdk/dotnet/DefaultNotificationPolicy.cs b/sdk/dotnet/DefaultNotificationPolicy.cs index 2ebd428..098d5a0 100644 --- a/sdk/dotnet/DefaultNotificationPolicy.cs +++ b/sdk/dotnet/DefaultNotificationPolicy.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -32,7 +33,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<>`, e.g. + /// terraform The resource can be imported using the ID format `<>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/defaultNotificationPolicy:DefaultNotificationPolicy imported '' diff --git a/sdk/dotnet/DefaultOidcSettings.cs b/sdk/dotnet/DefaultOidcSettings.cs new file mode 100644 index 0000000..3b7ffbb --- /dev/null +++ b/sdk/dotnet/DefaultOidcSettings.cs @@ -0,0 +1,172 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Zitadel +{ + /// + /// Resource representing the default oidc settings. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Zitadel = Pulumiverse.Zitadel; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @default = new Zitadel.DefaultOidcSettings("default", new() + /// { + /// AccessTokenLifetime = "12h0m0s", + /// IdTokenLifetime = "12h0m0s", + /// RefreshTokenExpiration = "720h0m0s", + /// RefreshTokenIdleExpiration = "2160h0m0s", + /// }); + /// + /// }); + /// ``` + /// + [ZitadelResourceType("zitadel:index/defaultOidcSettings:DefaultOidcSettings")] + public partial class DefaultOidcSettings : global::Pulumi.CustomResource + { + /// + /// lifetime duration of access tokens + /// + [Output("accessTokenLifetime")] + public Output AccessTokenLifetime { get; private set; } = null!; + + /// + /// lifetime duration of id tokens + /// + [Output("idTokenLifetime")] + public Output IdTokenLifetime { get; private set; } = null!; + + /// + /// expiration duration of refresh tokens + /// + [Output("refreshTokenExpiration")] + public Output RefreshTokenExpiration { get; private set; } = null!; + + /// + /// expiration duration of idle refresh tokens + /// + [Output("refreshTokenIdleExpiration")] + public Output RefreshTokenIdleExpiration { get; private set; } = null!; + + + /// + /// Create a DefaultOidcSettings resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public DefaultOidcSettings(string name, DefaultOidcSettingsArgs args, CustomResourceOptions? options = null) + : base("zitadel:index/defaultOidcSettings:DefaultOidcSettings", name, args ?? new DefaultOidcSettingsArgs(), MakeResourceOptions(options, "")) + { + } + + private DefaultOidcSettings(string name, Input id, DefaultOidcSettingsState? state = null, CustomResourceOptions? options = null) + : base("zitadel:index/defaultOidcSettings:DefaultOidcSettings", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + PluginDownloadURL = "github://api.github.com/pulumiverse", + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing DefaultOidcSettings resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static DefaultOidcSettings Get(string name, Input id, DefaultOidcSettingsState? state = null, CustomResourceOptions? options = null) + { + return new DefaultOidcSettings(name, id, state, options); + } + } + + public sealed class DefaultOidcSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// lifetime duration of access tokens + /// + [Input("accessTokenLifetime", required: true)] + public Input AccessTokenLifetime { get; set; } = null!; + + /// + /// lifetime duration of id tokens + /// + [Input("idTokenLifetime", required: true)] + public Input IdTokenLifetime { get; set; } = null!; + + /// + /// expiration duration of refresh tokens + /// + [Input("refreshTokenExpiration", required: true)] + public Input RefreshTokenExpiration { get; set; } = null!; + + /// + /// expiration duration of idle refresh tokens + /// + [Input("refreshTokenIdleExpiration", required: true)] + public Input RefreshTokenIdleExpiration { get; set; } = null!; + + public DefaultOidcSettingsArgs() + { + } + public static new DefaultOidcSettingsArgs Empty => new DefaultOidcSettingsArgs(); + } + + public sealed class DefaultOidcSettingsState : global::Pulumi.ResourceArgs + { + /// + /// lifetime duration of access tokens + /// + [Input("accessTokenLifetime")] + public Input? AccessTokenLifetime { get; set; } + + /// + /// lifetime duration of id tokens + /// + [Input("idTokenLifetime")] + public Input? IdTokenLifetime { get; set; } + + /// + /// expiration duration of refresh tokens + /// + [Input("refreshTokenExpiration")] + public Input? RefreshTokenExpiration { get; set; } + + /// + /// expiration duration of idle refresh tokens + /// + [Input("refreshTokenIdleExpiration")] + public Input? RefreshTokenIdleExpiration { get; set; } + + public DefaultOidcSettingsState() + { + } + public static new DefaultOidcSettingsState Empty => new DefaultOidcSettingsState(); + } +} diff --git a/sdk/dotnet/DefaultPasswordComplexityPolicy.cs b/sdk/dotnet/DefaultPasswordComplexityPolicy.cs index 139a62e..8c96664 100644 --- a/sdk/dotnet/DefaultPasswordComplexityPolicy.cs +++ b/sdk/dotnet/DefaultPasswordComplexityPolicy.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -36,7 +37,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<>`, e.g. + /// terraform The resource can be imported using the ID format `<>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/defaultPasswordComplexityPolicy:DefaultPasswordComplexityPolicy imported '' diff --git a/sdk/dotnet/DefaultPrivacyPolicy.cs b/sdk/dotnet/DefaultPrivacyPolicy.cs index 6b945b1..a1f9eb7 100644 --- a/sdk/dotnet/DefaultPrivacyPolicy.cs +++ b/sdk/dotnet/DefaultPrivacyPolicy.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -35,7 +36,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<>`, e.g. + /// terraform The resource can be imported using the ID format `<>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/defaultPrivacyPolicy:DefaultPrivacyPolicy imported '' @@ -45,16 +46,16 @@ namespace Pulumiverse.Zitadel public partial class DefaultPrivacyPolicy : global::Pulumi.CustomResource { [Output("helpLink")] - public Output HelpLink { get; private set; } = null!; + public Output HelpLink { get; private set; } = null!; [Output("privacyLink")] - public Output PrivacyLink { get; private set; } = null!; + public Output PrivacyLink { get; private set; } = null!; [Output("supportEmail")] - public Output SupportEmail { get; private set; } = null!; + public Output SupportEmail { get; private set; } = null!; [Output("tosLink")] - public Output TosLink { get; private set; } = null!; + public Output TosLink { get; private set; } = null!; /// @@ -64,7 +65,7 @@ public partial class DefaultPrivacyPolicy : global::Pulumi.CustomResource /// The unique name of the resource /// The arguments used to populate this resource's properties /// A bag of options that control this resource's behavior - public DefaultPrivacyPolicy(string name, DefaultPrivacyPolicyArgs args, CustomResourceOptions? options = null) + public DefaultPrivacyPolicy(string name, DefaultPrivacyPolicyArgs? args = null, CustomResourceOptions? options = null) : base("zitadel:index/defaultPrivacyPolicy:DefaultPrivacyPolicy", name, args ?? new DefaultPrivacyPolicyArgs(), MakeResourceOptions(options, "")) { } @@ -103,17 +104,17 @@ public static DefaultPrivacyPolicy Get(string name, Input id, DefaultPri public sealed class DefaultPrivacyPolicyArgs : global::Pulumi.ResourceArgs { - [Input("helpLink", required: true)] - public Input HelpLink { get; set; } = null!; + [Input("helpLink")] + public Input? HelpLink { get; set; } - [Input("privacyLink", required: true)] - public Input PrivacyLink { get; set; } = null!; + [Input("privacyLink")] + public Input? PrivacyLink { get; set; } - [Input("supportEmail", required: true)] - public Input SupportEmail { get; set; } = null!; + [Input("supportEmail")] + public Input? SupportEmail { get; set; } - [Input("tosLink", required: true)] - public Input TosLink { get; set; } = null!; + [Input("tosLink")] + public Input? TosLink { get; set; } public DefaultPrivacyPolicyArgs() { diff --git a/sdk/dotnet/Domain.cs b/sdk/dotnet/Domain.cs index c66211c..87bcbcb 100644 --- a/sdk/dotnet/Domain.cs +++ b/sdk/dotnet/Domain.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -33,7 +34,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `name[:org_id]`, e.g. + /// terraform The resource can be imported using the ID format `name[:org_id]`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/domain:Domain imported 'example.com:123456789012345678' diff --git a/sdk/dotnet/DomainPolicy.cs b/sdk/dotnet/DomainPolicy.cs index b842284..a9695a1 100644 --- a/sdk/dotnet/DomainPolicy.cs +++ b/sdk/dotnet/DomainPolicy.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -35,7 +36,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + /// terraform The resource can be imported using the ID format `<[org_id]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/domainPolicy:DomainPolicy imported '123456789012345678' diff --git a/sdk/dotnet/GetAction.cs b/sdk/dotnet/GetAction.cs index 31de500..248b6a9 100644 --- a/sdk/dotnet/GetAction.cs +++ b/sdk/dotnet/GetAction.cs @@ -21,6 +21,7 @@ public static class GetAction /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -34,7 +35,7 @@ public static class GetAction /// /// return new Dictionary<string, object?> /// { - /// ["action"] = @default.Apply(getActionResult => getActionResult), + /// ["action"] = @default, /// }; /// }); /// ``` @@ -42,7 +43,7 @@ public static class GetAction /// {{% /examples %}} /// public static Task InvokeAsync(GetActionArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getAction:getAction", args ?? new GetActionArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getAction:getAction", args ?? new GetActionArgs(), options.WithDefaults()); /// /// Datasource representing an action belonging to an organization. @@ -53,6 +54,7 @@ public static Task InvokeAsync(GetActionArgs args, InvokeOption /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -66,7 +68,7 @@ public static Task InvokeAsync(GetActionArgs args, InvokeOption /// /// return new Dictionary<string, object?> /// { - /// ["action"] = @default.Apply(getActionResult => getActionResult), + /// ["action"] = @default, /// }; /// }); /// ``` @@ -74,7 +76,7 @@ public static Task InvokeAsync(GetActionArgs args, InvokeOption /// {{% /examples %}} /// public static Output Invoke(GetActionInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getAction:getAction", args ?? new GetActionInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getAction:getAction", args ?? new GetActionInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetApplicationApi.cs b/sdk/dotnet/GetApplicationApi.cs index 870896f..601cdfd 100644 --- a/sdk/dotnet/GetApplicationApi.cs +++ b/sdk/dotnet/GetApplicationApi.cs @@ -21,6 +21,7 @@ public static class GetApplicationApi /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -35,7 +36,7 @@ public static class GetApplicationApi /// /// return new Dictionary<string, object?> /// { - /// ["applicationApi"] = @default.Apply(getApplicationApiResult => getApplicationApiResult), + /// ["applicationApi"] = @default, /// }; /// }); /// ``` @@ -43,7 +44,7 @@ public static class GetApplicationApi /// {{% /examples %}} /// public static Task InvokeAsync(GetApplicationApiArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getApplicationApi:getApplicationApi", args ?? new GetApplicationApiArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getApplicationApi:getApplicationApi", args ?? new GetApplicationApiArgs(), options.WithDefaults()); /// /// Datasource representing an API application belonging to a project, with all configuration possibilities. @@ -54,6 +55,7 @@ public static Task InvokeAsync(GetApplicationApiArgs ar /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -68,7 +70,7 @@ public static Task InvokeAsync(GetApplicationApiArgs ar /// /// return new Dictionary<string, object?> /// { - /// ["applicationApi"] = @default.Apply(getApplicationApiResult => getApplicationApiResult), + /// ["applicationApi"] = @default, /// }; /// }); /// ``` @@ -76,7 +78,7 @@ public static Task InvokeAsync(GetApplicationApiArgs ar /// {{% /examples %}} /// public static Output Invoke(GetApplicationApiInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getApplicationApi:getApplicationApi", args ?? new GetApplicationApiInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getApplicationApi:getApplicationApi", args ?? new GetApplicationApiInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetApplicationOidc.cs b/sdk/dotnet/GetApplicationOidc.cs index bb42ffc..a8dfb75 100644 --- a/sdk/dotnet/GetApplicationOidc.cs +++ b/sdk/dotnet/GetApplicationOidc.cs @@ -21,6 +21,7 @@ public static class GetApplicationOidc /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -35,7 +36,7 @@ public static class GetApplicationOidc /// /// return new Dictionary<string, object?> /// { - /// ["applicationOidc"] = @default.Apply(getApplicationOidcResult => getApplicationOidcResult), + /// ["applicationOidc"] = @default, /// }; /// }); /// ``` @@ -43,7 +44,7 @@ public static class GetApplicationOidc /// {{% /examples %}} /// public static Task InvokeAsync(GetApplicationOidcArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getApplicationOidc:getApplicationOidc", args ?? new GetApplicationOidcArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getApplicationOidc:getApplicationOidc", args ?? new GetApplicationOidcArgs(), options.WithDefaults()); /// /// Datasource representing an OIDC application belonging to a project, with all configuration possibilities. @@ -54,6 +55,7 @@ public static Task InvokeAsync(GetApplicationOidcArgs /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -68,7 +70,7 @@ public static Task InvokeAsync(GetApplicationOidcArgs /// /// return new Dictionary<string, object?> /// { - /// ["applicationOidc"] = @default.Apply(getApplicationOidcResult => getApplicationOidcResult), + /// ["applicationOidc"] = @default, /// }; /// }); /// ``` @@ -76,7 +78,7 @@ public static Task InvokeAsync(GetApplicationOidcArgs /// {{% /examples %}} /// public static Output Invoke(GetApplicationOidcInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getApplicationOidc:getApplicationOidc", args ?? new GetApplicationOidcInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getApplicationOidc:getApplicationOidc", args ?? new GetApplicationOidcInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetDefaultOidcSettings.cs b/sdk/dotnet/GetDefaultOidcSettings.cs new file mode 100644 index 0000000..4a51097 --- /dev/null +++ b/sdk/dotnet/GetDefaultOidcSettings.cs @@ -0,0 +1,118 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Zitadel +{ + public static class GetDefaultOidcSettings + { + /// + /// Datasource representing the default oidc settings. + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Zitadel = Pulumi.Zitadel; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @default = Zitadel.GetDefaultOidcSettings.Invoke(); + /// + /// return new Dictionary<string, object?> + /// { + /// ["oidcSettings"] = @default, + /// }; + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Task InvokeAsync(InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getDefaultOidcSettings:getDefaultOidcSettings", InvokeArgs.Empty, options.WithDefaults()); + + /// + /// Datasource representing the default oidc settings. + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Zitadel = Pulumi.Zitadel; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @default = Zitadel.GetDefaultOidcSettings.Invoke(); + /// + /// return new Dictionary<string, object?> + /// { + /// ["oidcSettings"] = @default, + /// }; + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Output Invoke(InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getDefaultOidcSettings:getDefaultOidcSettings", InvokeArgs.Empty, options.WithDefaults()); + } + + + [OutputType] + public sealed class GetDefaultOidcSettingsResult + { + /// + /// lifetime duration of access tokens + /// + public readonly string AccessTokenLifetime; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// lifetime duration of id tokens + /// + public readonly string IdTokenLifetime; + /// + /// expiration duration of refresh tokens + /// + public readonly string RefreshTokenExpiration; + /// + /// expiration duration of idle refresh tokens + /// + public readonly string RefreshTokenIdleExpiration; + + [OutputConstructor] + private GetDefaultOidcSettingsResult( + string accessTokenLifetime, + + string id, + + string idTokenLifetime, + + string refreshTokenExpiration, + + string refreshTokenIdleExpiration) + { + AccessTokenLifetime = accessTokenLifetime; + Id = id; + IdTokenLifetime = idTokenLifetime; + RefreshTokenExpiration = refreshTokenExpiration; + RefreshTokenIdleExpiration = refreshTokenIdleExpiration; + } + } +} diff --git a/sdk/dotnet/GetHumanUser.cs b/sdk/dotnet/GetHumanUser.cs index 4c0cc76..bcbf71b 100644 --- a/sdk/dotnet/GetHumanUser.cs +++ b/sdk/dotnet/GetHumanUser.cs @@ -21,6 +21,7 @@ public static class GetHumanUser /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -34,7 +35,7 @@ public static class GetHumanUser /// /// return new Dictionary<string, object?> /// { - /// ["humanUser"] = @default.Apply(getHumanUserResult => getHumanUserResult), + /// ["humanUser"] = @default, /// }; /// }); /// ``` @@ -42,7 +43,7 @@ public static class GetHumanUser /// {{% /examples %}} /// public static Task InvokeAsync(GetHumanUserArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getHumanUser:getHumanUser", args ?? new GetHumanUserArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getHumanUser:getHumanUser", args ?? new GetHumanUserArgs(), options.WithDefaults()); /// /// Datasource representing a human user situated under an organization, which then can be authorized through memberships or direct grants on other resources. @@ -53,6 +54,7 @@ public static Task InvokeAsync(GetHumanUserArgs args, Invoke /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -66,7 +68,7 @@ public static Task InvokeAsync(GetHumanUserArgs args, Invoke /// /// return new Dictionary<string, object?> /// { - /// ["humanUser"] = @default.Apply(getHumanUserResult => getHumanUserResult), + /// ["humanUser"] = @default, /// }; /// }); /// ``` @@ -74,7 +76,7 @@ public static Task InvokeAsync(GetHumanUserArgs args, Invoke /// {{% /examples %}} /// public static Output Invoke(GetHumanUserInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getHumanUser:getHumanUser", args ?? new GetHumanUserInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getHumanUser:getHumanUser", args ?? new GetHumanUserInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetIdpAzureAd.cs b/sdk/dotnet/GetIdpAzureAd.cs index 43e447a..ffba147 100644 --- a/sdk/dotnet/GetIdpAzureAd.cs +++ b/sdk/dotnet/GetIdpAzureAd.cs @@ -21,6 +21,7 @@ public static class GetIdpAzureAd /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -37,7 +38,7 @@ public static class GetIdpAzureAd /// {{% /examples %}} /// public static Task InvokeAsync(GetIdpAzureAdArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getIdpAzureAd:getIdpAzureAd", args ?? new GetIdpAzureAdArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getIdpAzureAd:getIdpAzureAd", args ?? new GetIdpAzureAdArgs(), options.WithDefaults()); /// /// Datasource representing an Azure AD IDP on the instance. @@ -48,6 +49,7 @@ public static Task InvokeAsync(GetIdpAzureAdArgs args, Invo /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -64,7 +66,7 @@ public static Task InvokeAsync(GetIdpAzureAdArgs args, Invo /// {{% /examples %}} /// public static Output Invoke(GetIdpAzureAdInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getIdpAzureAd:getIdpAzureAd", args ?? new GetIdpAzureAdInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getIdpAzureAd:getIdpAzureAd", args ?? new GetIdpAzureAdInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetIdpGithub.cs b/sdk/dotnet/GetIdpGithub.cs index 755d9ff..7e2ba65 100644 --- a/sdk/dotnet/GetIdpGithub.cs +++ b/sdk/dotnet/GetIdpGithub.cs @@ -21,6 +21,7 @@ public static class GetIdpGithub /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -37,7 +38,7 @@ public static class GetIdpGithub /// {{% /examples %}} /// public static Task InvokeAsync(GetIdpGithubArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getIdpGithub:getIdpGithub", args ?? new GetIdpGithubArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getIdpGithub:getIdpGithub", args ?? new GetIdpGithubArgs(), options.WithDefaults()); /// /// Datasource representing a GitHub IDP on the instance. @@ -48,6 +49,7 @@ public static Task InvokeAsync(GetIdpGithubArgs args, Invoke /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -64,7 +66,7 @@ public static Task InvokeAsync(GetIdpGithubArgs args, Invoke /// {{% /examples %}} /// public static Output Invoke(GetIdpGithubInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getIdpGithub:getIdpGithub", args ?? new GetIdpGithubInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getIdpGithub:getIdpGithub", args ?? new GetIdpGithubInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetIdpGithubEs.cs b/sdk/dotnet/GetIdpGithubEs.cs index 2444ef0..aeb7618 100644 --- a/sdk/dotnet/GetIdpGithubEs.cs +++ b/sdk/dotnet/GetIdpGithubEs.cs @@ -21,6 +21,7 @@ public static class GetIdpGithubEs /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -37,7 +38,7 @@ public static class GetIdpGithubEs /// {{% /examples %}} /// public static Task InvokeAsync(GetIdpGithubEsArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getIdpGithubEs:getIdpGithubEs", args ?? new GetIdpGithubEsArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getIdpGithubEs:getIdpGithubEs", args ?? new GetIdpGithubEsArgs(), options.WithDefaults()); /// /// Datasource representing a GitHub Enterprise IDP on the instance. @@ -48,6 +49,7 @@ public static Task InvokeAsync(GetIdpGithubEsArgs args, In /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -64,7 +66,7 @@ public static Task InvokeAsync(GetIdpGithubEsArgs args, In /// {{% /examples %}} /// public static Output Invoke(GetIdpGithubEsInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getIdpGithubEs:getIdpGithubEs", args ?? new GetIdpGithubEsInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getIdpGithubEs:getIdpGithubEs", args ?? new GetIdpGithubEsInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetIdpGitlab.cs b/sdk/dotnet/GetIdpGitlab.cs index 3699d01..e1857d9 100644 --- a/sdk/dotnet/GetIdpGitlab.cs +++ b/sdk/dotnet/GetIdpGitlab.cs @@ -21,6 +21,7 @@ public static class GetIdpGitlab /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -37,7 +38,7 @@ public static class GetIdpGitlab /// {{% /examples %}} /// public static Task InvokeAsync(GetIdpGitlabArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getIdpGitlab:getIdpGitlab", args ?? new GetIdpGitlabArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getIdpGitlab:getIdpGitlab", args ?? new GetIdpGitlabArgs(), options.WithDefaults()); /// /// Datasource representing a GitLab IDP on the instance. @@ -48,6 +49,7 @@ public static Task InvokeAsync(GetIdpGitlabArgs args, Invoke /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -64,7 +66,7 @@ public static Task InvokeAsync(GetIdpGitlabArgs args, Invoke /// {{% /examples %}} /// public static Output Invoke(GetIdpGitlabInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getIdpGitlab:getIdpGitlab", args ?? new GetIdpGitlabInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getIdpGitlab:getIdpGitlab", args ?? new GetIdpGitlabInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetIdpGitlabSelfHosted.cs b/sdk/dotnet/GetIdpGitlabSelfHosted.cs index a84b270..19d117c 100644 --- a/sdk/dotnet/GetIdpGitlabSelfHosted.cs +++ b/sdk/dotnet/GetIdpGitlabSelfHosted.cs @@ -21,6 +21,7 @@ public static class GetIdpGitlabSelfHosted /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -37,7 +38,7 @@ public static class GetIdpGitlabSelfHosted /// {{% /examples %}} /// public static Task InvokeAsync(GetIdpGitlabSelfHostedArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getIdpGitlabSelfHosted:getIdpGitlabSelfHosted", args ?? new GetIdpGitlabSelfHostedArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getIdpGitlabSelfHosted:getIdpGitlabSelfHosted", args ?? new GetIdpGitlabSelfHostedArgs(), options.WithDefaults()); /// /// Datasource representing a GitLab Self Hosted IDP on the instance. @@ -48,6 +49,7 @@ public static Task InvokeAsync(GetIdpGitlabSelfHos /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -64,7 +66,7 @@ public static Task InvokeAsync(GetIdpGitlabSelfHos /// {{% /examples %}} /// public static Output Invoke(GetIdpGitlabSelfHostedInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getIdpGitlabSelfHosted:getIdpGitlabSelfHosted", args ?? new GetIdpGitlabSelfHostedInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getIdpGitlabSelfHosted:getIdpGitlabSelfHosted", args ?? new GetIdpGitlabSelfHostedInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetIdpGoogle.cs b/sdk/dotnet/GetIdpGoogle.cs index 49bc8e3..71ef7f2 100644 --- a/sdk/dotnet/GetIdpGoogle.cs +++ b/sdk/dotnet/GetIdpGoogle.cs @@ -21,6 +21,7 @@ public static class GetIdpGoogle /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -37,7 +38,7 @@ public static class GetIdpGoogle /// {{% /examples %}} /// public static Task InvokeAsync(GetIdpGoogleArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getIdpGoogle:getIdpGoogle", args ?? new GetIdpGoogleArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getIdpGoogle:getIdpGoogle", args ?? new GetIdpGoogleArgs(), options.WithDefaults()); /// /// Datasource representing a Google IDP on the instance. @@ -48,6 +49,7 @@ public static Task InvokeAsync(GetIdpGoogleArgs args, Invoke /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -64,7 +66,7 @@ public static Task InvokeAsync(GetIdpGoogleArgs args, Invoke /// {{% /examples %}} /// public static Output Invoke(GetIdpGoogleInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getIdpGoogle:getIdpGoogle", args ?? new GetIdpGoogleInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getIdpGoogle:getIdpGoogle", args ?? new GetIdpGoogleInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetIdpLdap.cs b/sdk/dotnet/GetIdpLdap.cs index c59ed42..e86734b 100644 --- a/sdk/dotnet/GetIdpLdap.cs +++ b/sdk/dotnet/GetIdpLdap.cs @@ -21,6 +21,7 @@ public static class GetIdpLdap /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -37,7 +38,7 @@ public static class GetIdpLdap /// {{% /examples %}} /// public static Task InvokeAsync(GetIdpLdapArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getIdpLdap:getIdpLdap", args ?? new GetIdpLdapArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getIdpLdap:getIdpLdap", args ?? new GetIdpLdapArgs(), options.WithDefaults()); /// /// Datasource representing an LDAP IDP on the instance. @@ -48,6 +49,7 @@ public static Task InvokeAsync(GetIdpLdapArgs args, InvokeOpti /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -64,7 +66,7 @@ public static Task InvokeAsync(GetIdpLdapArgs args, InvokeOpti /// {{% /examples %}} /// public static Output Invoke(GetIdpLdapInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getIdpLdap:getIdpLdap", args ?? new GetIdpLdapInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getIdpLdap:getIdpLdap", args ?? new GetIdpLdapInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetMachineUser.cs b/sdk/dotnet/GetMachineUser.cs index 300533a..67f72c6 100644 --- a/sdk/dotnet/GetMachineUser.cs +++ b/sdk/dotnet/GetMachineUser.cs @@ -21,6 +21,7 @@ public static class GetMachineUser /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -34,7 +35,7 @@ public static class GetMachineUser /// /// return new Dictionary<string, object?> /// { - /// ["machineUser"] = @default.Apply(getMachineUserResult => getMachineUserResult), + /// ["machineUser"] = @default, /// }; /// }); /// ``` @@ -42,7 +43,7 @@ public static class GetMachineUser /// {{% /examples %}} /// public static Task InvokeAsync(GetMachineUserArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getMachineUser:getMachineUser", args ?? new GetMachineUserArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getMachineUser:getMachineUser", args ?? new GetMachineUserArgs(), options.WithDefaults()); /// /// Datasource representing a serviceaccount situated under an organization, which then can be authorized through memberships or direct grants on other resources. @@ -53,6 +54,7 @@ public static Task InvokeAsync(GetMachineUserArgs args, In /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -66,7 +68,7 @@ public static Task InvokeAsync(GetMachineUserArgs args, In /// /// return new Dictionary<string, object?> /// { - /// ["machineUser"] = @default.Apply(getMachineUserResult => getMachineUserResult), + /// ["machineUser"] = @default, /// }; /// }); /// ``` @@ -74,7 +76,7 @@ public static Task InvokeAsync(GetMachineUserArgs args, In /// {{% /examples %}} /// public static Output Invoke(GetMachineUserInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getMachineUser:getMachineUser", args ?? new GetMachineUserInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getMachineUser:getMachineUser", args ?? new GetMachineUserInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetOrg.cs b/sdk/dotnet/GetOrg.cs index 9c4a350..7fcbf2a 100644 --- a/sdk/dotnet/GetOrg.cs +++ b/sdk/dotnet/GetOrg.cs @@ -21,6 +21,7 @@ public static class GetOrg /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -33,7 +34,7 @@ public static class GetOrg /// /// return new Dictionary<string, object?> /// { - /// ["org"] = @default.Apply(getOrgResult => getOrgResult), + /// ["org"] = @default, /// }; /// }); /// ``` @@ -41,7 +42,7 @@ public static class GetOrg /// {{% /examples %}} /// public static Task InvokeAsync(GetOrgArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrg:getOrg", args ?? new GetOrgArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrg:getOrg", args ?? new GetOrgArgs(), options.WithDefaults()); /// /// Datasource representing an organization in ZITADEL, which is the highest level after the instance and contains several other resource including policies if the configuration differs to the default policies on the instance. @@ -52,6 +53,7 @@ public static Task InvokeAsync(GetOrgArgs args, InvokeOptions? opt /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -64,7 +66,7 @@ public static Task InvokeAsync(GetOrgArgs args, InvokeOptions? opt /// /// return new Dictionary<string, object?> /// { - /// ["org"] = @default.Apply(getOrgResult => getOrgResult), + /// ["org"] = @default, /// }; /// }); /// ``` @@ -72,7 +74,7 @@ public static Task InvokeAsync(GetOrgArgs args, InvokeOptions? opt /// {{% /examples %}} /// public static Output Invoke(GetOrgInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrg:getOrg", args ?? new GetOrgInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrg:getOrg", args ?? new GetOrgInvokeArgs(), options.WithDefaults()); } @@ -113,6 +115,10 @@ public sealed class GetOrgResult /// public readonly string Id; /// + /// Indicates whether the org is the default org of the instance. + /// + public readonly bool IsDefault; + /// /// Name of the org. /// public readonly string Name; @@ -129,6 +135,8 @@ public sealed class GetOrgResult private GetOrgResult( string id, + bool isDefault, + string name, string primaryDomain, @@ -136,6 +144,7 @@ private GetOrgResult( string state) { Id = id; + IsDefault = isDefault; Name = name; PrimaryDomain = primaryDomain; State = state; diff --git a/sdk/dotnet/GetOrgIdpAzureAd.cs b/sdk/dotnet/GetOrgIdpAzureAd.cs index c232d38..d8b4892 100644 --- a/sdk/dotnet/GetOrgIdpAzureAd.cs +++ b/sdk/dotnet/GetOrgIdpAzureAd.cs @@ -21,6 +21,7 @@ public static class GetOrgIdpAzureAd /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -38,7 +39,7 @@ public static class GetOrgIdpAzureAd /// {{% /examples %}} /// public static Task InvokeAsync(GetOrgIdpAzureAdArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgIdpAzureAd:getOrgIdpAzureAd", args ?? new GetOrgIdpAzureAdArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgIdpAzureAd:getOrgIdpAzureAd", args ?? new GetOrgIdpAzureAdArgs(), options.WithDefaults()); /// /// Datasource representing an Azure AD IdP of the organization. @@ -49,6 +50,7 @@ public static Task InvokeAsync(GetOrgIdpAzureAdArgs args /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -66,7 +68,7 @@ public static Task InvokeAsync(GetOrgIdpAzureAdArgs args /// {{% /examples %}} /// public static Output Invoke(GetOrgIdpAzureAdInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgIdpAzureAd:getOrgIdpAzureAd", args ?? new GetOrgIdpAzureAdInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgIdpAzureAd:getOrgIdpAzureAd", args ?? new GetOrgIdpAzureAdInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetOrgIdpGithub.cs b/sdk/dotnet/GetOrgIdpGithub.cs index 691e60c..d9f0ecd 100644 --- a/sdk/dotnet/GetOrgIdpGithub.cs +++ b/sdk/dotnet/GetOrgIdpGithub.cs @@ -21,6 +21,7 @@ public static class GetOrgIdpGithub /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -38,7 +39,7 @@ public static class GetOrgIdpGithub /// {{% /examples %}} /// public static Task InvokeAsync(GetOrgIdpGithubArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgIdpGithub:getOrgIdpGithub", args ?? new GetOrgIdpGithubArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgIdpGithub:getOrgIdpGithub", args ?? new GetOrgIdpGithubArgs(), options.WithDefaults()); /// /// Datasource representing a GitHub IdP of the organization. @@ -49,6 +50,7 @@ public static Task InvokeAsync(GetOrgIdpGithubArgs args, /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -66,7 +68,7 @@ public static Task InvokeAsync(GetOrgIdpGithubArgs args, /// {{% /examples %}} /// public static Output Invoke(GetOrgIdpGithubInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgIdpGithub:getOrgIdpGithub", args ?? new GetOrgIdpGithubInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgIdpGithub:getOrgIdpGithub", args ?? new GetOrgIdpGithubInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetOrgIdpGithubEs.cs b/sdk/dotnet/GetOrgIdpGithubEs.cs index 031b920..46ec70a 100644 --- a/sdk/dotnet/GetOrgIdpGithubEs.cs +++ b/sdk/dotnet/GetOrgIdpGithubEs.cs @@ -21,6 +21,7 @@ public static class GetOrgIdpGithubEs /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -38,7 +39,7 @@ public static class GetOrgIdpGithubEs /// {{% /examples %}} /// public static Task InvokeAsync(GetOrgIdpGithubEsArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgIdpGithubEs:getOrgIdpGithubEs", args ?? new GetOrgIdpGithubEsArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgIdpGithubEs:getOrgIdpGithubEs", args ?? new GetOrgIdpGithubEsArgs(), options.WithDefaults()); /// /// Datasource representing a GitHub Enterprise IdP of the organization. @@ -49,6 +50,7 @@ public static Task InvokeAsync(GetOrgIdpGithubEsArgs ar /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -66,7 +68,7 @@ public static Task InvokeAsync(GetOrgIdpGithubEsArgs ar /// {{% /examples %}} /// public static Output Invoke(GetOrgIdpGithubEsInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgIdpGithubEs:getOrgIdpGithubEs", args ?? new GetOrgIdpGithubEsInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgIdpGithubEs:getOrgIdpGithubEs", args ?? new GetOrgIdpGithubEsInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetOrgIdpGitlab.cs b/sdk/dotnet/GetOrgIdpGitlab.cs index 7c23937..7597c42 100644 --- a/sdk/dotnet/GetOrgIdpGitlab.cs +++ b/sdk/dotnet/GetOrgIdpGitlab.cs @@ -21,6 +21,7 @@ public static class GetOrgIdpGitlab /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -38,7 +39,7 @@ public static class GetOrgIdpGitlab /// {{% /examples %}} /// public static Task InvokeAsync(GetOrgIdpGitlabArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgIdpGitlab:getOrgIdpGitlab", args ?? new GetOrgIdpGitlabArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgIdpGitlab:getOrgIdpGitlab", args ?? new GetOrgIdpGitlabArgs(), options.WithDefaults()); /// /// Datasource representing a GitLab IdP of the organization. @@ -49,6 +50,7 @@ public static Task InvokeAsync(GetOrgIdpGitlabArgs args, /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -66,7 +68,7 @@ public static Task InvokeAsync(GetOrgIdpGitlabArgs args, /// {{% /examples %}} /// public static Output Invoke(GetOrgIdpGitlabInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgIdpGitlab:getOrgIdpGitlab", args ?? new GetOrgIdpGitlabInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgIdpGitlab:getOrgIdpGitlab", args ?? new GetOrgIdpGitlabInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetOrgIdpGitlabSelfHosted.cs b/sdk/dotnet/GetOrgIdpGitlabSelfHosted.cs index 5b0461c..28280eb 100644 --- a/sdk/dotnet/GetOrgIdpGitlabSelfHosted.cs +++ b/sdk/dotnet/GetOrgIdpGitlabSelfHosted.cs @@ -21,6 +21,7 @@ public static class GetOrgIdpGitlabSelfHosted /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -38,7 +39,7 @@ public static class GetOrgIdpGitlabSelfHosted /// {{% /examples %}} /// public static Task InvokeAsync(GetOrgIdpGitlabSelfHostedArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgIdpGitlabSelfHosted:getOrgIdpGitlabSelfHosted", args ?? new GetOrgIdpGitlabSelfHostedArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgIdpGitlabSelfHosted:getOrgIdpGitlabSelfHosted", args ?? new GetOrgIdpGitlabSelfHostedArgs(), options.WithDefaults()); /// /// Datasource representing a GitLab Self Hosted IdP of the organization. @@ -49,6 +50,7 @@ public static Task InvokeAsync(GetOrgIdpGitlabS /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -66,7 +68,7 @@ public static Task InvokeAsync(GetOrgIdpGitlabS /// {{% /examples %}} /// public static Output Invoke(GetOrgIdpGitlabSelfHostedInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgIdpGitlabSelfHosted:getOrgIdpGitlabSelfHosted", args ?? new GetOrgIdpGitlabSelfHostedInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgIdpGitlabSelfHosted:getOrgIdpGitlabSelfHosted", args ?? new GetOrgIdpGitlabSelfHostedInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetOrgIdpGoogle.cs b/sdk/dotnet/GetOrgIdpGoogle.cs index 90c116c..d7b3b28 100644 --- a/sdk/dotnet/GetOrgIdpGoogle.cs +++ b/sdk/dotnet/GetOrgIdpGoogle.cs @@ -21,6 +21,7 @@ public static class GetOrgIdpGoogle /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -38,7 +39,7 @@ public static class GetOrgIdpGoogle /// {{% /examples %}} /// public static Task InvokeAsync(GetOrgIdpGoogleArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgIdpGoogle:getOrgIdpGoogle", args ?? new GetOrgIdpGoogleArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgIdpGoogle:getOrgIdpGoogle", args ?? new GetOrgIdpGoogleArgs(), options.WithDefaults()); /// /// Datasource representing a Google IdP of the organization. @@ -49,6 +50,7 @@ public static Task InvokeAsync(GetOrgIdpGoogleArgs args, /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -66,7 +68,7 @@ public static Task InvokeAsync(GetOrgIdpGoogleArgs args, /// {{% /examples %}} /// public static Output Invoke(GetOrgIdpGoogleInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgIdpGoogle:getOrgIdpGoogle", args ?? new GetOrgIdpGoogleInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgIdpGoogle:getOrgIdpGoogle", args ?? new GetOrgIdpGoogleInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetOrgIdpLdap.cs b/sdk/dotnet/GetOrgIdpLdap.cs index 8eac275..257d138 100644 --- a/sdk/dotnet/GetOrgIdpLdap.cs +++ b/sdk/dotnet/GetOrgIdpLdap.cs @@ -21,6 +21,7 @@ public static class GetOrgIdpLdap /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -38,7 +39,7 @@ public static class GetOrgIdpLdap /// {{% /examples %}} /// public static Task InvokeAsync(GetOrgIdpLdapArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgIdpLdap:getOrgIdpLdap", args ?? new GetOrgIdpLdapArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgIdpLdap:getOrgIdpLdap", args ?? new GetOrgIdpLdapArgs(), options.WithDefaults()); /// /// Datasource representing an LDAP IdP on the organization. @@ -49,6 +50,7 @@ public static Task InvokeAsync(GetOrgIdpLdapArgs args, Invo /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -66,7 +68,7 @@ public static Task InvokeAsync(GetOrgIdpLdapArgs args, Invo /// {{% /examples %}} /// public static Output Invoke(GetOrgIdpLdapInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgIdpLdap:getOrgIdpLdap", args ?? new GetOrgIdpLdapInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgIdpLdap:getOrgIdpLdap", args ?? new GetOrgIdpLdapInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetOrgJwtIdp.cs b/sdk/dotnet/GetOrgJwtIdp.cs index 6a95b94..6b013fd 100644 --- a/sdk/dotnet/GetOrgJwtIdp.cs +++ b/sdk/dotnet/GetOrgJwtIdp.cs @@ -16,13 +16,13 @@ public static class GetOrgJwtIdp /// Datasource representing a generic JWT IdP on the organization. /// public static Task InvokeAsync(GetOrgJwtIdpArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgJwtIdp:getOrgJwtIdp", args ?? new GetOrgJwtIdpArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgJwtIdp:getOrgJwtIdp", args ?? new GetOrgJwtIdpArgs(), options.WithDefaults()); /// /// Datasource representing a generic JWT IdP on the organization. /// public static Output Invoke(GetOrgJwtIdpInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgJwtIdp:getOrgJwtIdp", args ?? new GetOrgJwtIdpInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgJwtIdp:getOrgJwtIdp", args ?? new GetOrgJwtIdpInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetOrgOidcIdp.cs b/sdk/dotnet/GetOrgOidcIdp.cs index 12c98bb..801c218 100644 --- a/sdk/dotnet/GetOrgOidcIdp.cs +++ b/sdk/dotnet/GetOrgOidcIdp.cs @@ -21,6 +21,7 @@ public static class GetOrgOidcIdp /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -34,7 +35,7 @@ public static class GetOrgOidcIdp /// /// return new Dictionary<string, object?> /// { - /// ["orgOidcIdp"] = @default.Apply(getOrgOidcIdpResult => getOrgOidcIdpResult), + /// ["orgOidcIdp"] = @default, /// }; /// }); /// ``` @@ -42,7 +43,7 @@ public static class GetOrgOidcIdp /// {{% /examples %}} /// public static Task InvokeAsync(GetOrgOidcIdpArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgOidcIdp:getOrgOidcIdp", args ?? new GetOrgOidcIdpArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgOidcIdp:getOrgOidcIdp", args ?? new GetOrgOidcIdpArgs(), options.WithDefaults()); /// /// Datasource representing a generic OIDC IdP on the organization. @@ -53,6 +54,7 @@ public static Task InvokeAsync(GetOrgOidcIdpArgs args, Invo /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -66,7 +68,7 @@ public static Task InvokeAsync(GetOrgOidcIdpArgs args, Invo /// /// return new Dictionary<string, object?> /// { - /// ["orgOidcIdp"] = @default.Apply(getOrgOidcIdpResult => getOrgOidcIdpResult), + /// ["orgOidcIdp"] = @default, /// }; /// }); /// ``` @@ -74,7 +76,7 @@ public static Task InvokeAsync(GetOrgOidcIdpArgs args, Invo /// {{% /examples %}} /// public static Output Invoke(GetOrgOidcIdpInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgOidcIdp:getOrgOidcIdp", args ?? new GetOrgOidcIdpInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgOidcIdp:getOrgOidcIdp", args ?? new GetOrgOidcIdpInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetOrgs.cs b/sdk/dotnet/GetOrgs.cs new file mode 100644 index 0000000..1c0f669 --- /dev/null +++ b/sdk/dotnet/GetOrgs.cs @@ -0,0 +1,170 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Zitadel +{ + public static class GetOrgs + { + /// + /// Datasource representing an organization in ZITADEL, which is the highest level after the instance and contains several other resource including policies if the configuration differs to the default policies on the instance. + /// + public static Task InvokeAsync(GetOrgsArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getOrgs:getOrgs", args ?? new GetOrgsArgs(), options.WithDefaults()); + + /// + /// Datasource representing an organization in ZITADEL, which is the highest level after the instance and contains several other resource including policies if the configuration differs to the default policies on the instance. + /// + public static Output Invoke(GetOrgsInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getOrgs:getOrgs", args ?? new GetOrgsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetOrgsArgs : global::Pulumi.InvokeArgs + { + /// + /// A domain of the org. + /// + [Input("domain")] + public string? Domain { get; set; } + + /// + /// Method for querying orgs by domain, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + /// + [Input("domainMethod")] + public string? DomainMethod { get; set; } + + /// + /// Name of the org. + /// + [Input("name")] + public string? Name { get; set; } + + /// + /// Method for querying orgs by name, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + /// + [Input("nameMethod")] + public string? NameMethod { get; set; } + + /// + /// State of the org, supported values: ORG*STATE*UNSPECIFIED, ORG*STATE*ACTIVE, ORG*STATE*INACTIVE, ORG*STATE*REMOVED + /// + [Input("state")] + public string? State { get; set; } + + public GetOrgsArgs() + { + } + public static new GetOrgsArgs Empty => new GetOrgsArgs(); + } + + public sealed class GetOrgsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// A domain of the org. + /// + [Input("domain")] + public Input? Domain { get; set; } + + /// + /// Method for querying orgs by domain, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + /// + [Input("domainMethod")] + public Input? DomainMethod { get; set; } + + /// + /// Name of the org. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Method for querying orgs by name, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + /// + [Input("nameMethod")] + public Input? NameMethod { get; set; } + + /// + /// State of the org, supported values: ORG*STATE*UNSPECIFIED, ORG*STATE*ACTIVE, ORG*STATE*INACTIVE, ORG*STATE*REMOVED + /// + [Input("state")] + public Input? State { get; set; } + + public GetOrgsInvokeArgs() + { + } + public static new GetOrgsInvokeArgs Empty => new GetOrgsInvokeArgs(); + } + + + [OutputType] + public sealed class GetOrgsResult + { + /// + /// A domain of the org. + /// + public readonly string? Domain; + /// + /// Method for querying orgs by domain, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + /// + public readonly string? DomainMethod; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// A set of all organization IDs. + /// + public readonly ImmutableArray Ids; + /// + /// Name of the org. + /// + public readonly string? Name; + /// + /// Method for querying orgs by name, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + /// + public readonly string? NameMethod; + /// + /// Primary domain of the org + /// + public readonly string PrimaryDomain; + /// + /// State of the org, supported values: ORG*STATE*UNSPECIFIED, ORG*STATE*ACTIVE, ORG*STATE*INACTIVE, ORG*STATE*REMOVED + /// + public readonly string? State; + + [OutputConstructor] + private GetOrgsResult( + string? domain, + + string? domainMethod, + + string id, + + ImmutableArray ids, + + string? name, + + string? nameMethod, + + string primaryDomain, + + string? state) + { + Domain = domain; + DomainMethod = domainMethod; + Id = id; + Ids = ids; + Name = name; + NameMethod = nameMethod; + PrimaryDomain = primaryDomain; + State = state; + } + } +} diff --git a/sdk/dotnet/GetProject.cs b/sdk/dotnet/GetProject.cs index 541eb0f..3938fd3 100644 --- a/sdk/dotnet/GetProject.cs +++ b/sdk/dotnet/GetProject.cs @@ -21,6 +21,7 @@ public static class GetProject /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -34,7 +35,7 @@ public static class GetProject /// /// return new Dictionary<string, object?> /// { - /// ["project"] = @default.Apply(getProjectResult => getProjectResult), + /// ["project"] = @default, /// }; /// }); /// ``` @@ -42,7 +43,7 @@ public static class GetProject /// {{% /examples %}} /// public static Task InvokeAsync(GetProjectArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getProject:getProject", args ?? new GetProjectArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getProject:getProject", args ?? new GetProjectArgs(), options.WithDefaults()); /// /// Datasource representing the project, which can then be granted to different organizations or users directly, containing different applications. @@ -53,6 +54,7 @@ public static Task InvokeAsync(GetProjectArgs args, InvokeOpti /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -66,7 +68,7 @@ public static Task InvokeAsync(GetProjectArgs args, InvokeOpti /// /// return new Dictionary<string, object?> /// { - /// ["project"] = @default.Apply(getProjectResult => getProjectResult), + /// ["project"] = @default, /// }; /// }); /// ``` @@ -74,7 +76,7 @@ public static Task InvokeAsync(GetProjectArgs args, InvokeOpti /// {{% /examples %}} /// public static Output Invoke(GetProjectInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getProject:getProject", args ?? new GetProjectInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getProject:getProject", args ?? new GetProjectInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetProjectRole.cs b/sdk/dotnet/GetProjectRole.cs index 8f2d730..ea8cf5a 100644 --- a/sdk/dotnet/GetProjectRole.cs +++ b/sdk/dotnet/GetProjectRole.cs @@ -21,6 +21,7 @@ public static class GetProjectRole /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -35,7 +36,7 @@ public static class GetProjectRole /// /// return new Dictionary<string, object?> /// { - /// ["projectRole"] = @default.Apply(getProjectRoleResult => getProjectRoleResult), + /// ["projectRole"] = @default, /// }; /// }); /// ``` @@ -43,7 +44,7 @@ public static class GetProjectRole /// {{% /examples %}} /// public static Task InvokeAsync(GetProjectRoleArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getProjectRole:getProjectRole", args ?? new GetProjectRoleArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getProjectRole:getProjectRole", args ?? new GetProjectRoleArgs(), options.WithDefaults()); /// /// Datasource representing the project roles, which can be given as authorizations to users. @@ -54,6 +55,7 @@ public static Task InvokeAsync(GetProjectRoleArgs args, In /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -68,7 +70,7 @@ public static Task InvokeAsync(GetProjectRoleArgs args, In /// /// return new Dictionary<string, object?> /// { - /// ["projectRole"] = @default.Apply(getProjectRoleResult => getProjectRoleResult), + /// ["projectRole"] = @default, /// }; /// }); /// ``` @@ -76,7 +78,7 @@ public static Task InvokeAsync(GetProjectRoleArgs args, In /// {{% /examples %}} /// public static Output Invoke(GetProjectRoleInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getProjectRole:getProjectRole", args ?? new GetProjectRoleInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getProjectRole:getProjectRole", args ?? new GetProjectRoleInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/GetTriggerActions.cs b/sdk/dotnet/GetTriggerActions.cs index 87feccd..8d160ce 100644 --- a/sdk/dotnet/GetTriggerActions.cs +++ b/sdk/dotnet/GetTriggerActions.cs @@ -21,6 +21,7 @@ public static class GetTriggerActions /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -35,7 +36,7 @@ public static class GetTriggerActions /// /// return new Dictionary<string, object?> /// { - /// ["triggerActions"] = @default.Apply(getTriggerActionsResult => getTriggerActionsResult), + /// ["triggerActions"] = @default, /// }; /// }); /// ``` @@ -43,7 +44,7 @@ public static class GetTriggerActions /// {{% /examples %}} /// public static Task InvokeAsync(GetTriggerActionsArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getTriggerActions:getTriggerActions", args ?? new GetTriggerActionsArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("zitadel:index/getTriggerActions:getTriggerActions", args ?? new GetTriggerActionsArgs(), options.WithDefaults()); /// /// Resource representing triggers, when actions get started @@ -54,6 +55,7 @@ public static Task InvokeAsync(GetTriggerActionsArgs ar /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumi.Zitadel; /// @@ -68,7 +70,7 @@ public static Task InvokeAsync(GetTriggerActionsArgs ar /// /// return new Dictionary<string, object?> /// { - /// ["triggerActions"] = @default.Apply(getTriggerActionsResult => getTriggerActionsResult), + /// ["triggerActions"] = @default, /// }; /// }); /// ``` @@ -76,7 +78,7 @@ public static Task InvokeAsync(GetTriggerActionsArgs ar /// {{% /examples %}} /// public static Output Invoke(GetTriggerActionsInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("zitadel:index/getTriggerActions:getTriggerActions", args ?? new GetTriggerActionsInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("zitadel:index/getTriggerActions:getTriggerActions", args ?? new GetTriggerActionsInvokeArgs(), options.WithDefaults()); } diff --git a/sdk/dotnet/HumanUser.cs b/sdk/dotnet/HumanUser.cs index 4cabb57..fdef92b 100644 --- a/sdk/dotnet/HumanUser.cs +++ b/sdk/dotnet/HumanUser.cs @@ -19,6 +19,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -46,7 +47,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `id[:org_id][:initial_password]>`, e.g. + /// terraform The resource can be imported using the ID format `id[:org_id][:initial_password]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/humanUser:HumanUser imported '123456789012345678:123456789012345678:Password1!' @@ -175,6 +176,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "initialPassword", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -222,11 +227,21 @@ public sealed class HumanUserArgs : global::Pulumi.ResourceArgs [Input("gender")] public Input? Gender { get; set; } + [Input("initialPassword")] + private Input? _initialPassword; + /// /// Initially set password for the user, not changeable after creation /// - [Input("initialPassword")] - public Input? InitialPassword { get; set; } + public Input? InitialPassword + { + get => _initialPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _initialPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Is the email verified of the user, can only be true if password of the user is set @@ -308,11 +323,21 @@ public sealed class HumanUserState : global::Pulumi.ResourceArgs [Input("gender")] public Input? Gender { get; set; } + [Input("initialPassword")] + private Input? _initialPassword; + /// /// Initially set password for the user, not changeable after creation /// - [Input("initialPassword")] - public Input? InitialPassword { get; set; } + public Input? InitialPassword + { + get => _initialPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _initialPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Is the email verified of the user, can only be true if password of the user is set diff --git a/sdk/dotnet/IdpAzureAd.cs b/sdk/dotnet/IdpAzureAd.cs index f7a1a6f..418536b 100644 --- a/sdk/dotnet/IdpAzureAd.cs +++ b/sdk/dotnet/IdpAzureAd.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -46,7 +47,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:client_secret]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:client_secret]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/idpAzureAd:IdpAzureAd imported '123456789012345678:12345678-1234-1234-1234-123456789012' @@ -145,6 +146,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "clientSecret", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -174,11 +179,21 @@ public sealed class IdpAzureAdArgs : global::Pulumi.ResourceArgs [Input("clientId", required: true)] public Input ClientId { get; set; } = null!; + [Input("clientSecret", required: true)] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// automatically mark emails as verified @@ -254,11 +269,21 @@ public sealed class IdpAzureAdState : global::Pulumi.ResourceArgs [Input("clientId")] public Input? ClientId { get; set; } + [Input("clientSecret")] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// automatically mark emails as verified diff --git a/sdk/dotnet/IdpGithub.cs b/sdk/dotnet/IdpGithub.cs index fc9e25d..ff8ca29 100644 --- a/sdk/dotnet/IdpGithub.cs +++ b/sdk/dotnet/IdpGithub.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -43,7 +44,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:client_secret]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:client_secret]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/idpGithub:IdpGithub imported '123456789012345678:1234567890123456781234567890123456787890' @@ -124,6 +125,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "clientSecret", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -153,11 +158,21 @@ public sealed class IdpGithubArgs : global::Pulumi.ResourceArgs [Input("clientId", required: true)] public Input ClientId { get; set; } = null!; + [Input("clientSecret", required: true)] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account @@ -215,11 +230,21 @@ public sealed class IdpGithubState : global::Pulumi.ResourceArgs [Input("clientId")] public Input? ClientId { get; set; } + [Input("clientSecret")] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account diff --git a/sdk/dotnet/IdpGithubEs.cs b/sdk/dotnet/IdpGithubEs.cs index 0250a6e..e4da5a4 100644 --- a/sdk/dotnet/IdpGithubEs.cs +++ b/sdk/dotnet/IdpGithubEs.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -46,7 +47,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:client_secret]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:client_secret]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/idpGithubEs:IdpGithubEs imported '123456789012345678:1234567890123456781234567890123456787890' @@ -145,6 +146,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "clientSecret", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -180,11 +185,21 @@ public sealed class IdpGithubEsArgs : global::Pulumi.ResourceArgs [Input("clientId", required: true)] public Input ClientId { get; set; } = null!; + [Input("clientSecret", required: true)] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account @@ -260,11 +275,21 @@ public sealed class IdpGithubEsState : global::Pulumi.ResourceArgs [Input("clientId")] public Input? ClientId { get; set; } + [Input("clientSecret")] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account diff --git a/sdk/dotnet/IdpGitlab.cs b/sdk/dotnet/IdpGitlab.cs index 38ea0ad..c3f1eac 100644 --- a/sdk/dotnet/IdpGitlab.cs +++ b/sdk/dotnet/IdpGitlab.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -43,7 +44,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:client_secret]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:client_secret]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/idpGitlab:IdpGitlab imported '123456789012345678:1234567890abcdef' @@ -124,6 +125,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "clientSecret", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -153,11 +158,21 @@ public sealed class IdpGitlabArgs : global::Pulumi.ResourceArgs [Input("clientId", required: true)] public Input ClientId { get; set; } = null!; + [Input("clientSecret", required: true)] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account @@ -215,11 +230,21 @@ public sealed class IdpGitlabState : global::Pulumi.ResourceArgs [Input("clientId")] public Input? ClientId { get; set; } + [Input("clientSecret")] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account diff --git a/sdk/dotnet/IdpGitlabSelfHosted.cs b/sdk/dotnet/IdpGitlabSelfHosted.cs index 08983a3..d94f4e2 100644 --- a/sdk/dotnet/IdpGitlabSelfHosted.cs +++ b/sdk/dotnet/IdpGitlabSelfHosted.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -44,7 +45,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:client_secret]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:client_secret]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/idpGitlabSelfHosted:IdpGitlabSelfHosted imported '123456789012345678:1234567890abcdef' @@ -131,6 +132,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "clientSecret", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -160,11 +165,21 @@ public sealed class IdpGitlabSelfHostedArgs : global::Pulumi.ResourceArgs [Input("clientId", required: true)] public Input ClientId { get; set; } = null!; + [Input("clientSecret", required: true)] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account @@ -228,11 +243,21 @@ public sealed class IdpGitlabSelfHostedState : global::Pulumi.ResourceArgs [Input("clientId")] public Input? ClientId { get; set; } + [Input("clientSecret")] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account diff --git a/sdk/dotnet/IdpGoogle.cs b/sdk/dotnet/IdpGoogle.cs index 43472ab..7e1b9e9 100644 --- a/sdk/dotnet/IdpGoogle.cs +++ b/sdk/dotnet/IdpGoogle.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -43,7 +44,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:client_secret]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:client_secret]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/idpGoogle:IdpGoogle imported '123456789012345678:G1234567890123' @@ -124,6 +125,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "clientSecret", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -153,11 +158,21 @@ public sealed class IdpGoogleArgs : global::Pulumi.ResourceArgs [Input("clientId", required: true)] public Input ClientId { get; set; } = null!; + [Input("clientSecret", required: true)] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account @@ -215,11 +230,21 @@ public sealed class IdpGoogleState : global::Pulumi.ResourceArgs [Input("clientId")] public Input? ClientId { get; set; } + [Input("clientSecret")] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account diff --git a/sdk/dotnet/IdpLdap.cs b/sdk/dotnet/IdpLdap.cs index a1a9610..32ba757 100644 --- a/sdk/dotnet/IdpLdap.cs +++ b/sdk/dotnet/IdpLdap.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -58,7 +59,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:bind_password]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:bind_password]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/idpLdap:IdpLdap imported '123456789012345678:b1nd_p4ssw0rd' @@ -253,6 +254,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "bindPassword", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -294,11 +299,21 @@ public sealed class IdpLdapArgs : global::Pulumi.ResourceArgs [Input("bindDn", required: true)] public Input BindDn { get; set; } = null!; + [Input("bindPassword", required: true)] + private Input? _bindPassword; + /// /// Bind password for LDAP connections /// - [Input("bindPassword", required: true)] - public Input BindPassword { get; set; } = null!; + public Input? BindPassword + { + get => _bindPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _bindPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// User attribute for the display name @@ -482,11 +497,21 @@ public sealed class IdpLdapState : global::Pulumi.ResourceArgs [Input("bindDn")] public Input? BindDn { get; set; } + [Input("bindPassword")] + private Input? _bindPassword; + /// /// Bind password for LDAP connections /// - [Input("bindPassword")] - public Input? BindPassword { get; set; } + public Input? BindPassword + { + get => _bindPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _bindPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// User attribute for the display name diff --git a/sdk/dotnet/InstanceMember.cs b/sdk/dotnet/InstanceMember.cs index ff0967f..b57ea94 100644 --- a/sdk/dotnet/InstanceMember.cs +++ b/sdk/dotnet/InstanceMember.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -36,7 +37,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<user_id>`, e.g. + /// terraform The resource can be imported using the ID format `<user_id>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/instanceMember:InstanceMember imported '123456789012345678' diff --git a/sdk/dotnet/LabelPolicy.cs b/sdk/dotnet/LabelPolicy.cs index f90bf18..4247b47 100644 --- a/sdk/dotnet/LabelPolicy.cs +++ b/sdk/dotnet/LabelPolicy.cs @@ -15,7 +15,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + /// terraform The resource can be imported using the ID format `<[org_id]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/labelPolicy:LabelPolicy imported '123456789012345678' diff --git a/sdk/dotnet/LockoutPolicy.cs b/sdk/dotnet/LockoutPolicy.cs index cd1eab7..27e3ce1 100644 --- a/sdk/dotnet/LockoutPolicy.cs +++ b/sdk/dotnet/LockoutPolicy.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -33,7 +34,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + /// terraform The resource can be imported using the ID format `<[org_id]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/lockoutPolicy:LockoutPolicy imported '123456789012345678' diff --git a/sdk/dotnet/LoginPolicy.cs b/sdk/dotnet/LoginPolicy.cs index c41682f..3fd2f08 100644 --- a/sdk/dotnet/LoginPolicy.cs +++ b/sdk/dotnet/LoginPolicy.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -63,7 +64,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + /// terraform The resource can be imported using the ID format `<[org_id]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/loginPolicy:LoginPolicy imported '123456789012345678' diff --git a/sdk/dotnet/MachineKey.cs b/sdk/dotnet/MachineKey.cs index ae70ec3..da0cf1e 100644 --- a/sdk/dotnet/MachineKey.cs +++ b/sdk/dotnet/MachineKey.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -35,7 +36,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id:user_id[:org_id][:key_details]>`, e.g. + /// terraform The resource can be imported using the ID format `<id:user_id[:org_id][:key_details]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/machineKey:MachineKey imported '123456789012345678:123456789012345678:123456789012345678:{"type":"serviceaccount","keyId":"123456789012345678","key":"-----BEGIN RSA PRIVATE KEY-----\nMIIEpQ...-----END RSA PRIVATE KEY-----\n","userId":"123456789012345678"}' @@ -98,6 +99,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "keyDetails", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -159,11 +164,21 @@ public sealed class MachineKeyState : global::Pulumi.ResourceArgs [Input("expirationDate")] public Input? ExpirationDate { get; set; } + [Input("keyDetails")] + private Input? _keyDetails; + /// /// Value of the machine key /// - [Input("keyDetails")] - public Input? KeyDetails { get; set; } + public Input? KeyDetails + { + get => _keyDetails; + set + { + var emptySecret = Output.CreateSecret(0); + _keyDetails = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Type of the machine key, supported values: KEY*TYPE*UNSPECIFIED, KEY*TYPE*JSON diff --git a/sdk/dotnet/MachineUser.cs b/sdk/dotnet/MachineUser.cs index 0c41879..ec78d54 100644 --- a/sdk/dotnet/MachineUser.cs +++ b/sdk/dotnet/MachineUser.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -34,7 +35,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:org_id]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:org_id]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/machineUser:MachineUser imported '123456789012345678:123456789012345678' diff --git a/sdk/dotnet/NotificationPolicy.cs b/sdk/dotnet/NotificationPolicy.cs index cf88b43..9696e93 100644 --- a/sdk/dotnet/NotificationPolicy.cs +++ b/sdk/dotnet/NotificationPolicy.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -33,7 +34,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + /// terraform The resource can be imported using the ID format `<[org_id]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/notificationPolicy:NotificationPolicy imported '123456789012345678' diff --git a/sdk/dotnet/Org.cs b/sdk/dotnet/Org.cs index 6339064..0643f36 100644 --- a/sdk/dotnet/Org.cs +++ b/sdk/dotnet/Org.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -29,7 +30,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id>`, e.g. + /// terraform The resource can be imported using the ID format `<id>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/org:Org imported '123456789012345678' @@ -38,6 +39,12 @@ namespace Pulumiverse.Zitadel [ZitadelResourceType("zitadel:index/org:Org")] public partial class Org : global::Pulumi.CustomResource { + /// + /// True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. + /// + [Output("isDefault")] + public Output IsDefault { get; private set; } = null!; + /// /// Name of the org /// @@ -103,6 +110,12 @@ public static Org Get(string name, Input id, OrgState? state = null, Cus public sealed class OrgArgs : global::Pulumi.ResourceArgs { + /// + /// True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. + /// + [Input("isDefault")] + public Input? IsDefault { get; set; } + /// /// Name of the org /// @@ -117,6 +130,12 @@ public OrgArgs() public sealed class OrgState : global::Pulumi.ResourceArgs { + /// + /// True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. + /// + [Input("isDefault")] + public Input? IsDefault { get; set; } + /// /// Name of the org /// diff --git a/sdk/dotnet/OrgIdpAzureAd.cs b/sdk/dotnet/OrgIdpAzureAd.cs index 019b118..c5ab66b 100644 --- a/sdk/dotnet/OrgIdpAzureAd.cs +++ b/sdk/dotnet/OrgIdpAzureAd.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -47,7 +48,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/orgIdpAzureAd:OrgIdpAzureAd imported '123456789012345678:123456789012345678:12345678-1234-1234-1234-123456789012' @@ -152,6 +153,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "clientSecret", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -181,11 +186,21 @@ public sealed class OrgIdpAzureAdArgs : global::Pulumi.ResourceArgs [Input("clientId", required: true)] public Input ClientId { get; set; } = null!; + [Input("clientSecret", required: true)] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// automatically mark emails as verified @@ -267,11 +282,21 @@ public sealed class OrgIdpAzureAdState : global::Pulumi.ResourceArgs [Input("clientId")] public Input? ClientId { get; set; } + [Input("clientSecret")] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// automatically mark emails as verified diff --git a/sdk/dotnet/OrgIdpGithub.cs b/sdk/dotnet/OrgIdpGithub.cs index e08cb3b..3661764 100644 --- a/sdk/dotnet/OrgIdpGithub.cs +++ b/sdk/dotnet/OrgIdpGithub.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -44,7 +45,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/orgIdpGithub:OrgIdpGithub imported '123456789012345678:123456789012345678:1234567890123456781234567890123456787890' @@ -131,6 +132,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "clientSecret", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -160,11 +165,21 @@ public sealed class OrgIdpGithubArgs : global::Pulumi.ResourceArgs [Input("clientId", required: true)] public Input ClientId { get; set; } = null!; + [Input("clientSecret", required: true)] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account @@ -228,11 +243,21 @@ public sealed class OrgIdpGithubState : global::Pulumi.ResourceArgs [Input("clientId")] public Input? ClientId { get; set; } + [Input("clientSecret")] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account diff --git a/sdk/dotnet/OrgIdpGithubEs.cs b/sdk/dotnet/OrgIdpGithubEs.cs index 909f2ef..d374671 100644 --- a/sdk/dotnet/OrgIdpGithubEs.cs +++ b/sdk/dotnet/OrgIdpGithubEs.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -47,7 +48,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/orgIdpGithubEs:OrgIdpGithubEs imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678' @@ -152,6 +153,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "clientSecret", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -187,11 +192,21 @@ public sealed class OrgIdpGithubEsArgs : global::Pulumi.ResourceArgs [Input("clientId", required: true)] public Input ClientId { get; set; } = null!; + [Input("clientSecret", required: true)] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account @@ -273,11 +288,21 @@ public sealed class OrgIdpGithubEsState : global::Pulumi.ResourceArgs [Input("clientId")] public Input? ClientId { get; set; } + [Input("clientSecret")] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account diff --git a/sdk/dotnet/OrgIdpGitlab.cs b/sdk/dotnet/OrgIdpGitlab.cs index 4161752..ee6bd15 100644 --- a/sdk/dotnet/OrgIdpGitlab.cs +++ b/sdk/dotnet/OrgIdpGitlab.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -44,7 +45,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/orgIdpGitlab:OrgIdpGitlab imported '123456789012345678:123456789012345678:1234567890abcdef' @@ -131,6 +132,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "clientSecret", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -160,11 +165,21 @@ public sealed class OrgIdpGitlabArgs : global::Pulumi.ResourceArgs [Input("clientId", required: true)] public Input ClientId { get; set; } = null!; + [Input("clientSecret", required: true)] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account @@ -228,11 +243,21 @@ public sealed class OrgIdpGitlabState : global::Pulumi.ResourceArgs [Input("clientId")] public Input? ClientId { get; set; } + [Input("clientSecret")] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account diff --git a/sdk/dotnet/OrgIdpGitlabSelfHosted.cs b/sdk/dotnet/OrgIdpGitlabSelfHosted.cs index 0d906a8..8cac566 100644 --- a/sdk/dotnet/OrgIdpGitlabSelfHosted.cs +++ b/sdk/dotnet/OrgIdpGitlabSelfHosted.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -45,7 +46,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/orgIdpGitlabSelfHosted:OrgIdpGitlabSelfHosted imported '123456789012345678:123456789012345678:1234567890abcdef' @@ -138,6 +139,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "clientSecret", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -167,11 +172,21 @@ public sealed class OrgIdpGitlabSelfHostedArgs : global::Pulumi.ResourceArgs [Input("clientId", required: true)] public Input ClientId { get; set; } = null!; + [Input("clientSecret", required: true)] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account @@ -241,11 +256,21 @@ public sealed class OrgIdpGitlabSelfHostedState : global::Pulumi.ResourceArgs [Input("clientId")] public Input? ClientId { get; set; } + [Input("clientSecret")] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account diff --git a/sdk/dotnet/OrgIdpGoogle.cs b/sdk/dotnet/OrgIdpGoogle.cs index 6bb2be3..0cccd4d 100644 --- a/sdk/dotnet/OrgIdpGoogle.cs +++ b/sdk/dotnet/OrgIdpGoogle.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -44,7 +45,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/orgIdpGoogle:OrgIdpGoogle imported '123456789012345678:123456789012345678:G1234567890123' @@ -131,6 +132,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "clientSecret", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -160,11 +165,21 @@ public sealed class OrgIdpGoogleArgs : global::Pulumi.ResourceArgs [Input("clientId", required: true)] public Input ClientId { get; set; } = null!; + [Input("clientSecret", required: true)] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account @@ -228,11 +243,21 @@ public sealed class OrgIdpGoogleState : global::Pulumi.ResourceArgs [Input("clientId")] public Input? ClientId { get; set; } + [Input("clientSecret")] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account diff --git a/sdk/dotnet/OrgIdpJwt.cs b/sdk/dotnet/OrgIdpJwt.cs index 06d3dc3..4841dea 100644 --- a/sdk/dotnet/OrgIdpJwt.cs +++ b/sdk/dotnet/OrgIdpJwt.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -38,7 +39,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:org_id]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:org_id]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/orgIdpJwt:OrgIdpJwt imported '123456789012345678:123456789012345678' diff --git a/sdk/dotnet/OrgIdpLdap.cs b/sdk/dotnet/OrgIdpLdap.cs index 11ab5c4..be13b38 100644 --- a/sdk/dotnet/OrgIdpLdap.cs +++ b/sdk/dotnet/OrgIdpLdap.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -59,7 +60,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:org_id][:bind_password]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:org_id][:bind_password]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/orgIdpLdap:OrgIdpLdap imported '123456789012345678:123456789012345678:b1nd_p4ssw0rd' @@ -260,6 +261,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "bindPassword", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -301,11 +306,21 @@ public sealed class OrgIdpLdapArgs : global::Pulumi.ResourceArgs [Input("bindDn", required: true)] public Input BindDn { get; set; } = null!; + [Input("bindPassword", required: true)] + private Input? _bindPassword; + /// /// Bind password for LDAP connections /// - [Input("bindPassword", required: true)] - public Input BindPassword { get; set; } = null!; + public Input? BindPassword + { + get => _bindPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _bindPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// User attribute for the display name @@ -495,11 +510,21 @@ public sealed class OrgIdpLdapState : global::Pulumi.ResourceArgs [Input("bindDn")] public Input? BindDn { get; set; } + [Input("bindPassword")] + private Input? _bindPassword; + /// /// Bind password for LDAP connections /// - [Input("bindPassword")] - public Input? BindPassword { get; set; } + public Input? BindPassword + { + get => _bindPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _bindPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// User attribute for the display name diff --git a/sdk/dotnet/OrgIdpOidc.cs b/sdk/dotnet/OrgIdpOidc.cs index 40423d0..bf8b70f 100644 --- a/sdk/dotnet/OrgIdpOidc.cs +++ b/sdk/dotnet/OrgIdpOidc.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -46,7 +47,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:org_id][:client_secret]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/orgIdpOidc:OrgIdpOidc imported '123456789012345678:123456789012345678:1234567890abcdef' @@ -145,6 +146,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "clientSecret", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -174,11 +179,21 @@ public sealed class OrgIdpOidcArgs : global::Pulumi.ResourceArgs [Input("clientId", required: true)] public Input ClientId { get; set; } = null!; + [Input("clientSecret", required: true)] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account @@ -254,11 +269,21 @@ public sealed class OrgIdpOidcState : global::Pulumi.ResourceArgs [Input("clientId")] public Input? ClientId { get; set; } + [Input("clientSecret")] + private Input? _clientSecret; + /// /// client secret generated by the identity provider /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// enable if a new account in ZITADEL should be created automatically on login with an external account diff --git a/sdk/dotnet/OrgMember.cs b/sdk/dotnet/OrgMember.cs index 82055fd..be54dce 100644 --- a/sdk/dotnet/OrgMember.cs +++ b/sdk/dotnet/OrgMember.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -37,7 +38,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<user_id[:org_id]>`, e.g. + /// terraform The resource can be imported using the ID format `<user_id[:org_id]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/orgMember:OrgMember imported '123456789012345678:123456789012345678' diff --git a/sdk/dotnet/PasswordComplexityPolicy.cs b/sdk/dotnet/PasswordComplexityPolicy.cs index a421444..1796429 100644 --- a/sdk/dotnet/PasswordComplexityPolicy.cs +++ b/sdk/dotnet/PasswordComplexityPolicy.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// diff --git a/sdk/dotnet/PersonalAccessToken.cs b/sdk/dotnet/PersonalAccessToken.cs index 878d43d..da30d90 100644 --- a/sdk/dotnet/PersonalAccessToken.cs +++ b/sdk/dotnet/PersonalAccessToken.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -34,7 +35,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id:user_id[:org_id][:token]>`, e.g. + /// terraform The resource can be imported using the ID format `<id:user_id[:org_id][:token]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/personalAccessToken:PersonalAccessToken imported '123456789012345678:123456789012345678:123456789012345678:LHt79...' @@ -91,6 +92,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "token", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -152,11 +157,21 @@ public sealed class PersonalAccessTokenState : global::Pulumi.ResourceArgs [Input("orgId")] public Input? OrgId { get; set; } + [Input("token")] + private Input? _token; + /// /// Value of the token /// - [Input("token")] - public Input? Token { get; set; } + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// ID of the user diff --git a/sdk/dotnet/PrivacyPolicy.cs b/sdk/dotnet/PrivacyPolicy.cs index 21bbe69..e5e7aa2 100644 --- a/sdk/dotnet/PrivacyPolicy.cs +++ b/sdk/dotnet/PrivacyPolicy.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -36,7 +37,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + /// terraform The resource can be imported using the ID format `<[org_id]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/privacyPolicy:PrivacyPolicy imported '123456789012345678' @@ -46,7 +47,7 @@ namespace Pulumiverse.Zitadel public partial class PrivacyPolicy : global::Pulumi.CustomResource { [Output("helpLink")] - public Output HelpLink { get; private set; } = null!; + public Output HelpLink { get; private set; } = null!; /// /// ID of the organization @@ -55,13 +56,13 @@ public partial class PrivacyPolicy : global::Pulumi.CustomResource public Output OrgId { get; private set; } = null!; [Output("privacyLink")] - public Output PrivacyLink { get; private set; } = null!; + public Output PrivacyLink { get; private set; } = null!; [Output("supportEmail")] - public Output SupportEmail { get; private set; } = null!; + public Output SupportEmail { get; private set; } = null!; [Output("tosLink")] - public Output TosLink { get; private set; } = null!; + public Output TosLink { get; private set; } = null!; /// @@ -71,7 +72,7 @@ public partial class PrivacyPolicy : global::Pulumi.CustomResource /// The unique name of the resource /// The arguments used to populate this resource's properties /// A bag of options that control this resource's behavior - public PrivacyPolicy(string name, PrivacyPolicyArgs args, CustomResourceOptions? options = null) + public PrivacyPolicy(string name, PrivacyPolicyArgs? args = null, CustomResourceOptions? options = null) : base("zitadel:index/privacyPolicy:PrivacyPolicy", name, args ?? new PrivacyPolicyArgs(), MakeResourceOptions(options, "")) { } @@ -110,8 +111,8 @@ public static PrivacyPolicy Get(string name, Input id, PrivacyPolicyStat public sealed class PrivacyPolicyArgs : global::Pulumi.ResourceArgs { - [Input("helpLink", required: true)] - public Input HelpLink { get; set; } = null!; + [Input("helpLink")] + public Input? HelpLink { get; set; } /// /// ID of the organization @@ -119,14 +120,14 @@ public sealed class PrivacyPolicyArgs : global::Pulumi.ResourceArgs [Input("orgId")] public Input? OrgId { get; set; } - [Input("privacyLink", required: true)] - public Input PrivacyLink { get; set; } = null!; + [Input("privacyLink")] + public Input? PrivacyLink { get; set; } - [Input("supportEmail", required: true)] - public Input SupportEmail { get; set; } = null!; + [Input("supportEmail")] + public Input? SupportEmail { get; set; } - [Input("tosLink", required: true)] - public Input TosLink { get; set; } = null!; + [Input("tosLink")] + public Input? TosLink { get; set; } public PrivacyPolicyArgs() { diff --git a/sdk/dotnet/Project.cs b/sdk/dotnet/Project.cs index 0657b25..545677c 100644 --- a/sdk/dotnet/Project.cs +++ b/sdk/dotnet/Project.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -36,7 +37,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:org_id]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:org_id]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/project:Project imported '123456789012345678:123456789012345678' diff --git a/sdk/dotnet/ProjectGrant.cs b/sdk/dotnet/ProjectGrant.cs index cb22025..3067470 100644 --- a/sdk/dotnet/ProjectGrant.cs +++ b/sdk/dotnet/ProjectGrant.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -38,7 +39,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id:project_id[:org_id]>`, e.g. + /// terraform The resource can be imported using the ID format `<id:project_id[:org_id]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/projectGrant:ProjectGrant imported '123456789012345678:123456789012345678:123456789012345678' diff --git a/sdk/dotnet/ProjectGrantMember.cs b/sdk/dotnet/ProjectGrantMember.cs index 422339e..90a0ee2 100644 --- a/sdk/dotnet/ProjectGrantMember.cs +++ b/sdk/dotnet/ProjectGrantMember.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -39,7 +40,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<project_id:grant_id:user_id[:org_id]>`, e.g. + /// terraform The resource can be imported using the ID format `<project_id:grant_id:user_id[:org_id]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/projectGrantMember:ProjectGrantMember imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678' diff --git a/sdk/dotnet/ProjectMember.cs b/sdk/dotnet/ProjectMember.cs index d3bf223..0e559fd 100644 --- a/sdk/dotnet/ProjectMember.cs +++ b/sdk/dotnet/ProjectMember.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -38,7 +39,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<project_id:user_id[:org_id]>`, e.g. + /// terraform The resource can be imported using the ID format `<project_id:user_id[:org_id]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/projectMember:ProjectMember imported '123456789012345678:123456789012345678:123456789012345678' diff --git a/sdk/dotnet/ProjectRole.cs b/sdk/dotnet/ProjectRole.cs index 20bd2f7..5eb35a2 100644 --- a/sdk/dotnet/ProjectRole.cs +++ b/sdk/dotnet/ProjectRole.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -36,7 +37,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<project_id:role_key[:org_id]>`, e.g. + /// terraform The resource can be imported using the ID format `<project_id:role_key[:org_id]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/projectRole:ProjectRole imported '123456789012345678:my-role-key:123456789012345678' diff --git a/sdk/dotnet/Pulumiverse.Zitadel.csproj b/sdk/dotnet/Pulumiverse.Zitadel.csproj index b7e3997..288497c 100644 --- a/sdk/dotnet/Pulumiverse.Zitadel.csproj +++ b/sdk/dotnet/Pulumiverse.Zitadel.csproj @@ -10,9 +10,8 @@ https://github.com/pulumiverse/pulumi-zitadel logo.png - netcoreapp3.1 + net6.0 enable - false @@ -39,7 +38,7 @@ - + diff --git a/sdk/dotnet/SmsProviderTwilio.cs b/sdk/dotnet/SmsProviderTwilio.cs index 1c0e0eb..5c31a75 100644 --- a/sdk/dotnet/SmsProviderTwilio.cs +++ b/sdk/dotnet/SmsProviderTwilio.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -34,7 +35,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<id[:token]>`, e.g. + /// terraform The resource can be imported using the ID format `<id[:token]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/smsProviderTwilio:SmsProviderTwilio imported '123456789012345678:12345678901234567890123456abcdef' @@ -85,6 +86,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "token", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -120,11 +125,21 @@ public sealed class SmsProviderTwilioArgs : global::Pulumi.ResourceArgs [Input("sid", required: true)] public Input Sid { get; set; } = null!; + [Input("token", required: true)] + private Input? _token; + /// /// Token used to communicate with Twilio. /// - [Input("token", required: true)] - public Input Token { get; set; } = null!; + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public SmsProviderTwilioArgs() { @@ -146,11 +161,21 @@ public sealed class SmsProviderTwilioState : global::Pulumi.ResourceArgs [Input("sid")] public Input? Sid { get; set; } + [Input("token")] + private Input? _token; + /// /// Token used to communicate with Twilio. /// - [Input("token")] - public Input? Token { get; set; } + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public SmsProviderTwilioState() { diff --git a/sdk/dotnet/SmtpConfig.cs b/sdk/dotnet/SmtpConfig.cs index f4d70d9..00d0256 100644 --- a/sdk/dotnet/SmtpConfig.cs +++ b/sdk/dotnet/SmtpConfig.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -26,6 +27,7 @@ namespace Pulumiverse.Zitadel /// { /// Host = "localhost:25", /// Password = "secret_password", + /// ReplyToAddress = "replyto@example.com", /// SenderAddress = "sender@example.com", /// SenderName = "no-reply", /// Tls = true, @@ -37,7 +39,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<[password]>`, e.g. + /// terraform The resource can be imported using the ID format `<[password]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/smtpConfig:SmtpConfig imported 'p4ssw0rd' @@ -58,6 +60,12 @@ public partial class SmtpConfig : global::Pulumi.CustomResource [Output("password")] public Output Password { get; private set; } = null!; + /// + /// Address to reply to. + /// + [Output("replyToAddress")] + public Output ReplyToAddress { get; private set; } = null!; + /// /// Address used to send emails. /// @@ -106,6 +114,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? { Version = Utilities.Version, PluginDownloadURL = "github://api.github.com/pulumiverse", + AdditionalSecretOutputs = + { + "password", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -135,11 +147,27 @@ public sealed class SmtpConfigArgs : global::Pulumi.ResourceArgs [Input("host", required: true)] public Input Host { get; set; } = null!; + [Input("password")] + private Input? _password; + /// /// Password used to communicate with your SMTP server. /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// Address to reply to. + /// + [Input("replyToAddress")] + public Input? ReplyToAddress { get; set; } /// /// Address used to send emails. @@ -179,11 +207,27 @@ public sealed class SmtpConfigState : global::Pulumi.ResourceArgs [Input("host")] public Input? Host { get; set; } + [Input("password")] + private Input? _password; + /// /// Password used to communicate with your SMTP server. /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// Address to reply to. + /// + [Input("replyToAddress")] + public Input? ReplyToAddress { get; set; } /// /// Address used to send emails. diff --git a/sdk/dotnet/TriggerActions.cs b/sdk/dotnet/TriggerActions.cs index e71307a..72bcb2b 100644 --- a/sdk/dotnet/TriggerActions.cs +++ b/sdk/dotnet/TriggerActions.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -38,7 +39,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<flow_type:trigger_type[:org_id]>`, e.g. + /// terraform The resource can be imported using the ID format `<flow_type:trigger_type[:org_id]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/triggerActions:TriggerActions imported 'FLOW_TYPE_EXTERNAL_AUTHENTICATION:TRIGGER_TYPE_POST_CREATION:123456789012345678' diff --git a/sdk/dotnet/UserGrant.cs b/sdk/dotnet/UserGrant.cs index d50127f..b62ac2e 100644 --- a/sdk/dotnet/UserGrant.cs +++ b/sdk/dotnet/UserGrant.cs @@ -17,6 +17,7 @@ namespace Pulumiverse.Zitadel /// /// ```csharp /// using System.Collections.Generic; + /// using System.Linq; /// using Pulumi; /// using Zitadel = Pulumiverse.Zitadel; /// @@ -38,7 +39,7 @@ namespace Pulumiverse.Zitadel /// /// ## Import /// - /// terraform # The resource can be imported using the ID format `<flow_type:trigger_type[:org_id]>`, e.g. + /// terraform The resource can be imported using the ID format `<flow_type:trigger_type[:org_id]>`, e.g. /// /// ```sh /// $ pulumi import zitadel:index/userGrant:UserGrant imported '123456789012345678:123456789012345678:123456789012345678' diff --git a/sdk/go.mod b/sdk/go.mod index 9f7a918..a87efca 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -1,5 +1,65 @@ module github.com/pulumiverse/pulumi-zitadel/sdk -go 1.17 +go 1.21 -require github.com/pulumi/pulumi/sdk/v3 v3.38.0 +require ( + github.com/blang/semver v3.5.1+incompatible + github.com/pkg/errors v0.9.1 + github.com/pulumi/pulumi/sdk/v3 v3.38.0 +) + +require ( + github.com/Microsoft/go-winio v0.4.16 // indirect + github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect + github.com/acomagu/bufpipe v1.0.3 // indirect + github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect + github.com/cheggaaa/pb v1.0.18 // indirect + github.com/djherbis/times v1.2.0 // indirect + github.com/emirpasic/gods v1.12.0 // indirect + github.com/go-git/gcfg v1.5.0 // indirect + github.com/go-git/go-billy/v5 v5.3.1 // indirect + github.com/go-git/go-git/v5 v5.4.2 // indirect + github.com/gofrs/uuid v3.3.0+incompatible // indirect + github.com/gogo/protobuf v1.3.2 // indirect + github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect + github.com/golang/protobuf v1.4.2 // indirect + github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect + github.com/hashicorp/errwrap v1.0.0 // indirect + github.com/hashicorp/go-multierror v1.0.0 // indirect + github.com/imdario/mergo v0.3.12 // indirect + github.com/inconshreveable/mousetrap v1.0.0 // indirect + github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect + github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect + github.com/mattn/go-runewidth v0.0.8 // indirect + github.com/mitchellh/go-homedir v1.1.0 // indirect + github.com/mitchellh/go-ps v1.0.0 // indirect + github.com/opentracing/basictracer-go v1.0.0 // indirect + github.com/opentracing/opentracing-go v1.1.0 // indirect + github.com/pkg/term v1.1.0 // indirect + github.com/rivo/uniseg v0.2.0 // indirect + github.com/rogpeppe/go-internal v1.8.1 // indirect + github.com/sabhiram/go-gitignore v0.0.0-20180611051255-d3107576ba94 // indirect + github.com/sergi/go-diff v1.1.0 // indirect + github.com/spf13/cast v1.3.1 // indirect + github.com/spf13/cobra v1.4.0 // indirect + github.com/spf13/pflag v1.0.5 // indirect + github.com/texttheater/golang-levenshtein v0.0.0-20191208221605-eb6844b05fc6 // indirect + github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect + github.com/uber/jaeger-client-go v2.22.1+incompatible // indirect + github.com/uber/jaeger-lib v2.2.0+incompatible // indirect + github.com/xanzy/ssh-agent v0.3.0 // indirect + go.uber.org/atomic v1.6.0 // indirect + golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b // indirect + golang.org/x/net v0.0.0-20210326060303-6b1517762897 // indirect + golang.org/x/sys v0.6.0 // indirect + golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect + golang.org/x/text v0.3.3 // indirect + google.golang.org/genproto v0.0.0-20200608115520-7c474a2e3482 // indirect + google.golang.org/grpc v1.29.1 // indirect + google.golang.org/protobuf v1.24.0 // indirect + gopkg.in/warnings.v0 v0.1.2 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect + lukechampine.com/frand v1.4.2 // indirect + sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0 // indirect +) diff --git a/sdk/go.sum b/sdk/go.sum new file mode 100644 index 0000000..39ae216 --- /dev/null +++ b/sdk/go.sum @@ -0,0 +1,284 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= +github.com/Microsoft/go-winio v0.4.16 h1:FtSW/jqD+l4ba5iPBj9CODVtgfYAD8w2wS923g/cFDk= +github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= +github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 h1:YoJbenK9C67SkzkDfmQuVln04ygHj3vjZfd9FL+GmQQ= +github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo= +github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk= +github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= +github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= +github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= +github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA= +github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= +github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= +github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= +github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= +github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/cheggaaa/pb v1.0.18 h1:G/DgkKaBP0V5lnBg/vx61nVxxAU+VqU5yMzSc0f2PPE= +github.com/cheggaaa/pb v1.0.18/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd h1:qMd81Ts1T2OTKmB4acZcyKaMtRnY5Y44NuXGX2GFJ1w= +github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= +github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/djherbis/times v1.2.0 h1:xANXjsC/iBqbO00vkWlYwPWgBgEVU6m6AFYg0Pic+Mc= +github.com/djherbis/times v1.2.0/go.mod h1:CGMZlo255K5r4Yw0b9RRfFQpM2y7uOmxg4jm9HsaVf8= +github.com/emirpasic/gods v1.12.0 h1:QAUIPSaCu4G+POclxeqb3F+WPpdKqFGlw36+yOzGlrg= +github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= +github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= +github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= +github.com/gliderlabs/ssh v0.2.2 h1:6zsha5zo/TWhRhwqCD3+EarCAgZ2yN28ipRnGPnwkI0= +github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= +github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4= +github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= +github.com/go-git/go-billy/v5 v5.2.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= +github.com/go-git/go-billy/v5 v5.3.1 h1:CPiOUAzKtMRvolEKw+bG1PLRpT7D3LIs3/3ey4Aiu34= +github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= +github.com/go-git/go-git-fixtures/v4 v4.2.1 h1:n9gGL1Ct/yIw+nfsfr8s4+sbhT+Ncu2SubfXjIWgci8= +github.com/go-git/go-git-fixtures/v4 v4.2.1/go.mod h1:K8zd3kDUAykwTdDCr+I0per6Y6vMiRR/nnVTBtavnB0= +github.com/go-git/go-git/v5 v5.4.2 h1:BXyZu9t0VkbiHtqrsvdq39UDhGJTl1h55VW6CSC4aY4= +github.com/go-git/go-git/v5 v5.4.2/go.mod h1:gQ1kArt6d+n+BGd+/B/I74HwRTLhth2+zti4ihgckDc= +github.com/gofrs/uuid v3.3.0+incompatible h1:8K4tyRfvU1CYPgJsveYFQMhpFd/wXNM7iK6rR7UHz84= +github.com/gofrs/uuid v3.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= +github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.4.1 h1:/exdXoGamhu5ONeUJH0deniYLWYvQwW66yvlfiiKTu0= +github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= +github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= +github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-multierror v1.0.0 h1:iVjPR7a6H0tWELX5NxNe7bYopibicUzc7uPribsnS6o= +github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= +github.com/imdario/mergo v0.3.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU= +github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= +github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= +github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= +github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= +github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= +github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 h1:DowS9hvgyYSX4TO5NpyC606/Z4SxnNYbT+WX27or6Ck= +github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= +github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= +github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= +github.com/mattn/go-colorable v0.1.6 h1:6Su7aK7lXmJ/U79bYtBjLNaha4Fs1Rg9plHpcH+vvnE= +github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-runewidth v0.0.8 h1:3tS41NlGYSmhhe/8fhGRzc+z3AYCw1Fe1WAyLuujKs0= +github.com/mattn/go-runewidth v0.0.8/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= +github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= +github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/go-ps v1.0.0 h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc= +github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/opentracing/basictracer-go v1.0.0 h1:YyUAhaEfjoWXclZVJ9sGoNct7j4TVk7lZWlQw5UXuoo= +github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= +github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU= +github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= +github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/pulumi/pulumi/sdk/v3 v3.38.0 h1:xqO+t81RDY9w+GT+YRUZDHuvfYEz+vgQBkdtLe/8i7U= +github.com/pulumi/pulumi/sdk/v3 v3.38.0/go.mod h1:3/6Fr/c01n7Hw7mtAlO7X8WMBgLP5AVTyYe4CRfJQc4= +github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY= +github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= +github.com/rogpeppe/go-internal v1.8.1 h1:geMPLpDpQOgVyCg5z5GoRwLHepNdb71NXb67XFkP+Eg= +github.com/rogpeppe/go-internal v1.8.1/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4nPKWu0nJ5d+o= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/sabhiram/go-gitignore v0.0.0-20180611051255-d3107576ba94 h1:G04eS0JkAIVZfaJLjla9dNxkJCPiKIGZlw9AfOhzOD0= +github.com/sabhiram/go-gitignore v0.0.0-20180611051255-d3107576ba94/go.mod h1:b18R55ulyQ/h3RaWyloPyER7fWQVZvimKKhnI5OfrJQ= +github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= +github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= +github.com/spf13/cast v1.3.1 h1:nFm6S0SMdyzrzcmThSipiEubIDy8WEXKNZ0UOgiRpng= +github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/cobra v1.4.0 h1:y+wJpx64xcgO1V+RcnwW0LEHxTKRi2ZDPSBjWnrg88Q= +github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB84g= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/texttheater/golang-levenshtein v0.0.0-20191208221605-eb6844b05fc6 h1:9VTskZOIRf2vKF3UL8TuWElry5pgUpV1tFSe/e/0m/E= +github.com/texttheater/golang-levenshtein v0.0.0-20191208221605-eb6844b05fc6/go.mod h1:XDKHRm5ThF8YJjx001LtgelzsoaEcvnA7lVWz9EeX3g= +github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= +github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7/go.mod h1:UxoP3EypF8JfGEjAII8jx1q8rQyDnX8qdTCs/UQBVIE= +github.com/uber/jaeger-client-go v2.22.1+incompatible h1:NHcubEkVbahf9t3p75TOCR83gdUHXjRJvjoBh1yACsM= +github.com/uber/jaeger-client-go v2.22.1+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= +github.com/uber/jaeger-lib v2.2.0+incompatible h1:MxZXOiR2JuoANZ3J6DE/U0kSFv/eJ/GfSYVCjK7dyaw= +github.com/uber/jaeger-lib v2.2.0+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U= +github.com/xanzy/ssh-agent v0.3.0 h1:wUMzuKtKilRgBAD1sUb8gOwwRr2FGoBVumcjoOACClI= +github.com/xanzy/ssh-agent v0.3.0/go.mod h1:3s9xbODqPuuhK9JV1R321M/FlMZSBvE5aY6eAcqrDh0= +github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +go.uber.org/atomic v1.6.0 h1:Ezj3JGmsOnG1MoRWQkPBsKLe9DwWD9QeXzTRzzldNVk= +go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= +golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b h1:7mWr3k41Qtv8XlltBkDkl8LoP3mpSgBW8BUoxtEdbXg= +golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20200302205851-738671d3881b h1:Wh+f8QHJXR411sJR8/vRBTZ7YapZaRvUcLFFJhusH0k= +golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210326060303-6b1517762897 h1:KrsHThm5nFk34YtATK1LsThyGhGbGe1olrte/HInHvs= +golang.org/x/net v0.0.0-20210326060303-6b1517762897/go.mod h1:uSPa2vr4CLtc/ILN5odXGNXS6mhrKVzTaCXzk9m6W3k= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210502180810-71e4cd670f79/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20210106214847-113979e3529a h1:CB3a9Nez8M13wwlr/E2YtwoU+qYHKfC+JrDa45RXXoQ= +golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20200608115520-7c474a2e3482 h1:i+Aiej6cta/Frzp13/swvwz5O00kYcSe0A/C5Wd7zX8= +google.golang.org/genproto v0.0.0-20200608115520-7c474a2e3482/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.29.1 h1:EC2SB8S04d2r73uptxphDSUG+kTKVgjRPF+N3xpxRB4= +google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.24.0 h1:UhZDfRO8JRQru4/+LlLE0BRKGF8L+PICnvYZmx/fEGA= +google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= +gopkg.in/cheggaaa/pb.v1 v1.0.28 h1:n1tBJnnK2r7g9OW2btFH91V92STTUevLXYFb8gy9EMk= +gopkg.in/cheggaaa/pb.v1 v1.0.28/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= +gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +lukechampine.com/frand v1.4.2 h1:RzFIpOvkMXuPMBb9maa4ND4wjBn71E1Jpf8BzJHMaVw= +lukechampine.com/frand v1.4.2/go.mod h1:4S/TM2ZgrKejMcKMbeLjISpJMO+/eZ1zu3vYX9dtj3s= +pgregory.net/rapid v0.4.7 h1:MTNRktPuv5FNqOO151TM9mDTa+XHcX6ypYeISDVD14g= +pgregory.net/rapid v0.4.7/go.mod h1:UYpPVyjFHzYBGHIxLFoupi8vwk6rXNzRY9OMvVxFIOU= +sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0 h1:ucqkfpjg9WzSUubAO62csmucvxl4/JeW3F4I4909XkM= +sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= diff --git a/sdk/go/zitadel/action.go b/sdk/go/zitadel/action.go index 03eaf57..7c65ec2 100644 --- a/sdk/go/zitadel/action.go +++ b/sdk/go/zitadel/action.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing an action belonging to an organization. @@ -19,32 +21,37 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewAction(ctx, "default", &zitadel.ActionArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// Script: pulumi.String("testscript"), -// Timeout: pulumi.String("10s"), -// AllowedToFail: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewAction(ctx, "default", &zitadel.ActionArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// Script: pulumi.String("testscript"), +// Timeout: pulumi.String("10s"), +// AllowedToFail: pulumi.Bool(true), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/action:Action imported '123456789012345678:123456789012345678' +// +// $ pulumi import zitadel:index/action:Action imported '123456789012345678:123456789012345678' +// // ``` type Action struct { pulumi.CustomResourceState @@ -77,7 +84,7 @@ func NewAction(ctx *pulumi.Context, if args.Timeout == nil { return nil, errors.New("invalid value for required argument 'Timeout'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource Action err := ctx.RegisterResource("zitadel:index/action:Action", name, args, &resource, opts...) if err != nil { @@ -175,10 +182,16 @@ func (i *Action) ToActionOutputWithContext(ctx context.Context) ActionOutput { return pulumi.ToOutputWithContext(ctx, i).(ActionOutput) } +func (i *Action) ToOutput(ctx context.Context) pulumix.Output[*Action] { + return pulumix.Output[*Action]{ + OutputState: i.ToActionOutputWithContext(ctx).OutputState, + } +} + // ActionArrayInput is an input type that accepts ActionArray and ActionArrayOutput values. // You can construct a concrete instance of `ActionArrayInput` via: // -// ActionArray{ ActionArgs{...} } +// ActionArray{ ActionArgs{...} } type ActionArrayInput interface { pulumi.Input @@ -200,10 +213,16 @@ func (i ActionArray) ToActionArrayOutputWithContext(ctx context.Context) ActionA return pulumi.ToOutputWithContext(ctx, i).(ActionArrayOutput) } +func (i ActionArray) ToOutput(ctx context.Context) pulumix.Output[[]*Action] { + return pulumix.Output[[]*Action]{ + OutputState: i.ToActionArrayOutputWithContext(ctx).OutputState, + } +} + // ActionMapInput is an input type that accepts ActionMap and ActionMapOutput values. // You can construct a concrete instance of `ActionMapInput` via: // -// ActionMap{ "key": ActionArgs{...} } +// ActionMap{ "key": ActionArgs{...} } type ActionMapInput interface { pulumi.Input @@ -225,6 +244,12 @@ func (i ActionMap) ToActionMapOutputWithContext(ctx context.Context) ActionMapOu return pulumi.ToOutputWithContext(ctx, i).(ActionMapOutput) } +func (i ActionMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Action] { + return pulumix.Output[map[string]*Action]{ + OutputState: i.ToActionMapOutputWithContext(ctx).OutputState, + } +} + type ActionOutput struct{ *pulumi.OutputState } func (ActionOutput) ElementType() reflect.Type { @@ -239,6 +264,12 @@ func (o ActionOutput) ToActionOutputWithContext(ctx context.Context) ActionOutpu return o } +func (o ActionOutput) ToOutput(ctx context.Context) pulumix.Output[*Action] { + return pulumix.Output[*Action]{ + OutputState: o.OutputState, + } +} + // when true, the next action will be called even if this action fails func (o ActionOutput) AllowedToFail() pulumi.BoolOutput { return o.ApplyT(func(v *Action) pulumi.BoolOutput { return v.AllowedToFail }).(pulumi.BoolOutput) @@ -281,6 +312,12 @@ func (o ActionArrayOutput) ToActionArrayOutputWithContext(ctx context.Context) A return o } +func (o ActionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Action] { + return pulumix.Output[[]*Action]{ + OutputState: o.OutputState, + } +} + func (o ActionArrayOutput) Index(i pulumi.IntInput) ActionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Action { return vs[0].([]*Action)[vs[1].(int)] @@ -301,6 +338,12 @@ func (o ActionMapOutput) ToActionMapOutputWithContext(ctx context.Context) Actio return o } +func (o ActionMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Action] { + return pulumix.Output[map[string]*Action]{ + OutputState: o.OutputState, + } +} + func (o ActionMapOutput) MapIndex(k pulumi.StringInput) ActionOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Action { return vs[0].(map[string]*Action)[vs[1].(string)] diff --git a/sdk/go/zitadel/applicationApi.go b/sdk/go/zitadel/applicationApi.go index dbd6135..7a5c707 100644 --- a/sdk/go/zitadel/applicationApi.go +++ b/sdk/go/zitadel/applicationApi.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing an API application belonging to a project, with all configuration possibilities. @@ -19,31 +21,36 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewApplicationApi(ctx, "default", &zitadel.ApplicationApiArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// ProjectId: pulumi.Any(data.Zitadel_project.Default.Id), -// AuthMethodType: pulumi.String("API_AUTH_METHOD_TYPE_BASIC"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewApplicationApi(ctx, "default", &zitadel.ApplicationApiArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// ProjectId: pulumi.Any(data.Zitadel_project.Default.Id), +// AuthMethodType: pulumi.String("API_AUTH_METHOD_TYPE_BASIC"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/applicationApi:ApplicationApi imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df' +// +// $ pulumi import zitadel:index/applicationApi:ApplicationApi imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df' +// // ``` type ApplicationApi struct { pulumi.CustomResourceState @@ -72,7 +79,12 @@ func NewApplicationApi(ctx *pulumi.Context, if args.ProjectId == nil { return nil, errors.New("invalid value for required argument 'ProjectId'") } - opts = pkgResourceDefaultOpts(opts) + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientId", + "clientSecret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource ApplicationApi err := ctx.RegisterResource("zitadel:index/applicationApi:ApplicationApi", name, args, &resource, opts...) if err != nil { @@ -174,10 +186,16 @@ func (i *ApplicationApi) ToApplicationApiOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ApplicationApiOutput) } +func (i *ApplicationApi) ToOutput(ctx context.Context) pulumix.Output[*ApplicationApi] { + return pulumix.Output[*ApplicationApi]{ + OutputState: i.ToApplicationApiOutputWithContext(ctx).OutputState, + } +} + // ApplicationApiArrayInput is an input type that accepts ApplicationApiArray and ApplicationApiArrayOutput values. // You can construct a concrete instance of `ApplicationApiArrayInput` via: // -// ApplicationApiArray{ ApplicationApiArgs{...} } +// ApplicationApiArray{ ApplicationApiArgs{...} } type ApplicationApiArrayInput interface { pulumi.Input @@ -199,10 +217,16 @@ func (i ApplicationApiArray) ToApplicationApiArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ApplicationApiArrayOutput) } +func (i ApplicationApiArray) ToOutput(ctx context.Context) pulumix.Output[[]*ApplicationApi] { + return pulumix.Output[[]*ApplicationApi]{ + OutputState: i.ToApplicationApiArrayOutputWithContext(ctx).OutputState, + } +} + // ApplicationApiMapInput is an input type that accepts ApplicationApiMap and ApplicationApiMapOutput values. // You can construct a concrete instance of `ApplicationApiMapInput` via: // -// ApplicationApiMap{ "key": ApplicationApiArgs{...} } +// ApplicationApiMap{ "key": ApplicationApiArgs{...} } type ApplicationApiMapInput interface { pulumi.Input @@ -224,6 +248,12 @@ func (i ApplicationApiMap) ToApplicationApiMapOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ApplicationApiMapOutput) } +func (i ApplicationApiMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ApplicationApi] { + return pulumix.Output[map[string]*ApplicationApi]{ + OutputState: i.ToApplicationApiMapOutputWithContext(ctx).OutputState, + } +} + type ApplicationApiOutput struct{ *pulumi.OutputState } func (ApplicationApiOutput) ElementType() reflect.Type { @@ -238,6 +268,12 @@ func (o ApplicationApiOutput) ToApplicationApiOutputWithContext(ctx context.Cont return o } +func (o ApplicationApiOutput) ToOutput(ctx context.Context) pulumix.Output[*ApplicationApi] { + return pulumix.Output[*ApplicationApi]{ + OutputState: o.OutputState, + } +} + // Auth method type, supported values: API*AUTH*METHOD*TYPE*BASIC, API*AUTH*METHOD*TYPE*PRIVATE*KEY*JWT func (o ApplicationApiOutput) AuthMethodType() pulumi.StringPtrOutput { return o.ApplyT(func(v *ApplicationApi) pulumi.StringPtrOutput { return v.AuthMethodType }).(pulumi.StringPtrOutput) @@ -282,6 +318,12 @@ func (o ApplicationApiArrayOutput) ToApplicationApiArrayOutputWithContext(ctx co return o } +func (o ApplicationApiArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ApplicationApi] { + return pulumix.Output[[]*ApplicationApi]{ + OutputState: o.OutputState, + } +} + func (o ApplicationApiArrayOutput) Index(i pulumi.IntInput) ApplicationApiOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ApplicationApi { return vs[0].([]*ApplicationApi)[vs[1].(int)] @@ -302,6 +344,12 @@ func (o ApplicationApiMapOutput) ToApplicationApiMapOutputWithContext(ctx contex return o } +func (o ApplicationApiMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ApplicationApi] { + return pulumix.Output[map[string]*ApplicationApi]{ + OutputState: o.OutputState, + } +} + func (o ApplicationApiMapOutput) MapIndex(k pulumi.StringInput) ApplicationApiOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ApplicationApi { return vs[0].(map[string]*ApplicationApi)[vs[1].(string)] diff --git a/sdk/go/zitadel/applicationKey.go b/sdk/go/zitadel/applicationKey.go index d8460a1..32fd68a 100644 --- a/sdk/go/zitadel/applicationKey.go +++ b/sdk/go/zitadel/applicationKey.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing a app key @@ -19,33 +21,38 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewApplicationKey(ctx, "default", &zitadel.ApplicationKeyArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// ProjectId: pulumi.Any(data.Zitadel_project.Default.Id), -// AppId: pulumi.Any(data.Zitadel_application_api.Default.Id), -// KeyType: pulumi.String("KEY_TYPE_JSON"), -// ExpirationDate: pulumi.String("2519-04-01T08:45:00Z"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewApplicationKey(ctx, "default", &zitadel.ApplicationKeyArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// ProjectId: pulumi.Any(data.Zitadel_project.Default.Id), +// AppId: pulumi.Any(data.Zitadel_application_api.Default.Id), +// KeyType: pulumi.String("KEY_TYPE_JSON"), +// ExpirationDate: pulumi.String("2519-04-01T08:45:00Z"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``. # You can use __SEMICOLON__ to escape :, e.g. +// terraform The resource can be imported using the ID format ``. You can use __SEMICOLON__ to escape :, e.g. // // ```sh -// $ pulumi import zitadel:index/applicationKey:ApplicationKey imported "123456789012345678:123456789012345678:123456789012345678:123456789012345678:$(cat ~/Downloads/123456789012345678.json | sed -e 's/:/__SEMICOLON__/g')" +// +// $ pulumi import zitadel:index/applicationKey:ApplicationKey imported "123456789012345678:123456789012345678:123456789012345678:123456789012345678:$(cat ~/Downloads/123456789012345678.json | sed -e 's/:/__SEMICOLON__/g')" +// // ``` type ApplicationKey struct { pulumi.CustomResourceState @@ -83,7 +90,11 @@ func NewApplicationKey(ctx *pulumi.Context, if args.ProjectId == nil { return nil, errors.New("invalid value for required argument 'ProjectId'") } - opts = pkgResourceDefaultOpts(opts) + secrets := pulumi.AdditionalSecretOutputs([]string{ + "keyDetails", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource ApplicationKey err := ctx.RegisterResource("zitadel:index/applicationKey:ApplicationKey", name, args, &resource, opts...) if err != nil { @@ -189,10 +200,16 @@ func (i *ApplicationKey) ToApplicationKeyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ApplicationKeyOutput) } +func (i *ApplicationKey) ToOutput(ctx context.Context) pulumix.Output[*ApplicationKey] { + return pulumix.Output[*ApplicationKey]{ + OutputState: i.ToApplicationKeyOutputWithContext(ctx).OutputState, + } +} + // ApplicationKeyArrayInput is an input type that accepts ApplicationKeyArray and ApplicationKeyArrayOutput values. // You can construct a concrete instance of `ApplicationKeyArrayInput` via: // -// ApplicationKeyArray{ ApplicationKeyArgs{...} } +// ApplicationKeyArray{ ApplicationKeyArgs{...} } type ApplicationKeyArrayInput interface { pulumi.Input @@ -214,10 +231,16 @@ func (i ApplicationKeyArray) ToApplicationKeyArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ApplicationKeyArrayOutput) } +func (i ApplicationKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]*ApplicationKey] { + return pulumix.Output[[]*ApplicationKey]{ + OutputState: i.ToApplicationKeyArrayOutputWithContext(ctx).OutputState, + } +} + // ApplicationKeyMapInput is an input type that accepts ApplicationKeyMap and ApplicationKeyMapOutput values. // You can construct a concrete instance of `ApplicationKeyMapInput` via: // -// ApplicationKeyMap{ "key": ApplicationKeyArgs{...} } +// ApplicationKeyMap{ "key": ApplicationKeyArgs{...} } type ApplicationKeyMapInput interface { pulumi.Input @@ -239,6 +262,12 @@ func (i ApplicationKeyMap) ToApplicationKeyMapOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ApplicationKeyMapOutput) } +func (i ApplicationKeyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ApplicationKey] { + return pulumix.Output[map[string]*ApplicationKey]{ + OutputState: i.ToApplicationKeyMapOutputWithContext(ctx).OutputState, + } +} + type ApplicationKeyOutput struct{ *pulumi.OutputState } func (ApplicationKeyOutput) ElementType() reflect.Type { @@ -253,6 +282,12 @@ func (o ApplicationKeyOutput) ToApplicationKeyOutputWithContext(ctx context.Cont return o } +func (o ApplicationKeyOutput) ToOutput(ctx context.Context) pulumix.Output[*ApplicationKey] { + return pulumix.Output[*ApplicationKey]{ + OutputState: o.OutputState, + } +} + // ID of the application func (o ApplicationKeyOutput) AppId() pulumi.StringOutput { return o.ApplyT(func(v *ApplicationKey) pulumi.StringOutput { return v.AppId }).(pulumi.StringOutput) @@ -297,6 +332,12 @@ func (o ApplicationKeyArrayOutput) ToApplicationKeyArrayOutputWithContext(ctx co return o } +func (o ApplicationKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ApplicationKey] { + return pulumix.Output[[]*ApplicationKey]{ + OutputState: o.OutputState, + } +} + func (o ApplicationKeyArrayOutput) Index(i pulumi.IntInput) ApplicationKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ApplicationKey { return vs[0].([]*ApplicationKey)[vs[1].(int)] @@ -317,6 +358,12 @@ func (o ApplicationKeyMapOutput) ToApplicationKeyMapOutputWithContext(ctx contex return o } +func (o ApplicationKeyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ApplicationKey] { + return pulumix.Output[map[string]*ApplicationKey]{ + OutputState: o.OutputState, + } +} + func (o ApplicationKeyMapOutput) MapIndex(k pulumi.StringInput) ApplicationKeyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ApplicationKey { return vs[0].(map[string]*ApplicationKey)[vs[1].(string)] diff --git a/sdk/go/zitadel/applicationOidc.go b/sdk/go/zitadel/applicationOidc.go index 0224161..ea4df19 100644 --- a/sdk/go/zitadel/applicationOidc.go +++ b/sdk/go/zitadel/applicationOidc.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing an OIDC application belonging to a project, with all configuration possibilities. @@ -19,52 +21,57 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewApplicationOidc(ctx, "default", &zitadel.ApplicationOidcArgs{ -// ProjectId: pulumi.Any(data.Zitadel_project.Default.Id), -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// RedirectUris: pulumi.StringArray{ -// pulumi.String("https://localhost.com"), -// }, -// ResponseTypes: pulumi.StringArray{ -// pulumi.String("OIDC_RESPONSE_TYPE_CODE"), -// }, -// GrantTypes: pulumi.StringArray{ -// pulumi.String("OIDC_GRANT_TYPE_AUTHORIZATION_CODE"), -// }, -// PostLogoutRedirectUris: pulumi.StringArray{ -// pulumi.String("https://localhost.com"), -// }, -// AppType: pulumi.String("OIDC_APP_TYPE_WEB"), -// AuthMethodType: pulumi.String("OIDC_AUTH_METHOD_TYPE_BASIC"), -// Version: pulumi.String("OIDC_VERSION_1_0"), -// ClockSkew: pulumi.String("0s"), -// DevMode: pulumi.Bool(true), -// AccessTokenType: pulumi.String("OIDC_TOKEN_TYPE_BEARER"), -// AccessTokenRoleAssertion: pulumi.Bool(false), -// IdTokenRoleAssertion: pulumi.Bool(false), -// IdTokenUserinfoAssertion: pulumi.Bool(false), -// AdditionalOrigins: pulumi.StringArray{}, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewApplicationOidc(ctx, "default", &zitadel.ApplicationOidcArgs{ +// ProjectId: pulumi.Any(data.Zitadel_project.Default.Id), +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// RedirectUris: pulumi.StringArray{ +// pulumi.String("https://localhost.com"), +// }, +// ResponseTypes: pulumi.StringArray{ +// pulumi.String("OIDC_RESPONSE_TYPE_CODE"), +// }, +// GrantTypes: pulumi.StringArray{ +// pulumi.String("OIDC_GRANT_TYPE_AUTHORIZATION_CODE"), +// }, +// PostLogoutRedirectUris: pulumi.StringArray{ +// pulumi.String("https://localhost.com"), +// }, +// AppType: pulumi.String("OIDC_APP_TYPE_WEB"), +// AuthMethodType: pulumi.String("OIDC_AUTH_METHOD_TYPE_BASIC"), +// Version: pulumi.String("OIDC_VERSION_1_0"), +// ClockSkew: pulumi.String("0s"), +// DevMode: pulumi.Bool(true), +// AccessTokenType: pulumi.String("OIDC_TOKEN_TYPE_BEARER"), +// AccessTokenRoleAssertion: pulumi.Bool(false), +// IdTokenRoleAssertion: pulumi.Bool(false), +// IdTokenUserinfoAssertion: pulumi.Bool(false), +// AdditionalOrigins: pulumi.StringArray{}, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/applicationOidc:ApplicationOidc imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df' +// +// $ pulumi import zitadel:index/applicationOidc:ApplicationOidc imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df' +// // ``` type ApplicationOidc struct { pulumi.CustomResourceState @@ -128,7 +135,12 @@ func NewApplicationOidc(ctx *pulumi.Context, if args.ResponseTypes == nil { return nil, errors.New("invalid value for required argument 'ResponseTypes'") } - opts = pkgResourceDefaultOpts(opts) + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientId", + "clientSecret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource ApplicationOidc err := ctx.RegisterResource("zitadel:index/applicationOidc:ApplicationOidc", name, args, &resource, opts...) if err != nil { @@ -334,10 +346,16 @@ func (i *ApplicationOidc) ToApplicationOidcOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ApplicationOidcOutput) } +func (i *ApplicationOidc) ToOutput(ctx context.Context) pulumix.Output[*ApplicationOidc] { + return pulumix.Output[*ApplicationOidc]{ + OutputState: i.ToApplicationOidcOutputWithContext(ctx).OutputState, + } +} + // ApplicationOidcArrayInput is an input type that accepts ApplicationOidcArray and ApplicationOidcArrayOutput values. // You can construct a concrete instance of `ApplicationOidcArrayInput` via: // -// ApplicationOidcArray{ ApplicationOidcArgs{...} } +// ApplicationOidcArray{ ApplicationOidcArgs{...} } type ApplicationOidcArrayInput interface { pulumi.Input @@ -359,10 +377,16 @@ func (i ApplicationOidcArray) ToApplicationOidcArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ApplicationOidcArrayOutput) } +func (i ApplicationOidcArray) ToOutput(ctx context.Context) pulumix.Output[[]*ApplicationOidc] { + return pulumix.Output[[]*ApplicationOidc]{ + OutputState: i.ToApplicationOidcArrayOutputWithContext(ctx).OutputState, + } +} + // ApplicationOidcMapInput is an input type that accepts ApplicationOidcMap and ApplicationOidcMapOutput values. // You can construct a concrete instance of `ApplicationOidcMapInput` via: // -// ApplicationOidcMap{ "key": ApplicationOidcArgs{...} } +// ApplicationOidcMap{ "key": ApplicationOidcArgs{...} } type ApplicationOidcMapInput interface { pulumi.Input @@ -384,6 +408,12 @@ func (i ApplicationOidcMap) ToApplicationOidcMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ApplicationOidcMapOutput) } +func (i ApplicationOidcMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ApplicationOidc] { + return pulumix.Output[map[string]*ApplicationOidc]{ + OutputState: i.ToApplicationOidcMapOutputWithContext(ctx).OutputState, + } +} + type ApplicationOidcOutput struct{ *pulumi.OutputState } func (ApplicationOidcOutput) ElementType() reflect.Type { @@ -398,6 +428,12 @@ func (o ApplicationOidcOutput) ToApplicationOidcOutputWithContext(ctx context.Co return o } +func (o ApplicationOidcOutput) ToOutput(ctx context.Context) pulumix.Output[*ApplicationOidc] { + return pulumix.Output[*ApplicationOidc]{ + OutputState: o.OutputState, + } +} + // Access token role assertion func (o ApplicationOidcOutput) AccessTokenRoleAssertion() pulumi.BoolPtrOutput { return o.ApplyT(func(v *ApplicationOidc) pulumi.BoolPtrOutput { return v.AccessTokenRoleAssertion }).(pulumi.BoolPtrOutput) @@ -507,6 +543,12 @@ func (o ApplicationOidcArrayOutput) ToApplicationOidcArrayOutputWithContext(ctx return o } +func (o ApplicationOidcArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ApplicationOidc] { + return pulumix.Output[[]*ApplicationOidc]{ + OutputState: o.OutputState, + } +} + func (o ApplicationOidcArrayOutput) Index(i pulumi.IntInput) ApplicationOidcOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ApplicationOidc { return vs[0].([]*ApplicationOidc)[vs[1].(int)] @@ -527,6 +569,12 @@ func (o ApplicationOidcMapOutput) ToApplicationOidcMapOutputWithContext(ctx cont return o } +func (o ApplicationOidcMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ApplicationOidc] { + return pulumix.Output[map[string]*ApplicationOidc]{ + OutputState: o.OutputState, + } +} + func (o ApplicationOidcMapOutput) MapIndex(k pulumi.StringInput) ApplicationOidcOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ApplicationOidc { return vs[0].(map[string]*ApplicationOidc)[vs[1].(string)] diff --git a/sdk/go/zitadel/config/config.go b/sdk/go/zitadel/config/config.go index 84127e7..07d9779 100644 --- a/sdk/go/zitadel/config/config.go +++ b/sdk/go/zitadel/config/config.go @@ -6,8 +6,11 @@ package config import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) +var _ = internal.GetEnvOrDefault + // Domain used to connect to the ZITADEL instance func GetDomain(ctx *pulumi.Context) string { return config.Get(ctx, "zitadel:domain") diff --git a/sdk/go/zitadel/defaultDomainPolicy.go b/sdk/go/zitadel/defaultDomainPolicy.go index 7a2d1ce..67d570e 100644 --- a/sdk/go/zitadel/defaultDomainPolicy.go +++ b/sdk/go/zitadel/defaultDomainPolicy.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the default domain policy. @@ -19,31 +21,36 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewDefaultDomainPolicy(ctx, "default", &zitadel.DefaultDomainPolicyArgs{ -// SmtpSenderAddressMatchesInstanceDomain: pulumi.Bool(true), -// UserLoginMustBeDomain: pulumi.Bool(false), -// ValidateOrgDomains: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewDefaultDomainPolicy(ctx, "default", &zitadel.DefaultDomainPolicyArgs{ +// SmtpSenderAddressMatchesInstanceDomain: pulumi.Bool(true), +// UserLoginMustBeDomain: pulumi.Bool(false), +// ValidateOrgDomains: pulumi.Bool(true), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format `<>`, e.g. +// terraform The resource can be imported using the ID format `<>`, e.g. // // ```sh -// $ pulumi import zitadel:index/defaultDomainPolicy:DefaultDomainPolicy imported '' +// +// $ pulumi import zitadel:index/defaultDomainPolicy:DefaultDomainPolicy imported '' +// // ``` type DefaultDomainPolicy struct { pulumi.CustomResourceState @@ -71,7 +78,7 @@ func NewDefaultDomainPolicy(ctx *pulumi.Context, if args.ValidateOrgDomains == nil { return nil, errors.New("invalid value for required argument 'ValidateOrgDomains'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource DefaultDomainPolicy err := ctx.RegisterResource("zitadel:index/defaultDomainPolicy:DefaultDomainPolicy", name, args, &resource, opts...) if err != nil { @@ -153,10 +160,16 @@ func (i *DefaultDomainPolicy) ToDefaultDomainPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DefaultDomainPolicyOutput) } +func (i *DefaultDomainPolicy) ToOutput(ctx context.Context) pulumix.Output[*DefaultDomainPolicy] { + return pulumix.Output[*DefaultDomainPolicy]{ + OutputState: i.ToDefaultDomainPolicyOutputWithContext(ctx).OutputState, + } +} + // DefaultDomainPolicyArrayInput is an input type that accepts DefaultDomainPolicyArray and DefaultDomainPolicyArrayOutput values. // You can construct a concrete instance of `DefaultDomainPolicyArrayInput` via: // -// DefaultDomainPolicyArray{ DefaultDomainPolicyArgs{...} } +// DefaultDomainPolicyArray{ DefaultDomainPolicyArgs{...} } type DefaultDomainPolicyArrayInput interface { pulumi.Input @@ -178,10 +191,16 @@ func (i DefaultDomainPolicyArray) ToDefaultDomainPolicyArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(DefaultDomainPolicyArrayOutput) } +func (i DefaultDomainPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*DefaultDomainPolicy] { + return pulumix.Output[[]*DefaultDomainPolicy]{ + OutputState: i.ToDefaultDomainPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // DefaultDomainPolicyMapInput is an input type that accepts DefaultDomainPolicyMap and DefaultDomainPolicyMapOutput values. // You can construct a concrete instance of `DefaultDomainPolicyMapInput` via: // -// DefaultDomainPolicyMap{ "key": DefaultDomainPolicyArgs{...} } +// DefaultDomainPolicyMap{ "key": DefaultDomainPolicyArgs{...} } type DefaultDomainPolicyMapInput interface { pulumi.Input @@ -203,6 +222,12 @@ func (i DefaultDomainPolicyMap) ToDefaultDomainPolicyMapOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DefaultDomainPolicyMapOutput) } +func (i DefaultDomainPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*DefaultDomainPolicy] { + return pulumix.Output[map[string]*DefaultDomainPolicy]{ + OutputState: i.ToDefaultDomainPolicyMapOutputWithContext(ctx).OutputState, + } +} + type DefaultDomainPolicyOutput struct{ *pulumi.OutputState } func (DefaultDomainPolicyOutput) ElementType() reflect.Type { @@ -217,6 +242,12 @@ func (o DefaultDomainPolicyOutput) ToDefaultDomainPolicyOutputWithContext(ctx co return o } +func (o DefaultDomainPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DefaultDomainPolicy] { + return pulumix.Output[*DefaultDomainPolicy]{ + OutputState: o.OutputState, + } +} + func (o DefaultDomainPolicyOutput) SmtpSenderAddressMatchesInstanceDomain() pulumi.BoolOutput { return o.ApplyT(func(v *DefaultDomainPolicy) pulumi.BoolOutput { return v.SmtpSenderAddressMatchesInstanceDomain }).(pulumi.BoolOutput) } @@ -245,6 +276,12 @@ func (o DefaultDomainPolicyArrayOutput) ToDefaultDomainPolicyArrayOutputWithCont return o } +func (o DefaultDomainPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*DefaultDomainPolicy] { + return pulumix.Output[[]*DefaultDomainPolicy]{ + OutputState: o.OutputState, + } +} + func (o DefaultDomainPolicyArrayOutput) Index(i pulumi.IntInput) DefaultDomainPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DefaultDomainPolicy { return vs[0].([]*DefaultDomainPolicy)[vs[1].(int)] @@ -265,6 +302,12 @@ func (o DefaultDomainPolicyMapOutput) ToDefaultDomainPolicyMapOutputWithContext( return o } +func (o DefaultDomainPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*DefaultDomainPolicy] { + return pulumix.Output[map[string]*DefaultDomainPolicy]{ + OutputState: o.OutputState, + } +} + func (o DefaultDomainPolicyMapOutput) MapIndex(k pulumi.StringInput) DefaultDomainPolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DefaultDomainPolicy { return vs[0].(map[string]*DefaultDomainPolicy)[vs[1].(string)] diff --git a/sdk/go/zitadel/defaultLabelPolicy.go b/sdk/go/zitadel/defaultLabelPolicy.go index adf8af5..753a6de 100644 --- a/sdk/go/zitadel/defaultLabelPolicy.go +++ b/sdk/go/zitadel/defaultLabelPolicy.go @@ -7,18 +7,22 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the default label policy. // // ## Import // -// terraform # The resource can be imported using the ID format `<>`, e.g. +// terraform The resource can be imported using the ID format `<>`, e.g. // // ```sh -// $ pulumi import zitadel:index/defaultLabelPolicy:DefaultLabelPolicy imported '' +// +// $ pulumi import zitadel:index/defaultLabelPolicy:DefaultLabelPolicy imported '' +// // ``` type DefaultLabelPolicy struct { pulumi.CustomResourceState @@ -99,7 +103,7 @@ func NewDefaultLabelPolicy(ctx *pulumi.Context, if args.WarnColorDark == nil { return nil, errors.New("invalid value for required argument 'WarnColorDark'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource DefaultLabelPolicy err := ctx.RegisterResource("zitadel:index/defaultLabelPolicy:DefaultLabelPolicy", name, args, &resource, opts...) if err != nil { @@ -299,10 +303,16 @@ func (i *DefaultLabelPolicy) ToDefaultLabelPolicyOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(DefaultLabelPolicyOutput) } +func (i *DefaultLabelPolicy) ToOutput(ctx context.Context) pulumix.Output[*DefaultLabelPolicy] { + return pulumix.Output[*DefaultLabelPolicy]{ + OutputState: i.ToDefaultLabelPolicyOutputWithContext(ctx).OutputState, + } +} + // DefaultLabelPolicyArrayInput is an input type that accepts DefaultLabelPolicyArray and DefaultLabelPolicyArrayOutput values. // You can construct a concrete instance of `DefaultLabelPolicyArrayInput` via: // -// DefaultLabelPolicyArray{ DefaultLabelPolicyArgs{...} } +// DefaultLabelPolicyArray{ DefaultLabelPolicyArgs{...} } type DefaultLabelPolicyArrayInput interface { pulumi.Input @@ -324,10 +334,16 @@ func (i DefaultLabelPolicyArray) ToDefaultLabelPolicyArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DefaultLabelPolicyArrayOutput) } +func (i DefaultLabelPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*DefaultLabelPolicy] { + return pulumix.Output[[]*DefaultLabelPolicy]{ + OutputState: i.ToDefaultLabelPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // DefaultLabelPolicyMapInput is an input type that accepts DefaultLabelPolicyMap and DefaultLabelPolicyMapOutput values. // You can construct a concrete instance of `DefaultLabelPolicyMapInput` via: // -// DefaultLabelPolicyMap{ "key": DefaultLabelPolicyArgs{...} } +// DefaultLabelPolicyMap{ "key": DefaultLabelPolicyArgs{...} } type DefaultLabelPolicyMapInput interface { pulumi.Input @@ -349,6 +365,12 @@ func (i DefaultLabelPolicyMap) ToDefaultLabelPolicyMapOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(DefaultLabelPolicyMapOutput) } +func (i DefaultLabelPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*DefaultLabelPolicy] { + return pulumix.Output[map[string]*DefaultLabelPolicy]{ + OutputState: i.ToDefaultLabelPolicyMapOutputWithContext(ctx).OutputState, + } +} + type DefaultLabelPolicyOutput struct{ *pulumi.OutputState } func (DefaultLabelPolicyOutput) ElementType() reflect.Type { @@ -363,6 +385,12 @@ func (o DefaultLabelPolicyOutput) ToDefaultLabelPolicyOutputWithContext(ctx cont return o } +func (o DefaultLabelPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DefaultLabelPolicy] { + return pulumix.Output[*DefaultLabelPolicy]{ + OutputState: o.OutputState, + } +} + // hex value for background color func (o DefaultLabelPolicyOutput) BackgroundColor() pulumi.StringOutput { return o.ApplyT(func(v *DefaultLabelPolicy) pulumi.StringOutput { return v.BackgroundColor }).(pulumi.StringOutput) @@ -492,6 +520,12 @@ func (o DefaultLabelPolicyArrayOutput) ToDefaultLabelPolicyArrayOutputWithContex return o } +func (o DefaultLabelPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*DefaultLabelPolicy] { + return pulumix.Output[[]*DefaultLabelPolicy]{ + OutputState: o.OutputState, + } +} + func (o DefaultLabelPolicyArrayOutput) Index(i pulumi.IntInput) DefaultLabelPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DefaultLabelPolicy { return vs[0].([]*DefaultLabelPolicy)[vs[1].(int)] @@ -512,6 +546,12 @@ func (o DefaultLabelPolicyMapOutput) ToDefaultLabelPolicyMapOutputWithContext(ct return o } +func (o DefaultLabelPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*DefaultLabelPolicy] { + return pulumix.Output[map[string]*DefaultLabelPolicy]{ + OutputState: o.OutputState, + } +} + func (o DefaultLabelPolicyMapOutput) MapIndex(k pulumi.StringInput) DefaultLabelPolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DefaultLabelPolicy { return vs[0].(map[string]*DefaultLabelPolicy)[vs[1].(string)] diff --git a/sdk/go/zitadel/defaultLockoutPolicy.go b/sdk/go/zitadel/defaultLockoutPolicy.go index 32af0cf..be0720e 100644 --- a/sdk/go/zitadel/defaultLockoutPolicy.go +++ b/sdk/go/zitadel/defaultLockoutPolicy.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the default lockout policy. @@ -19,29 +21,34 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewDefaultLockoutPolicy(ctx, "default", &zitadel.DefaultLockoutPolicyArgs{ -// MaxPasswordAttempts: pulumi.Int(5), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewDefaultLockoutPolicy(ctx, "default", &zitadel.DefaultLockoutPolicyArgs{ +// MaxPasswordAttempts: pulumi.Int(5), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format `<>`, e.g. +// terraform The resource can be imported using the ID format `<>`, e.g. // // ```sh -// $ pulumi import zitadel:index/defaultLockoutPolicy:DefaultLockoutPolicy imported '' +// +// $ pulumi import zitadel:index/defaultLockoutPolicy:DefaultLockoutPolicy imported '' +// // ``` type DefaultLockoutPolicy struct { pulumi.CustomResourceState @@ -60,7 +67,7 @@ func NewDefaultLockoutPolicy(ctx *pulumi.Context, if args.MaxPasswordAttempts == nil { return nil, errors.New("invalid value for required argument 'MaxPasswordAttempts'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource DefaultLockoutPolicy err := ctx.RegisterResource("zitadel:index/defaultLockoutPolicy:DefaultLockoutPolicy", name, args, &resource, opts...) if err != nil { @@ -130,10 +137,16 @@ func (i *DefaultLockoutPolicy) ToDefaultLockoutPolicyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(DefaultLockoutPolicyOutput) } +func (i *DefaultLockoutPolicy) ToOutput(ctx context.Context) pulumix.Output[*DefaultLockoutPolicy] { + return pulumix.Output[*DefaultLockoutPolicy]{ + OutputState: i.ToDefaultLockoutPolicyOutputWithContext(ctx).OutputState, + } +} + // DefaultLockoutPolicyArrayInput is an input type that accepts DefaultLockoutPolicyArray and DefaultLockoutPolicyArrayOutput values. // You can construct a concrete instance of `DefaultLockoutPolicyArrayInput` via: // -// DefaultLockoutPolicyArray{ DefaultLockoutPolicyArgs{...} } +// DefaultLockoutPolicyArray{ DefaultLockoutPolicyArgs{...} } type DefaultLockoutPolicyArrayInput interface { pulumi.Input @@ -155,10 +168,16 @@ func (i DefaultLockoutPolicyArray) ToDefaultLockoutPolicyArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(DefaultLockoutPolicyArrayOutput) } +func (i DefaultLockoutPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*DefaultLockoutPolicy] { + return pulumix.Output[[]*DefaultLockoutPolicy]{ + OutputState: i.ToDefaultLockoutPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // DefaultLockoutPolicyMapInput is an input type that accepts DefaultLockoutPolicyMap and DefaultLockoutPolicyMapOutput values. // You can construct a concrete instance of `DefaultLockoutPolicyMapInput` via: // -// DefaultLockoutPolicyMap{ "key": DefaultLockoutPolicyArgs{...} } +// DefaultLockoutPolicyMap{ "key": DefaultLockoutPolicyArgs{...} } type DefaultLockoutPolicyMapInput interface { pulumi.Input @@ -180,6 +199,12 @@ func (i DefaultLockoutPolicyMap) ToDefaultLockoutPolicyMapOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DefaultLockoutPolicyMapOutput) } +func (i DefaultLockoutPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*DefaultLockoutPolicy] { + return pulumix.Output[map[string]*DefaultLockoutPolicy]{ + OutputState: i.ToDefaultLockoutPolicyMapOutputWithContext(ctx).OutputState, + } +} + type DefaultLockoutPolicyOutput struct{ *pulumi.OutputState } func (DefaultLockoutPolicyOutput) ElementType() reflect.Type { @@ -194,6 +219,12 @@ func (o DefaultLockoutPolicyOutput) ToDefaultLockoutPolicyOutputWithContext(ctx return o } +func (o DefaultLockoutPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DefaultLockoutPolicy] { + return pulumix.Output[*DefaultLockoutPolicy]{ + OutputState: o.OutputState, + } +} + // Maximum password check attempts before the account gets locked. Attempts are reset as soon as the password is entered correctly or the password is reset. func (o DefaultLockoutPolicyOutput) MaxPasswordAttempts() pulumi.IntOutput { return o.ApplyT(func(v *DefaultLockoutPolicy) pulumi.IntOutput { return v.MaxPasswordAttempts }).(pulumi.IntOutput) @@ -213,6 +244,12 @@ func (o DefaultLockoutPolicyArrayOutput) ToDefaultLockoutPolicyArrayOutputWithCo return o } +func (o DefaultLockoutPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*DefaultLockoutPolicy] { + return pulumix.Output[[]*DefaultLockoutPolicy]{ + OutputState: o.OutputState, + } +} + func (o DefaultLockoutPolicyArrayOutput) Index(i pulumi.IntInput) DefaultLockoutPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DefaultLockoutPolicy { return vs[0].([]*DefaultLockoutPolicy)[vs[1].(int)] @@ -233,6 +270,12 @@ func (o DefaultLockoutPolicyMapOutput) ToDefaultLockoutPolicyMapOutputWithContex return o } +func (o DefaultLockoutPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*DefaultLockoutPolicy] { + return pulumix.Output[map[string]*DefaultLockoutPolicy]{ + OutputState: o.OutputState, + } +} + func (o DefaultLockoutPolicyMapOutput) MapIndex(k pulumi.StringInput) DefaultLockoutPolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DefaultLockoutPolicy { return vs[0].(map[string]*DefaultLockoutPolicy)[vs[1].(string)] diff --git a/sdk/go/zitadel/defaultLoginPolicy.go b/sdk/go/zitadel/defaultLoginPolicy.go index 23d65e6..d4e77d7 100644 --- a/sdk/go/zitadel/defaultLoginPolicy.go +++ b/sdk/go/zitadel/defaultLoginPolicy.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the default login policy. @@ -19,56 +21,61 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewDefaultLoginPolicy(ctx, "default", &zitadel.DefaultLoginPolicyArgs{ -// UserLogin: pulumi.Bool(true), -// AllowRegister: pulumi.Bool(true), -// AllowExternalIdp: pulumi.Bool(true), -// ForceMfa: pulumi.Bool(false), -// ForceMfaLocalOnly: pulumi.Bool(false), -// PasswordlessType: pulumi.String("PASSWORDLESS_TYPE_ALLOWED"), -// HidePasswordReset: pulumi.Bool(false), -// PasswordCheckLifetime: pulumi.String("240h0m0s"), -// ExternalLoginCheckLifetime: pulumi.String("240h0m0s"), -// MultiFactorCheckLifetime: pulumi.String("24h0m0s"), -// MfaInitSkipLifetime: pulumi.String("720h0m0s"), -// SecondFactorCheckLifetime: pulumi.String("24h0m0s"), -// IgnoreUnknownUsernames: pulumi.Bool(true), -// DefaultRedirectUri: pulumi.String("localhost:8080"), -// SecondFactors: pulumi.StringArray{ -// pulumi.String("SECOND_FACTOR_TYPE_OTP"), -// pulumi.String("SECOND_FACTOR_TYPE_U2F"), -// }, -// MultiFactors: pulumi.StringArray{ -// pulumi.String("MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION"), -// }, -// Idps: pulumi.StringArray{ -// pulumi.Any(data.Zitadel_idp_google.Default.Id), -// pulumi.Any(data.Zitadel_idp_azure_ad.Default.Id), -// }, -// AllowDomainDiscovery: pulumi.Bool(true), -// DisableLoginWithEmail: pulumi.Bool(true), -// DisableLoginWithPhone: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewDefaultLoginPolicy(ctx, "default", &zitadel.DefaultLoginPolicyArgs{ +// UserLogin: pulumi.Bool(true), +// AllowRegister: pulumi.Bool(true), +// AllowExternalIdp: pulumi.Bool(true), +// ForceMfa: pulumi.Bool(false), +// ForceMfaLocalOnly: pulumi.Bool(false), +// PasswordlessType: pulumi.String("PASSWORDLESS_TYPE_ALLOWED"), +// HidePasswordReset: pulumi.Bool(false), +// PasswordCheckLifetime: pulumi.String("240h0m0s"), +// ExternalLoginCheckLifetime: pulumi.String("240h0m0s"), +// MultiFactorCheckLifetime: pulumi.String("24h0m0s"), +// MfaInitSkipLifetime: pulumi.String("720h0m0s"), +// SecondFactorCheckLifetime: pulumi.String("24h0m0s"), +// IgnoreUnknownUsernames: pulumi.Bool(true), +// DefaultRedirectUri: pulumi.String("localhost:8080"), +// SecondFactors: pulumi.StringArray{ +// pulumi.String("SECOND_FACTOR_TYPE_OTP"), +// pulumi.String("SECOND_FACTOR_TYPE_U2F"), +// }, +// MultiFactors: pulumi.StringArray{ +// pulumi.String("MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION"), +// }, +// Idps: pulumi.StringArray{ +// data.Zitadel_idp_google.Default.Id, +// data.Zitadel_idp_azure_ad.Default.Id, +// }, +// AllowDomainDiscovery: pulumi.Bool(true), +// DisableLoginWithEmail: pulumi.Bool(true), +// DisableLoginWithPhone: pulumi.Bool(true), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format `<>`, e.g. +// terraform The resource can be imported using the ID format `<>`, e.g. // // ```sh -// $ pulumi import zitadel:index/defaultLoginPolicy:DefaultLoginPolicy imported '' +// +// $ pulumi import zitadel:index/defaultLoginPolicy:DefaultLoginPolicy imported '' +// // ``` type DefaultLoginPolicy struct { pulumi.CustomResourceState @@ -159,7 +166,7 @@ func NewDefaultLoginPolicy(ctx *pulumi.Context, if args.UserLogin == nil { return nil, errors.New("invalid value for required argument 'UserLogin'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource DefaultLoginPolicy err := ctx.RegisterResource("zitadel:index/defaultLoginPolicy:DefaultLoginPolicy", name, args, &resource, opts...) if err != nil { @@ -361,10 +368,16 @@ func (i *DefaultLoginPolicy) ToDefaultLoginPolicyOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(DefaultLoginPolicyOutput) } +func (i *DefaultLoginPolicy) ToOutput(ctx context.Context) pulumix.Output[*DefaultLoginPolicy] { + return pulumix.Output[*DefaultLoginPolicy]{ + OutputState: i.ToDefaultLoginPolicyOutputWithContext(ctx).OutputState, + } +} + // DefaultLoginPolicyArrayInput is an input type that accepts DefaultLoginPolicyArray and DefaultLoginPolicyArrayOutput values. // You can construct a concrete instance of `DefaultLoginPolicyArrayInput` via: // -// DefaultLoginPolicyArray{ DefaultLoginPolicyArgs{...} } +// DefaultLoginPolicyArray{ DefaultLoginPolicyArgs{...} } type DefaultLoginPolicyArrayInput interface { pulumi.Input @@ -386,10 +399,16 @@ func (i DefaultLoginPolicyArray) ToDefaultLoginPolicyArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DefaultLoginPolicyArrayOutput) } +func (i DefaultLoginPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*DefaultLoginPolicy] { + return pulumix.Output[[]*DefaultLoginPolicy]{ + OutputState: i.ToDefaultLoginPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // DefaultLoginPolicyMapInput is an input type that accepts DefaultLoginPolicyMap and DefaultLoginPolicyMapOutput values. // You can construct a concrete instance of `DefaultLoginPolicyMapInput` via: // -// DefaultLoginPolicyMap{ "key": DefaultLoginPolicyArgs{...} } +// DefaultLoginPolicyMap{ "key": DefaultLoginPolicyArgs{...} } type DefaultLoginPolicyMapInput interface { pulumi.Input @@ -411,6 +430,12 @@ func (i DefaultLoginPolicyMap) ToDefaultLoginPolicyMapOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(DefaultLoginPolicyMapOutput) } +func (i DefaultLoginPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*DefaultLoginPolicy] { + return pulumix.Output[map[string]*DefaultLoginPolicy]{ + OutputState: i.ToDefaultLoginPolicyMapOutputWithContext(ctx).OutputState, + } +} + type DefaultLoginPolicyOutput struct{ *pulumi.OutputState } func (DefaultLoginPolicyOutput) ElementType() reflect.Type { @@ -425,6 +450,12 @@ func (o DefaultLoginPolicyOutput) ToDefaultLoginPolicyOutputWithContext(ctx cont return o } +func (o DefaultLoginPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DefaultLoginPolicy] { + return pulumix.Output[*DefaultLoginPolicy]{ + OutputState: o.OutputState, + } +} + // if set to true, the suffix (@domain.com) of an unknown username input on the login screen will be matched against the org domains and will redirect to the registration of that organisation on success. func (o DefaultLoginPolicyOutput) AllowDomainDiscovery() pulumi.BoolPtrOutput { return o.ApplyT(func(v *DefaultLoginPolicy) pulumi.BoolPtrOutput { return v.AllowDomainDiscovery }).(pulumi.BoolPtrOutput) @@ -534,6 +565,12 @@ func (o DefaultLoginPolicyArrayOutput) ToDefaultLoginPolicyArrayOutputWithContex return o } +func (o DefaultLoginPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*DefaultLoginPolicy] { + return pulumix.Output[[]*DefaultLoginPolicy]{ + OutputState: o.OutputState, + } +} + func (o DefaultLoginPolicyArrayOutput) Index(i pulumi.IntInput) DefaultLoginPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DefaultLoginPolicy { return vs[0].([]*DefaultLoginPolicy)[vs[1].(int)] @@ -554,6 +591,12 @@ func (o DefaultLoginPolicyMapOutput) ToDefaultLoginPolicyMapOutputWithContext(ct return o } +func (o DefaultLoginPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*DefaultLoginPolicy] { + return pulumix.Output[map[string]*DefaultLoginPolicy]{ + OutputState: o.OutputState, + } +} + func (o DefaultLoginPolicyMapOutput) MapIndex(k pulumi.StringInput) DefaultLoginPolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DefaultLoginPolicy { return vs[0].(map[string]*DefaultLoginPolicy)[vs[1].(string)] diff --git a/sdk/go/zitadel/defaultNotificationPolicy.go b/sdk/go/zitadel/defaultNotificationPolicy.go index 7306fb7..a313949 100644 --- a/sdk/go/zitadel/defaultNotificationPolicy.go +++ b/sdk/go/zitadel/defaultNotificationPolicy.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the default notification policy. @@ -19,29 +21,34 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewDefaultNotificationPolicy(ctx, "default", &zitadel.DefaultNotificationPolicyArgs{ -// PasswordChange: pulumi.Bool(false), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewDefaultNotificationPolicy(ctx, "default", &zitadel.DefaultNotificationPolicyArgs{ +// PasswordChange: pulumi.Bool(false), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format `<>`, e.g. +// terraform The resource can be imported using the ID format `<>`, e.g. // // ```sh -// $ pulumi import zitadel:index/defaultNotificationPolicy:DefaultNotificationPolicy imported '' +// +// $ pulumi import zitadel:index/defaultNotificationPolicy:DefaultNotificationPolicy imported '' +// // ``` type DefaultNotificationPolicy struct { pulumi.CustomResourceState @@ -60,7 +67,7 @@ func NewDefaultNotificationPolicy(ctx *pulumi.Context, if args.PasswordChange == nil { return nil, errors.New("invalid value for required argument 'PasswordChange'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource DefaultNotificationPolicy err := ctx.RegisterResource("zitadel:index/defaultNotificationPolicy:DefaultNotificationPolicy", name, args, &resource, opts...) if err != nil { @@ -130,10 +137,16 @@ func (i *DefaultNotificationPolicy) ToDefaultNotificationPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(DefaultNotificationPolicyOutput) } +func (i *DefaultNotificationPolicy) ToOutput(ctx context.Context) pulumix.Output[*DefaultNotificationPolicy] { + return pulumix.Output[*DefaultNotificationPolicy]{ + OutputState: i.ToDefaultNotificationPolicyOutputWithContext(ctx).OutputState, + } +} + // DefaultNotificationPolicyArrayInput is an input type that accepts DefaultNotificationPolicyArray and DefaultNotificationPolicyArrayOutput values. // You can construct a concrete instance of `DefaultNotificationPolicyArrayInput` via: // -// DefaultNotificationPolicyArray{ DefaultNotificationPolicyArgs{...} } +// DefaultNotificationPolicyArray{ DefaultNotificationPolicyArgs{...} } type DefaultNotificationPolicyArrayInput interface { pulumi.Input @@ -155,10 +168,16 @@ func (i DefaultNotificationPolicyArray) ToDefaultNotificationPolicyArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(DefaultNotificationPolicyArrayOutput) } +func (i DefaultNotificationPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*DefaultNotificationPolicy] { + return pulumix.Output[[]*DefaultNotificationPolicy]{ + OutputState: i.ToDefaultNotificationPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // DefaultNotificationPolicyMapInput is an input type that accepts DefaultNotificationPolicyMap and DefaultNotificationPolicyMapOutput values. // You can construct a concrete instance of `DefaultNotificationPolicyMapInput` via: // -// DefaultNotificationPolicyMap{ "key": DefaultNotificationPolicyArgs{...} } +// DefaultNotificationPolicyMap{ "key": DefaultNotificationPolicyArgs{...} } type DefaultNotificationPolicyMapInput interface { pulumi.Input @@ -180,6 +199,12 @@ func (i DefaultNotificationPolicyMap) ToDefaultNotificationPolicyMapOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(DefaultNotificationPolicyMapOutput) } +func (i DefaultNotificationPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*DefaultNotificationPolicy] { + return pulumix.Output[map[string]*DefaultNotificationPolicy]{ + OutputState: i.ToDefaultNotificationPolicyMapOutputWithContext(ctx).OutputState, + } +} + type DefaultNotificationPolicyOutput struct{ *pulumi.OutputState } func (DefaultNotificationPolicyOutput) ElementType() reflect.Type { @@ -194,6 +219,12 @@ func (o DefaultNotificationPolicyOutput) ToDefaultNotificationPolicyOutputWithCo return o } +func (o DefaultNotificationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DefaultNotificationPolicy] { + return pulumix.Output[*DefaultNotificationPolicy]{ + OutputState: o.OutputState, + } +} + // Send notification if a user changes his password func (o DefaultNotificationPolicyOutput) PasswordChange() pulumi.BoolOutput { return o.ApplyT(func(v *DefaultNotificationPolicy) pulumi.BoolOutput { return v.PasswordChange }).(pulumi.BoolOutput) @@ -213,6 +244,12 @@ func (o DefaultNotificationPolicyArrayOutput) ToDefaultNotificationPolicyArrayOu return o } +func (o DefaultNotificationPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*DefaultNotificationPolicy] { + return pulumix.Output[[]*DefaultNotificationPolicy]{ + OutputState: o.OutputState, + } +} + func (o DefaultNotificationPolicyArrayOutput) Index(i pulumi.IntInput) DefaultNotificationPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DefaultNotificationPolicy { return vs[0].([]*DefaultNotificationPolicy)[vs[1].(int)] @@ -233,6 +270,12 @@ func (o DefaultNotificationPolicyMapOutput) ToDefaultNotificationPolicyMapOutput return o } +func (o DefaultNotificationPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*DefaultNotificationPolicy] { + return pulumix.Output[map[string]*DefaultNotificationPolicy]{ + OutputState: o.OutputState, + } +} + func (o DefaultNotificationPolicyMapOutput) MapIndex(k pulumi.StringInput) DefaultNotificationPolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DefaultNotificationPolicy { return vs[0].(map[string]*DefaultNotificationPolicy)[vs[1].(string)] diff --git a/sdk/go/zitadel/defaultOidcSettings.go b/sdk/go/zitadel/defaultOidcSettings.go new file mode 100644 index 0000000..94be1eb --- /dev/null +++ b/sdk/go/zitadel/defaultOidcSettings.go @@ -0,0 +1,339 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package zitadel + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" +) + +// Resource representing the default oidc settings. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewDefaultOidcSettings(ctx, "default", &zitadel.DefaultOidcSettingsArgs{ +// AccessTokenLifetime: pulumi.String("12h0m0s"), +// IdTokenLifetime: pulumi.String("12h0m0s"), +// RefreshTokenExpiration: pulumi.String("720h0m0s"), +// RefreshTokenIdleExpiration: pulumi.String("2160h0m0s"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +type DefaultOidcSettings struct { + pulumi.CustomResourceState + + // lifetime duration of access tokens + AccessTokenLifetime pulumi.StringOutput `pulumi:"accessTokenLifetime"` + // lifetime duration of id tokens + IdTokenLifetime pulumi.StringOutput `pulumi:"idTokenLifetime"` + // expiration duration of refresh tokens + RefreshTokenExpiration pulumi.StringOutput `pulumi:"refreshTokenExpiration"` + // expiration duration of idle refresh tokens + RefreshTokenIdleExpiration pulumi.StringOutput `pulumi:"refreshTokenIdleExpiration"` +} + +// NewDefaultOidcSettings registers a new resource with the given unique name, arguments, and options. +func NewDefaultOidcSettings(ctx *pulumi.Context, + name string, args *DefaultOidcSettingsArgs, opts ...pulumi.ResourceOption) (*DefaultOidcSettings, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.AccessTokenLifetime == nil { + return nil, errors.New("invalid value for required argument 'AccessTokenLifetime'") + } + if args.IdTokenLifetime == nil { + return nil, errors.New("invalid value for required argument 'IdTokenLifetime'") + } + if args.RefreshTokenExpiration == nil { + return nil, errors.New("invalid value for required argument 'RefreshTokenExpiration'") + } + if args.RefreshTokenIdleExpiration == nil { + return nil, errors.New("invalid value for required argument 'RefreshTokenIdleExpiration'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource DefaultOidcSettings + err := ctx.RegisterResource("zitadel:index/defaultOidcSettings:DefaultOidcSettings", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDefaultOidcSettings gets an existing DefaultOidcSettings resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDefaultOidcSettings(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DefaultOidcSettingsState, opts ...pulumi.ResourceOption) (*DefaultOidcSettings, error) { + var resource DefaultOidcSettings + err := ctx.ReadResource("zitadel:index/defaultOidcSettings:DefaultOidcSettings", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DefaultOidcSettings resources. +type defaultOidcSettingsState struct { + // lifetime duration of access tokens + AccessTokenLifetime *string `pulumi:"accessTokenLifetime"` + // lifetime duration of id tokens + IdTokenLifetime *string `pulumi:"idTokenLifetime"` + // expiration duration of refresh tokens + RefreshTokenExpiration *string `pulumi:"refreshTokenExpiration"` + // expiration duration of idle refresh tokens + RefreshTokenIdleExpiration *string `pulumi:"refreshTokenIdleExpiration"` +} + +type DefaultOidcSettingsState struct { + // lifetime duration of access tokens + AccessTokenLifetime pulumi.StringPtrInput + // lifetime duration of id tokens + IdTokenLifetime pulumi.StringPtrInput + // expiration duration of refresh tokens + RefreshTokenExpiration pulumi.StringPtrInput + // expiration duration of idle refresh tokens + RefreshTokenIdleExpiration pulumi.StringPtrInput +} + +func (DefaultOidcSettingsState) ElementType() reflect.Type { + return reflect.TypeOf((*defaultOidcSettingsState)(nil)).Elem() +} + +type defaultOidcSettingsArgs struct { + // lifetime duration of access tokens + AccessTokenLifetime string `pulumi:"accessTokenLifetime"` + // lifetime duration of id tokens + IdTokenLifetime string `pulumi:"idTokenLifetime"` + // expiration duration of refresh tokens + RefreshTokenExpiration string `pulumi:"refreshTokenExpiration"` + // expiration duration of idle refresh tokens + RefreshTokenIdleExpiration string `pulumi:"refreshTokenIdleExpiration"` +} + +// The set of arguments for constructing a DefaultOidcSettings resource. +type DefaultOidcSettingsArgs struct { + // lifetime duration of access tokens + AccessTokenLifetime pulumi.StringInput + // lifetime duration of id tokens + IdTokenLifetime pulumi.StringInput + // expiration duration of refresh tokens + RefreshTokenExpiration pulumi.StringInput + // expiration duration of idle refresh tokens + RefreshTokenIdleExpiration pulumi.StringInput +} + +func (DefaultOidcSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*defaultOidcSettingsArgs)(nil)).Elem() +} + +type DefaultOidcSettingsInput interface { + pulumi.Input + + ToDefaultOidcSettingsOutput() DefaultOidcSettingsOutput + ToDefaultOidcSettingsOutputWithContext(ctx context.Context) DefaultOidcSettingsOutput +} + +func (*DefaultOidcSettings) ElementType() reflect.Type { + return reflect.TypeOf((**DefaultOidcSettings)(nil)).Elem() +} + +func (i *DefaultOidcSettings) ToDefaultOidcSettingsOutput() DefaultOidcSettingsOutput { + return i.ToDefaultOidcSettingsOutputWithContext(context.Background()) +} + +func (i *DefaultOidcSettings) ToDefaultOidcSettingsOutputWithContext(ctx context.Context) DefaultOidcSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(DefaultOidcSettingsOutput) +} + +func (i *DefaultOidcSettings) ToOutput(ctx context.Context) pulumix.Output[*DefaultOidcSettings] { + return pulumix.Output[*DefaultOidcSettings]{ + OutputState: i.ToDefaultOidcSettingsOutputWithContext(ctx).OutputState, + } +} + +// DefaultOidcSettingsArrayInput is an input type that accepts DefaultOidcSettingsArray and DefaultOidcSettingsArrayOutput values. +// You can construct a concrete instance of `DefaultOidcSettingsArrayInput` via: +// +// DefaultOidcSettingsArray{ DefaultOidcSettingsArgs{...} } +type DefaultOidcSettingsArrayInput interface { + pulumi.Input + + ToDefaultOidcSettingsArrayOutput() DefaultOidcSettingsArrayOutput + ToDefaultOidcSettingsArrayOutputWithContext(context.Context) DefaultOidcSettingsArrayOutput +} + +type DefaultOidcSettingsArray []DefaultOidcSettingsInput + +func (DefaultOidcSettingsArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*DefaultOidcSettings)(nil)).Elem() +} + +func (i DefaultOidcSettingsArray) ToDefaultOidcSettingsArrayOutput() DefaultOidcSettingsArrayOutput { + return i.ToDefaultOidcSettingsArrayOutputWithContext(context.Background()) +} + +func (i DefaultOidcSettingsArray) ToDefaultOidcSettingsArrayOutputWithContext(ctx context.Context) DefaultOidcSettingsArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DefaultOidcSettingsArrayOutput) +} + +func (i DefaultOidcSettingsArray) ToOutput(ctx context.Context) pulumix.Output[[]*DefaultOidcSettings] { + return pulumix.Output[[]*DefaultOidcSettings]{ + OutputState: i.ToDefaultOidcSettingsArrayOutputWithContext(ctx).OutputState, + } +} + +// DefaultOidcSettingsMapInput is an input type that accepts DefaultOidcSettingsMap and DefaultOidcSettingsMapOutput values. +// You can construct a concrete instance of `DefaultOidcSettingsMapInput` via: +// +// DefaultOidcSettingsMap{ "key": DefaultOidcSettingsArgs{...} } +type DefaultOidcSettingsMapInput interface { + pulumi.Input + + ToDefaultOidcSettingsMapOutput() DefaultOidcSettingsMapOutput + ToDefaultOidcSettingsMapOutputWithContext(context.Context) DefaultOidcSettingsMapOutput +} + +type DefaultOidcSettingsMap map[string]DefaultOidcSettingsInput + +func (DefaultOidcSettingsMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*DefaultOidcSettings)(nil)).Elem() +} + +func (i DefaultOidcSettingsMap) ToDefaultOidcSettingsMapOutput() DefaultOidcSettingsMapOutput { + return i.ToDefaultOidcSettingsMapOutputWithContext(context.Background()) +} + +func (i DefaultOidcSettingsMap) ToDefaultOidcSettingsMapOutputWithContext(ctx context.Context) DefaultOidcSettingsMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(DefaultOidcSettingsMapOutput) +} + +func (i DefaultOidcSettingsMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*DefaultOidcSettings] { + return pulumix.Output[map[string]*DefaultOidcSettings]{ + OutputState: i.ToDefaultOidcSettingsMapOutputWithContext(ctx).OutputState, + } +} + +type DefaultOidcSettingsOutput struct{ *pulumi.OutputState } + +func (DefaultOidcSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DefaultOidcSettings)(nil)).Elem() +} + +func (o DefaultOidcSettingsOutput) ToDefaultOidcSettingsOutput() DefaultOidcSettingsOutput { + return o +} + +func (o DefaultOidcSettingsOutput) ToDefaultOidcSettingsOutputWithContext(ctx context.Context) DefaultOidcSettingsOutput { + return o +} + +func (o DefaultOidcSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[*DefaultOidcSettings] { + return pulumix.Output[*DefaultOidcSettings]{ + OutputState: o.OutputState, + } +} + +// lifetime duration of access tokens +func (o DefaultOidcSettingsOutput) AccessTokenLifetime() pulumi.StringOutput { + return o.ApplyT(func(v *DefaultOidcSettings) pulumi.StringOutput { return v.AccessTokenLifetime }).(pulumi.StringOutput) +} + +// lifetime duration of id tokens +func (o DefaultOidcSettingsOutput) IdTokenLifetime() pulumi.StringOutput { + return o.ApplyT(func(v *DefaultOidcSettings) pulumi.StringOutput { return v.IdTokenLifetime }).(pulumi.StringOutput) +} + +// expiration duration of refresh tokens +func (o DefaultOidcSettingsOutput) RefreshTokenExpiration() pulumi.StringOutput { + return o.ApplyT(func(v *DefaultOidcSettings) pulumi.StringOutput { return v.RefreshTokenExpiration }).(pulumi.StringOutput) +} + +// expiration duration of idle refresh tokens +func (o DefaultOidcSettingsOutput) RefreshTokenIdleExpiration() pulumi.StringOutput { + return o.ApplyT(func(v *DefaultOidcSettings) pulumi.StringOutput { return v.RefreshTokenIdleExpiration }).(pulumi.StringOutput) +} + +type DefaultOidcSettingsArrayOutput struct{ *pulumi.OutputState } + +func (DefaultOidcSettingsArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*DefaultOidcSettings)(nil)).Elem() +} + +func (o DefaultOidcSettingsArrayOutput) ToDefaultOidcSettingsArrayOutput() DefaultOidcSettingsArrayOutput { + return o +} + +func (o DefaultOidcSettingsArrayOutput) ToDefaultOidcSettingsArrayOutputWithContext(ctx context.Context) DefaultOidcSettingsArrayOutput { + return o +} + +func (o DefaultOidcSettingsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*DefaultOidcSettings] { + return pulumix.Output[[]*DefaultOidcSettings]{ + OutputState: o.OutputState, + } +} + +func (o DefaultOidcSettingsArrayOutput) Index(i pulumi.IntInput) DefaultOidcSettingsOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DefaultOidcSettings { + return vs[0].([]*DefaultOidcSettings)[vs[1].(int)] + }).(DefaultOidcSettingsOutput) +} + +type DefaultOidcSettingsMapOutput struct{ *pulumi.OutputState } + +func (DefaultOidcSettingsMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*DefaultOidcSettings)(nil)).Elem() +} + +func (o DefaultOidcSettingsMapOutput) ToDefaultOidcSettingsMapOutput() DefaultOidcSettingsMapOutput { + return o +} + +func (o DefaultOidcSettingsMapOutput) ToDefaultOidcSettingsMapOutputWithContext(ctx context.Context) DefaultOidcSettingsMapOutput { + return o +} + +func (o DefaultOidcSettingsMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*DefaultOidcSettings] { + return pulumix.Output[map[string]*DefaultOidcSettings]{ + OutputState: o.OutputState, + } +} + +func (o DefaultOidcSettingsMapOutput) MapIndex(k pulumi.StringInput) DefaultOidcSettingsOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DefaultOidcSettings { + return vs[0].(map[string]*DefaultOidcSettings)[vs[1].(string)] + }).(DefaultOidcSettingsOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DefaultOidcSettingsInput)(nil)).Elem(), &DefaultOidcSettings{}) + pulumi.RegisterInputType(reflect.TypeOf((*DefaultOidcSettingsArrayInput)(nil)).Elem(), DefaultOidcSettingsArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DefaultOidcSettingsMapInput)(nil)).Elem(), DefaultOidcSettingsMap{}) + pulumi.RegisterOutputType(DefaultOidcSettingsOutput{}) + pulumi.RegisterOutputType(DefaultOidcSettingsArrayOutput{}) + pulumi.RegisterOutputType(DefaultOidcSettingsMapOutput{}) +} diff --git a/sdk/go/zitadel/defaultPasswordComplexityPolicy.go b/sdk/go/zitadel/defaultPasswordComplexityPolicy.go index 83726e5..a60a80b 100644 --- a/sdk/go/zitadel/defaultPasswordComplexityPolicy.go +++ b/sdk/go/zitadel/defaultPasswordComplexityPolicy.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the default password complexity policy. @@ -19,33 +21,38 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewDefaultPasswordComplexityPolicy(ctx, "default", &zitadel.DefaultPasswordComplexityPolicyArgs{ -// HasLowercase: pulumi.Bool(true), -// HasNumber: pulumi.Bool(true), -// HasSymbol: pulumi.Bool(true), -// HasUppercase: pulumi.Bool(true), -// MinLength: pulumi.Int(8), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewDefaultPasswordComplexityPolicy(ctx, "default", &zitadel.DefaultPasswordComplexityPolicyArgs{ +// HasLowercase: pulumi.Bool(true), +// HasNumber: pulumi.Bool(true), +// HasSymbol: pulumi.Bool(true), +// HasUppercase: pulumi.Bool(true), +// MinLength: pulumi.Int(8), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format `<>`, e.g. +// terraform The resource can be imported using the ID format `<>`, e.g. // // ```sh -// $ pulumi import zitadel:index/defaultPasswordComplexityPolicy:DefaultPasswordComplexityPolicy imported '' +// +// $ pulumi import zitadel:index/defaultPasswordComplexityPolicy:DefaultPasswordComplexityPolicy imported '' +// // ``` type DefaultPasswordComplexityPolicy struct { pulumi.CustomResourceState @@ -84,7 +91,7 @@ func NewDefaultPasswordComplexityPolicy(ctx *pulumi.Context, if args.MinLength == nil { return nil, errors.New("invalid value for required argument 'MinLength'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource DefaultPasswordComplexityPolicy err := ctx.RegisterResource("zitadel:index/defaultPasswordComplexityPolicy:DefaultPasswordComplexityPolicy", name, args, &resource, opts...) if err != nil { @@ -186,10 +193,16 @@ func (i *DefaultPasswordComplexityPolicy) ToDefaultPasswordComplexityPolicyOutpu return pulumi.ToOutputWithContext(ctx, i).(DefaultPasswordComplexityPolicyOutput) } +func (i *DefaultPasswordComplexityPolicy) ToOutput(ctx context.Context) pulumix.Output[*DefaultPasswordComplexityPolicy] { + return pulumix.Output[*DefaultPasswordComplexityPolicy]{ + OutputState: i.ToDefaultPasswordComplexityPolicyOutputWithContext(ctx).OutputState, + } +} + // DefaultPasswordComplexityPolicyArrayInput is an input type that accepts DefaultPasswordComplexityPolicyArray and DefaultPasswordComplexityPolicyArrayOutput values. // You can construct a concrete instance of `DefaultPasswordComplexityPolicyArrayInput` via: // -// DefaultPasswordComplexityPolicyArray{ DefaultPasswordComplexityPolicyArgs{...} } +// DefaultPasswordComplexityPolicyArray{ DefaultPasswordComplexityPolicyArgs{...} } type DefaultPasswordComplexityPolicyArrayInput interface { pulumi.Input @@ -211,10 +224,16 @@ func (i DefaultPasswordComplexityPolicyArray) ToDefaultPasswordComplexityPolicyA return pulumi.ToOutputWithContext(ctx, i).(DefaultPasswordComplexityPolicyArrayOutput) } +func (i DefaultPasswordComplexityPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*DefaultPasswordComplexityPolicy] { + return pulumix.Output[[]*DefaultPasswordComplexityPolicy]{ + OutputState: i.ToDefaultPasswordComplexityPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // DefaultPasswordComplexityPolicyMapInput is an input type that accepts DefaultPasswordComplexityPolicyMap and DefaultPasswordComplexityPolicyMapOutput values. // You can construct a concrete instance of `DefaultPasswordComplexityPolicyMapInput` via: // -// DefaultPasswordComplexityPolicyMap{ "key": DefaultPasswordComplexityPolicyArgs{...} } +// DefaultPasswordComplexityPolicyMap{ "key": DefaultPasswordComplexityPolicyArgs{...} } type DefaultPasswordComplexityPolicyMapInput interface { pulumi.Input @@ -236,6 +255,12 @@ func (i DefaultPasswordComplexityPolicyMap) ToDefaultPasswordComplexityPolicyMap return pulumi.ToOutputWithContext(ctx, i).(DefaultPasswordComplexityPolicyMapOutput) } +func (i DefaultPasswordComplexityPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*DefaultPasswordComplexityPolicy] { + return pulumix.Output[map[string]*DefaultPasswordComplexityPolicy]{ + OutputState: i.ToDefaultPasswordComplexityPolicyMapOutputWithContext(ctx).OutputState, + } +} + type DefaultPasswordComplexityPolicyOutput struct{ *pulumi.OutputState } func (DefaultPasswordComplexityPolicyOutput) ElementType() reflect.Type { @@ -250,6 +275,12 @@ func (o DefaultPasswordComplexityPolicyOutput) ToDefaultPasswordComplexityPolicy return o } +func (o DefaultPasswordComplexityPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DefaultPasswordComplexityPolicy] { + return pulumix.Output[*DefaultPasswordComplexityPolicy]{ + OutputState: o.OutputState, + } +} + // defines if the password MUST contain a lower case letter func (o DefaultPasswordComplexityPolicyOutput) HasLowercase() pulumi.BoolOutput { return o.ApplyT(func(v *DefaultPasswordComplexityPolicy) pulumi.BoolOutput { return v.HasLowercase }).(pulumi.BoolOutput) @@ -289,6 +320,12 @@ func (o DefaultPasswordComplexityPolicyArrayOutput) ToDefaultPasswordComplexityP return o } +func (o DefaultPasswordComplexityPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*DefaultPasswordComplexityPolicy] { + return pulumix.Output[[]*DefaultPasswordComplexityPolicy]{ + OutputState: o.OutputState, + } +} + func (o DefaultPasswordComplexityPolicyArrayOutput) Index(i pulumi.IntInput) DefaultPasswordComplexityPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DefaultPasswordComplexityPolicy { return vs[0].([]*DefaultPasswordComplexityPolicy)[vs[1].(int)] @@ -309,6 +346,12 @@ func (o DefaultPasswordComplexityPolicyMapOutput) ToDefaultPasswordComplexityPol return o } +func (o DefaultPasswordComplexityPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*DefaultPasswordComplexityPolicy] { + return pulumix.Output[map[string]*DefaultPasswordComplexityPolicy]{ + OutputState: o.OutputState, + } +} + func (o DefaultPasswordComplexityPolicyMapOutput) MapIndex(k pulumi.StringInput) DefaultPasswordComplexityPolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DefaultPasswordComplexityPolicy { return vs[0].(map[string]*DefaultPasswordComplexityPolicy)[vs[1].(string)] diff --git a/sdk/go/zitadel/defaultPrivacyPolicy.go b/sdk/go/zitadel/defaultPrivacyPolicy.go index fb1a86a..a5003e0 100644 --- a/sdk/go/zitadel/defaultPrivacyPolicy.go +++ b/sdk/go/zitadel/defaultPrivacyPolicy.go @@ -7,8 +7,9 @@ import ( "context" "reflect" - "github.com/pkg/errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the default privacy policy. @@ -19,62 +20,55 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewDefaultPrivacyPolicy(ctx, "default", &zitadel.DefaultPrivacyPolicyArgs{ -// HelpLink: pulumi.String("https://example.com/help"), -// PrivacyLink: pulumi.String("https://example.com/privacy"), -// SupportEmail: pulumi.String("support@example.com"), -// TosLink: pulumi.String("https://example.com/tos"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewDefaultPrivacyPolicy(ctx, "default", &zitadel.DefaultPrivacyPolicyArgs{ +// HelpLink: pulumi.String("https://example.com/help"), +// PrivacyLink: pulumi.String("https://example.com/privacy"), +// SupportEmail: pulumi.String("support@example.com"), +// TosLink: pulumi.String("https://example.com/tos"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format `<>`, e.g. +// terraform The resource can be imported using the ID format `<>`, e.g. // // ```sh -// $ pulumi import zitadel:index/defaultPrivacyPolicy:DefaultPrivacyPolicy imported '' +// +// $ pulumi import zitadel:index/defaultPrivacyPolicy:DefaultPrivacyPolicy imported '' +// // ``` type DefaultPrivacyPolicy struct { pulumi.CustomResourceState - HelpLink pulumi.StringOutput `pulumi:"helpLink"` - PrivacyLink pulumi.StringOutput `pulumi:"privacyLink"` - SupportEmail pulumi.StringOutput `pulumi:"supportEmail"` - TosLink pulumi.StringOutput `pulumi:"tosLink"` + HelpLink pulumi.StringPtrOutput `pulumi:"helpLink"` + PrivacyLink pulumi.StringPtrOutput `pulumi:"privacyLink"` + SupportEmail pulumi.StringPtrOutput `pulumi:"supportEmail"` + TosLink pulumi.StringPtrOutput `pulumi:"tosLink"` } // NewDefaultPrivacyPolicy registers a new resource with the given unique name, arguments, and options. func NewDefaultPrivacyPolicy(ctx *pulumi.Context, name string, args *DefaultPrivacyPolicyArgs, opts ...pulumi.ResourceOption) (*DefaultPrivacyPolicy, error) { if args == nil { - return nil, errors.New("missing one or more required arguments") + args = &DefaultPrivacyPolicyArgs{} } - if args.HelpLink == nil { - return nil, errors.New("invalid value for required argument 'HelpLink'") - } - if args.PrivacyLink == nil { - return nil, errors.New("invalid value for required argument 'PrivacyLink'") - } - if args.SupportEmail == nil { - return nil, errors.New("invalid value for required argument 'SupportEmail'") - } - if args.TosLink == nil { - return nil, errors.New("invalid value for required argument 'TosLink'") - } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource DefaultPrivacyPolicy err := ctx.RegisterResource("zitadel:index/defaultPrivacyPolicy:DefaultPrivacyPolicy", name, args, &resource, opts...) if err != nil { @@ -115,18 +109,18 @@ func (DefaultPrivacyPolicyState) ElementType() reflect.Type { } type defaultPrivacyPolicyArgs struct { - HelpLink string `pulumi:"helpLink"` - PrivacyLink string `pulumi:"privacyLink"` - SupportEmail string `pulumi:"supportEmail"` - TosLink string `pulumi:"tosLink"` + HelpLink *string `pulumi:"helpLink"` + PrivacyLink *string `pulumi:"privacyLink"` + SupportEmail *string `pulumi:"supportEmail"` + TosLink *string `pulumi:"tosLink"` } // The set of arguments for constructing a DefaultPrivacyPolicy resource. type DefaultPrivacyPolicyArgs struct { - HelpLink pulumi.StringInput - PrivacyLink pulumi.StringInput - SupportEmail pulumi.StringInput - TosLink pulumi.StringInput + HelpLink pulumi.StringPtrInput + PrivacyLink pulumi.StringPtrInput + SupportEmail pulumi.StringPtrInput + TosLink pulumi.StringPtrInput } func (DefaultPrivacyPolicyArgs) ElementType() reflect.Type { @@ -152,10 +146,16 @@ func (i *DefaultPrivacyPolicy) ToDefaultPrivacyPolicyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(DefaultPrivacyPolicyOutput) } +func (i *DefaultPrivacyPolicy) ToOutput(ctx context.Context) pulumix.Output[*DefaultPrivacyPolicy] { + return pulumix.Output[*DefaultPrivacyPolicy]{ + OutputState: i.ToDefaultPrivacyPolicyOutputWithContext(ctx).OutputState, + } +} + // DefaultPrivacyPolicyArrayInput is an input type that accepts DefaultPrivacyPolicyArray and DefaultPrivacyPolicyArrayOutput values. // You can construct a concrete instance of `DefaultPrivacyPolicyArrayInput` via: // -// DefaultPrivacyPolicyArray{ DefaultPrivacyPolicyArgs{...} } +// DefaultPrivacyPolicyArray{ DefaultPrivacyPolicyArgs{...} } type DefaultPrivacyPolicyArrayInput interface { pulumi.Input @@ -177,10 +177,16 @@ func (i DefaultPrivacyPolicyArray) ToDefaultPrivacyPolicyArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(DefaultPrivacyPolicyArrayOutput) } +func (i DefaultPrivacyPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*DefaultPrivacyPolicy] { + return pulumix.Output[[]*DefaultPrivacyPolicy]{ + OutputState: i.ToDefaultPrivacyPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // DefaultPrivacyPolicyMapInput is an input type that accepts DefaultPrivacyPolicyMap and DefaultPrivacyPolicyMapOutput values. // You can construct a concrete instance of `DefaultPrivacyPolicyMapInput` via: // -// DefaultPrivacyPolicyMap{ "key": DefaultPrivacyPolicyArgs{...} } +// DefaultPrivacyPolicyMap{ "key": DefaultPrivacyPolicyArgs{...} } type DefaultPrivacyPolicyMapInput interface { pulumi.Input @@ -202,6 +208,12 @@ func (i DefaultPrivacyPolicyMap) ToDefaultPrivacyPolicyMapOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DefaultPrivacyPolicyMapOutput) } +func (i DefaultPrivacyPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*DefaultPrivacyPolicy] { + return pulumix.Output[map[string]*DefaultPrivacyPolicy]{ + OutputState: i.ToDefaultPrivacyPolicyMapOutputWithContext(ctx).OutputState, + } +} + type DefaultPrivacyPolicyOutput struct{ *pulumi.OutputState } func (DefaultPrivacyPolicyOutput) ElementType() reflect.Type { @@ -216,20 +228,26 @@ func (o DefaultPrivacyPolicyOutput) ToDefaultPrivacyPolicyOutputWithContext(ctx return o } -func (o DefaultPrivacyPolicyOutput) HelpLink() pulumi.StringOutput { - return o.ApplyT(func(v *DefaultPrivacyPolicy) pulumi.StringOutput { return v.HelpLink }).(pulumi.StringOutput) +func (o DefaultPrivacyPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DefaultPrivacyPolicy] { + return pulumix.Output[*DefaultPrivacyPolicy]{ + OutputState: o.OutputState, + } } -func (o DefaultPrivacyPolicyOutput) PrivacyLink() pulumi.StringOutput { - return o.ApplyT(func(v *DefaultPrivacyPolicy) pulumi.StringOutput { return v.PrivacyLink }).(pulumi.StringOutput) +func (o DefaultPrivacyPolicyOutput) HelpLink() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DefaultPrivacyPolicy) pulumi.StringPtrOutput { return v.HelpLink }).(pulumi.StringPtrOutput) } -func (o DefaultPrivacyPolicyOutput) SupportEmail() pulumi.StringOutput { - return o.ApplyT(func(v *DefaultPrivacyPolicy) pulumi.StringOutput { return v.SupportEmail }).(pulumi.StringOutput) +func (o DefaultPrivacyPolicyOutput) PrivacyLink() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DefaultPrivacyPolicy) pulumi.StringPtrOutput { return v.PrivacyLink }).(pulumi.StringPtrOutput) } -func (o DefaultPrivacyPolicyOutput) TosLink() pulumi.StringOutput { - return o.ApplyT(func(v *DefaultPrivacyPolicy) pulumi.StringOutput { return v.TosLink }).(pulumi.StringOutput) +func (o DefaultPrivacyPolicyOutput) SupportEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DefaultPrivacyPolicy) pulumi.StringPtrOutput { return v.SupportEmail }).(pulumi.StringPtrOutput) +} + +func (o DefaultPrivacyPolicyOutput) TosLink() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DefaultPrivacyPolicy) pulumi.StringPtrOutput { return v.TosLink }).(pulumi.StringPtrOutput) } type DefaultPrivacyPolicyArrayOutput struct{ *pulumi.OutputState } @@ -246,6 +264,12 @@ func (o DefaultPrivacyPolicyArrayOutput) ToDefaultPrivacyPolicyArrayOutputWithCo return o } +func (o DefaultPrivacyPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*DefaultPrivacyPolicy] { + return pulumix.Output[[]*DefaultPrivacyPolicy]{ + OutputState: o.OutputState, + } +} + func (o DefaultPrivacyPolicyArrayOutput) Index(i pulumi.IntInput) DefaultPrivacyPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DefaultPrivacyPolicy { return vs[0].([]*DefaultPrivacyPolicy)[vs[1].(int)] @@ -266,6 +290,12 @@ func (o DefaultPrivacyPolicyMapOutput) ToDefaultPrivacyPolicyMapOutputWithContex return o } +func (o DefaultPrivacyPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*DefaultPrivacyPolicy] { + return pulumix.Output[map[string]*DefaultPrivacyPolicy]{ + OutputState: o.OutputState, + } +} + func (o DefaultPrivacyPolicyMapOutput) MapIndex(k pulumi.StringInput) DefaultPrivacyPolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DefaultPrivacyPolicy { return vs[0].(map[string]*DefaultPrivacyPolicy)[vs[1].(string)] diff --git a/sdk/go/zitadel/doc.go b/sdk/go/zitadel/doc.go index 5a903f3..45242a6 100644 --- a/sdk/go/zitadel/doc.go +++ b/sdk/go/zitadel/doc.go @@ -1,3 +1,2 @@ // A Pulumi package for creating and managing zitadel cloud resources. - package zitadel diff --git a/sdk/go/zitadel/domain.go b/sdk/go/zitadel/domain.go index f6a3558..73c82a5 100644 --- a/sdk/go/zitadel/domain.go +++ b/sdk/go/zitadel/domain.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing a domain of the organization. @@ -18,30 +20,35 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewDomain(ctx, "default", &zitadel.DomainArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// IsPrimary: pulumi.Bool(false), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewDomain(ctx, "default", &zitadel.DomainArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// IsPrimary: pulumi.Bool(false), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format `name[:org_id]`, e.g. +// terraform The resource can be imported using the ID format `name[:org_id]`, e.g. // // ```sh -// $ pulumi import zitadel:index/domain:Domain imported 'example.com:123456789012345678' +// +// $ pulumi import zitadel:index/domain:Domain imported 'example.com:123456789012345678' +// // ``` type Domain struct { pulumi.CustomResourceState @@ -65,7 +72,7 @@ func NewDomain(ctx *pulumi.Context, args = &DomainArgs{} } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource Domain err := ctx.RegisterResource("zitadel:index/domain:Domain", name, args, &resource, opts...) if err != nil { @@ -159,10 +166,16 @@ func (i *Domain) ToDomainOutputWithContext(ctx context.Context) DomainOutput { return pulumi.ToOutputWithContext(ctx, i).(DomainOutput) } +func (i *Domain) ToOutput(ctx context.Context) pulumix.Output[*Domain] { + return pulumix.Output[*Domain]{ + OutputState: i.ToDomainOutputWithContext(ctx).OutputState, + } +} + // DomainArrayInput is an input type that accepts DomainArray and DomainArrayOutput values. // You can construct a concrete instance of `DomainArrayInput` via: // -// DomainArray{ DomainArgs{...} } +// DomainArray{ DomainArgs{...} } type DomainArrayInput interface { pulumi.Input @@ -184,10 +197,16 @@ func (i DomainArray) ToDomainArrayOutputWithContext(ctx context.Context) DomainA return pulumi.ToOutputWithContext(ctx, i).(DomainArrayOutput) } +func (i DomainArray) ToOutput(ctx context.Context) pulumix.Output[[]*Domain] { + return pulumix.Output[[]*Domain]{ + OutputState: i.ToDomainArrayOutputWithContext(ctx).OutputState, + } +} + // DomainMapInput is an input type that accepts DomainMap and DomainMapOutput values. // You can construct a concrete instance of `DomainMapInput` via: // -// DomainMap{ "key": DomainArgs{...} } +// DomainMap{ "key": DomainArgs{...} } type DomainMapInput interface { pulumi.Input @@ -209,6 +228,12 @@ func (i DomainMap) ToDomainMapOutputWithContext(ctx context.Context) DomainMapOu return pulumi.ToOutputWithContext(ctx, i).(DomainMapOutput) } +func (i DomainMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Domain] { + return pulumix.Output[map[string]*Domain]{ + OutputState: i.ToDomainMapOutputWithContext(ctx).OutputState, + } +} + type DomainOutput struct{ *pulumi.OutputState } func (DomainOutput) ElementType() reflect.Type { @@ -223,6 +248,12 @@ func (o DomainOutput) ToDomainOutputWithContext(ctx context.Context) DomainOutpu return o } +func (o DomainOutput) ToOutput(ctx context.Context) pulumix.Output[*Domain] { + return pulumix.Output[*Domain]{ + OutputState: o.OutputState, + } +} + // Is domain primary func (o DomainOutput) IsPrimary() pulumi.BoolPtrOutput { return o.ApplyT(func(v *Domain) pulumi.BoolPtrOutput { return v.IsPrimary }).(pulumi.BoolPtrOutput) @@ -262,6 +293,12 @@ func (o DomainArrayOutput) ToDomainArrayOutputWithContext(ctx context.Context) D return o } +func (o DomainArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Domain] { + return pulumix.Output[[]*Domain]{ + OutputState: o.OutputState, + } +} + func (o DomainArrayOutput) Index(i pulumi.IntInput) DomainOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Domain { return vs[0].([]*Domain)[vs[1].(int)] @@ -282,6 +319,12 @@ func (o DomainMapOutput) ToDomainMapOutputWithContext(ctx context.Context) Domai return o } +func (o DomainMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Domain] { + return pulumix.Output[map[string]*Domain]{ + OutputState: o.OutputState, + } +} + func (o DomainMapOutput) MapIndex(k pulumi.StringInput) DomainOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Domain { return vs[0].(map[string]*Domain)[vs[1].(string)] diff --git a/sdk/go/zitadel/domainPolicy.go b/sdk/go/zitadel/domainPolicy.go index 8b229c3..9005381 100644 --- a/sdk/go/zitadel/domainPolicy.go +++ b/sdk/go/zitadel/domainPolicy.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the custom domain policy of an organization. @@ -19,32 +21,37 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewDomainPolicy(ctx, "default", &zitadel.DomainPolicyArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// UserLoginMustBeDomain: pulumi.Bool(false), -// ValidateOrgDomains: pulumi.Bool(true), -// SmtpSenderAddressMatchesInstanceDomain: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewDomainPolicy(ctx, "default", &zitadel.DomainPolicyArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// UserLoginMustBeDomain: pulumi.Bool(false), +// ValidateOrgDomains: pulumi.Bool(true), +// SmtpSenderAddressMatchesInstanceDomain: pulumi.Bool(true), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. +// terraform The resource can be imported using the ID format `<[org_id]>`, e.g. // // ```sh -// $ pulumi import zitadel:index/domainPolicy:DomainPolicy imported '123456789012345678' +// +// $ pulumi import zitadel:index/domainPolicy:DomainPolicy imported '123456789012345678' +// // ``` type DomainPolicy struct { pulumi.CustomResourceState @@ -74,7 +81,7 @@ func NewDomainPolicy(ctx *pulumi.Context, if args.ValidateOrgDomains == nil { return nil, errors.New("invalid value for required argument 'ValidateOrgDomains'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource DomainPolicy err := ctx.RegisterResource("zitadel:index/domainPolicy:DomainPolicy", name, args, &resource, opts...) if err != nil { @@ -164,10 +171,16 @@ func (i *DomainPolicy) ToDomainPolicyOutputWithContext(ctx context.Context) Doma return pulumi.ToOutputWithContext(ctx, i).(DomainPolicyOutput) } +func (i *DomainPolicy) ToOutput(ctx context.Context) pulumix.Output[*DomainPolicy] { + return pulumix.Output[*DomainPolicy]{ + OutputState: i.ToDomainPolicyOutputWithContext(ctx).OutputState, + } +} + // DomainPolicyArrayInput is an input type that accepts DomainPolicyArray and DomainPolicyArrayOutput values. // You can construct a concrete instance of `DomainPolicyArrayInput` via: // -// DomainPolicyArray{ DomainPolicyArgs{...} } +// DomainPolicyArray{ DomainPolicyArgs{...} } type DomainPolicyArrayInput interface { pulumi.Input @@ -189,10 +202,16 @@ func (i DomainPolicyArray) ToDomainPolicyArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(DomainPolicyArrayOutput) } +func (i DomainPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*DomainPolicy] { + return pulumix.Output[[]*DomainPolicy]{ + OutputState: i.ToDomainPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // DomainPolicyMapInput is an input type that accepts DomainPolicyMap and DomainPolicyMapOutput values. // You can construct a concrete instance of `DomainPolicyMapInput` via: // -// DomainPolicyMap{ "key": DomainPolicyArgs{...} } +// DomainPolicyMap{ "key": DomainPolicyArgs{...} } type DomainPolicyMapInput interface { pulumi.Input @@ -214,6 +233,12 @@ func (i DomainPolicyMap) ToDomainPolicyMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DomainPolicyMapOutput) } +func (i DomainPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*DomainPolicy] { + return pulumix.Output[map[string]*DomainPolicy]{ + OutputState: i.ToDomainPolicyMapOutputWithContext(ctx).OutputState, + } +} + type DomainPolicyOutput struct{ *pulumi.OutputState } func (DomainPolicyOutput) ElementType() reflect.Type { @@ -228,6 +253,12 @@ func (o DomainPolicyOutput) ToDomainPolicyOutputWithContext(ctx context.Context) return o } +func (o DomainPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainPolicy] { + return pulumix.Output[*DomainPolicy]{ + OutputState: o.OutputState, + } +} + // ID of the organization func (o DomainPolicyOutput) OrgId() pulumi.StringPtrOutput { return o.ApplyT(func(v *DomainPolicy) pulumi.StringPtrOutput { return v.OrgId }).(pulumi.StringPtrOutput) @@ -261,6 +292,12 @@ func (o DomainPolicyArrayOutput) ToDomainPolicyArrayOutputWithContext(ctx contex return o } +func (o DomainPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*DomainPolicy] { + return pulumix.Output[[]*DomainPolicy]{ + OutputState: o.OutputState, + } +} + func (o DomainPolicyArrayOutput) Index(i pulumi.IntInput) DomainPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DomainPolicy { return vs[0].([]*DomainPolicy)[vs[1].(int)] @@ -281,6 +318,12 @@ func (o DomainPolicyMapOutput) ToDomainPolicyMapOutputWithContext(ctx context.Co return o } +func (o DomainPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*DomainPolicy] { + return pulumix.Output[map[string]*DomainPolicy]{ + OutputState: o.OutputState, + } +} + func (o DomainPolicyMapOutput) MapIndex(k pulumi.StringInput) DomainPolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DomainPolicy { return vs[0].(map[string]*DomainPolicy)[vs[1].(string)] diff --git a/sdk/go/zitadel/getAction.go b/sdk/go/zitadel/getAction.go index 91096d8..928e186 100644 --- a/sdk/go/zitadel/getAction.go +++ b/sdk/go/zitadel/getAction.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing an action belonging to an organization. @@ -18,27 +20,29 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _default, err := zitadel.LookupAction(ctx, &GetActionArgs{ -// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), -// ActionId: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// ctx.Export("action", _default) -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _default, err := zitadel.LookupAction(ctx, &zitadel.LookupActionArgs{ +// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), +// ActionId: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("action", _default) +// return nil +// }) +// } +// // ``` func LookupAction(ctx *pulumi.Context, args *LookupActionArgs, opts ...pulumi.InvokeOption) (*LookupActionResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupActionResult err := ctx.Invoke("zitadel:index/getAction:getAction", args, &rv, opts...) if err != nil { @@ -113,6 +117,12 @@ func (o LookupActionResultOutput) ToLookupActionResultOutputWithContext(ctx cont return o } +func (o LookupActionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupActionResult] { + return pulumix.Output[LookupActionResult]{ + OutputState: o.OutputState, + } +} + // The ID of this resource. func (o LookupActionResultOutput) ActionId() pulumi.StringOutput { return o.ApplyT(func(v LookupActionResult) string { return v.ActionId }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getApplicationApi.go b/sdk/go/zitadel/getApplicationApi.go index 9113d9c..49d76b2 100644 --- a/sdk/go/zitadel/getApplicationApi.go +++ b/sdk/go/zitadel/getApplicationApi.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing an API application belonging to a project, with all configuration possibilities. @@ -18,28 +20,30 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _default, err := zitadel.LookupApplicationApi(ctx, &GetApplicationApiArgs{ -// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), -// ProjectId: data.Zitadel_project.Default.Id, -// AppId: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// ctx.Export("applicationApi", _default) -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _default, err := zitadel.LookupApplicationApi(ctx, &zitadel.LookupApplicationApiArgs{ +// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), +// ProjectId: data.Zitadel_project.Default.Id, +// AppId: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("applicationApi", _default) +// return nil +// }) +// } +// // ``` func LookupApplicationApi(ctx *pulumi.Context, args *LookupApplicationApiArgs, opts ...pulumi.InvokeOption) (*LookupApplicationApiResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupApplicationApiResult err := ctx.Invoke("zitadel:index/getApplicationApi:getApplicationApi", args, &rv, opts...) if err != nil { @@ -116,6 +120,12 @@ func (o LookupApplicationApiResultOutput) ToLookupApplicationApiResultOutputWith return o } +func (o LookupApplicationApiResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApplicationApiResult] { + return pulumix.Output[LookupApplicationApiResult]{ + OutputState: o.OutputState, + } +} + // The ID of this resource. func (o LookupApplicationApiResultOutput) AppId() pulumi.StringOutput { return o.ApplyT(func(v LookupApplicationApiResult) string { return v.AppId }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getApplicationOidc.go b/sdk/go/zitadel/getApplicationOidc.go index 6533b07..12738c7 100644 --- a/sdk/go/zitadel/getApplicationOidc.go +++ b/sdk/go/zitadel/getApplicationOidc.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing an OIDC application belonging to a project, with all configuration possibilities. @@ -18,28 +20,30 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _default, err := zitadel.LookupApplicationOidc(ctx, &GetApplicationOidcArgs{ -// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), -// ProjectId: data.Zitadel_project.Default.Id, -// AppId: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// ctx.Export("applicationOidc", _default) -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _default, err := zitadel.LookupApplicationOidc(ctx, &zitadel.LookupApplicationOidcArgs{ +// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), +// ProjectId: data.Zitadel_project.Default.Id, +// AppId: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("applicationOidc", _default) +// return nil +// }) +// } +// // ``` func LookupApplicationOidc(ctx *pulumi.Context, args *LookupApplicationOidcArgs, opts ...pulumi.InvokeOption) (*LookupApplicationOidcResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupApplicationOidcResult err := ctx.Invoke("zitadel:index/getApplicationOidc:getApplicationOidc", args, &rv, opts...) if err != nil { @@ -142,6 +146,12 @@ func (o LookupApplicationOidcResultOutput) ToLookupApplicationOidcResultOutputWi return o } +func (o LookupApplicationOidcResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApplicationOidcResult] { + return pulumix.Output[LookupApplicationOidcResult]{ + OutputState: o.OutputState, + } +} + // Access token role assertion func (o LookupApplicationOidcResultOutput) AccessTokenRoleAssertion() pulumi.BoolOutput { return o.ApplyT(func(v LookupApplicationOidcResult) bool { return v.AccessTokenRoleAssertion }).(pulumi.BoolOutput) diff --git a/sdk/go/zitadel/getDefaultOidcSettings.go b/sdk/go/zitadel/getDefaultOidcSettings.go new file mode 100644 index 0000000..9fd67e8 --- /dev/null +++ b/sdk/go/zitadel/getDefaultOidcSettings.go @@ -0,0 +1,124 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package zitadel + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" +) + +// Datasource representing the default oidc settings. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _default, err := zitadel.LookupDefaultOidcSettings(ctx, nil, nil) +// if err != nil { +// return err +// } +// ctx.Export("oidcSettings", _default) +// return nil +// }) +// } +// +// ``` +func LookupDefaultOidcSettings(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*LookupDefaultOidcSettingsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupDefaultOidcSettingsResult + err := ctx.Invoke("zitadel:index/getDefaultOidcSettings:getDefaultOidcSettings", nil, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of values returned by getDefaultOidcSettings. +type LookupDefaultOidcSettingsResult struct { + // lifetime duration of access tokens + AccessTokenLifetime string `pulumi:"accessTokenLifetime"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // lifetime duration of id tokens + IdTokenLifetime string `pulumi:"idTokenLifetime"` + // expiration duration of refresh tokens + RefreshTokenExpiration string `pulumi:"refreshTokenExpiration"` + // expiration duration of idle refresh tokens + RefreshTokenIdleExpiration string `pulumi:"refreshTokenIdleExpiration"` +} + +func LookupDefaultOidcSettingsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) LookupDefaultOidcSettingsResultOutput { + return pulumi.ToOutput(0).ApplyT(func(int) (LookupDefaultOidcSettingsResult, error) { + r, err := LookupDefaultOidcSettings(ctx, opts...) + var s LookupDefaultOidcSettingsResult + if r != nil { + s = *r + } + return s, err + }).(LookupDefaultOidcSettingsResultOutput) +} + +// A collection of values returned by getDefaultOidcSettings. +type LookupDefaultOidcSettingsResultOutput struct{ *pulumi.OutputState } + +func (LookupDefaultOidcSettingsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupDefaultOidcSettingsResult)(nil)).Elem() +} + +func (o LookupDefaultOidcSettingsResultOutput) ToLookupDefaultOidcSettingsResultOutput() LookupDefaultOidcSettingsResultOutput { + return o +} + +func (o LookupDefaultOidcSettingsResultOutput) ToLookupDefaultOidcSettingsResultOutputWithContext(ctx context.Context) LookupDefaultOidcSettingsResultOutput { + return o +} + +func (o LookupDefaultOidcSettingsResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDefaultOidcSettingsResult] { + return pulumix.Output[LookupDefaultOidcSettingsResult]{ + OutputState: o.OutputState, + } +} + +// lifetime duration of access tokens +func (o LookupDefaultOidcSettingsResultOutput) AccessTokenLifetime() pulumi.StringOutput { + return o.ApplyT(func(v LookupDefaultOidcSettingsResult) string { return v.AccessTokenLifetime }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupDefaultOidcSettingsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupDefaultOidcSettingsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// lifetime duration of id tokens +func (o LookupDefaultOidcSettingsResultOutput) IdTokenLifetime() pulumi.StringOutput { + return o.ApplyT(func(v LookupDefaultOidcSettingsResult) string { return v.IdTokenLifetime }).(pulumi.StringOutput) +} + +// expiration duration of refresh tokens +func (o LookupDefaultOidcSettingsResultOutput) RefreshTokenExpiration() pulumi.StringOutput { + return o.ApplyT(func(v LookupDefaultOidcSettingsResult) string { return v.RefreshTokenExpiration }).(pulumi.StringOutput) +} + +// expiration duration of idle refresh tokens +func (o LookupDefaultOidcSettingsResultOutput) RefreshTokenIdleExpiration() pulumi.StringOutput { + return o.ApplyT(func(v LookupDefaultOidcSettingsResult) string { return v.RefreshTokenIdleExpiration }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupDefaultOidcSettingsResultOutput{}) +} diff --git a/sdk/go/zitadel/getHumanUser.go b/sdk/go/zitadel/getHumanUser.go index cc1b3a1..69790a0 100644 --- a/sdk/go/zitadel/getHumanUser.go +++ b/sdk/go/zitadel/getHumanUser.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing a human user situated under an organization, which then can be authorized through memberships or direct grants on other resources. @@ -18,27 +20,29 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _default, err := zitadel.LookupHumanUser(ctx, &GetHumanUserArgs{ -// OrgId: data.Zitadel_org.Default.Id, -// UserId: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// ctx.Export("humanUser", _default) -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _default, err := zitadel.LookupHumanUser(ctx, &zitadel.LookupHumanUserArgs{ +// OrgId: data.Zitadel_org.Default.Id, +// UserId: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("humanUser", _default) +// return nil +// }) +// } +// // ``` func LookupHumanUser(ctx *pulumi.Context, args *LookupHumanUserArgs, opts ...pulumi.InvokeOption) (*LookupHumanUserResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupHumanUserResult err := ctx.Invoke("zitadel:index/getHumanUser:getHumanUser", args, &rv, opts...) if err != nil { @@ -133,6 +137,12 @@ func (o LookupHumanUserResultOutput) ToLookupHumanUserResultOutputWithContext(ct return o } +func (o LookupHumanUserResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHumanUserResult] { + return pulumix.Output[LookupHumanUserResult]{ + OutputState: o.OutputState, + } +} + // Display name of the user func (o LookupHumanUserResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupHumanUserResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getIdpAzureAd.go b/sdk/go/zitadel/getIdpAzureAd.go index d58fc79..96803b6 100644 --- a/sdk/go/zitadel/getIdpAzureAd.go +++ b/sdk/go/zitadel/getIdpAzureAd.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing an Azure AD IDP on the instance. @@ -18,25 +20,27 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.LookupIdpAzureAd(ctx, &GetIdpAzureAdArgs{ -// Id: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.LookupIdpAzureAd(ctx, &zitadel.LookupIdpAzureAdArgs{ +// Id: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` func LookupIdpAzureAd(ctx *pulumi.Context, args *LookupIdpAzureAdArgs, opts ...pulumi.InvokeOption) (*LookupIdpAzureAdResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupIdpAzureAdResult err := ctx.Invoke("zitadel:index/getIdpAzureAd:getIdpAzureAd", args, &rv, opts...) if err != nil { @@ -117,6 +121,12 @@ func (o LookupIdpAzureAdResultOutput) ToLookupIdpAzureAdResultOutputWithContext( return o } +func (o LookupIdpAzureAdResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIdpAzureAdResult] { + return pulumix.Output[LookupIdpAzureAdResult]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o LookupIdpAzureAdResultOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v LookupIdpAzureAdResult) string { return v.ClientId }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getIdpGithub.go b/sdk/go/zitadel/getIdpGithub.go index 8acc431..0c40c6a 100644 --- a/sdk/go/zitadel/getIdpGithub.go +++ b/sdk/go/zitadel/getIdpGithub.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing a GitHub IDP on the instance. @@ -18,25 +20,27 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.LookupIdpGithub(ctx, &GetIdpGithubArgs{ -// Id: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.LookupIdpGithub(ctx, &zitadel.LookupIdpGithubArgs{ +// Id: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` func LookupIdpGithub(ctx *pulumi.Context, args *LookupIdpGithubArgs, opts ...pulumi.InvokeOption) (*LookupIdpGithubResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupIdpGithubResult err := ctx.Invoke("zitadel:index/getIdpGithub:getIdpGithub", args, &rv, opts...) if err != nil { @@ -111,6 +115,12 @@ func (o LookupIdpGithubResultOutput) ToLookupIdpGithubResultOutputWithContext(ct return o } +func (o LookupIdpGithubResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIdpGithubResult] { + return pulumix.Output[LookupIdpGithubResult]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o LookupIdpGithubResultOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v LookupIdpGithubResult) string { return v.ClientId }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getIdpGithubEs.go b/sdk/go/zitadel/getIdpGithubEs.go index ce00625..3357fec 100644 --- a/sdk/go/zitadel/getIdpGithubEs.go +++ b/sdk/go/zitadel/getIdpGithubEs.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing a GitHub Enterprise IDP on the instance. @@ -18,25 +20,27 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.LookupIdpGithubEs(ctx, &GetIdpGithubEsArgs{ -// Id: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.LookupIdpGithubEs(ctx, &zitadel.LookupIdpGithubEsArgs{ +// Id: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` func LookupIdpGithubEs(ctx *pulumi.Context, args *LookupIdpGithubEsArgs, opts ...pulumi.InvokeOption) (*LookupIdpGithubEsResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupIdpGithubEsResult err := ctx.Invoke("zitadel:index/getIdpGithubEs:getIdpGithubEs", args, &rv, opts...) if err != nil { @@ -117,6 +121,12 @@ func (o LookupIdpGithubEsResultOutput) ToLookupIdpGithubEsResultOutputWithContex return o } +func (o LookupIdpGithubEsResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIdpGithubEsResult] { + return pulumix.Output[LookupIdpGithubEsResult]{ + OutputState: o.OutputState, + } +} + // the providers authorization endpoint func (o LookupIdpGithubEsResultOutput) AuthorizationEndpoint() pulumi.StringOutput { return o.ApplyT(func(v LookupIdpGithubEsResult) string { return v.AuthorizationEndpoint }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getIdpGitlab.go b/sdk/go/zitadel/getIdpGitlab.go index dbd3e4d..a0a995f 100644 --- a/sdk/go/zitadel/getIdpGitlab.go +++ b/sdk/go/zitadel/getIdpGitlab.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing a GitLab IDP on the instance. @@ -18,25 +20,27 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.LookupIdpGitlab(ctx, &GetIdpGitlabArgs{ -// Id: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.LookupIdpGitlab(ctx, &zitadel.LookupIdpGitlabArgs{ +// Id: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` func LookupIdpGitlab(ctx *pulumi.Context, args *LookupIdpGitlabArgs, opts ...pulumi.InvokeOption) (*LookupIdpGitlabResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupIdpGitlabResult err := ctx.Invoke("zitadel:index/getIdpGitlab:getIdpGitlab", args, &rv, opts...) if err != nil { @@ -111,6 +115,12 @@ func (o LookupIdpGitlabResultOutput) ToLookupIdpGitlabResultOutputWithContext(ct return o } +func (o LookupIdpGitlabResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIdpGitlabResult] { + return pulumix.Output[LookupIdpGitlabResult]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o LookupIdpGitlabResultOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v LookupIdpGitlabResult) string { return v.ClientId }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getIdpGitlabSelfHosted.go b/sdk/go/zitadel/getIdpGitlabSelfHosted.go index ab14634..184cef6 100644 --- a/sdk/go/zitadel/getIdpGitlabSelfHosted.go +++ b/sdk/go/zitadel/getIdpGitlabSelfHosted.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing a GitLab Self Hosted IDP on the instance. @@ -18,25 +20,27 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.LookupIdpGitlabSelfHosted(ctx, &GetIdpGitlabSelfHostedArgs{ -// Id: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.LookupIdpGitlabSelfHosted(ctx, &zitadel.LookupIdpGitlabSelfHostedArgs{ +// Id: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` func LookupIdpGitlabSelfHosted(ctx *pulumi.Context, args *LookupIdpGitlabSelfHostedArgs, opts ...pulumi.InvokeOption) (*LookupIdpGitlabSelfHostedResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupIdpGitlabSelfHostedResult err := ctx.Invoke("zitadel:index/getIdpGitlabSelfHosted:getIdpGitlabSelfHosted", args, &rv, opts...) if err != nil { @@ -113,6 +117,12 @@ func (o LookupIdpGitlabSelfHostedResultOutput) ToLookupIdpGitlabSelfHostedResult return o } +func (o LookupIdpGitlabSelfHostedResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIdpGitlabSelfHostedResult] { + return pulumix.Output[LookupIdpGitlabSelfHostedResult]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o LookupIdpGitlabSelfHostedResultOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v LookupIdpGitlabSelfHostedResult) string { return v.ClientId }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getIdpGoogle.go b/sdk/go/zitadel/getIdpGoogle.go index 7f3ef03..4987131 100644 --- a/sdk/go/zitadel/getIdpGoogle.go +++ b/sdk/go/zitadel/getIdpGoogle.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing a Google IDP on the instance. @@ -18,25 +20,27 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.LookupIdpGoogle(ctx, &GetIdpGoogleArgs{ -// Id: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.LookupIdpGoogle(ctx, &zitadel.LookupIdpGoogleArgs{ +// Id: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` func LookupIdpGoogle(ctx *pulumi.Context, args *LookupIdpGoogleArgs, opts ...pulumi.InvokeOption) (*LookupIdpGoogleResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupIdpGoogleResult err := ctx.Invoke("zitadel:index/getIdpGoogle:getIdpGoogle", args, &rv, opts...) if err != nil { @@ -111,6 +115,12 @@ func (o LookupIdpGoogleResultOutput) ToLookupIdpGoogleResultOutputWithContext(ct return o } +func (o LookupIdpGoogleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIdpGoogleResult] { + return pulumix.Output[LookupIdpGoogleResult]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o LookupIdpGoogleResultOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v LookupIdpGoogleResult) string { return v.ClientId }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getIdpLdap.go b/sdk/go/zitadel/getIdpLdap.go index 925011b..c0825df 100644 --- a/sdk/go/zitadel/getIdpLdap.go +++ b/sdk/go/zitadel/getIdpLdap.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing an LDAP IDP on the instance. @@ -18,25 +20,27 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.LookupIdpLdap(ctx, &GetIdpLdapArgs{ -// Id: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.LookupIdpLdap(ctx, &zitadel.LookupIdpLdapArgs{ +// Id: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` func LookupIdpLdap(ctx *pulumi.Context, args *LookupIdpLdapArgs, opts ...pulumi.InvokeOption) (*LookupIdpLdapResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupIdpLdapResult err := ctx.Invoke("zitadel:index/getIdpLdap:getIdpLdap", args, &rv, opts...) if err != nil { @@ -149,6 +153,12 @@ func (o LookupIdpLdapResultOutput) ToLookupIdpLdapResultOutputWithContext(ctx co return o } +func (o LookupIdpLdapResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIdpLdapResult] { + return pulumix.Output[LookupIdpLdapResult]{ + OutputState: o.OutputState, + } +} + // User attribute for the avatar url func (o LookupIdpLdapResultOutput) AvatarUrlAttribute() pulumi.StringOutput { return o.ApplyT(func(v LookupIdpLdapResult) string { return v.AvatarUrlAttribute }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getMachineUser.go b/sdk/go/zitadel/getMachineUser.go index 51a5b3e..1abdb61 100644 --- a/sdk/go/zitadel/getMachineUser.go +++ b/sdk/go/zitadel/getMachineUser.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing a serviceaccount situated under an organization, which then can be authorized through memberships or direct grants on other resources. @@ -18,27 +20,29 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _default, err := zitadel.LookupMachineUser(ctx, &GetMachineUserArgs{ -// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), -// UserId: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// ctx.Export("machineUser", _default) -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _default, err := zitadel.LookupMachineUser(ctx, &zitadel.LookupMachineUserArgs{ +// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), +// UserId: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("machineUser", _default) +// return nil +// }) +// } +// // ``` func LookupMachineUser(ctx *pulumi.Context, args *LookupMachineUserArgs, opts ...pulumi.InvokeOption) (*LookupMachineUserResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupMachineUserResult err := ctx.Invoke("zitadel:index/getMachineUser:getMachineUser", args, &rv, opts...) if err != nil { @@ -119,6 +123,12 @@ func (o LookupMachineUserResultOutput) ToLookupMachineUserResultOutputWithContex return o } +func (o LookupMachineUserResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMachineUserResult] { + return pulumix.Output[LookupMachineUserResult]{ + OutputState: o.OutputState, + } +} + // Access token type func (o LookupMachineUserResultOutput) AccessTokenType() pulumi.StringOutput { return o.ApplyT(func(v LookupMachineUserResult) string { return v.AccessTokenType }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getOrg.go b/sdk/go/zitadel/getOrg.go index c0f3be4..b705d4f 100644 --- a/sdk/go/zitadel/getOrg.go +++ b/sdk/go/zitadel/getOrg.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing an organization in ZITADEL, which is the highest level after the instance and contains several other resource including policies if the configuration differs to the default policies on the instance. @@ -18,26 +20,28 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _default, err := zitadel.LookupOrg(ctx, &GetOrgArgs{ -// Id: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// ctx.Export("org", _default) -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _default, err := zitadel.LookupOrg(ctx, &zitadel.LookupOrgArgs{ +// Id: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("org", _default) +// return nil +// }) +// } +// // ``` func LookupOrg(ctx *pulumi.Context, args *LookupOrgArgs, opts ...pulumi.InvokeOption) (*LookupOrgResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupOrgResult err := ctx.Invoke("zitadel:index/getOrg:getOrg", args, &rv, opts...) if err != nil { @@ -56,6 +60,8 @@ type LookupOrgArgs struct { type LookupOrgResult struct { // ID of the organization Id string `pulumi:"id"` + // Indicates whether the org is the default org of the instance. + IsDefault bool `pulumi:"isDefault"` // Name of the org. Name string `pulumi:"name"` // Primary domain of the org @@ -102,11 +108,22 @@ func (o LookupOrgResultOutput) ToLookupOrgResultOutputWithContext(ctx context.Co return o } +func (o LookupOrgResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrgResult] { + return pulumix.Output[LookupOrgResult]{ + OutputState: o.OutputState, + } +} + // ID of the organization func (o LookupOrgResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupOrgResult) string { return v.Id }).(pulumi.StringOutput) } +// Indicates whether the org is the default org of the instance. +func (o LookupOrgResultOutput) IsDefault() pulumi.BoolOutput { + return o.ApplyT(func(v LookupOrgResult) bool { return v.IsDefault }).(pulumi.BoolOutput) +} + // Name of the org. func (o LookupOrgResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupOrgResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getOrgIdpAzureAd.go b/sdk/go/zitadel/getOrgIdpAzureAd.go index 685cb78..892dee3 100644 --- a/sdk/go/zitadel/getOrgIdpAzureAd.go +++ b/sdk/go/zitadel/getOrgIdpAzureAd.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing an Azure AD IdP of the organization. @@ -18,26 +20,28 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.LookupOrgIdpAzureAd(ctx, &GetOrgIdpAzureAdArgs{ -// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), -// Id: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.LookupOrgIdpAzureAd(ctx, &zitadel.LookupOrgIdpAzureAdArgs{ +// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), +// Id: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` func LookupOrgIdpAzureAd(ctx *pulumi.Context, args *LookupOrgIdpAzureAdArgs, opts ...pulumi.InvokeOption) (*LookupOrgIdpAzureAdResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupOrgIdpAzureAdResult err := ctx.Invoke("zitadel:index/getOrgIdpAzureAd:getOrgIdpAzureAd", args, &rv, opts...) if err != nil { @@ -124,6 +128,12 @@ func (o LookupOrgIdpAzureAdResultOutput) ToLookupOrgIdpAzureAdResultOutputWithCo return o } +func (o LookupOrgIdpAzureAdResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrgIdpAzureAdResult] { + return pulumix.Output[LookupOrgIdpAzureAdResult]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o LookupOrgIdpAzureAdResultOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v LookupOrgIdpAzureAdResult) string { return v.ClientId }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getOrgIdpGithub.go b/sdk/go/zitadel/getOrgIdpGithub.go index fc099e4..45f5671 100644 --- a/sdk/go/zitadel/getOrgIdpGithub.go +++ b/sdk/go/zitadel/getOrgIdpGithub.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing a GitHub IdP of the organization. @@ -18,26 +20,28 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.LookupOrgIdpGithub(ctx, &GetOrgIdpGithubArgs{ -// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), -// Id: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.LookupOrgIdpGithub(ctx, &zitadel.LookupOrgIdpGithubArgs{ +// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), +// Id: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` func LookupOrgIdpGithub(ctx *pulumi.Context, args *LookupOrgIdpGithubArgs, opts ...pulumi.InvokeOption) (*LookupOrgIdpGithubResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupOrgIdpGithubResult err := ctx.Invoke("zitadel:index/getOrgIdpGithub:getOrgIdpGithub", args, &rv, opts...) if err != nil { @@ -118,6 +122,12 @@ func (o LookupOrgIdpGithubResultOutput) ToLookupOrgIdpGithubResultOutputWithCont return o } +func (o LookupOrgIdpGithubResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrgIdpGithubResult] { + return pulumix.Output[LookupOrgIdpGithubResult]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o LookupOrgIdpGithubResultOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v LookupOrgIdpGithubResult) string { return v.ClientId }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getOrgIdpGithubEs.go b/sdk/go/zitadel/getOrgIdpGithubEs.go index f83fb4a..199db81 100644 --- a/sdk/go/zitadel/getOrgIdpGithubEs.go +++ b/sdk/go/zitadel/getOrgIdpGithubEs.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing a GitHub Enterprise IdP of the organization. @@ -18,26 +20,28 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.LookupOrgIdpGithubEs(ctx, &GetOrgIdpGithubEsArgs{ -// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), -// Id: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.LookupOrgIdpGithubEs(ctx, &zitadel.LookupOrgIdpGithubEsArgs{ +// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), +// Id: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` func LookupOrgIdpGithubEs(ctx *pulumi.Context, args *LookupOrgIdpGithubEsArgs, opts ...pulumi.InvokeOption) (*LookupOrgIdpGithubEsResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupOrgIdpGithubEsResult err := ctx.Invoke("zitadel:index/getOrgIdpGithubEs:getOrgIdpGithubEs", args, &rv, opts...) if err != nil { @@ -124,6 +128,12 @@ func (o LookupOrgIdpGithubEsResultOutput) ToLookupOrgIdpGithubEsResultOutputWith return o } +func (o LookupOrgIdpGithubEsResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrgIdpGithubEsResult] { + return pulumix.Output[LookupOrgIdpGithubEsResult]{ + OutputState: o.OutputState, + } +} + // the providers authorization endpoint func (o LookupOrgIdpGithubEsResultOutput) AuthorizationEndpoint() pulumi.StringOutput { return o.ApplyT(func(v LookupOrgIdpGithubEsResult) string { return v.AuthorizationEndpoint }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getOrgIdpGitlab.go b/sdk/go/zitadel/getOrgIdpGitlab.go index ad731b7..b42c17b 100644 --- a/sdk/go/zitadel/getOrgIdpGitlab.go +++ b/sdk/go/zitadel/getOrgIdpGitlab.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing a GitLab IdP of the organization. @@ -18,26 +20,28 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.LookupOrgIdpGitlab(ctx, &GetOrgIdpGitlabArgs{ -// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), -// Id: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.LookupOrgIdpGitlab(ctx, &zitadel.LookupOrgIdpGitlabArgs{ +// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), +// Id: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` func LookupOrgIdpGitlab(ctx *pulumi.Context, args *LookupOrgIdpGitlabArgs, opts ...pulumi.InvokeOption) (*LookupOrgIdpGitlabResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupOrgIdpGitlabResult err := ctx.Invoke("zitadel:index/getOrgIdpGitlab:getOrgIdpGitlab", args, &rv, opts...) if err != nil { @@ -118,6 +122,12 @@ func (o LookupOrgIdpGitlabResultOutput) ToLookupOrgIdpGitlabResultOutputWithCont return o } +func (o LookupOrgIdpGitlabResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrgIdpGitlabResult] { + return pulumix.Output[LookupOrgIdpGitlabResult]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o LookupOrgIdpGitlabResultOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v LookupOrgIdpGitlabResult) string { return v.ClientId }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getOrgIdpGitlabSelfHosted.go b/sdk/go/zitadel/getOrgIdpGitlabSelfHosted.go index 0382704..df77fb8 100644 --- a/sdk/go/zitadel/getOrgIdpGitlabSelfHosted.go +++ b/sdk/go/zitadel/getOrgIdpGitlabSelfHosted.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing a GitLab Self Hosted IdP of the organization. @@ -18,26 +20,28 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.LookupOrgIdpGitlabSelfHosted(ctx, &GetOrgIdpGitlabSelfHostedArgs{ -// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), -// Id: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.LookupOrgIdpGitlabSelfHosted(ctx, &zitadel.LookupOrgIdpGitlabSelfHostedArgs{ +// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), +// Id: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` func LookupOrgIdpGitlabSelfHosted(ctx *pulumi.Context, args *LookupOrgIdpGitlabSelfHostedArgs, opts ...pulumi.InvokeOption) (*LookupOrgIdpGitlabSelfHostedResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupOrgIdpGitlabSelfHostedResult err := ctx.Invoke("zitadel:index/getOrgIdpGitlabSelfHosted:getOrgIdpGitlabSelfHosted", args, &rv, opts...) if err != nil { @@ -120,6 +124,12 @@ func (o LookupOrgIdpGitlabSelfHostedResultOutput) ToLookupOrgIdpGitlabSelfHosted return o } +func (o LookupOrgIdpGitlabSelfHostedResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrgIdpGitlabSelfHostedResult] { + return pulumix.Output[LookupOrgIdpGitlabSelfHostedResult]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o LookupOrgIdpGitlabSelfHostedResultOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v LookupOrgIdpGitlabSelfHostedResult) string { return v.ClientId }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getOrgIdpGoogle.go b/sdk/go/zitadel/getOrgIdpGoogle.go index de23551..2b0d040 100644 --- a/sdk/go/zitadel/getOrgIdpGoogle.go +++ b/sdk/go/zitadel/getOrgIdpGoogle.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing a Google IdP of the organization. @@ -18,26 +20,28 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.LookupOrgIdpGoogle(ctx, &GetOrgIdpGoogleArgs{ -// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), -// Id: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.LookupOrgIdpGoogle(ctx, &zitadel.LookupOrgIdpGoogleArgs{ +// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), +// Id: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` func LookupOrgIdpGoogle(ctx *pulumi.Context, args *LookupOrgIdpGoogleArgs, opts ...pulumi.InvokeOption) (*LookupOrgIdpGoogleResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupOrgIdpGoogleResult err := ctx.Invoke("zitadel:index/getOrgIdpGoogle:getOrgIdpGoogle", args, &rv, opts...) if err != nil { @@ -118,6 +122,12 @@ func (o LookupOrgIdpGoogleResultOutput) ToLookupOrgIdpGoogleResultOutputWithCont return o } +func (o LookupOrgIdpGoogleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrgIdpGoogleResult] { + return pulumix.Output[LookupOrgIdpGoogleResult]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o LookupOrgIdpGoogleResultOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v LookupOrgIdpGoogleResult) string { return v.ClientId }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getOrgIdpLdap.go b/sdk/go/zitadel/getOrgIdpLdap.go index 34ca93c..fdaabb4 100644 --- a/sdk/go/zitadel/getOrgIdpLdap.go +++ b/sdk/go/zitadel/getOrgIdpLdap.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing an LDAP IdP on the organization. @@ -18,26 +20,28 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.LookupOrgIdpLdap(ctx, &GetOrgIdpLdapArgs{ -// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), -// Id: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.LookupOrgIdpLdap(ctx, &zitadel.LookupOrgIdpLdapArgs{ +// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), +// Id: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` func LookupOrgIdpLdap(ctx *pulumi.Context, args *LookupOrgIdpLdapArgs, opts ...pulumi.InvokeOption) (*LookupOrgIdpLdapResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupOrgIdpLdapResult err := ctx.Invoke("zitadel:index/getOrgIdpLdap:getOrgIdpLdap", args, &rv, opts...) if err != nil { @@ -156,6 +160,12 @@ func (o LookupOrgIdpLdapResultOutput) ToLookupOrgIdpLdapResultOutputWithContext( return o } +func (o LookupOrgIdpLdapResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrgIdpLdapResult] { + return pulumix.Output[LookupOrgIdpLdapResult]{ + OutputState: o.OutputState, + } +} + // User attribute for the avatar url func (o LookupOrgIdpLdapResultOutput) AvatarUrlAttribute() pulumi.StringOutput { return o.ApplyT(func(v LookupOrgIdpLdapResult) string { return v.AvatarUrlAttribute }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getOrgJwtIdp.go b/sdk/go/zitadel/getOrgJwtIdp.go index 253a136..928ede5 100644 --- a/sdk/go/zitadel/getOrgJwtIdp.go +++ b/sdk/go/zitadel/getOrgJwtIdp.go @@ -8,11 +8,13 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing a generic JWT IdP on the organization. func GetOrgJwtIdp(ctx *pulumi.Context, args *GetOrgJwtIdpArgs, opts ...pulumi.InvokeOption) (*GetOrgJwtIdpResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv GetOrgJwtIdpResult err := ctx.Invoke("zitadel:index/getOrgJwtIdp:getOrgJwtIdp", args, &rv, opts...) if err != nil { @@ -93,6 +95,12 @@ func (o GetOrgJwtIdpResultOutput) ToGetOrgJwtIdpResultOutputWithContext(ctx cont return o } +func (o GetOrgJwtIdpResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetOrgJwtIdpResult] { + return pulumix.Output[GetOrgJwtIdpResult]{ + OutputState: o.OutputState, + } +} + // auto register for users from this idp func (o GetOrgJwtIdpResultOutput) AutoRegister() pulumi.BoolOutput { return o.ApplyT(func(v GetOrgJwtIdpResult) bool { return v.AutoRegister }).(pulumi.BoolOutput) diff --git a/sdk/go/zitadel/getOrgOidcIdp.go b/sdk/go/zitadel/getOrgOidcIdp.go index efa9f5e..24ea6a8 100644 --- a/sdk/go/zitadel/getOrgOidcIdp.go +++ b/sdk/go/zitadel/getOrgOidcIdp.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing a generic OIDC IdP on the organization. @@ -18,27 +20,29 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _default, err := zitadel.GetOrgOidcIdp(ctx, &GetOrgOidcIdpArgs{ -// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), -// Id: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// ctx.Export("orgOidcIdp", _default) -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _default, err := zitadel.GetOrgOidcIdp(ctx, &zitadel.GetOrgOidcIdpArgs{ +// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), +// Id: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("orgOidcIdp", _default) +// return nil +// }) +// } +// // ``` func GetOrgOidcIdp(ctx *pulumi.Context, args *GetOrgOidcIdpArgs, opts ...pulumi.InvokeOption) (*GetOrgOidcIdpResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv GetOrgOidcIdpResult err := ctx.Invoke("zitadel:index/getOrgOidcIdp:getOrgOidcIdp", args, &rv, opts...) if err != nil { @@ -123,6 +127,12 @@ func (o GetOrgOidcIdpResultOutput) ToGetOrgOidcIdpResultOutputWithContext(ctx co return o } +func (o GetOrgOidcIdpResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetOrgOidcIdpResult] { + return pulumix.Output[GetOrgOidcIdpResult]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o GetOrgOidcIdpResultOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v GetOrgOidcIdpResult) string { return v.ClientId }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getOrgs.go b/sdk/go/zitadel/getOrgs.go new file mode 100644 index 0000000..d660534 --- /dev/null +++ b/sdk/go/zitadel/getOrgs.go @@ -0,0 +1,154 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package zitadel + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" +) + +// Datasource representing an organization in ZITADEL, which is the highest level after the instance and contains several other resource including policies if the configuration differs to the default policies on the instance. +func GetOrgs(ctx *pulumi.Context, args *GetOrgsArgs, opts ...pulumi.InvokeOption) (*GetOrgsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetOrgsResult + err := ctx.Invoke("zitadel:index/getOrgs:getOrgs", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getOrgs. +type GetOrgsArgs struct { + // A domain of the org. + Domain *string `pulumi:"domain"` + // Method for querying orgs by domain, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + DomainMethod *string `pulumi:"domainMethod"` + // Name of the org. + Name *string `pulumi:"name"` + // Method for querying orgs by name, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + NameMethod *string `pulumi:"nameMethod"` + // State of the org, supported values: ORG*STATE*UNSPECIFIED, ORG*STATE*ACTIVE, ORG*STATE*INACTIVE, ORG*STATE*REMOVED + State *string `pulumi:"state"` +} + +// A collection of values returned by getOrgs. +type GetOrgsResult struct { + // A domain of the org. + Domain *string `pulumi:"domain"` + // Method for querying orgs by domain, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + DomainMethod *string `pulumi:"domainMethod"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // A set of all organization IDs. + Ids []string `pulumi:"ids"` + // Name of the org. + Name *string `pulumi:"name"` + // Method for querying orgs by name, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + NameMethod *string `pulumi:"nameMethod"` + // Primary domain of the org + PrimaryDomain string `pulumi:"primaryDomain"` + // State of the org, supported values: ORG*STATE*UNSPECIFIED, ORG*STATE*ACTIVE, ORG*STATE*INACTIVE, ORG*STATE*REMOVED + State *string `pulumi:"state"` +} + +func GetOrgsOutput(ctx *pulumi.Context, args GetOrgsOutputArgs, opts ...pulumi.InvokeOption) GetOrgsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetOrgsResult, error) { + args := v.(GetOrgsArgs) + r, err := GetOrgs(ctx, &args, opts...) + var s GetOrgsResult + if r != nil { + s = *r + } + return s, err + }).(GetOrgsResultOutput) +} + +// A collection of arguments for invoking getOrgs. +type GetOrgsOutputArgs struct { + // A domain of the org. + Domain pulumi.StringPtrInput `pulumi:"domain"` + // Method for querying orgs by domain, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + DomainMethod pulumi.StringPtrInput `pulumi:"domainMethod"` + // Name of the org. + Name pulumi.StringPtrInput `pulumi:"name"` + // Method for querying orgs by name, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + NameMethod pulumi.StringPtrInput `pulumi:"nameMethod"` + // State of the org, supported values: ORG*STATE*UNSPECIFIED, ORG*STATE*ACTIVE, ORG*STATE*INACTIVE, ORG*STATE*REMOVED + State pulumi.StringPtrInput `pulumi:"state"` +} + +func (GetOrgsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrgsArgs)(nil)).Elem() +} + +// A collection of values returned by getOrgs. +type GetOrgsResultOutput struct{ *pulumi.OutputState } + +func (GetOrgsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrgsResult)(nil)).Elem() +} + +func (o GetOrgsResultOutput) ToGetOrgsResultOutput() GetOrgsResultOutput { + return o +} + +func (o GetOrgsResultOutput) ToGetOrgsResultOutputWithContext(ctx context.Context) GetOrgsResultOutput { + return o +} + +func (o GetOrgsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetOrgsResult] { + return pulumix.Output[GetOrgsResult]{ + OutputState: o.OutputState, + } +} + +// A domain of the org. +func (o GetOrgsResultOutput) Domain() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetOrgsResult) *string { return v.Domain }).(pulumi.StringPtrOutput) +} + +// Method for querying orgs by domain, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE +func (o GetOrgsResultOutput) DomainMethod() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetOrgsResult) *string { return v.DomainMethod }).(pulumi.StringPtrOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetOrgsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetOrgsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// A set of all organization IDs. +func (o GetOrgsResultOutput) Ids() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOrgsResult) []string { return v.Ids }).(pulumi.StringArrayOutput) +} + +// Name of the org. +func (o GetOrgsResultOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetOrgsResult) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Method for querying orgs by name, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE +func (o GetOrgsResultOutput) NameMethod() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetOrgsResult) *string { return v.NameMethod }).(pulumi.StringPtrOutput) +} + +// Primary domain of the org +func (o GetOrgsResultOutput) PrimaryDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetOrgsResult) string { return v.PrimaryDomain }).(pulumi.StringOutput) +} + +// State of the org, supported values: ORG*STATE*UNSPECIFIED, ORG*STATE*ACTIVE, ORG*STATE*INACTIVE, ORG*STATE*REMOVED +func (o GetOrgsResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetOrgsResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetOrgsResultOutput{}) +} diff --git a/sdk/go/zitadel/getProject.go b/sdk/go/zitadel/getProject.go index 05fa46a..ee4bd3d 100644 --- a/sdk/go/zitadel/getProject.go +++ b/sdk/go/zitadel/getProject.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing the project, which can then be granted to different organizations or users directly, containing different applications. @@ -18,27 +20,29 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _default, err := zitadel.LookupProject(ctx, &GetProjectArgs{ -// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), -// ProjectId: "123456789012345678", -// }, nil) -// if err != nil { -// return err -// } -// ctx.Export("project", _default) -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _default, err := zitadel.LookupProject(ctx, &zitadel.LookupProjectArgs{ +// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), +// ProjectId: "123456789012345678", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("project", _default) +// return nil +// }) +// } +// // ``` func LookupProject(ctx *pulumi.Context, args *LookupProjectArgs, opts ...pulumi.InvokeOption) (*LookupProjectResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupProjectResult err := ctx.Invoke("zitadel:index/getProject:getProject", args, &rv, opts...) if err != nil { @@ -117,6 +121,12 @@ func (o LookupProjectResultOutput) ToLookupProjectResultOutputWithContext(ctx co return o } +func (o LookupProjectResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProjectResult] { + return pulumix.Output[LookupProjectResult]{ + OutputState: o.OutputState, + } +} + // ZITADEL checks if the org of the user has permission to this project func (o LookupProjectResultOutput) HasProjectCheck() pulumi.BoolOutput { return o.ApplyT(func(v LookupProjectResult) bool { return v.HasProjectCheck }).(pulumi.BoolOutput) diff --git a/sdk/go/zitadel/getProjectRole.go b/sdk/go/zitadel/getProjectRole.go index e5cffb9..9b6d99a 100644 --- a/sdk/go/zitadel/getProjectRole.go +++ b/sdk/go/zitadel/getProjectRole.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Datasource representing the project roles, which can be given as authorizations to users. @@ -18,28 +20,30 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _default, err := zitadel.LookupProjectRole(ctx, &GetProjectRoleArgs{ -// OrgId: data.Zitadel_org.Default.Id, -// ProjectId: data.Zitadel_project.Default.Id, -// RoleKey: "key", -// }, nil) -// if err != nil { -// return err -// } -// ctx.Export("projectRole", _default) -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _default, err := zitadel.LookupProjectRole(ctx, &zitadel.LookupProjectRoleArgs{ +// OrgId: data.Zitadel_org.Default.Id, +// ProjectId: data.Zitadel_project.Default.Id, +// RoleKey: "key", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("projectRole", _default) +// return nil +// }) +// } +// // ``` func LookupProjectRole(ctx *pulumi.Context, args *LookupProjectRoleArgs, opts ...pulumi.InvokeOption) (*LookupProjectRoleResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupProjectRoleResult err := ctx.Invoke("zitadel:index/getProjectRole:getProjectRole", args, &rv, opts...) if err != nil { @@ -116,6 +120,12 @@ func (o LookupProjectRoleResultOutput) ToLookupProjectRoleResultOutputWithContex return o } +func (o LookupProjectRoleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProjectRoleResult] { + return pulumix.Output[LookupProjectRoleResult]{ + OutputState: o.OutputState, + } +} + // Name used for project role func (o LookupProjectRoleResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupProjectRoleResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/getTriggerActions.go b/sdk/go/zitadel/getTriggerActions.go index 9954c15..6b50634 100644 --- a/sdk/go/zitadel/getTriggerActions.go +++ b/sdk/go/zitadel/getTriggerActions.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing triggers, when actions get started @@ -18,28 +20,30 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi-zitadel/sdk/go/zitadel" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _default, err := zitadel.LookupTriggerActions(ctx, &GetTriggerActionsArgs{ -// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), -// FlowType: "FLOW_TYPE_EXTERNAL_AUTHENTICATION", -// TriggerType: "TRIGGER_TYPE_POST_AUTHENTICATION", -// }, nil) -// if err != nil { -// return err -// } -// ctx.Export("triggerActions", _default) -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _default, err := zitadel.LookupTriggerActions(ctx, &zitadel.LookupTriggerActionsArgs{ +// OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id), +// FlowType: "FLOW_TYPE_EXTERNAL_AUTHENTICATION", +// TriggerType: "TRIGGER_TYPE_POST_AUTHENTICATION", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("triggerActions", _default) +// return nil +// }) +// } +// // ``` func LookupTriggerActions(ctx *pulumi.Context, args *LookupTriggerActionsArgs, opts ...pulumi.InvokeOption) (*LookupTriggerActionsResult, error) { - opts = pkgInvokeDefaultOpts(opts) + opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupTriggerActionsResult err := ctx.Invoke("zitadel:index/getTriggerActions:getTriggerActions", args, &rv, opts...) if err != nil { @@ -114,6 +118,12 @@ func (o LookupTriggerActionsResultOutput) ToLookupTriggerActionsResultOutputWith return o } +func (o LookupTriggerActionsResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTriggerActionsResult] { + return pulumix.Output[LookupTriggerActionsResult]{ + OutputState: o.OutputState, + } +} + // IDs of the triggered actions func (o LookupTriggerActionsResultOutput) ActionIds() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupTriggerActionsResult) []string { return v.ActionIds }).(pulumi.StringArrayOutput) diff --git a/sdk/go/zitadel/humanUser.go b/sdk/go/zitadel/humanUser.go index d33fc61..6538e00 100644 --- a/sdk/go/zitadel/humanUser.go +++ b/sdk/go/zitadel/humanUser.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // **Caution: Email can only be set verified if a password is set for the user, either with initialPassword or during runtime** @@ -21,41 +23,46 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewHumanUser(ctx, "default", &zitadel.HumanUserArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// UserName: pulumi.String("humanfull@localhost.com"), -// FirstName: pulumi.String("firstname"), -// LastName: pulumi.String("lastname"), -// NickName: pulumi.String("nickname"), -// DisplayName: pulumi.String("displayname"), -// PreferredLanguage: pulumi.String("de"), -// Gender: pulumi.String("GENDER_MALE"), -// Phone: pulumi.String("+41799999999"), -// IsPhoneVerified: pulumi.Bool(true), -// Email: pulumi.String("test@zitadel.com"), -// IsEmailVerified: pulumi.Bool(true), -// InitialPassword: pulumi.String("Password1!"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewHumanUser(ctx, "default", &zitadel.HumanUserArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// UserName: pulumi.String("humanfull@localhost.com"), +// FirstName: pulumi.String("firstname"), +// LastName: pulumi.String("lastname"), +// NickName: pulumi.String("nickname"), +// DisplayName: pulumi.String("displayname"), +// PreferredLanguage: pulumi.String("de"), +// Gender: pulumi.String("GENDER_MALE"), +// Phone: pulumi.String("+41799999999"), +// IsPhoneVerified: pulumi.Bool(true), +// Email: pulumi.String("test@zitadel.com"), +// IsEmailVerified: pulumi.Bool(true), +// InitialPassword: pulumi.String("Password1!"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format `id[:org_id][:initial_password]>`, e.g. +// terraform The resource can be imported using the ID format `id[:org_id][:initial_password]>`, e.g. // // ```sh -// $ pulumi import zitadel:index/humanUser:HumanUser imported '123456789012345678:123456789012345678:Password1!' +// +// $ pulumi import zitadel:index/humanUser:HumanUser imported '123456789012345678:123456789012345678:Password1!' +// // ``` type HumanUser struct { pulumi.CustomResourceState @@ -113,7 +120,14 @@ func NewHumanUser(ctx *pulumi.Context, if args.UserName == nil { return nil, errors.New("invalid value for required argument 'UserName'") } - opts = pkgResourceDefaultOpts(opts) + if args.InitialPassword != nil { + args.InitialPassword = pulumi.ToSecret(args.InitialPassword).(pulumi.StringPtrInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "initialPassword", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource HumanUser err := ctx.RegisterResource("zitadel:index/humanUser:HumanUser", name, args, &resource, opts...) if err != nil { @@ -291,10 +305,16 @@ func (i *HumanUser) ToHumanUserOutputWithContext(ctx context.Context) HumanUserO return pulumi.ToOutputWithContext(ctx, i).(HumanUserOutput) } +func (i *HumanUser) ToOutput(ctx context.Context) pulumix.Output[*HumanUser] { + return pulumix.Output[*HumanUser]{ + OutputState: i.ToHumanUserOutputWithContext(ctx).OutputState, + } +} + // HumanUserArrayInput is an input type that accepts HumanUserArray and HumanUserArrayOutput values. // You can construct a concrete instance of `HumanUserArrayInput` via: // -// HumanUserArray{ HumanUserArgs{...} } +// HumanUserArray{ HumanUserArgs{...} } type HumanUserArrayInput interface { pulumi.Input @@ -316,10 +336,16 @@ func (i HumanUserArray) ToHumanUserArrayOutputWithContext(ctx context.Context) H return pulumi.ToOutputWithContext(ctx, i).(HumanUserArrayOutput) } +func (i HumanUserArray) ToOutput(ctx context.Context) pulumix.Output[[]*HumanUser] { + return pulumix.Output[[]*HumanUser]{ + OutputState: i.ToHumanUserArrayOutputWithContext(ctx).OutputState, + } +} + // HumanUserMapInput is an input type that accepts HumanUserMap and HumanUserMapOutput values. // You can construct a concrete instance of `HumanUserMapInput` via: // -// HumanUserMap{ "key": HumanUserArgs{...} } +// HumanUserMap{ "key": HumanUserArgs{...} } type HumanUserMapInput interface { pulumi.Input @@ -341,6 +367,12 @@ func (i HumanUserMap) ToHumanUserMapOutputWithContext(ctx context.Context) Human return pulumi.ToOutputWithContext(ctx, i).(HumanUserMapOutput) } +func (i HumanUserMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*HumanUser] { + return pulumix.Output[map[string]*HumanUser]{ + OutputState: i.ToHumanUserMapOutputWithContext(ctx).OutputState, + } +} + type HumanUserOutput struct{ *pulumi.OutputState } func (HumanUserOutput) ElementType() reflect.Type { @@ -355,6 +387,12 @@ func (o HumanUserOutput) ToHumanUserOutputWithContext(ctx context.Context) Human return o } +func (o HumanUserOutput) ToOutput(ctx context.Context) pulumix.Output[*HumanUser] { + return pulumix.Output[*HumanUser]{ + OutputState: o.OutputState, + } +} + // Display name of the user func (o HumanUserOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *HumanUser) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) @@ -449,6 +487,12 @@ func (o HumanUserArrayOutput) ToHumanUserArrayOutputWithContext(ctx context.Cont return o } +func (o HumanUserArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*HumanUser] { + return pulumix.Output[[]*HumanUser]{ + OutputState: o.OutputState, + } +} + func (o HumanUserArrayOutput) Index(i pulumi.IntInput) HumanUserOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *HumanUser { return vs[0].([]*HumanUser)[vs[1].(int)] @@ -469,6 +513,12 @@ func (o HumanUserMapOutput) ToHumanUserMapOutputWithContext(ctx context.Context) return o } +func (o HumanUserMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*HumanUser] { + return pulumix.Output[map[string]*HumanUser]{ + OutputState: o.OutputState, + } +} + func (o HumanUserMapOutput) MapIndex(k pulumi.StringInput) HumanUserOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *HumanUser { return vs[0].(map[string]*HumanUser)[vs[1].(string)] diff --git a/sdk/go/zitadel/idpAzureAd.go b/sdk/go/zitadel/idpAzureAd.go index 906063d..d0878be 100644 --- a/sdk/go/zitadel/idpAzureAd.go +++ b/sdk/go/zitadel/idpAzureAd.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing an Azure AD IDP on the instance. @@ -19,42 +21,47 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewIdpAzureAd(ctx, "default", &zitadel.IdpAzureAdArgs{ -// ClientId: pulumi.String("9065bfc8-a08a..."), -// ClientSecret: pulumi.String("H2n***"), -// EmailVerified: pulumi.Bool(true), -// IsAutoCreation: pulumi.Bool(false), -// IsAutoUpdate: pulumi.Bool(true), -// IsCreationAllowed: pulumi.Bool(true), -// IsLinkingAllowed: pulumi.Bool(false), -// Scopes: pulumi.StringArray{ -// pulumi.String("openid"), -// pulumi.String("profile"), -// pulumi.String("email"), -// pulumi.String("User.Read"), -// }, -// TenantType: pulumi.String("AZURE_AD_TENANT_TYPE_ORGANISATIONS"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewIdpAzureAd(ctx, "default", &zitadel.IdpAzureAdArgs{ +// ClientId: pulumi.String("9065bfc8-a08a..."), +// ClientSecret: pulumi.String("H2n***"), +// EmailVerified: pulumi.Bool(true), +// IsAutoCreation: pulumi.Bool(false), +// IsAutoUpdate: pulumi.Bool(true), +// IsCreationAllowed: pulumi.Bool(true), +// IsLinkingAllowed: pulumi.Bool(false), +// Scopes: pulumi.StringArray{ +// pulumi.String("openid"), +// pulumi.String("profile"), +// pulumi.String("email"), +// pulumi.String("User.Read"), +// }, +// TenantType: pulumi.String("AZURE_AD_TENANT_TYPE_ORGANISATIONS"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/idpAzureAd:IdpAzureAd imported '123456789012345678:12345678-1234-1234-1234-123456789012' +// +// $ pulumi import zitadel:index/idpAzureAd:IdpAzureAd imported '123456789012345678:12345678-1234-1234-1234-123456789012' +// // ``` type IdpAzureAd struct { pulumi.CustomResourceState @@ -111,7 +118,14 @@ func NewIdpAzureAd(ctx *pulumi.Context, if args.IsLinkingAllowed == nil { return nil, errors.New("invalid value for required argument 'IsLinkingAllowed'") } - opts = pkgResourceDefaultOpts(opts) + if args.ClientSecret != nil { + args.ClientSecret = pulumi.ToSecret(args.ClientSecret).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientSecret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource IdpAzureAd err := ctx.RegisterResource("zitadel:index/idpAzureAd:IdpAzureAd", name, args, &resource, opts...) if err != nil { @@ -261,10 +275,16 @@ func (i *IdpAzureAd) ToIdpAzureAdOutputWithContext(ctx context.Context) IdpAzure return pulumi.ToOutputWithContext(ctx, i).(IdpAzureAdOutput) } +func (i *IdpAzureAd) ToOutput(ctx context.Context) pulumix.Output[*IdpAzureAd] { + return pulumix.Output[*IdpAzureAd]{ + OutputState: i.ToIdpAzureAdOutputWithContext(ctx).OutputState, + } +} + // IdpAzureAdArrayInput is an input type that accepts IdpAzureAdArray and IdpAzureAdArrayOutput values. // You can construct a concrete instance of `IdpAzureAdArrayInput` via: // -// IdpAzureAdArray{ IdpAzureAdArgs{...} } +// IdpAzureAdArray{ IdpAzureAdArgs{...} } type IdpAzureAdArrayInput interface { pulumi.Input @@ -286,10 +306,16 @@ func (i IdpAzureAdArray) ToIdpAzureAdArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(IdpAzureAdArrayOutput) } +func (i IdpAzureAdArray) ToOutput(ctx context.Context) pulumix.Output[[]*IdpAzureAd] { + return pulumix.Output[[]*IdpAzureAd]{ + OutputState: i.ToIdpAzureAdArrayOutputWithContext(ctx).OutputState, + } +} + // IdpAzureAdMapInput is an input type that accepts IdpAzureAdMap and IdpAzureAdMapOutput values. // You can construct a concrete instance of `IdpAzureAdMapInput` via: // -// IdpAzureAdMap{ "key": IdpAzureAdArgs{...} } +// IdpAzureAdMap{ "key": IdpAzureAdArgs{...} } type IdpAzureAdMapInput interface { pulumi.Input @@ -311,6 +337,12 @@ func (i IdpAzureAdMap) ToIdpAzureAdMapOutputWithContext(ctx context.Context) Idp return pulumi.ToOutputWithContext(ctx, i).(IdpAzureAdMapOutput) } +func (i IdpAzureAdMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*IdpAzureAd] { + return pulumix.Output[map[string]*IdpAzureAd]{ + OutputState: i.ToIdpAzureAdMapOutputWithContext(ctx).OutputState, + } +} + type IdpAzureAdOutput struct{ *pulumi.OutputState } func (IdpAzureAdOutput) ElementType() reflect.Type { @@ -325,6 +357,12 @@ func (o IdpAzureAdOutput) ToIdpAzureAdOutputWithContext(ctx context.Context) Idp return o } +func (o IdpAzureAdOutput) ToOutput(ctx context.Context) pulumix.Output[*IdpAzureAd] { + return pulumix.Output[*IdpAzureAd]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o IdpAzureAdOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v *IdpAzureAd) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) @@ -394,6 +432,12 @@ func (o IdpAzureAdArrayOutput) ToIdpAzureAdArrayOutputWithContext(ctx context.Co return o } +func (o IdpAzureAdArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*IdpAzureAd] { + return pulumix.Output[[]*IdpAzureAd]{ + OutputState: o.OutputState, + } +} + func (o IdpAzureAdArrayOutput) Index(i pulumi.IntInput) IdpAzureAdOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *IdpAzureAd { return vs[0].([]*IdpAzureAd)[vs[1].(int)] @@ -414,6 +458,12 @@ func (o IdpAzureAdMapOutput) ToIdpAzureAdMapOutputWithContext(ctx context.Contex return o } +func (o IdpAzureAdMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*IdpAzureAd] { + return pulumix.Output[map[string]*IdpAzureAd]{ + OutputState: o.OutputState, + } +} + func (o IdpAzureAdMapOutput) MapIndex(k pulumi.StringInput) IdpAzureAdOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *IdpAzureAd { return vs[0].(map[string]*IdpAzureAd)[vs[1].(string)] diff --git a/sdk/go/zitadel/idpGithub.go b/sdk/go/zitadel/idpGithub.go index 9817ab1..529a49f 100644 --- a/sdk/go/zitadel/idpGithub.go +++ b/sdk/go/zitadel/idpGithub.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing a GitHub IDP on the instance. @@ -19,39 +21,44 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewIdpGithub(ctx, "default", &zitadel.IdpGithubArgs{ -// ClientId: pulumi.String("86a165..."), -// ClientSecret: pulumi.String("*****afdbac18"), -// IsAutoCreation: pulumi.Bool(false), -// IsAutoUpdate: pulumi.Bool(true), -// IsCreationAllowed: pulumi.Bool(true), -// IsLinkingAllowed: pulumi.Bool(false), -// Scopes: pulumi.StringArray{ -// pulumi.String("openid"), -// pulumi.String("profile"), -// pulumi.String("email"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewIdpGithub(ctx, "default", &zitadel.IdpGithubArgs{ +// ClientId: pulumi.String("86a165..."), +// ClientSecret: pulumi.String("*****afdbac18"), +// IsAutoCreation: pulumi.Bool(false), +// IsAutoUpdate: pulumi.Bool(true), +// IsCreationAllowed: pulumi.Bool(true), +// IsLinkingAllowed: pulumi.Bool(false), +// Scopes: pulumi.StringArray{ +// pulumi.String("openid"), +// pulumi.String("profile"), +// pulumi.String("email"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/idpGithub:IdpGithub imported '123456789012345678:1234567890123456781234567890123456787890' +// +// $ pulumi import zitadel:index/idpGithub:IdpGithub imported '123456789012345678:1234567890123456781234567890123456787890' +// // ``` type IdpGithub struct { pulumi.CustomResourceState @@ -99,7 +106,14 @@ func NewIdpGithub(ctx *pulumi.Context, if args.IsLinkingAllowed == nil { return nil, errors.New("invalid value for required argument 'IsLinkingAllowed'") } - opts = pkgResourceDefaultOpts(opts) + if args.ClientSecret != nil { + args.ClientSecret = pulumi.ToSecret(args.ClientSecret).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientSecret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource IdpGithub err := ctx.RegisterResource("zitadel:index/idpGithub:IdpGithub", name, args, &resource, opts...) if err != nil { @@ -225,10 +239,16 @@ func (i *IdpGithub) ToIdpGithubOutputWithContext(ctx context.Context) IdpGithubO return pulumi.ToOutputWithContext(ctx, i).(IdpGithubOutput) } +func (i *IdpGithub) ToOutput(ctx context.Context) pulumix.Output[*IdpGithub] { + return pulumix.Output[*IdpGithub]{ + OutputState: i.ToIdpGithubOutputWithContext(ctx).OutputState, + } +} + // IdpGithubArrayInput is an input type that accepts IdpGithubArray and IdpGithubArrayOutput values. // You can construct a concrete instance of `IdpGithubArrayInput` via: // -// IdpGithubArray{ IdpGithubArgs{...} } +// IdpGithubArray{ IdpGithubArgs{...} } type IdpGithubArrayInput interface { pulumi.Input @@ -250,10 +270,16 @@ func (i IdpGithubArray) ToIdpGithubArrayOutputWithContext(ctx context.Context) I return pulumi.ToOutputWithContext(ctx, i).(IdpGithubArrayOutput) } +func (i IdpGithubArray) ToOutput(ctx context.Context) pulumix.Output[[]*IdpGithub] { + return pulumix.Output[[]*IdpGithub]{ + OutputState: i.ToIdpGithubArrayOutputWithContext(ctx).OutputState, + } +} + // IdpGithubMapInput is an input type that accepts IdpGithubMap and IdpGithubMapOutput values. // You can construct a concrete instance of `IdpGithubMapInput` via: // -// IdpGithubMap{ "key": IdpGithubArgs{...} } +// IdpGithubMap{ "key": IdpGithubArgs{...} } type IdpGithubMapInput interface { pulumi.Input @@ -275,6 +301,12 @@ func (i IdpGithubMap) ToIdpGithubMapOutputWithContext(ctx context.Context) IdpGi return pulumi.ToOutputWithContext(ctx, i).(IdpGithubMapOutput) } +func (i IdpGithubMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*IdpGithub] { + return pulumix.Output[map[string]*IdpGithub]{ + OutputState: i.ToIdpGithubMapOutputWithContext(ctx).OutputState, + } +} + type IdpGithubOutput struct{ *pulumi.OutputState } func (IdpGithubOutput) ElementType() reflect.Type { @@ -289,6 +321,12 @@ func (o IdpGithubOutput) ToIdpGithubOutputWithContext(ctx context.Context) IdpGi return o } +func (o IdpGithubOutput) ToOutput(ctx context.Context) pulumix.Output[*IdpGithub] { + return pulumix.Output[*IdpGithub]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o IdpGithubOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v *IdpGithub) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) @@ -343,6 +381,12 @@ func (o IdpGithubArrayOutput) ToIdpGithubArrayOutputWithContext(ctx context.Cont return o } +func (o IdpGithubArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*IdpGithub] { + return pulumix.Output[[]*IdpGithub]{ + OutputState: o.OutputState, + } +} + func (o IdpGithubArrayOutput) Index(i pulumi.IntInput) IdpGithubOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *IdpGithub { return vs[0].([]*IdpGithub)[vs[1].(int)] @@ -363,6 +407,12 @@ func (o IdpGithubMapOutput) ToIdpGithubMapOutputWithContext(ctx context.Context) return o } +func (o IdpGithubMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*IdpGithub] { + return pulumix.Output[map[string]*IdpGithub]{ + OutputState: o.OutputState, + } +} + func (o IdpGithubMapOutput) MapIndex(k pulumi.StringInput) IdpGithubOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *IdpGithub { return vs[0].(map[string]*IdpGithub)[vs[1].(string)] diff --git a/sdk/go/zitadel/idpGithubEs.go b/sdk/go/zitadel/idpGithubEs.go index f31d98b..e4c212e 100644 --- a/sdk/go/zitadel/idpGithubEs.go +++ b/sdk/go/zitadel/idpGithubEs.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing a GitHub Enterprise IDP on the instance. @@ -19,42 +21,47 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewIdpGithubEs(ctx, "default", &zitadel.IdpGithubEsArgs{ -// AuthorizationEndpoint: pulumi.String("https://auth.endpoint"), -// ClientId: pulumi.String("86a165..."), -// ClientSecret: pulumi.String("*****afdbac18"), -// IsAutoCreation: pulumi.Bool(false), -// IsAutoUpdate: pulumi.Bool(true), -// IsCreationAllowed: pulumi.Bool(true), -// IsLinkingAllowed: pulumi.Bool(false), -// Scopes: pulumi.StringArray{ -// pulumi.String("openid"), -// pulumi.String("profile"), -// pulumi.String("email"), -// }, -// TokenEndpoint: pulumi.String("https://token.endpoint"), -// UserEndpoint: pulumi.String("https://user.endpoint"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewIdpGithubEs(ctx, "default", &zitadel.IdpGithubEsArgs{ +// AuthorizationEndpoint: pulumi.String("https://auth.endpoint"), +// ClientId: pulumi.String("86a165..."), +// ClientSecret: pulumi.String("*****afdbac18"), +// IsAutoCreation: pulumi.Bool(false), +// IsAutoUpdate: pulumi.Bool(true), +// IsCreationAllowed: pulumi.Bool(true), +// IsLinkingAllowed: pulumi.Bool(false), +// Scopes: pulumi.StringArray{ +// pulumi.String("openid"), +// pulumi.String("profile"), +// pulumi.String("email"), +// }, +// TokenEndpoint: pulumi.String("https://token.endpoint"), +// UserEndpoint: pulumi.String("https://user.endpoint"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/idpGithubEs:IdpGithubEs imported '123456789012345678:1234567890123456781234567890123456787890' +// +// $ pulumi import zitadel:index/idpGithubEs:IdpGithubEs imported '123456789012345678:1234567890123456781234567890123456787890' +// // ``` type IdpGithubEs struct { pulumi.CustomResourceState @@ -117,7 +124,14 @@ func NewIdpGithubEs(ctx *pulumi.Context, if args.UserEndpoint == nil { return nil, errors.New("invalid value for required argument 'UserEndpoint'") } - opts = pkgResourceDefaultOpts(opts) + if args.ClientSecret != nil { + args.ClientSecret = pulumi.ToSecret(args.ClientSecret).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientSecret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource IdpGithubEs err := ctx.RegisterResource("zitadel:index/idpGithubEs:IdpGithubEs", name, args, &resource, opts...) if err != nil { @@ -267,10 +281,16 @@ func (i *IdpGithubEs) ToIdpGithubEsOutputWithContext(ctx context.Context) IdpGit return pulumi.ToOutputWithContext(ctx, i).(IdpGithubEsOutput) } +func (i *IdpGithubEs) ToOutput(ctx context.Context) pulumix.Output[*IdpGithubEs] { + return pulumix.Output[*IdpGithubEs]{ + OutputState: i.ToIdpGithubEsOutputWithContext(ctx).OutputState, + } +} + // IdpGithubEsArrayInput is an input type that accepts IdpGithubEsArray and IdpGithubEsArrayOutput values. // You can construct a concrete instance of `IdpGithubEsArrayInput` via: // -// IdpGithubEsArray{ IdpGithubEsArgs{...} } +// IdpGithubEsArray{ IdpGithubEsArgs{...} } type IdpGithubEsArrayInput interface { pulumi.Input @@ -292,10 +312,16 @@ func (i IdpGithubEsArray) ToIdpGithubEsArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(IdpGithubEsArrayOutput) } +func (i IdpGithubEsArray) ToOutput(ctx context.Context) pulumix.Output[[]*IdpGithubEs] { + return pulumix.Output[[]*IdpGithubEs]{ + OutputState: i.ToIdpGithubEsArrayOutputWithContext(ctx).OutputState, + } +} + // IdpGithubEsMapInput is an input type that accepts IdpGithubEsMap and IdpGithubEsMapOutput values. // You can construct a concrete instance of `IdpGithubEsMapInput` via: // -// IdpGithubEsMap{ "key": IdpGithubEsArgs{...} } +// IdpGithubEsMap{ "key": IdpGithubEsArgs{...} } type IdpGithubEsMapInput interface { pulumi.Input @@ -317,6 +343,12 @@ func (i IdpGithubEsMap) ToIdpGithubEsMapOutputWithContext(ctx context.Context) I return pulumi.ToOutputWithContext(ctx, i).(IdpGithubEsMapOutput) } +func (i IdpGithubEsMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*IdpGithubEs] { + return pulumix.Output[map[string]*IdpGithubEs]{ + OutputState: i.ToIdpGithubEsMapOutputWithContext(ctx).OutputState, + } +} + type IdpGithubEsOutput struct{ *pulumi.OutputState } func (IdpGithubEsOutput) ElementType() reflect.Type { @@ -331,6 +363,12 @@ func (o IdpGithubEsOutput) ToIdpGithubEsOutputWithContext(ctx context.Context) I return o } +func (o IdpGithubEsOutput) ToOutput(ctx context.Context) pulumix.Output[*IdpGithubEs] { + return pulumix.Output[*IdpGithubEs]{ + OutputState: o.OutputState, + } +} + // the providers authorization endpoint func (o IdpGithubEsOutput) AuthorizationEndpoint() pulumi.StringOutput { return o.ApplyT(func(v *IdpGithubEs) pulumi.StringOutput { return v.AuthorizationEndpoint }).(pulumi.StringOutput) @@ -400,6 +438,12 @@ func (o IdpGithubEsArrayOutput) ToIdpGithubEsArrayOutputWithContext(ctx context. return o } +func (o IdpGithubEsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*IdpGithubEs] { + return pulumix.Output[[]*IdpGithubEs]{ + OutputState: o.OutputState, + } +} + func (o IdpGithubEsArrayOutput) Index(i pulumi.IntInput) IdpGithubEsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *IdpGithubEs { return vs[0].([]*IdpGithubEs)[vs[1].(int)] @@ -420,6 +464,12 @@ func (o IdpGithubEsMapOutput) ToIdpGithubEsMapOutputWithContext(ctx context.Cont return o } +func (o IdpGithubEsMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*IdpGithubEs] { + return pulumix.Output[map[string]*IdpGithubEs]{ + OutputState: o.OutputState, + } +} + func (o IdpGithubEsMapOutput) MapIndex(k pulumi.StringInput) IdpGithubEsOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *IdpGithubEs { return vs[0].(map[string]*IdpGithubEs)[vs[1].(string)] diff --git a/sdk/go/zitadel/idpGitlab.go b/sdk/go/zitadel/idpGitlab.go index b62fd35..f620fbd 100644 --- a/sdk/go/zitadel/idpGitlab.go +++ b/sdk/go/zitadel/idpGitlab.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing a GitLab IDP on the instance. @@ -19,39 +21,44 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewIdpGitlab(ctx, "default", &zitadel.IdpGitlabArgs{ -// ClientId: pulumi.String("15765e..."), -// ClientSecret: pulumi.String("*****abcxyz"), -// IsAutoCreation: pulumi.Bool(false), -// IsAutoUpdate: pulumi.Bool(true), -// IsCreationAllowed: pulumi.Bool(true), -// IsLinkingAllowed: pulumi.Bool(false), -// Scopes: pulumi.StringArray{ -// pulumi.String("openid"), -// pulumi.String("profile"), -// pulumi.String("email"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewIdpGitlab(ctx, "default", &zitadel.IdpGitlabArgs{ +// ClientId: pulumi.String("15765e..."), +// ClientSecret: pulumi.String("*****abcxyz"), +// IsAutoCreation: pulumi.Bool(false), +// IsAutoUpdate: pulumi.Bool(true), +// IsCreationAllowed: pulumi.Bool(true), +// IsLinkingAllowed: pulumi.Bool(false), +// Scopes: pulumi.StringArray{ +// pulumi.String("openid"), +// pulumi.String("profile"), +// pulumi.String("email"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/idpGitlab:IdpGitlab imported '123456789012345678:1234567890abcdef' +// +// $ pulumi import zitadel:index/idpGitlab:IdpGitlab imported '123456789012345678:1234567890abcdef' +// // ``` type IdpGitlab struct { pulumi.CustomResourceState @@ -99,7 +106,14 @@ func NewIdpGitlab(ctx *pulumi.Context, if args.IsLinkingAllowed == nil { return nil, errors.New("invalid value for required argument 'IsLinkingAllowed'") } - opts = pkgResourceDefaultOpts(opts) + if args.ClientSecret != nil { + args.ClientSecret = pulumi.ToSecret(args.ClientSecret).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientSecret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource IdpGitlab err := ctx.RegisterResource("zitadel:index/idpGitlab:IdpGitlab", name, args, &resource, opts...) if err != nil { @@ -225,10 +239,16 @@ func (i *IdpGitlab) ToIdpGitlabOutputWithContext(ctx context.Context) IdpGitlabO return pulumi.ToOutputWithContext(ctx, i).(IdpGitlabOutput) } +func (i *IdpGitlab) ToOutput(ctx context.Context) pulumix.Output[*IdpGitlab] { + return pulumix.Output[*IdpGitlab]{ + OutputState: i.ToIdpGitlabOutputWithContext(ctx).OutputState, + } +} + // IdpGitlabArrayInput is an input type that accepts IdpGitlabArray and IdpGitlabArrayOutput values. // You can construct a concrete instance of `IdpGitlabArrayInput` via: // -// IdpGitlabArray{ IdpGitlabArgs{...} } +// IdpGitlabArray{ IdpGitlabArgs{...} } type IdpGitlabArrayInput interface { pulumi.Input @@ -250,10 +270,16 @@ func (i IdpGitlabArray) ToIdpGitlabArrayOutputWithContext(ctx context.Context) I return pulumi.ToOutputWithContext(ctx, i).(IdpGitlabArrayOutput) } +func (i IdpGitlabArray) ToOutput(ctx context.Context) pulumix.Output[[]*IdpGitlab] { + return pulumix.Output[[]*IdpGitlab]{ + OutputState: i.ToIdpGitlabArrayOutputWithContext(ctx).OutputState, + } +} + // IdpGitlabMapInput is an input type that accepts IdpGitlabMap and IdpGitlabMapOutput values. // You can construct a concrete instance of `IdpGitlabMapInput` via: // -// IdpGitlabMap{ "key": IdpGitlabArgs{...} } +// IdpGitlabMap{ "key": IdpGitlabArgs{...} } type IdpGitlabMapInput interface { pulumi.Input @@ -275,6 +301,12 @@ func (i IdpGitlabMap) ToIdpGitlabMapOutputWithContext(ctx context.Context) IdpGi return pulumi.ToOutputWithContext(ctx, i).(IdpGitlabMapOutput) } +func (i IdpGitlabMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*IdpGitlab] { + return pulumix.Output[map[string]*IdpGitlab]{ + OutputState: i.ToIdpGitlabMapOutputWithContext(ctx).OutputState, + } +} + type IdpGitlabOutput struct{ *pulumi.OutputState } func (IdpGitlabOutput) ElementType() reflect.Type { @@ -289,6 +321,12 @@ func (o IdpGitlabOutput) ToIdpGitlabOutputWithContext(ctx context.Context) IdpGi return o } +func (o IdpGitlabOutput) ToOutput(ctx context.Context) pulumix.Output[*IdpGitlab] { + return pulumix.Output[*IdpGitlab]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o IdpGitlabOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v *IdpGitlab) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) @@ -343,6 +381,12 @@ func (o IdpGitlabArrayOutput) ToIdpGitlabArrayOutputWithContext(ctx context.Cont return o } +func (o IdpGitlabArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*IdpGitlab] { + return pulumix.Output[[]*IdpGitlab]{ + OutputState: o.OutputState, + } +} + func (o IdpGitlabArrayOutput) Index(i pulumi.IntInput) IdpGitlabOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *IdpGitlab { return vs[0].([]*IdpGitlab)[vs[1].(int)] @@ -363,6 +407,12 @@ func (o IdpGitlabMapOutput) ToIdpGitlabMapOutputWithContext(ctx context.Context) return o } +func (o IdpGitlabMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*IdpGitlab] { + return pulumix.Output[map[string]*IdpGitlab]{ + OutputState: o.OutputState, + } +} + func (o IdpGitlabMapOutput) MapIndex(k pulumi.StringInput) IdpGitlabOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *IdpGitlab { return vs[0].(map[string]*IdpGitlab)[vs[1].(string)] diff --git a/sdk/go/zitadel/idpGitlabSelfHosted.go b/sdk/go/zitadel/idpGitlabSelfHosted.go index 060c344..d19c0a1 100644 --- a/sdk/go/zitadel/idpGitlabSelfHosted.go +++ b/sdk/go/zitadel/idpGitlabSelfHosted.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing a GitLab Self Hosted IDP on the instance. @@ -19,40 +21,45 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewIdpGitlabSelfHosted(ctx, "default", &zitadel.IdpGitlabSelfHostedArgs{ -// ClientId: pulumi.String("15765e..."), -// ClientSecret: pulumi.String("*****abcxyz"), -// IsAutoCreation: pulumi.Bool(false), -// IsAutoUpdate: pulumi.Bool(true), -// IsCreationAllowed: pulumi.Bool(true), -// IsLinkingAllowed: pulumi.Bool(false), -// Issuer: pulumi.String("https://my.issuer"), -// Scopes: pulumi.StringArray{ -// pulumi.String("openid"), -// pulumi.String("profile"), -// pulumi.String("email"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewIdpGitlabSelfHosted(ctx, "default", &zitadel.IdpGitlabSelfHostedArgs{ +// ClientId: pulumi.String("15765e..."), +// ClientSecret: pulumi.String("*****abcxyz"), +// IsAutoCreation: pulumi.Bool(false), +// IsAutoUpdate: pulumi.Bool(true), +// IsCreationAllowed: pulumi.Bool(true), +// IsLinkingAllowed: pulumi.Bool(false), +// Issuer: pulumi.String("https://my.issuer"), +// Scopes: pulumi.StringArray{ +// pulumi.String("openid"), +// pulumi.String("profile"), +// pulumi.String("email"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/idpGitlabSelfHosted:IdpGitlabSelfHosted imported '123456789012345678:1234567890abcdef' +// +// $ pulumi import zitadel:index/idpGitlabSelfHosted:IdpGitlabSelfHosted imported '123456789012345678:1234567890abcdef' +// // ``` type IdpGitlabSelfHosted struct { pulumi.CustomResourceState @@ -105,7 +112,14 @@ func NewIdpGitlabSelfHosted(ctx *pulumi.Context, if args.Issuer == nil { return nil, errors.New("invalid value for required argument 'Issuer'") } - opts = pkgResourceDefaultOpts(opts) + if args.ClientSecret != nil { + args.ClientSecret = pulumi.ToSecret(args.ClientSecret).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientSecret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource IdpGitlabSelfHosted err := ctx.RegisterResource("zitadel:index/idpGitlabSelfHosted:IdpGitlabSelfHosted", name, args, &resource, opts...) if err != nil { @@ -239,10 +253,16 @@ func (i *IdpGitlabSelfHosted) ToIdpGitlabSelfHostedOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(IdpGitlabSelfHostedOutput) } +func (i *IdpGitlabSelfHosted) ToOutput(ctx context.Context) pulumix.Output[*IdpGitlabSelfHosted] { + return pulumix.Output[*IdpGitlabSelfHosted]{ + OutputState: i.ToIdpGitlabSelfHostedOutputWithContext(ctx).OutputState, + } +} + // IdpGitlabSelfHostedArrayInput is an input type that accepts IdpGitlabSelfHostedArray and IdpGitlabSelfHostedArrayOutput values. // You can construct a concrete instance of `IdpGitlabSelfHostedArrayInput` via: // -// IdpGitlabSelfHostedArray{ IdpGitlabSelfHostedArgs{...} } +// IdpGitlabSelfHostedArray{ IdpGitlabSelfHostedArgs{...} } type IdpGitlabSelfHostedArrayInput interface { pulumi.Input @@ -264,10 +284,16 @@ func (i IdpGitlabSelfHostedArray) ToIdpGitlabSelfHostedArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(IdpGitlabSelfHostedArrayOutput) } +func (i IdpGitlabSelfHostedArray) ToOutput(ctx context.Context) pulumix.Output[[]*IdpGitlabSelfHosted] { + return pulumix.Output[[]*IdpGitlabSelfHosted]{ + OutputState: i.ToIdpGitlabSelfHostedArrayOutputWithContext(ctx).OutputState, + } +} + // IdpGitlabSelfHostedMapInput is an input type that accepts IdpGitlabSelfHostedMap and IdpGitlabSelfHostedMapOutput values. // You can construct a concrete instance of `IdpGitlabSelfHostedMapInput` via: // -// IdpGitlabSelfHostedMap{ "key": IdpGitlabSelfHostedArgs{...} } +// IdpGitlabSelfHostedMap{ "key": IdpGitlabSelfHostedArgs{...} } type IdpGitlabSelfHostedMapInput interface { pulumi.Input @@ -289,6 +315,12 @@ func (i IdpGitlabSelfHostedMap) ToIdpGitlabSelfHostedMapOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(IdpGitlabSelfHostedMapOutput) } +func (i IdpGitlabSelfHostedMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*IdpGitlabSelfHosted] { + return pulumix.Output[map[string]*IdpGitlabSelfHosted]{ + OutputState: i.ToIdpGitlabSelfHostedMapOutputWithContext(ctx).OutputState, + } +} + type IdpGitlabSelfHostedOutput struct{ *pulumi.OutputState } func (IdpGitlabSelfHostedOutput) ElementType() reflect.Type { @@ -303,6 +335,12 @@ func (o IdpGitlabSelfHostedOutput) ToIdpGitlabSelfHostedOutputWithContext(ctx co return o } +func (o IdpGitlabSelfHostedOutput) ToOutput(ctx context.Context) pulumix.Output[*IdpGitlabSelfHosted] { + return pulumix.Output[*IdpGitlabSelfHosted]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o IdpGitlabSelfHostedOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v *IdpGitlabSelfHosted) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) @@ -362,6 +400,12 @@ func (o IdpGitlabSelfHostedArrayOutput) ToIdpGitlabSelfHostedArrayOutputWithCont return o } +func (o IdpGitlabSelfHostedArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*IdpGitlabSelfHosted] { + return pulumix.Output[[]*IdpGitlabSelfHosted]{ + OutputState: o.OutputState, + } +} + func (o IdpGitlabSelfHostedArrayOutput) Index(i pulumi.IntInput) IdpGitlabSelfHostedOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *IdpGitlabSelfHosted { return vs[0].([]*IdpGitlabSelfHosted)[vs[1].(int)] @@ -382,6 +426,12 @@ func (o IdpGitlabSelfHostedMapOutput) ToIdpGitlabSelfHostedMapOutputWithContext( return o } +func (o IdpGitlabSelfHostedMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*IdpGitlabSelfHosted] { + return pulumix.Output[map[string]*IdpGitlabSelfHosted]{ + OutputState: o.OutputState, + } +} + func (o IdpGitlabSelfHostedMapOutput) MapIndex(k pulumi.StringInput) IdpGitlabSelfHostedOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *IdpGitlabSelfHosted { return vs[0].(map[string]*IdpGitlabSelfHosted)[vs[1].(string)] diff --git a/sdk/go/zitadel/idpGoogle.go b/sdk/go/zitadel/idpGoogle.go index a6c38f8..9668974 100644 --- a/sdk/go/zitadel/idpGoogle.go +++ b/sdk/go/zitadel/idpGoogle.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing a Google IDP on the instance. @@ -19,39 +21,44 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewIdpGoogle(ctx, "default", &zitadel.IdpGoogleArgs{ -// ClientId: pulumi.String("182902..."), -// ClientSecret: pulumi.String("GOCSPX-*****"), -// IsAutoCreation: pulumi.Bool(false), -// IsAutoUpdate: pulumi.Bool(true), -// IsCreationAllowed: pulumi.Bool(true), -// IsLinkingAllowed: pulumi.Bool(false), -// Scopes: pulumi.StringArray{ -// pulumi.String("openid"), -// pulumi.String("profile"), -// pulumi.String("email"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewIdpGoogle(ctx, "default", &zitadel.IdpGoogleArgs{ +// ClientId: pulumi.String("182902..."), +// ClientSecret: pulumi.String("GOCSPX-*****"), +// IsAutoCreation: pulumi.Bool(false), +// IsAutoUpdate: pulumi.Bool(true), +// IsCreationAllowed: pulumi.Bool(true), +// IsLinkingAllowed: pulumi.Bool(false), +// Scopes: pulumi.StringArray{ +// pulumi.String("openid"), +// pulumi.String("profile"), +// pulumi.String("email"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/idpGoogle:IdpGoogle imported '123456789012345678:G1234567890123' +// +// $ pulumi import zitadel:index/idpGoogle:IdpGoogle imported '123456789012345678:G1234567890123' +// // ``` type IdpGoogle struct { pulumi.CustomResourceState @@ -99,7 +106,14 @@ func NewIdpGoogle(ctx *pulumi.Context, if args.IsLinkingAllowed == nil { return nil, errors.New("invalid value for required argument 'IsLinkingAllowed'") } - opts = pkgResourceDefaultOpts(opts) + if args.ClientSecret != nil { + args.ClientSecret = pulumi.ToSecret(args.ClientSecret).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientSecret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource IdpGoogle err := ctx.RegisterResource("zitadel:index/idpGoogle:IdpGoogle", name, args, &resource, opts...) if err != nil { @@ -225,10 +239,16 @@ func (i *IdpGoogle) ToIdpGoogleOutputWithContext(ctx context.Context) IdpGoogleO return pulumi.ToOutputWithContext(ctx, i).(IdpGoogleOutput) } +func (i *IdpGoogle) ToOutput(ctx context.Context) pulumix.Output[*IdpGoogle] { + return pulumix.Output[*IdpGoogle]{ + OutputState: i.ToIdpGoogleOutputWithContext(ctx).OutputState, + } +} + // IdpGoogleArrayInput is an input type that accepts IdpGoogleArray and IdpGoogleArrayOutput values. // You can construct a concrete instance of `IdpGoogleArrayInput` via: // -// IdpGoogleArray{ IdpGoogleArgs{...} } +// IdpGoogleArray{ IdpGoogleArgs{...} } type IdpGoogleArrayInput interface { pulumi.Input @@ -250,10 +270,16 @@ func (i IdpGoogleArray) ToIdpGoogleArrayOutputWithContext(ctx context.Context) I return pulumi.ToOutputWithContext(ctx, i).(IdpGoogleArrayOutput) } +func (i IdpGoogleArray) ToOutput(ctx context.Context) pulumix.Output[[]*IdpGoogle] { + return pulumix.Output[[]*IdpGoogle]{ + OutputState: i.ToIdpGoogleArrayOutputWithContext(ctx).OutputState, + } +} + // IdpGoogleMapInput is an input type that accepts IdpGoogleMap and IdpGoogleMapOutput values. // You can construct a concrete instance of `IdpGoogleMapInput` via: // -// IdpGoogleMap{ "key": IdpGoogleArgs{...} } +// IdpGoogleMap{ "key": IdpGoogleArgs{...} } type IdpGoogleMapInput interface { pulumi.Input @@ -275,6 +301,12 @@ func (i IdpGoogleMap) ToIdpGoogleMapOutputWithContext(ctx context.Context) IdpGo return pulumi.ToOutputWithContext(ctx, i).(IdpGoogleMapOutput) } +func (i IdpGoogleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*IdpGoogle] { + return pulumix.Output[map[string]*IdpGoogle]{ + OutputState: i.ToIdpGoogleMapOutputWithContext(ctx).OutputState, + } +} + type IdpGoogleOutput struct{ *pulumi.OutputState } func (IdpGoogleOutput) ElementType() reflect.Type { @@ -289,6 +321,12 @@ func (o IdpGoogleOutput) ToIdpGoogleOutputWithContext(ctx context.Context) IdpGo return o } +func (o IdpGoogleOutput) ToOutput(ctx context.Context) pulumix.Output[*IdpGoogle] { + return pulumix.Output[*IdpGoogle]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o IdpGoogleOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v *IdpGoogle) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) @@ -343,6 +381,12 @@ func (o IdpGoogleArrayOutput) ToIdpGoogleArrayOutputWithContext(ctx context.Cont return o } +func (o IdpGoogleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*IdpGoogle] { + return pulumix.Output[[]*IdpGoogle]{ + OutputState: o.OutputState, + } +} + func (o IdpGoogleArrayOutput) Index(i pulumi.IntInput) IdpGoogleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *IdpGoogle { return vs[0].([]*IdpGoogle)[vs[1].(int)] @@ -363,6 +407,12 @@ func (o IdpGoogleMapOutput) ToIdpGoogleMapOutputWithContext(ctx context.Context) return o } +func (o IdpGoogleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*IdpGoogle] { + return pulumix.Output[map[string]*IdpGoogle]{ + OutputState: o.OutputState, + } +} + func (o IdpGoogleMapOutput) MapIndex(k pulumi.StringInput) IdpGoogleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *IdpGoogle { return vs[0].(map[string]*IdpGoogle)[vs[1].(string)] diff --git a/sdk/go/zitadel/idpLdap.go b/sdk/go/zitadel/idpLdap.go index f17bd96..463df85 100644 --- a/sdk/go/zitadel/idpLdap.go +++ b/sdk/go/zitadel/idpLdap.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing an LDAP IDP on the instance. @@ -19,52 +21,57 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewIdpLdap(ctx, "default", &zitadel.IdpLdapArgs{ -// BaseDn: pulumi.String("dc=example,dc=com"), -// BindDn: pulumi.String("cn=admin,dc=example,dc=com"), -// BindPassword: pulumi.String("Password1!"), -// FirstNameAttribute: pulumi.String("firstname"), -// IdAttribute: pulumi.String("uid"), -// IsAutoCreation: pulumi.Bool(false), -// IsAutoUpdate: pulumi.Bool(true), -// IsCreationAllowed: pulumi.Bool(true), -// IsLinkingAllowed: pulumi.Bool(false), -// LastNameAttribute: pulumi.String("lastname"), -// Servers: pulumi.StringArray{ -// pulumi.String("ldaps://my.primary.server:389"), -// pulumi.String("ldaps://my.secondary.server:389"), -// }, -// StartTls: pulumi.Bool(false), -// Timeout: pulumi.String("10s"), -// UserBase: pulumi.String("dn"), -// UserFilters: pulumi.StringArray{ -// pulumi.String("uid"), -// pulumi.String("email"), -// }, -// UserObjectClasses: pulumi.StringArray{ -// pulumi.String("inetOrgPerson"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewIdpLdap(ctx, "default", &zitadel.IdpLdapArgs{ +// BaseDn: pulumi.String("dc=example,dc=com"), +// BindDn: pulumi.String("cn=admin,dc=example,dc=com"), +// BindPassword: pulumi.String("Password1!"), +// FirstNameAttribute: pulumi.String("firstname"), +// IdAttribute: pulumi.String("uid"), +// IsAutoCreation: pulumi.Bool(false), +// IsAutoUpdate: pulumi.Bool(true), +// IsCreationAllowed: pulumi.Bool(true), +// IsLinkingAllowed: pulumi.Bool(false), +// LastNameAttribute: pulumi.String("lastname"), +// Servers: pulumi.StringArray{ +// pulumi.String("ldaps://my.primary.server:389"), +// pulumi.String("ldaps://my.secondary.server:389"), +// }, +// StartTls: pulumi.Bool(false), +// Timeout: pulumi.String("10s"), +// UserBase: pulumi.String("dn"), +// UserFilters: pulumi.StringArray{ +// pulumi.String("uid"), +// pulumi.String("email"), +// }, +// UserObjectClasses: pulumi.StringArray{ +// pulumi.String("inetOrgPerson"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/idpLdap:IdpLdap imported '123456789012345678:b1nd_p4ssw0rd' +// +// $ pulumi import zitadel:index/idpLdap:IdpLdap imported '123456789012345678:b1nd_p4ssw0rd' +// // ``` type IdpLdap struct { pulumi.CustomResourceState @@ -171,7 +178,14 @@ func NewIdpLdap(ctx *pulumi.Context, if args.UserObjectClasses == nil { return nil, errors.New("invalid value for required argument 'UserObjectClasses'") } - opts = pkgResourceDefaultOpts(opts) + if args.BindPassword != nil { + args.BindPassword = pulumi.ToSecret(args.BindPassword).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "bindPassword", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource IdpLdap err := ctx.RegisterResource("zitadel:index/idpLdap:IdpLdap", name, args, &resource, opts...) if err != nil { @@ -449,10 +463,16 @@ func (i *IdpLdap) ToIdpLdapOutputWithContext(ctx context.Context) IdpLdapOutput return pulumi.ToOutputWithContext(ctx, i).(IdpLdapOutput) } +func (i *IdpLdap) ToOutput(ctx context.Context) pulumix.Output[*IdpLdap] { + return pulumix.Output[*IdpLdap]{ + OutputState: i.ToIdpLdapOutputWithContext(ctx).OutputState, + } +} + // IdpLdapArrayInput is an input type that accepts IdpLdapArray and IdpLdapArrayOutput values. // You can construct a concrete instance of `IdpLdapArrayInput` via: // -// IdpLdapArray{ IdpLdapArgs{...} } +// IdpLdapArray{ IdpLdapArgs{...} } type IdpLdapArrayInput interface { pulumi.Input @@ -474,10 +494,16 @@ func (i IdpLdapArray) ToIdpLdapArrayOutputWithContext(ctx context.Context) IdpLd return pulumi.ToOutputWithContext(ctx, i).(IdpLdapArrayOutput) } +func (i IdpLdapArray) ToOutput(ctx context.Context) pulumix.Output[[]*IdpLdap] { + return pulumix.Output[[]*IdpLdap]{ + OutputState: i.ToIdpLdapArrayOutputWithContext(ctx).OutputState, + } +} + // IdpLdapMapInput is an input type that accepts IdpLdapMap and IdpLdapMapOutput values. // You can construct a concrete instance of `IdpLdapMapInput` via: // -// IdpLdapMap{ "key": IdpLdapArgs{...} } +// IdpLdapMap{ "key": IdpLdapArgs{...} } type IdpLdapMapInput interface { pulumi.Input @@ -499,6 +525,12 @@ func (i IdpLdapMap) ToIdpLdapMapOutputWithContext(ctx context.Context) IdpLdapMa return pulumi.ToOutputWithContext(ctx, i).(IdpLdapMapOutput) } +func (i IdpLdapMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*IdpLdap] { + return pulumix.Output[map[string]*IdpLdap]{ + OutputState: i.ToIdpLdapMapOutputWithContext(ctx).OutputState, + } +} + type IdpLdapOutput struct{ *pulumi.OutputState } func (IdpLdapOutput) ElementType() reflect.Type { @@ -513,6 +545,12 @@ func (o IdpLdapOutput) ToIdpLdapOutputWithContext(ctx context.Context) IdpLdapOu return o } +func (o IdpLdapOutput) ToOutput(ctx context.Context) pulumix.Output[*IdpLdap] { + return pulumix.Output[*IdpLdap]{ + OutputState: o.OutputState, + } +} + // User attribute for the avatar url func (o IdpLdapOutput) AvatarUrlAttribute() pulumi.StringPtrOutput { return o.ApplyT(func(v *IdpLdap) pulumi.StringPtrOutput { return v.AvatarUrlAttribute }).(pulumi.StringPtrOutput) @@ -662,6 +700,12 @@ func (o IdpLdapArrayOutput) ToIdpLdapArrayOutputWithContext(ctx context.Context) return o } +func (o IdpLdapArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*IdpLdap] { + return pulumix.Output[[]*IdpLdap]{ + OutputState: o.OutputState, + } +} + func (o IdpLdapArrayOutput) Index(i pulumi.IntInput) IdpLdapOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *IdpLdap { return vs[0].([]*IdpLdap)[vs[1].(int)] @@ -682,6 +726,12 @@ func (o IdpLdapMapOutput) ToIdpLdapMapOutputWithContext(ctx context.Context) Idp return o } +func (o IdpLdapMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*IdpLdap] { + return pulumix.Output[map[string]*IdpLdap]{ + OutputState: o.OutputState, + } +} + func (o IdpLdapMapOutput) MapIndex(k pulumi.StringInput) IdpLdapOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *IdpLdap { return vs[0].(map[string]*IdpLdap)[vs[1].(string)] diff --git a/sdk/go/zitadel/init.go b/sdk/go/zitadel/init.go index 171db8b..c8af702 100644 --- a/sdk/go/zitadel/init.go +++ b/sdk/go/zitadel/init.go @@ -8,6 +8,7 @@ import ( "github.com/blang/semver" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) type module struct { @@ -38,6 +39,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &DefaultLoginPolicy{} case "zitadel:index/defaultNotificationPolicy:DefaultNotificationPolicy": r = &DefaultNotificationPolicy{} + case "zitadel:index/defaultOidcSettings:DefaultOidcSettings": + r = &DefaultOidcSettings{} case "zitadel:index/defaultPasswordComplexityPolicy:DefaultPasswordComplexityPolicy": r = &DefaultPasswordComplexityPolicy{} case "zitadel:index/defaultPrivacyPolicy:DefaultPrivacyPolicy": @@ -149,7 +152,10 @@ func (p *pkg) ConstructProvider(ctx *pulumi.Context, name, typ, urn string) (pul } func init() { - version, _ := PkgVersion() + version, err := internal.PkgVersion() + if err != nil { + version = semver.Version{Major: 1} + } pulumi.RegisterResourceModule( "zitadel", "index/action", @@ -195,6 +201,11 @@ func init() { "index/defaultNotificationPolicy", &module{version}, ) + pulumi.RegisterResourceModule( + "zitadel", + "index/defaultOidcSettings", + &module{version}, + ) pulumi.RegisterResourceModule( "zitadel", "index/defaultPasswordComplexityPolicy", diff --git a/sdk/go/zitadel/instanceMember.go b/sdk/go/zitadel/instanceMember.go index 787220a..81eeaf9 100644 --- a/sdk/go/zitadel/instanceMember.go +++ b/sdk/go/zitadel/instanceMember.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the membership of a user on an instance, defined with the given role. @@ -19,32 +21,37 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewInstanceMember(ctx, "default", &zitadel.InstanceMemberArgs{ -// UserId: pulumi.Any(data.Zitadel_human_user.Default.Id), -// Roles: pulumi.StringArray{ -// pulumi.String("IAM_OWNER"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewInstanceMember(ctx, "default", &zitadel.InstanceMemberArgs{ +// UserId: pulumi.Any(data.Zitadel_human_user.Default.Id), +// Roles: pulumi.StringArray{ +// pulumi.String("IAM_OWNER"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/instanceMember:InstanceMember imported '123456789012345678' +// +// $ pulumi import zitadel:index/instanceMember:InstanceMember imported '123456789012345678' +// // ``` type InstanceMember struct { pulumi.CustomResourceState @@ -68,7 +75,7 @@ func NewInstanceMember(ctx *pulumi.Context, if args.UserId == nil { return nil, errors.New("invalid value for required argument 'UserId'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource InstanceMember err := ctx.RegisterResource("zitadel:index/instanceMember:InstanceMember", name, args, &resource, opts...) if err != nil { @@ -146,10 +153,16 @@ func (i *InstanceMember) ToInstanceMemberOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(InstanceMemberOutput) } +func (i *InstanceMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceMember] { + return pulumix.Output[*InstanceMember]{ + OutputState: i.ToInstanceMemberOutputWithContext(ctx).OutputState, + } +} + // InstanceMemberArrayInput is an input type that accepts InstanceMemberArray and InstanceMemberArrayOutput values. // You can construct a concrete instance of `InstanceMemberArrayInput` via: // -// InstanceMemberArray{ InstanceMemberArgs{...} } +// InstanceMemberArray{ InstanceMemberArgs{...} } type InstanceMemberArrayInput interface { pulumi.Input @@ -171,10 +184,16 @@ func (i InstanceMemberArray) ToInstanceMemberArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(InstanceMemberArrayOutput) } +func (i InstanceMemberArray) ToOutput(ctx context.Context) pulumix.Output[[]*InstanceMember] { + return pulumix.Output[[]*InstanceMember]{ + OutputState: i.ToInstanceMemberArrayOutputWithContext(ctx).OutputState, + } +} + // InstanceMemberMapInput is an input type that accepts InstanceMemberMap and InstanceMemberMapOutput values. // You can construct a concrete instance of `InstanceMemberMapInput` via: // -// InstanceMemberMap{ "key": InstanceMemberArgs{...} } +// InstanceMemberMap{ "key": InstanceMemberArgs{...} } type InstanceMemberMapInput interface { pulumi.Input @@ -196,6 +215,12 @@ func (i InstanceMemberMap) ToInstanceMemberMapOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(InstanceMemberMapOutput) } +func (i InstanceMemberMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*InstanceMember] { + return pulumix.Output[map[string]*InstanceMember]{ + OutputState: i.ToInstanceMemberMapOutputWithContext(ctx).OutputState, + } +} + type InstanceMemberOutput struct{ *pulumi.OutputState } func (InstanceMemberOutput) ElementType() reflect.Type { @@ -210,6 +235,12 @@ func (o InstanceMemberOutput) ToInstanceMemberOutputWithContext(ctx context.Cont return o } +func (o InstanceMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceMember] { + return pulumix.Output[*InstanceMember]{ + OutputState: o.OutputState, + } +} + // List of roles granted, full list available here: https://zitadel.com/docs/guides/manage/console/managers#roles func (o InstanceMemberOutput) Roles() pulumi.StringArrayOutput { return o.ApplyT(func(v *InstanceMember) pulumi.StringArrayOutput { return v.Roles }).(pulumi.StringArrayOutput) @@ -234,6 +265,12 @@ func (o InstanceMemberArrayOutput) ToInstanceMemberArrayOutputWithContext(ctx co return o } +func (o InstanceMemberArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*InstanceMember] { + return pulumix.Output[[]*InstanceMember]{ + OutputState: o.OutputState, + } +} + func (o InstanceMemberArrayOutput) Index(i pulumi.IntInput) InstanceMemberOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *InstanceMember { return vs[0].([]*InstanceMember)[vs[1].(int)] @@ -254,6 +291,12 @@ func (o InstanceMemberMapOutput) ToInstanceMemberMapOutputWithContext(ctx contex return o } +func (o InstanceMemberMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*InstanceMember] { + return pulumix.Output[map[string]*InstanceMember]{ + OutputState: o.OutputState, + } +} + func (o InstanceMemberMapOutput) MapIndex(k pulumi.StringInput) InstanceMemberOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *InstanceMember { return vs[0].(map[string]*InstanceMember)[vs[1].(string)] diff --git a/sdk/go/zitadel/pulumiUtilities.go b/sdk/go/zitadel/internal/pulumiUtilities.go similarity index 60% rename from sdk/go/zitadel/pulumiUtilities.go rename to sdk/go/zitadel/internal/pulumiUtilities.go index 88e61f7..e596b07 100644 --- a/sdk/go/zitadel/pulumiUtilities.go +++ b/sdk/go/zitadel/internal/pulumiUtilities.go @@ -1,7 +1,7 @@ // Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. // *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** -package zitadel +package internal import ( "fmt" @@ -17,7 +17,7 @@ import ( type envParser func(v string) interface{} -func parseEnvBool(v string) interface{} { +func ParseEnvBool(v string) interface{} { b, err := strconv.ParseBool(v) if err != nil { return nil @@ -25,7 +25,7 @@ func parseEnvBool(v string) interface{} { return b } -func parseEnvInt(v string) interface{} { +func ParseEnvInt(v string) interface{} { i, err := strconv.ParseInt(v, 0, 0) if err != nil { return nil @@ -33,7 +33,7 @@ func parseEnvInt(v string) interface{} { return int(i) } -func parseEnvFloat(v string) interface{} { +func ParseEnvFloat(v string) interface{} { f, err := strconv.ParseFloat(v, 64) if err != nil { return nil @@ -41,7 +41,7 @@ func parseEnvFloat(v string) interface{} { return f } -func parseEnvStringArray(v string) interface{} { +func ParseEnvStringArray(v string) interface{} { var result pulumi.StringArray for _, item := range strings.Split(v, ";") { result = append(result, pulumi.String(item)) @@ -49,9 +49,9 @@ func parseEnvStringArray(v string) interface{} { return result } -func getEnvOrDefault(def interface{}, parser envParser, vars ...string) interface{} { +func GetEnvOrDefault(def interface{}, parser envParser, vars ...string) interface{} { for _, v := range vars { - if value := os.Getenv(v); value != "" { + if value, ok := os.LookupEnv(v); ok { if parser != nil { return parser(value) } @@ -65,6 +65,10 @@ func getEnvOrDefault(def interface{}, parser envParser, vars ...string) interfac // If a version cannot be determined, v1 will be assumed. The second return // value is always nil. func PkgVersion() (semver.Version, error) { + // emptyVersion defaults to v0.0.0 + if !SdkVersion.Equals(semver.Version{}) { + return SdkVersion, nil + } type sentinal struct{} pkgPath := reflect.TypeOf(sentinal{}).PkgPath() re := regexp.MustCompile("^.*/pulumi-zitadel/sdk(/v\\d+)?") @@ -79,23 +83,31 @@ func PkgVersion() (semver.Version, error) { } // isZero is a null safe check for if a value is it's types zero value. -func isZero(v interface{}) bool { +func IsZero(v interface{}) bool { if v == nil { return true } return reflect.ValueOf(v).IsZero() } -// pkgResourceDefaultOpts provides package level defaults to pulumi.OptionResource. -func pkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { - defaults := []pulumi.ResourceOption{pulumi.PluginDownloadURL("github://api.github.com/pulumiverse")} - +// PkgResourceDefaultOpts provides package level defaults to pulumi.OptionResource. +func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { + defaults := []pulumi.ResourceOption{} + defaults = append(defaults, pulumi.PluginDownloadURL("github://api.github.com/pulumiverse")) + version := SdkVersion + if !version.Equals(semver.Version{}) { + defaults = append(defaults, pulumi.Version(version.String())) + } return append(defaults, opts...) } -// pkgInvokeDefaultOpts provides package level defaults to pulumi.OptionInvoke. -func pkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption { - defaults := []pulumi.InvokeOption{pulumi.PluginDownloadURL("github://api.github.com/pulumiverse")} - +// PkgInvokeDefaultOpts provides package level defaults to pulumi.OptionInvoke. +func PkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption { + defaults := []pulumi.InvokeOption{} + defaults = append(defaults, pulumi.PluginDownloadURL("github://api.github.com/pulumiverse")) + version := SdkVersion + if !version.Equals(semver.Version{}) { + defaults = append(defaults, pulumi.Version(version.String())) + } return append(defaults, opts...) } diff --git a/sdk/go/zitadel/internal/pulumiVersion.go b/sdk/go/zitadel/internal/pulumiVersion.go new file mode 100644 index 0000000..d591687 --- /dev/null +++ b/sdk/go/zitadel/internal/pulumiVersion.go @@ -0,0 +1,11 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package internal + +import ( + "github.com/blang/semver" +) + +var SdkVersion semver.Version = semver.Version{} +var pluginDownloadURL string = "" diff --git a/sdk/go/zitadel/labelPolicy.go b/sdk/go/zitadel/labelPolicy.go index adaafdc..6917727 100644 --- a/sdk/go/zitadel/labelPolicy.go +++ b/sdk/go/zitadel/labelPolicy.go @@ -7,18 +7,22 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the custom label policy of an organization. // // ## Import // -// terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. +// terraform The resource can be imported using the ID format `<[org_id]>`, e.g. // // ```sh -// $ pulumi import zitadel:index/labelPolicy:LabelPolicy imported '123456789012345678' +// +// $ pulumi import zitadel:index/labelPolicy:LabelPolicy imported '123456789012345678' +// // ``` type LabelPolicy struct { pulumi.CustomResourceState @@ -101,7 +105,7 @@ func NewLabelPolicy(ctx *pulumi.Context, if args.WarnColorDark == nil { return nil, errors.New("invalid value for required argument 'WarnColorDark'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource LabelPolicy err := ctx.RegisterResource("zitadel:index/labelPolicy:LabelPolicy", name, args, &resource, opts...) if err != nil { @@ -309,10 +313,16 @@ func (i *LabelPolicy) ToLabelPolicyOutputWithContext(ctx context.Context) LabelP return pulumi.ToOutputWithContext(ctx, i).(LabelPolicyOutput) } +func (i *LabelPolicy) ToOutput(ctx context.Context) pulumix.Output[*LabelPolicy] { + return pulumix.Output[*LabelPolicy]{ + OutputState: i.ToLabelPolicyOutputWithContext(ctx).OutputState, + } +} + // LabelPolicyArrayInput is an input type that accepts LabelPolicyArray and LabelPolicyArrayOutput values. // You can construct a concrete instance of `LabelPolicyArrayInput` via: // -// LabelPolicyArray{ LabelPolicyArgs{...} } +// LabelPolicyArray{ LabelPolicyArgs{...} } type LabelPolicyArrayInput interface { pulumi.Input @@ -334,10 +344,16 @@ func (i LabelPolicyArray) ToLabelPolicyArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(LabelPolicyArrayOutput) } +func (i LabelPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*LabelPolicy] { + return pulumix.Output[[]*LabelPolicy]{ + OutputState: i.ToLabelPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // LabelPolicyMapInput is an input type that accepts LabelPolicyMap and LabelPolicyMapOutput values. // You can construct a concrete instance of `LabelPolicyMapInput` via: // -// LabelPolicyMap{ "key": LabelPolicyArgs{...} } +// LabelPolicyMap{ "key": LabelPolicyArgs{...} } type LabelPolicyMapInput interface { pulumi.Input @@ -359,6 +375,12 @@ func (i LabelPolicyMap) ToLabelPolicyMapOutputWithContext(ctx context.Context) L return pulumi.ToOutputWithContext(ctx, i).(LabelPolicyMapOutput) } +func (i LabelPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*LabelPolicy] { + return pulumix.Output[map[string]*LabelPolicy]{ + OutputState: i.ToLabelPolicyMapOutputWithContext(ctx).OutputState, + } +} + type LabelPolicyOutput struct{ *pulumi.OutputState } func (LabelPolicyOutput) ElementType() reflect.Type { @@ -373,6 +395,12 @@ func (o LabelPolicyOutput) ToLabelPolicyOutputWithContext(ctx context.Context) L return o } +func (o LabelPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*LabelPolicy] { + return pulumix.Output[*LabelPolicy]{ + OutputState: o.OutputState, + } +} + // hex value for background color func (o LabelPolicyOutput) BackgroundColor() pulumi.StringOutput { return o.ApplyT(func(v *LabelPolicy) pulumi.StringOutput { return v.BackgroundColor }).(pulumi.StringOutput) @@ -507,6 +535,12 @@ func (o LabelPolicyArrayOutput) ToLabelPolicyArrayOutputWithContext(ctx context. return o } +func (o LabelPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*LabelPolicy] { + return pulumix.Output[[]*LabelPolicy]{ + OutputState: o.OutputState, + } +} + func (o LabelPolicyArrayOutput) Index(i pulumi.IntInput) LabelPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *LabelPolicy { return vs[0].([]*LabelPolicy)[vs[1].(int)] @@ -527,6 +561,12 @@ func (o LabelPolicyMapOutput) ToLabelPolicyMapOutputWithContext(ctx context.Cont return o } +func (o LabelPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*LabelPolicy] { + return pulumix.Output[map[string]*LabelPolicy]{ + OutputState: o.OutputState, + } +} + func (o LabelPolicyMapOutput) MapIndex(k pulumi.StringInput) LabelPolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *LabelPolicy { return vs[0].(map[string]*LabelPolicy)[vs[1].(string)] diff --git a/sdk/go/zitadel/lockoutPolicy.go b/sdk/go/zitadel/lockoutPolicy.go index f16c52c..5ff1e0f 100644 --- a/sdk/go/zitadel/lockoutPolicy.go +++ b/sdk/go/zitadel/lockoutPolicy.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the custom lockout policy of an organization. @@ -19,30 +21,35 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewLockoutPolicy(ctx, "default", &zitadel.LockoutPolicyArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// MaxPasswordAttempts: pulumi.Int(5), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewLockoutPolicy(ctx, "default", &zitadel.LockoutPolicyArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// MaxPasswordAttempts: pulumi.Int(5), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. +// terraform The resource can be imported using the ID format `<[org_id]>`, e.g. // // ```sh -// $ pulumi import zitadel:index/lockoutPolicy:LockoutPolicy imported '123456789012345678' +// +// $ pulumi import zitadel:index/lockoutPolicy:LockoutPolicy imported '123456789012345678' +// // ``` type LockoutPolicy struct { pulumi.CustomResourceState @@ -63,7 +70,7 @@ func NewLockoutPolicy(ctx *pulumi.Context, if args.MaxPasswordAttempts == nil { return nil, errors.New("invalid value for required argument 'MaxPasswordAttempts'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource LockoutPolicy err := ctx.RegisterResource("zitadel:index/lockoutPolicy:LockoutPolicy", name, args, &resource, opts...) if err != nil { @@ -141,10 +148,16 @@ func (i *LockoutPolicy) ToLockoutPolicyOutputWithContext(ctx context.Context) Lo return pulumi.ToOutputWithContext(ctx, i).(LockoutPolicyOutput) } +func (i *LockoutPolicy) ToOutput(ctx context.Context) pulumix.Output[*LockoutPolicy] { + return pulumix.Output[*LockoutPolicy]{ + OutputState: i.ToLockoutPolicyOutputWithContext(ctx).OutputState, + } +} + // LockoutPolicyArrayInput is an input type that accepts LockoutPolicyArray and LockoutPolicyArrayOutput values. // You can construct a concrete instance of `LockoutPolicyArrayInput` via: // -// LockoutPolicyArray{ LockoutPolicyArgs{...} } +// LockoutPolicyArray{ LockoutPolicyArgs{...} } type LockoutPolicyArrayInput interface { pulumi.Input @@ -166,10 +179,16 @@ func (i LockoutPolicyArray) ToLockoutPolicyArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(LockoutPolicyArrayOutput) } +func (i LockoutPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*LockoutPolicy] { + return pulumix.Output[[]*LockoutPolicy]{ + OutputState: i.ToLockoutPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // LockoutPolicyMapInput is an input type that accepts LockoutPolicyMap and LockoutPolicyMapOutput values. // You can construct a concrete instance of `LockoutPolicyMapInput` via: // -// LockoutPolicyMap{ "key": LockoutPolicyArgs{...} } +// LockoutPolicyMap{ "key": LockoutPolicyArgs{...} } type LockoutPolicyMapInput interface { pulumi.Input @@ -191,6 +210,12 @@ func (i LockoutPolicyMap) ToLockoutPolicyMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(LockoutPolicyMapOutput) } +func (i LockoutPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*LockoutPolicy] { + return pulumix.Output[map[string]*LockoutPolicy]{ + OutputState: i.ToLockoutPolicyMapOutputWithContext(ctx).OutputState, + } +} + type LockoutPolicyOutput struct{ *pulumi.OutputState } func (LockoutPolicyOutput) ElementType() reflect.Type { @@ -205,6 +230,12 @@ func (o LockoutPolicyOutput) ToLockoutPolicyOutputWithContext(ctx context.Contex return o } +func (o LockoutPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*LockoutPolicy] { + return pulumix.Output[*LockoutPolicy]{ + OutputState: o.OutputState, + } +} + // Maximum password check attempts before the account gets locked. Attempts are reset as soon as the password is entered correct or the password is reset. func (o LockoutPolicyOutput) MaxPasswordAttempts() pulumi.IntOutput { return o.ApplyT(func(v *LockoutPolicy) pulumi.IntOutput { return v.MaxPasswordAttempts }).(pulumi.IntOutput) @@ -229,6 +260,12 @@ func (o LockoutPolicyArrayOutput) ToLockoutPolicyArrayOutputWithContext(ctx cont return o } +func (o LockoutPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*LockoutPolicy] { + return pulumix.Output[[]*LockoutPolicy]{ + OutputState: o.OutputState, + } +} + func (o LockoutPolicyArrayOutput) Index(i pulumi.IntInput) LockoutPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *LockoutPolicy { return vs[0].([]*LockoutPolicy)[vs[1].(int)] @@ -249,6 +286,12 @@ func (o LockoutPolicyMapOutput) ToLockoutPolicyMapOutputWithContext(ctx context. return o } +func (o LockoutPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*LockoutPolicy] { + return pulumix.Output[map[string]*LockoutPolicy]{ + OutputState: o.OutputState, + } +} + func (o LockoutPolicyMapOutput) MapIndex(k pulumi.StringInput) LockoutPolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *LockoutPolicy { return vs[0].(map[string]*LockoutPolicy)[vs[1].(string)] diff --git a/sdk/go/zitadel/loginPolicy.go b/sdk/go/zitadel/loginPolicy.go index 175f0d6..13e523f 100644 --- a/sdk/go/zitadel/loginPolicy.go +++ b/sdk/go/zitadel/loginPolicy.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the custom login policy of an organization. @@ -19,57 +21,62 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewLoginPolicy(ctx, "default", &zitadel.LoginPolicyArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// UserLogin: pulumi.Bool(true), -// AllowRegister: pulumi.Bool(true), -// AllowExternalIdp: pulumi.Bool(true), -// ForceMfa: pulumi.Bool(false), -// ForceMfaLocalOnly: pulumi.Bool(false), -// PasswordlessType: pulumi.String("PASSWORDLESS_TYPE_ALLOWED"), -// HidePasswordReset: pulumi.Bool(false), -// PasswordCheckLifetime: pulumi.String("240h0m0s"), -// ExternalLoginCheckLifetime: pulumi.String("240h0m0s"), -// MultiFactorCheckLifetime: pulumi.String("24h0m0s"), -// MfaInitSkipLifetime: pulumi.String("720h0m0s"), -// SecondFactorCheckLifetime: pulumi.String("24h0m0s"), -// IgnoreUnknownUsernames: pulumi.Bool(true), -// DefaultRedirectUri: pulumi.String("localhost:8080"), -// SecondFactors: pulumi.StringArray{ -// pulumi.String("SECOND_FACTOR_TYPE_OTP"), -// pulumi.String("SECOND_FACTOR_TYPE_U2F"), -// }, -// MultiFactors: pulumi.StringArray{ -// pulumi.String("MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION"), -// }, -// Idps: pulumi.StringArray{ -// pulumi.Any(data.Zitadel_idp_google.Default.Id), -// pulumi.Any(data.Zitadel_idp_azure_ad.Default.Id), -// }, -// AllowDomainDiscovery: pulumi.Bool(true), -// DisableLoginWithEmail: pulumi.Bool(true), -// DisableLoginWithPhone: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewLoginPolicy(ctx, "default", &zitadel.LoginPolicyArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// UserLogin: pulumi.Bool(true), +// AllowRegister: pulumi.Bool(true), +// AllowExternalIdp: pulumi.Bool(true), +// ForceMfa: pulumi.Bool(false), +// ForceMfaLocalOnly: pulumi.Bool(false), +// PasswordlessType: pulumi.String("PASSWORDLESS_TYPE_ALLOWED"), +// HidePasswordReset: pulumi.Bool(false), +// PasswordCheckLifetime: pulumi.String("240h0m0s"), +// ExternalLoginCheckLifetime: pulumi.String("240h0m0s"), +// MultiFactorCheckLifetime: pulumi.String("24h0m0s"), +// MfaInitSkipLifetime: pulumi.String("720h0m0s"), +// SecondFactorCheckLifetime: pulumi.String("24h0m0s"), +// IgnoreUnknownUsernames: pulumi.Bool(true), +// DefaultRedirectUri: pulumi.String("localhost:8080"), +// SecondFactors: pulumi.StringArray{ +// pulumi.String("SECOND_FACTOR_TYPE_OTP"), +// pulumi.String("SECOND_FACTOR_TYPE_U2F"), +// }, +// MultiFactors: pulumi.StringArray{ +// pulumi.String("MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION"), +// }, +// Idps: pulumi.StringArray{ +// data.Zitadel_idp_google.Default.Id, +// data.Zitadel_idp_azure_ad.Default.Id, +// }, +// AllowDomainDiscovery: pulumi.Bool(true), +// DisableLoginWithEmail: pulumi.Bool(true), +// DisableLoginWithPhone: pulumi.Bool(true), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. +// terraform The resource can be imported using the ID format `<[org_id]>`, e.g. // // ```sh -// $ pulumi import zitadel:index/loginPolicy:LoginPolicy imported '123456789012345678' +// +// $ pulumi import zitadel:index/loginPolicy:LoginPolicy imported '123456789012345678' +// // ``` type LoginPolicy struct { pulumi.CustomResourceState @@ -162,7 +169,7 @@ func NewLoginPolicy(ctx *pulumi.Context, if args.UserLogin == nil { return nil, errors.New("invalid value for required argument 'UserLogin'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource LoginPolicy err := ctx.RegisterResource("zitadel:index/loginPolicy:LoginPolicy", name, args, &resource, opts...) if err != nil { @@ -372,10 +379,16 @@ func (i *LoginPolicy) ToLoginPolicyOutputWithContext(ctx context.Context) LoginP return pulumi.ToOutputWithContext(ctx, i).(LoginPolicyOutput) } +func (i *LoginPolicy) ToOutput(ctx context.Context) pulumix.Output[*LoginPolicy] { + return pulumix.Output[*LoginPolicy]{ + OutputState: i.ToLoginPolicyOutputWithContext(ctx).OutputState, + } +} + // LoginPolicyArrayInput is an input type that accepts LoginPolicyArray and LoginPolicyArrayOutput values. // You can construct a concrete instance of `LoginPolicyArrayInput` via: // -// LoginPolicyArray{ LoginPolicyArgs{...} } +// LoginPolicyArray{ LoginPolicyArgs{...} } type LoginPolicyArrayInput interface { pulumi.Input @@ -397,10 +410,16 @@ func (i LoginPolicyArray) ToLoginPolicyArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(LoginPolicyArrayOutput) } +func (i LoginPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*LoginPolicy] { + return pulumix.Output[[]*LoginPolicy]{ + OutputState: i.ToLoginPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // LoginPolicyMapInput is an input type that accepts LoginPolicyMap and LoginPolicyMapOutput values. // You can construct a concrete instance of `LoginPolicyMapInput` via: // -// LoginPolicyMap{ "key": LoginPolicyArgs{...} } +// LoginPolicyMap{ "key": LoginPolicyArgs{...} } type LoginPolicyMapInput interface { pulumi.Input @@ -422,6 +441,12 @@ func (i LoginPolicyMap) ToLoginPolicyMapOutputWithContext(ctx context.Context) L return pulumi.ToOutputWithContext(ctx, i).(LoginPolicyMapOutput) } +func (i LoginPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*LoginPolicy] { + return pulumix.Output[map[string]*LoginPolicy]{ + OutputState: i.ToLoginPolicyMapOutputWithContext(ctx).OutputState, + } +} + type LoginPolicyOutput struct{ *pulumi.OutputState } func (LoginPolicyOutput) ElementType() reflect.Type { @@ -436,6 +461,12 @@ func (o LoginPolicyOutput) ToLoginPolicyOutputWithContext(ctx context.Context) L return o } +func (o LoginPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*LoginPolicy] { + return pulumix.Output[*LoginPolicy]{ + OutputState: o.OutputState, + } +} + // if set to true, the suffix (@domain.com) of an unknown username input on the login screen will be matched against the org domains and will redirect to the registration of that organisation on success. func (o LoginPolicyOutput) AllowDomainDiscovery() pulumi.BoolPtrOutput { return o.ApplyT(func(v *LoginPolicy) pulumi.BoolPtrOutput { return v.AllowDomainDiscovery }).(pulumi.BoolPtrOutput) @@ -550,6 +581,12 @@ func (o LoginPolicyArrayOutput) ToLoginPolicyArrayOutputWithContext(ctx context. return o } +func (o LoginPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*LoginPolicy] { + return pulumix.Output[[]*LoginPolicy]{ + OutputState: o.OutputState, + } +} + func (o LoginPolicyArrayOutput) Index(i pulumi.IntInput) LoginPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *LoginPolicy { return vs[0].([]*LoginPolicy)[vs[1].(int)] @@ -570,6 +607,12 @@ func (o LoginPolicyMapOutput) ToLoginPolicyMapOutputWithContext(ctx context.Cont return o } +func (o LoginPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*LoginPolicy] { + return pulumix.Output[map[string]*LoginPolicy]{ + OutputState: o.OutputState, + } +} + func (o LoginPolicyMapOutput) MapIndex(k pulumi.StringInput) LoginPolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *LoginPolicy { return vs[0].(map[string]*LoginPolicy)[vs[1].(string)] diff --git a/sdk/go/zitadel/machineKey.go b/sdk/go/zitadel/machineKey.go index 7e26796..de2f9bc 100644 --- a/sdk/go/zitadel/machineKey.go +++ b/sdk/go/zitadel/machineKey.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing a machine key @@ -19,32 +21,37 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewMachineKey(ctx, "default", &zitadel.MachineKeyArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// UserId: pulumi.Any(data.Zitadel_machine_user.Default.Id), -// KeyType: pulumi.String("KEY_TYPE_JSON"), -// ExpirationDate: pulumi.String("2519-04-01T08:45:00Z"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewMachineKey(ctx, "default", &zitadel.MachineKeyArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// UserId: pulumi.Any(data.Zitadel_machine_user.Default.Id), +// KeyType: pulumi.String("KEY_TYPE_JSON"), +// ExpirationDate: pulumi.String("2519-04-01T08:45:00Z"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/machineKey:MachineKey imported '123456789012345678:123456789012345678:123456789012345678:{"type":"serviceaccount","keyId":"123456789012345678","key":"-----BEGIN RSA PRIVATE KEY-----\nMIIEpQ...-----END RSA PRIVATE KEY-----\n","userId":"123456789012345678"}' +// +// $ pulumi import zitadel:index/machineKey:MachineKey imported '123456789012345678:123456789012345678:123456789012345678:{"type":"serviceaccount","keyId":"123456789012345678","key":"-----BEGIN RSA PRIVATE KEY-----\nMIIEpQ...-----END RSA PRIVATE KEY-----\n","userId":"123456789012345678"}' +// // ``` type MachineKey struct { pulumi.CustomResourceState @@ -74,7 +81,11 @@ func NewMachineKey(ctx *pulumi.Context, if args.UserId == nil { return nil, errors.New("invalid value for required argument 'UserId'") } - opts = pkgResourceDefaultOpts(opts) + secrets := pulumi.AdditionalSecretOutputs([]string{ + "keyDetails", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource MachineKey err := ctx.RegisterResource("zitadel:index/machineKey:MachineKey", name, args, &resource, opts...) if err != nil { @@ -172,10 +183,16 @@ func (i *MachineKey) ToMachineKeyOutputWithContext(ctx context.Context) MachineK return pulumi.ToOutputWithContext(ctx, i).(MachineKeyOutput) } +func (i *MachineKey) ToOutput(ctx context.Context) pulumix.Output[*MachineKey] { + return pulumix.Output[*MachineKey]{ + OutputState: i.ToMachineKeyOutputWithContext(ctx).OutputState, + } +} + // MachineKeyArrayInput is an input type that accepts MachineKeyArray and MachineKeyArrayOutput values. // You can construct a concrete instance of `MachineKeyArrayInput` via: // -// MachineKeyArray{ MachineKeyArgs{...} } +// MachineKeyArray{ MachineKeyArgs{...} } type MachineKeyArrayInput interface { pulumi.Input @@ -197,10 +214,16 @@ func (i MachineKeyArray) ToMachineKeyArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MachineKeyArrayOutput) } +func (i MachineKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]*MachineKey] { + return pulumix.Output[[]*MachineKey]{ + OutputState: i.ToMachineKeyArrayOutputWithContext(ctx).OutputState, + } +} + // MachineKeyMapInput is an input type that accepts MachineKeyMap and MachineKeyMapOutput values. // You can construct a concrete instance of `MachineKeyMapInput` via: // -// MachineKeyMap{ "key": MachineKeyArgs{...} } +// MachineKeyMap{ "key": MachineKeyArgs{...} } type MachineKeyMapInput interface { pulumi.Input @@ -222,6 +245,12 @@ func (i MachineKeyMap) ToMachineKeyMapOutputWithContext(ctx context.Context) Mac return pulumi.ToOutputWithContext(ctx, i).(MachineKeyMapOutput) } +func (i MachineKeyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*MachineKey] { + return pulumix.Output[map[string]*MachineKey]{ + OutputState: i.ToMachineKeyMapOutputWithContext(ctx).OutputState, + } +} + type MachineKeyOutput struct{ *pulumi.OutputState } func (MachineKeyOutput) ElementType() reflect.Type { @@ -236,6 +265,12 @@ func (o MachineKeyOutput) ToMachineKeyOutputWithContext(ctx context.Context) Mac return o } +func (o MachineKeyOutput) ToOutput(ctx context.Context) pulumix.Output[*MachineKey] { + return pulumix.Output[*MachineKey]{ + OutputState: o.OutputState, + } +} + // Expiration date of the machine key in the RFC3339 format func (o MachineKeyOutput) ExpirationDate() pulumi.StringOutput { return o.ApplyT(func(v *MachineKey) pulumi.StringOutput { return v.ExpirationDate }).(pulumi.StringOutput) @@ -275,6 +310,12 @@ func (o MachineKeyArrayOutput) ToMachineKeyArrayOutputWithContext(ctx context.Co return o } +func (o MachineKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*MachineKey] { + return pulumix.Output[[]*MachineKey]{ + OutputState: o.OutputState, + } +} + func (o MachineKeyArrayOutput) Index(i pulumi.IntInput) MachineKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *MachineKey { return vs[0].([]*MachineKey)[vs[1].(int)] @@ -295,6 +336,12 @@ func (o MachineKeyMapOutput) ToMachineKeyMapOutputWithContext(ctx context.Contex return o } +func (o MachineKeyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*MachineKey] { + return pulumix.Output[map[string]*MachineKey]{ + OutputState: o.OutputState, + } +} + func (o MachineKeyMapOutput) MapIndex(k pulumi.StringInput) MachineKeyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *MachineKey { return vs[0].(map[string]*MachineKey)[vs[1].(string)] diff --git a/sdk/go/zitadel/machineUser.go b/sdk/go/zitadel/machineUser.go index fefbf5c..4532d80 100644 --- a/sdk/go/zitadel/machineUser.go +++ b/sdk/go/zitadel/machineUser.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing a serviceaccount situated under an organization, which then can be authorized through memberships or direct grants on other resources. @@ -19,31 +21,36 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewMachineUser(ctx, "default", &zitadel.MachineUserArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// UserName: pulumi.String("machine@example.com"), -// Description: pulumi.String("a machine user"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewMachineUser(ctx, "default", &zitadel.MachineUserArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// UserName: pulumi.String("machine@example.com"), +// Description: pulumi.String("a machine user"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/machineUser:MachineUser imported '123456789012345678:123456789012345678' +// +// $ pulumi import zitadel:index/machineUser:MachineUser imported '123456789012345678:123456789012345678' +// // ``` type MachineUser struct { pulumi.CustomResourceState @@ -76,7 +83,7 @@ func NewMachineUser(ctx *pulumi.Context, if args.UserName == nil { return nil, errors.New("invalid value for required argument 'UserName'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource MachineUser err := ctx.RegisterResource("zitadel:index/machineUser:MachineUser", name, args, &resource, opts...) if err != nil { @@ -190,10 +197,16 @@ func (i *MachineUser) ToMachineUserOutputWithContext(ctx context.Context) Machin return pulumi.ToOutputWithContext(ctx, i).(MachineUserOutput) } +func (i *MachineUser) ToOutput(ctx context.Context) pulumix.Output[*MachineUser] { + return pulumix.Output[*MachineUser]{ + OutputState: i.ToMachineUserOutputWithContext(ctx).OutputState, + } +} + // MachineUserArrayInput is an input type that accepts MachineUserArray and MachineUserArrayOutput values. // You can construct a concrete instance of `MachineUserArrayInput` via: // -// MachineUserArray{ MachineUserArgs{...} } +// MachineUserArray{ MachineUserArgs{...} } type MachineUserArrayInput interface { pulumi.Input @@ -215,10 +228,16 @@ func (i MachineUserArray) ToMachineUserArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(MachineUserArrayOutput) } +func (i MachineUserArray) ToOutput(ctx context.Context) pulumix.Output[[]*MachineUser] { + return pulumix.Output[[]*MachineUser]{ + OutputState: i.ToMachineUserArrayOutputWithContext(ctx).OutputState, + } +} + // MachineUserMapInput is an input type that accepts MachineUserMap and MachineUserMapOutput values. // You can construct a concrete instance of `MachineUserMapInput` via: // -// MachineUserMap{ "key": MachineUserArgs{...} } +// MachineUserMap{ "key": MachineUserArgs{...} } type MachineUserMapInput interface { pulumi.Input @@ -240,6 +259,12 @@ func (i MachineUserMap) ToMachineUserMapOutputWithContext(ctx context.Context) M return pulumi.ToOutputWithContext(ctx, i).(MachineUserMapOutput) } +func (i MachineUserMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*MachineUser] { + return pulumix.Output[map[string]*MachineUser]{ + OutputState: i.ToMachineUserMapOutputWithContext(ctx).OutputState, + } +} + type MachineUserOutput struct{ *pulumi.OutputState } func (MachineUserOutput) ElementType() reflect.Type { @@ -254,6 +279,12 @@ func (o MachineUserOutput) ToMachineUserOutputWithContext(ctx context.Context) M return o } +func (o MachineUserOutput) ToOutput(ctx context.Context) pulumix.Output[*MachineUser] { + return pulumix.Output[*MachineUser]{ + OutputState: o.OutputState, + } +} + // Access token type, supported values: ACCESS*TOKEN*TYPE*BEARER, ACCESS*TOKEN*TYPE*JWT func (o MachineUserOutput) AccessTokenType() pulumi.StringPtrOutput { return o.ApplyT(func(v *MachineUser) pulumi.StringPtrOutput { return v.AccessTokenType }).(pulumi.StringPtrOutput) @@ -308,6 +339,12 @@ func (o MachineUserArrayOutput) ToMachineUserArrayOutputWithContext(ctx context. return o } +func (o MachineUserArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*MachineUser] { + return pulumix.Output[[]*MachineUser]{ + OutputState: o.OutputState, + } +} + func (o MachineUserArrayOutput) Index(i pulumi.IntInput) MachineUserOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *MachineUser { return vs[0].([]*MachineUser)[vs[1].(int)] @@ -328,6 +365,12 @@ func (o MachineUserMapOutput) ToMachineUserMapOutputWithContext(ctx context.Cont return o } +func (o MachineUserMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*MachineUser] { + return pulumix.Output[map[string]*MachineUser]{ + OutputState: o.OutputState, + } +} + func (o MachineUserMapOutput) MapIndex(k pulumi.StringInput) MachineUserOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *MachineUser { return vs[0].(map[string]*MachineUser)[vs[1].(string)] diff --git a/sdk/go/zitadel/notificationPolicy.go b/sdk/go/zitadel/notificationPolicy.go index c0fa38b..561ad7d 100644 --- a/sdk/go/zitadel/notificationPolicy.go +++ b/sdk/go/zitadel/notificationPolicy.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the custom notification policy of an organization. @@ -19,30 +21,35 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewNotificationPolicy(ctx, "default", &zitadel.NotificationPolicyArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// PasswordChange: pulumi.Bool(false), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewNotificationPolicy(ctx, "default", &zitadel.NotificationPolicyArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// PasswordChange: pulumi.Bool(false), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. +// terraform The resource can be imported using the ID format `<[org_id]>`, e.g. // // ```sh -// $ pulumi import zitadel:index/notificationPolicy:NotificationPolicy imported '123456789012345678' +// +// $ pulumi import zitadel:index/notificationPolicy:NotificationPolicy imported '123456789012345678' +// // ``` type NotificationPolicy struct { pulumi.CustomResourceState @@ -63,7 +70,7 @@ func NewNotificationPolicy(ctx *pulumi.Context, if args.PasswordChange == nil { return nil, errors.New("invalid value for required argument 'PasswordChange'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource NotificationPolicy err := ctx.RegisterResource("zitadel:index/notificationPolicy:NotificationPolicy", name, args, &resource, opts...) if err != nil { @@ -141,10 +148,16 @@ func (i *NotificationPolicy) ToNotificationPolicyOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyOutput) } +func (i *NotificationPolicy) ToOutput(ctx context.Context) pulumix.Output[*NotificationPolicy] { + return pulumix.Output[*NotificationPolicy]{ + OutputState: i.ToNotificationPolicyOutputWithContext(ctx).OutputState, + } +} + // NotificationPolicyArrayInput is an input type that accepts NotificationPolicyArray and NotificationPolicyArrayOutput values. // You can construct a concrete instance of `NotificationPolicyArrayInput` via: // -// NotificationPolicyArray{ NotificationPolicyArgs{...} } +// NotificationPolicyArray{ NotificationPolicyArgs{...} } type NotificationPolicyArrayInput interface { pulumi.Input @@ -166,10 +179,16 @@ func (i NotificationPolicyArray) ToNotificationPolicyArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyArrayOutput) } +func (i NotificationPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*NotificationPolicy] { + return pulumix.Output[[]*NotificationPolicy]{ + OutputState: i.ToNotificationPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // NotificationPolicyMapInput is an input type that accepts NotificationPolicyMap and NotificationPolicyMapOutput values. // You can construct a concrete instance of `NotificationPolicyMapInput` via: // -// NotificationPolicyMap{ "key": NotificationPolicyArgs{...} } +// NotificationPolicyMap{ "key": NotificationPolicyArgs{...} } type NotificationPolicyMapInput interface { pulumi.Input @@ -191,6 +210,12 @@ func (i NotificationPolicyMap) ToNotificationPolicyMapOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(NotificationPolicyMapOutput) } +func (i NotificationPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*NotificationPolicy] { + return pulumix.Output[map[string]*NotificationPolicy]{ + OutputState: i.ToNotificationPolicyMapOutputWithContext(ctx).OutputState, + } +} + type NotificationPolicyOutput struct{ *pulumi.OutputState } func (NotificationPolicyOutput) ElementType() reflect.Type { @@ -205,6 +230,12 @@ func (o NotificationPolicyOutput) ToNotificationPolicyOutputWithContext(ctx cont return o } +func (o NotificationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NotificationPolicy] { + return pulumix.Output[*NotificationPolicy]{ + OutputState: o.OutputState, + } +} + // ID of the organization func (o NotificationPolicyOutput) OrgId() pulumi.StringPtrOutput { return o.ApplyT(func(v *NotificationPolicy) pulumi.StringPtrOutput { return v.OrgId }).(pulumi.StringPtrOutput) @@ -229,6 +260,12 @@ func (o NotificationPolicyArrayOutput) ToNotificationPolicyArrayOutputWithContex return o } +func (o NotificationPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*NotificationPolicy] { + return pulumix.Output[[]*NotificationPolicy]{ + OutputState: o.OutputState, + } +} + func (o NotificationPolicyArrayOutput) Index(i pulumi.IntInput) NotificationPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *NotificationPolicy { return vs[0].([]*NotificationPolicy)[vs[1].(int)] @@ -249,6 +286,12 @@ func (o NotificationPolicyMapOutput) ToNotificationPolicyMapOutputWithContext(ct return o } +func (o NotificationPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*NotificationPolicy] { + return pulumix.Output[map[string]*NotificationPolicy]{ + OutputState: o.OutputState, + } +} + func (o NotificationPolicyMapOutput) MapIndex(k pulumi.StringInput) NotificationPolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *NotificationPolicy { return vs[0].(map[string]*NotificationPolicy)[vs[1].(string)] diff --git a/sdk/go/zitadel/org.go b/sdk/go/zitadel/org.go index 7495e1f..638c308 100644 --- a/sdk/go/zitadel/org.go +++ b/sdk/go/zitadel/org.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing an organization in ZITADEL, which is the highest level after the instance and contains several other resource including policies if the configuration differs to the default policies on the instance. @@ -18,31 +20,38 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewOrg(ctx, "default", nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewOrg(ctx, "default", nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/org:Org imported '123456789012345678' +// +// $ pulumi import zitadel:index/org:Org imported '123456789012345678' +// // ``` type Org struct { pulumi.CustomResourceState + // True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. + IsDefault pulumi.BoolPtrOutput `pulumi:"isDefault"` // Name of the org Name pulumi.StringOutput `pulumi:"name"` // Primary domain of the org @@ -58,7 +67,7 @@ func NewOrg(ctx *pulumi.Context, args = &OrgArgs{} } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource Org err := ctx.RegisterResource("zitadel:index/org:Org", name, args, &resource, opts...) if err != nil { @@ -81,6 +90,8 @@ func GetOrg(ctx *pulumi.Context, // Input properties used for looking up and filtering Org resources. type orgState struct { + // True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. + IsDefault *bool `pulumi:"isDefault"` // Name of the org Name *string `pulumi:"name"` // Primary domain of the org @@ -90,6 +101,8 @@ type orgState struct { } type OrgState struct { + // True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. + IsDefault pulumi.BoolPtrInput // Name of the org Name pulumi.StringPtrInput // Primary domain of the org @@ -103,12 +116,16 @@ func (OrgState) ElementType() reflect.Type { } type orgArgs struct { + // True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. + IsDefault *bool `pulumi:"isDefault"` // Name of the org Name *string `pulumi:"name"` } // The set of arguments for constructing a Org resource. type OrgArgs struct { + // True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. + IsDefault pulumi.BoolPtrInput // Name of the org Name pulumi.StringPtrInput } @@ -136,10 +153,16 @@ func (i *Org) ToOrgOutputWithContext(ctx context.Context) OrgOutput { return pulumi.ToOutputWithContext(ctx, i).(OrgOutput) } +func (i *Org) ToOutput(ctx context.Context) pulumix.Output[*Org] { + return pulumix.Output[*Org]{ + OutputState: i.ToOrgOutputWithContext(ctx).OutputState, + } +} + // OrgArrayInput is an input type that accepts OrgArray and OrgArrayOutput values. // You can construct a concrete instance of `OrgArrayInput` via: // -// OrgArray{ OrgArgs{...} } +// OrgArray{ OrgArgs{...} } type OrgArrayInput interface { pulumi.Input @@ -161,10 +184,16 @@ func (i OrgArray) ToOrgArrayOutputWithContext(ctx context.Context) OrgArrayOutpu return pulumi.ToOutputWithContext(ctx, i).(OrgArrayOutput) } +func (i OrgArray) ToOutput(ctx context.Context) pulumix.Output[[]*Org] { + return pulumix.Output[[]*Org]{ + OutputState: i.ToOrgArrayOutputWithContext(ctx).OutputState, + } +} + // OrgMapInput is an input type that accepts OrgMap and OrgMapOutput values. // You can construct a concrete instance of `OrgMapInput` via: // -// OrgMap{ "key": OrgArgs{...} } +// OrgMap{ "key": OrgArgs{...} } type OrgMapInput interface { pulumi.Input @@ -186,6 +215,12 @@ func (i OrgMap) ToOrgMapOutputWithContext(ctx context.Context) OrgMapOutput { return pulumi.ToOutputWithContext(ctx, i).(OrgMapOutput) } +func (i OrgMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Org] { + return pulumix.Output[map[string]*Org]{ + OutputState: i.ToOrgMapOutputWithContext(ctx).OutputState, + } +} + type OrgOutput struct{ *pulumi.OutputState } func (OrgOutput) ElementType() reflect.Type { @@ -200,6 +235,17 @@ func (o OrgOutput) ToOrgOutputWithContext(ctx context.Context) OrgOutput { return o } +func (o OrgOutput) ToOutput(ctx context.Context) pulumix.Output[*Org] { + return pulumix.Output[*Org]{ + OutputState: o.OutputState, + } +} + +// True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. +func (o OrgOutput) IsDefault() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Org) pulumi.BoolPtrOutput { return v.IsDefault }).(pulumi.BoolPtrOutput) +} + // Name of the org func (o OrgOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *Org) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) @@ -229,6 +275,12 @@ func (o OrgArrayOutput) ToOrgArrayOutputWithContext(ctx context.Context) OrgArra return o } +func (o OrgArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Org] { + return pulumix.Output[[]*Org]{ + OutputState: o.OutputState, + } +} + func (o OrgArrayOutput) Index(i pulumi.IntInput) OrgOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Org { return vs[0].([]*Org)[vs[1].(int)] @@ -249,6 +301,12 @@ func (o OrgMapOutput) ToOrgMapOutputWithContext(ctx context.Context) OrgMapOutpu return o } +func (o OrgMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Org] { + return pulumix.Output[map[string]*Org]{ + OutputState: o.OutputState, + } +} + func (o OrgMapOutput) MapIndex(k pulumi.StringInput) OrgOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Org { return vs[0].(map[string]*Org)[vs[1].(string)] diff --git a/sdk/go/zitadel/orgIdpAzureAd.go b/sdk/go/zitadel/orgIdpAzureAd.go index 518334c..34563b6 100644 --- a/sdk/go/zitadel/orgIdpAzureAd.go +++ b/sdk/go/zitadel/orgIdpAzureAd.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing an Azure AD IdP on the organization. @@ -19,43 +21,48 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewOrgIdpAzureAd(ctx, "default", &zitadel.OrgIdpAzureAdArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// ClientId: pulumi.String("9065bfc8-a08a..."), -// ClientSecret: pulumi.String("H2n***"), -// Scopes: pulumi.StringArray{ -// pulumi.String("openid"), -// pulumi.String("profile"), -// pulumi.String("email"), -// pulumi.String("User.Read"), -// }, -// TenantType: pulumi.String("AZURE_AD_TENANT_TYPE_ORGANISATIONS"), -// EmailVerified: pulumi.Bool(true), -// IsLinkingAllowed: pulumi.Bool(false), -// IsCreationAllowed: pulumi.Bool(true), -// IsAutoCreation: pulumi.Bool(false), -// IsAutoUpdate: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewOrgIdpAzureAd(ctx, "default", &zitadel.OrgIdpAzureAdArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// ClientId: pulumi.String("9065bfc8-a08a..."), +// ClientSecret: pulumi.String("H2n***"), +// Scopes: pulumi.StringArray{ +// pulumi.String("openid"), +// pulumi.String("profile"), +// pulumi.String("email"), +// pulumi.String("User.Read"), +// }, +// TenantType: pulumi.String("AZURE_AD_TENANT_TYPE_ORGANISATIONS"), +// EmailVerified: pulumi.Bool(true), +// IsLinkingAllowed: pulumi.Bool(false), +// IsCreationAllowed: pulumi.Bool(true), +// IsAutoCreation: pulumi.Bool(false), +// IsAutoUpdate: pulumi.Bool(true), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/orgIdpAzureAd:OrgIdpAzureAd imported '123456789012345678:123456789012345678:12345678-1234-1234-1234-123456789012' +// +// $ pulumi import zitadel:index/orgIdpAzureAd:OrgIdpAzureAd imported '123456789012345678:123456789012345678:12345678-1234-1234-1234-123456789012' +// // ``` type OrgIdpAzureAd struct { pulumi.CustomResourceState @@ -114,7 +121,14 @@ func NewOrgIdpAzureAd(ctx *pulumi.Context, if args.IsLinkingAllowed == nil { return nil, errors.New("invalid value for required argument 'IsLinkingAllowed'") } - opts = pkgResourceDefaultOpts(opts) + if args.ClientSecret != nil { + args.ClientSecret = pulumi.ToSecret(args.ClientSecret).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientSecret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource OrgIdpAzureAd err := ctx.RegisterResource("zitadel:index/orgIdpAzureAd:OrgIdpAzureAd", name, args, &resource, opts...) if err != nil { @@ -272,10 +286,16 @@ func (i *OrgIdpAzureAd) ToOrgIdpAzureAdOutputWithContext(ctx context.Context) Or return pulumi.ToOutputWithContext(ctx, i).(OrgIdpAzureAdOutput) } +func (i *OrgIdpAzureAd) ToOutput(ctx context.Context) pulumix.Output[*OrgIdpAzureAd] { + return pulumix.Output[*OrgIdpAzureAd]{ + OutputState: i.ToOrgIdpAzureAdOutputWithContext(ctx).OutputState, + } +} + // OrgIdpAzureAdArrayInput is an input type that accepts OrgIdpAzureAdArray and OrgIdpAzureAdArrayOutput values. // You can construct a concrete instance of `OrgIdpAzureAdArrayInput` via: // -// OrgIdpAzureAdArray{ OrgIdpAzureAdArgs{...} } +// OrgIdpAzureAdArray{ OrgIdpAzureAdArgs{...} } type OrgIdpAzureAdArrayInput interface { pulumi.Input @@ -297,10 +317,16 @@ func (i OrgIdpAzureAdArray) ToOrgIdpAzureAdArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(OrgIdpAzureAdArrayOutput) } +func (i OrgIdpAzureAdArray) ToOutput(ctx context.Context) pulumix.Output[[]*OrgIdpAzureAd] { + return pulumix.Output[[]*OrgIdpAzureAd]{ + OutputState: i.ToOrgIdpAzureAdArrayOutputWithContext(ctx).OutputState, + } +} + // OrgIdpAzureAdMapInput is an input type that accepts OrgIdpAzureAdMap and OrgIdpAzureAdMapOutput values. // You can construct a concrete instance of `OrgIdpAzureAdMapInput` via: // -// OrgIdpAzureAdMap{ "key": OrgIdpAzureAdArgs{...} } +// OrgIdpAzureAdMap{ "key": OrgIdpAzureAdArgs{...} } type OrgIdpAzureAdMapInput interface { pulumi.Input @@ -322,6 +348,12 @@ func (i OrgIdpAzureAdMap) ToOrgIdpAzureAdMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(OrgIdpAzureAdMapOutput) } +func (i OrgIdpAzureAdMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgIdpAzureAd] { + return pulumix.Output[map[string]*OrgIdpAzureAd]{ + OutputState: i.ToOrgIdpAzureAdMapOutputWithContext(ctx).OutputState, + } +} + type OrgIdpAzureAdOutput struct{ *pulumi.OutputState } func (OrgIdpAzureAdOutput) ElementType() reflect.Type { @@ -336,6 +368,12 @@ func (o OrgIdpAzureAdOutput) ToOrgIdpAzureAdOutputWithContext(ctx context.Contex return o } +func (o OrgIdpAzureAdOutput) ToOutput(ctx context.Context) pulumix.Output[*OrgIdpAzureAd] { + return pulumix.Output[*OrgIdpAzureAd]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o OrgIdpAzureAdOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v *OrgIdpAzureAd) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) @@ -410,6 +448,12 @@ func (o OrgIdpAzureAdArrayOutput) ToOrgIdpAzureAdArrayOutputWithContext(ctx cont return o } +func (o OrgIdpAzureAdArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*OrgIdpAzureAd] { + return pulumix.Output[[]*OrgIdpAzureAd]{ + OutputState: o.OutputState, + } +} + func (o OrgIdpAzureAdArrayOutput) Index(i pulumi.IntInput) OrgIdpAzureAdOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OrgIdpAzureAd { return vs[0].([]*OrgIdpAzureAd)[vs[1].(int)] @@ -430,6 +474,12 @@ func (o OrgIdpAzureAdMapOutput) ToOrgIdpAzureAdMapOutputWithContext(ctx context. return o } +func (o OrgIdpAzureAdMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgIdpAzureAd] { + return pulumix.Output[map[string]*OrgIdpAzureAd]{ + OutputState: o.OutputState, + } +} + func (o OrgIdpAzureAdMapOutput) MapIndex(k pulumi.StringInput) OrgIdpAzureAdOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OrgIdpAzureAd { return vs[0].(map[string]*OrgIdpAzureAd)[vs[1].(string)] diff --git a/sdk/go/zitadel/orgIdpGithub.go b/sdk/go/zitadel/orgIdpGithub.go index dbb9dc4..25ae56a 100644 --- a/sdk/go/zitadel/orgIdpGithub.go +++ b/sdk/go/zitadel/orgIdpGithub.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing a GitHub IdP on the organization. @@ -19,40 +21,45 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewOrgIdpGithub(ctx, "default", &zitadel.OrgIdpGithubArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// ClientId: pulumi.String("86a165..."), -// ClientSecret: pulumi.String("*****afdbac18"), -// Scopes: pulumi.StringArray{ -// pulumi.String("openid"), -// pulumi.String("profile"), -// pulumi.String("email"), -// }, -// IsLinkingAllowed: pulumi.Bool(false), -// IsCreationAllowed: pulumi.Bool(true), -// IsAutoCreation: pulumi.Bool(false), -// IsAutoUpdate: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewOrgIdpGithub(ctx, "default", &zitadel.OrgIdpGithubArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// ClientId: pulumi.String("86a165..."), +// ClientSecret: pulumi.String("*****afdbac18"), +// Scopes: pulumi.StringArray{ +// pulumi.String("openid"), +// pulumi.String("profile"), +// pulumi.String("email"), +// }, +// IsLinkingAllowed: pulumi.Bool(false), +// IsCreationAllowed: pulumi.Bool(true), +// IsAutoCreation: pulumi.Bool(false), +// IsAutoUpdate: pulumi.Bool(true), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/orgIdpGithub:OrgIdpGithub imported '123456789012345678:123456789012345678:1234567890123456781234567890123456787890' +// +// $ pulumi import zitadel:index/orgIdpGithub:OrgIdpGithub imported '123456789012345678:123456789012345678:1234567890123456781234567890123456787890' +// // ``` type OrgIdpGithub struct { pulumi.CustomResourceState @@ -102,7 +109,14 @@ func NewOrgIdpGithub(ctx *pulumi.Context, if args.IsLinkingAllowed == nil { return nil, errors.New("invalid value for required argument 'IsLinkingAllowed'") } - opts = pkgResourceDefaultOpts(opts) + if args.ClientSecret != nil { + args.ClientSecret = pulumi.ToSecret(args.ClientSecret).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientSecret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource OrgIdpGithub err := ctx.RegisterResource("zitadel:index/orgIdpGithub:OrgIdpGithub", name, args, &resource, opts...) if err != nil { @@ -236,10 +250,16 @@ func (i *OrgIdpGithub) ToOrgIdpGithubOutputWithContext(ctx context.Context) OrgI return pulumi.ToOutputWithContext(ctx, i).(OrgIdpGithubOutput) } +func (i *OrgIdpGithub) ToOutput(ctx context.Context) pulumix.Output[*OrgIdpGithub] { + return pulumix.Output[*OrgIdpGithub]{ + OutputState: i.ToOrgIdpGithubOutputWithContext(ctx).OutputState, + } +} + // OrgIdpGithubArrayInput is an input type that accepts OrgIdpGithubArray and OrgIdpGithubArrayOutput values. // You can construct a concrete instance of `OrgIdpGithubArrayInput` via: // -// OrgIdpGithubArray{ OrgIdpGithubArgs{...} } +// OrgIdpGithubArray{ OrgIdpGithubArgs{...} } type OrgIdpGithubArrayInput interface { pulumi.Input @@ -261,10 +281,16 @@ func (i OrgIdpGithubArray) ToOrgIdpGithubArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(OrgIdpGithubArrayOutput) } +func (i OrgIdpGithubArray) ToOutput(ctx context.Context) pulumix.Output[[]*OrgIdpGithub] { + return pulumix.Output[[]*OrgIdpGithub]{ + OutputState: i.ToOrgIdpGithubArrayOutputWithContext(ctx).OutputState, + } +} + // OrgIdpGithubMapInput is an input type that accepts OrgIdpGithubMap and OrgIdpGithubMapOutput values. // You can construct a concrete instance of `OrgIdpGithubMapInput` via: // -// OrgIdpGithubMap{ "key": OrgIdpGithubArgs{...} } +// OrgIdpGithubMap{ "key": OrgIdpGithubArgs{...} } type OrgIdpGithubMapInput interface { pulumi.Input @@ -286,6 +312,12 @@ func (i OrgIdpGithubMap) ToOrgIdpGithubMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OrgIdpGithubMapOutput) } +func (i OrgIdpGithubMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgIdpGithub] { + return pulumix.Output[map[string]*OrgIdpGithub]{ + OutputState: i.ToOrgIdpGithubMapOutputWithContext(ctx).OutputState, + } +} + type OrgIdpGithubOutput struct{ *pulumi.OutputState } func (OrgIdpGithubOutput) ElementType() reflect.Type { @@ -300,6 +332,12 @@ func (o OrgIdpGithubOutput) ToOrgIdpGithubOutputWithContext(ctx context.Context) return o } +func (o OrgIdpGithubOutput) ToOutput(ctx context.Context) pulumix.Output[*OrgIdpGithub] { + return pulumix.Output[*OrgIdpGithub]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o OrgIdpGithubOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v *OrgIdpGithub) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) @@ -359,6 +397,12 @@ func (o OrgIdpGithubArrayOutput) ToOrgIdpGithubArrayOutputWithContext(ctx contex return o } +func (o OrgIdpGithubArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*OrgIdpGithub] { + return pulumix.Output[[]*OrgIdpGithub]{ + OutputState: o.OutputState, + } +} + func (o OrgIdpGithubArrayOutput) Index(i pulumi.IntInput) OrgIdpGithubOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OrgIdpGithub { return vs[0].([]*OrgIdpGithub)[vs[1].(int)] @@ -379,6 +423,12 @@ func (o OrgIdpGithubMapOutput) ToOrgIdpGithubMapOutputWithContext(ctx context.Co return o } +func (o OrgIdpGithubMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgIdpGithub] { + return pulumix.Output[map[string]*OrgIdpGithub]{ + OutputState: o.OutputState, + } +} + func (o OrgIdpGithubMapOutput) MapIndex(k pulumi.StringInput) OrgIdpGithubOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OrgIdpGithub { return vs[0].(map[string]*OrgIdpGithub)[vs[1].(string)] diff --git a/sdk/go/zitadel/orgIdpGithubEs.go b/sdk/go/zitadel/orgIdpGithubEs.go index 66f1623..05688b8 100644 --- a/sdk/go/zitadel/orgIdpGithubEs.go +++ b/sdk/go/zitadel/orgIdpGithubEs.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing a GitHub Enterprise IdP on the organization. @@ -19,43 +21,48 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewOrgIdpGithubEs(ctx, "default", &zitadel.OrgIdpGithubEsArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// ClientId: pulumi.String("86a165..."), -// ClientSecret: pulumi.String("*****afdbac18"), -// Scopes: pulumi.StringArray{ -// pulumi.String("openid"), -// pulumi.String("profile"), -// pulumi.String("email"), -// }, -// AuthorizationEndpoint: pulumi.String("https://auth.endpoint"), -// TokenEndpoint: pulumi.String("https://token.endpoint"), -// UserEndpoint: pulumi.String("https://user.endpoint"), -// IsLinkingAllowed: pulumi.Bool(false), -// IsCreationAllowed: pulumi.Bool(true), -// IsAutoCreation: pulumi.Bool(false), -// IsAutoUpdate: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewOrgIdpGithubEs(ctx, "default", &zitadel.OrgIdpGithubEsArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// ClientId: pulumi.String("86a165..."), +// ClientSecret: pulumi.String("*****afdbac18"), +// Scopes: pulumi.StringArray{ +// pulumi.String("openid"), +// pulumi.String("profile"), +// pulumi.String("email"), +// }, +// AuthorizationEndpoint: pulumi.String("https://auth.endpoint"), +// TokenEndpoint: pulumi.String("https://token.endpoint"), +// UserEndpoint: pulumi.String("https://user.endpoint"), +// IsLinkingAllowed: pulumi.Bool(false), +// IsCreationAllowed: pulumi.Bool(true), +// IsAutoCreation: pulumi.Bool(false), +// IsAutoUpdate: pulumi.Bool(true), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/orgIdpGithubEs:OrgIdpGithubEs imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678' +// +// $ pulumi import zitadel:index/orgIdpGithubEs:OrgIdpGithubEs imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678' +// // ``` type OrgIdpGithubEs struct { pulumi.CustomResourceState @@ -120,7 +127,14 @@ func NewOrgIdpGithubEs(ctx *pulumi.Context, if args.UserEndpoint == nil { return nil, errors.New("invalid value for required argument 'UserEndpoint'") } - opts = pkgResourceDefaultOpts(opts) + if args.ClientSecret != nil { + args.ClientSecret = pulumi.ToSecret(args.ClientSecret).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientSecret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource OrgIdpGithubEs err := ctx.RegisterResource("zitadel:index/orgIdpGithubEs:OrgIdpGithubEs", name, args, &resource, opts...) if err != nil { @@ -278,10 +292,16 @@ func (i *OrgIdpGithubEs) ToOrgIdpGithubEsOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OrgIdpGithubEsOutput) } +func (i *OrgIdpGithubEs) ToOutput(ctx context.Context) pulumix.Output[*OrgIdpGithubEs] { + return pulumix.Output[*OrgIdpGithubEs]{ + OutputState: i.ToOrgIdpGithubEsOutputWithContext(ctx).OutputState, + } +} + // OrgIdpGithubEsArrayInput is an input type that accepts OrgIdpGithubEsArray and OrgIdpGithubEsArrayOutput values. // You can construct a concrete instance of `OrgIdpGithubEsArrayInput` via: // -// OrgIdpGithubEsArray{ OrgIdpGithubEsArgs{...} } +// OrgIdpGithubEsArray{ OrgIdpGithubEsArgs{...} } type OrgIdpGithubEsArrayInput interface { pulumi.Input @@ -303,10 +323,16 @@ func (i OrgIdpGithubEsArray) ToOrgIdpGithubEsArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(OrgIdpGithubEsArrayOutput) } +func (i OrgIdpGithubEsArray) ToOutput(ctx context.Context) pulumix.Output[[]*OrgIdpGithubEs] { + return pulumix.Output[[]*OrgIdpGithubEs]{ + OutputState: i.ToOrgIdpGithubEsArrayOutputWithContext(ctx).OutputState, + } +} + // OrgIdpGithubEsMapInput is an input type that accepts OrgIdpGithubEsMap and OrgIdpGithubEsMapOutput values. // You can construct a concrete instance of `OrgIdpGithubEsMapInput` via: // -// OrgIdpGithubEsMap{ "key": OrgIdpGithubEsArgs{...} } +// OrgIdpGithubEsMap{ "key": OrgIdpGithubEsArgs{...} } type OrgIdpGithubEsMapInput interface { pulumi.Input @@ -328,6 +354,12 @@ func (i OrgIdpGithubEsMap) ToOrgIdpGithubEsMapOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(OrgIdpGithubEsMapOutput) } +func (i OrgIdpGithubEsMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgIdpGithubEs] { + return pulumix.Output[map[string]*OrgIdpGithubEs]{ + OutputState: i.ToOrgIdpGithubEsMapOutputWithContext(ctx).OutputState, + } +} + type OrgIdpGithubEsOutput struct{ *pulumi.OutputState } func (OrgIdpGithubEsOutput) ElementType() reflect.Type { @@ -342,6 +374,12 @@ func (o OrgIdpGithubEsOutput) ToOrgIdpGithubEsOutputWithContext(ctx context.Cont return o } +func (o OrgIdpGithubEsOutput) ToOutput(ctx context.Context) pulumix.Output[*OrgIdpGithubEs] { + return pulumix.Output[*OrgIdpGithubEs]{ + OutputState: o.OutputState, + } +} + // the providers authorization endpoint func (o OrgIdpGithubEsOutput) AuthorizationEndpoint() pulumi.StringOutput { return o.ApplyT(func(v *OrgIdpGithubEs) pulumi.StringOutput { return v.AuthorizationEndpoint }).(pulumi.StringOutput) @@ -416,6 +454,12 @@ func (o OrgIdpGithubEsArrayOutput) ToOrgIdpGithubEsArrayOutputWithContext(ctx co return o } +func (o OrgIdpGithubEsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*OrgIdpGithubEs] { + return pulumix.Output[[]*OrgIdpGithubEs]{ + OutputState: o.OutputState, + } +} + func (o OrgIdpGithubEsArrayOutput) Index(i pulumi.IntInput) OrgIdpGithubEsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OrgIdpGithubEs { return vs[0].([]*OrgIdpGithubEs)[vs[1].(int)] @@ -436,6 +480,12 @@ func (o OrgIdpGithubEsMapOutput) ToOrgIdpGithubEsMapOutputWithContext(ctx contex return o } +func (o OrgIdpGithubEsMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgIdpGithubEs] { + return pulumix.Output[map[string]*OrgIdpGithubEs]{ + OutputState: o.OutputState, + } +} + func (o OrgIdpGithubEsMapOutput) MapIndex(k pulumi.StringInput) OrgIdpGithubEsOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OrgIdpGithubEs { return vs[0].(map[string]*OrgIdpGithubEs)[vs[1].(string)] diff --git a/sdk/go/zitadel/orgIdpGitlab.go b/sdk/go/zitadel/orgIdpGitlab.go index cb2a823..4297501 100644 --- a/sdk/go/zitadel/orgIdpGitlab.go +++ b/sdk/go/zitadel/orgIdpGitlab.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing a GitLab IdP on the organization. @@ -19,40 +21,45 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewOrgIdpGitlab(ctx, "default", &zitadel.OrgIdpGitlabArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// ClientId: pulumi.String("15765e..."), -// ClientSecret: pulumi.String("*****abcxyz"), -// Scopes: pulumi.StringArray{ -// pulumi.String("openid"), -// pulumi.String("profile"), -// pulumi.String("email"), -// }, -// IsLinkingAllowed: pulumi.Bool(false), -// IsCreationAllowed: pulumi.Bool(true), -// IsAutoCreation: pulumi.Bool(false), -// IsAutoUpdate: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewOrgIdpGitlab(ctx, "default", &zitadel.OrgIdpGitlabArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// ClientId: pulumi.String("15765e..."), +// ClientSecret: pulumi.String("*****abcxyz"), +// Scopes: pulumi.StringArray{ +// pulumi.String("openid"), +// pulumi.String("profile"), +// pulumi.String("email"), +// }, +// IsLinkingAllowed: pulumi.Bool(false), +// IsCreationAllowed: pulumi.Bool(true), +// IsAutoCreation: pulumi.Bool(false), +// IsAutoUpdate: pulumi.Bool(true), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/orgIdpGitlab:OrgIdpGitlab imported '123456789012345678:123456789012345678:1234567890abcdef' +// +// $ pulumi import zitadel:index/orgIdpGitlab:OrgIdpGitlab imported '123456789012345678:123456789012345678:1234567890abcdef' +// // ``` type OrgIdpGitlab struct { pulumi.CustomResourceState @@ -102,7 +109,14 @@ func NewOrgIdpGitlab(ctx *pulumi.Context, if args.IsLinkingAllowed == nil { return nil, errors.New("invalid value for required argument 'IsLinkingAllowed'") } - opts = pkgResourceDefaultOpts(opts) + if args.ClientSecret != nil { + args.ClientSecret = pulumi.ToSecret(args.ClientSecret).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientSecret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource OrgIdpGitlab err := ctx.RegisterResource("zitadel:index/orgIdpGitlab:OrgIdpGitlab", name, args, &resource, opts...) if err != nil { @@ -236,10 +250,16 @@ func (i *OrgIdpGitlab) ToOrgIdpGitlabOutputWithContext(ctx context.Context) OrgI return pulumi.ToOutputWithContext(ctx, i).(OrgIdpGitlabOutput) } +func (i *OrgIdpGitlab) ToOutput(ctx context.Context) pulumix.Output[*OrgIdpGitlab] { + return pulumix.Output[*OrgIdpGitlab]{ + OutputState: i.ToOrgIdpGitlabOutputWithContext(ctx).OutputState, + } +} + // OrgIdpGitlabArrayInput is an input type that accepts OrgIdpGitlabArray and OrgIdpGitlabArrayOutput values. // You can construct a concrete instance of `OrgIdpGitlabArrayInput` via: // -// OrgIdpGitlabArray{ OrgIdpGitlabArgs{...} } +// OrgIdpGitlabArray{ OrgIdpGitlabArgs{...} } type OrgIdpGitlabArrayInput interface { pulumi.Input @@ -261,10 +281,16 @@ func (i OrgIdpGitlabArray) ToOrgIdpGitlabArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(OrgIdpGitlabArrayOutput) } +func (i OrgIdpGitlabArray) ToOutput(ctx context.Context) pulumix.Output[[]*OrgIdpGitlab] { + return pulumix.Output[[]*OrgIdpGitlab]{ + OutputState: i.ToOrgIdpGitlabArrayOutputWithContext(ctx).OutputState, + } +} + // OrgIdpGitlabMapInput is an input type that accepts OrgIdpGitlabMap and OrgIdpGitlabMapOutput values. // You can construct a concrete instance of `OrgIdpGitlabMapInput` via: // -// OrgIdpGitlabMap{ "key": OrgIdpGitlabArgs{...} } +// OrgIdpGitlabMap{ "key": OrgIdpGitlabArgs{...} } type OrgIdpGitlabMapInput interface { pulumi.Input @@ -286,6 +312,12 @@ func (i OrgIdpGitlabMap) ToOrgIdpGitlabMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OrgIdpGitlabMapOutput) } +func (i OrgIdpGitlabMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgIdpGitlab] { + return pulumix.Output[map[string]*OrgIdpGitlab]{ + OutputState: i.ToOrgIdpGitlabMapOutputWithContext(ctx).OutputState, + } +} + type OrgIdpGitlabOutput struct{ *pulumi.OutputState } func (OrgIdpGitlabOutput) ElementType() reflect.Type { @@ -300,6 +332,12 @@ func (o OrgIdpGitlabOutput) ToOrgIdpGitlabOutputWithContext(ctx context.Context) return o } +func (o OrgIdpGitlabOutput) ToOutput(ctx context.Context) pulumix.Output[*OrgIdpGitlab] { + return pulumix.Output[*OrgIdpGitlab]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o OrgIdpGitlabOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v *OrgIdpGitlab) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) @@ -359,6 +397,12 @@ func (o OrgIdpGitlabArrayOutput) ToOrgIdpGitlabArrayOutputWithContext(ctx contex return o } +func (o OrgIdpGitlabArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*OrgIdpGitlab] { + return pulumix.Output[[]*OrgIdpGitlab]{ + OutputState: o.OutputState, + } +} + func (o OrgIdpGitlabArrayOutput) Index(i pulumi.IntInput) OrgIdpGitlabOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OrgIdpGitlab { return vs[0].([]*OrgIdpGitlab)[vs[1].(int)] @@ -379,6 +423,12 @@ func (o OrgIdpGitlabMapOutput) ToOrgIdpGitlabMapOutputWithContext(ctx context.Co return o } +func (o OrgIdpGitlabMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgIdpGitlab] { + return pulumix.Output[map[string]*OrgIdpGitlab]{ + OutputState: o.OutputState, + } +} + func (o OrgIdpGitlabMapOutput) MapIndex(k pulumi.StringInput) OrgIdpGitlabOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OrgIdpGitlab { return vs[0].(map[string]*OrgIdpGitlab)[vs[1].(string)] diff --git a/sdk/go/zitadel/orgIdpGitlabSelfHosted.go b/sdk/go/zitadel/orgIdpGitlabSelfHosted.go index 89276ce..6b2e970 100644 --- a/sdk/go/zitadel/orgIdpGitlabSelfHosted.go +++ b/sdk/go/zitadel/orgIdpGitlabSelfHosted.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing a GitLab Self Hosted IdP on the organization. @@ -19,41 +21,46 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewOrgIdpGitlabSelfHosted(ctx, "default", &zitadel.OrgIdpGitlabSelfHostedArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// ClientId: pulumi.String("15765e..."), -// ClientSecret: pulumi.String("*****abcxyz"), -// Scopes: pulumi.StringArray{ -// pulumi.String("openid"), -// pulumi.String("profile"), -// pulumi.String("email"), -// }, -// Issuer: pulumi.String("https://my.issuer"), -// IsLinkingAllowed: pulumi.Bool(false), -// IsCreationAllowed: pulumi.Bool(true), -// IsAutoCreation: pulumi.Bool(false), -// IsAutoUpdate: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewOrgIdpGitlabSelfHosted(ctx, "default", &zitadel.OrgIdpGitlabSelfHostedArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// ClientId: pulumi.String("15765e..."), +// ClientSecret: pulumi.String("*****abcxyz"), +// Scopes: pulumi.StringArray{ +// pulumi.String("openid"), +// pulumi.String("profile"), +// pulumi.String("email"), +// }, +// Issuer: pulumi.String("https://my.issuer"), +// IsLinkingAllowed: pulumi.Bool(false), +// IsCreationAllowed: pulumi.Bool(true), +// IsAutoCreation: pulumi.Bool(false), +// IsAutoUpdate: pulumi.Bool(true), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/orgIdpGitlabSelfHosted:OrgIdpGitlabSelfHosted imported '123456789012345678:123456789012345678:1234567890abcdef' +// +// $ pulumi import zitadel:index/orgIdpGitlabSelfHosted:OrgIdpGitlabSelfHosted imported '123456789012345678:123456789012345678:1234567890abcdef' +// // ``` type OrgIdpGitlabSelfHosted struct { pulumi.CustomResourceState @@ -108,7 +115,14 @@ func NewOrgIdpGitlabSelfHosted(ctx *pulumi.Context, if args.Issuer == nil { return nil, errors.New("invalid value for required argument 'Issuer'") } - opts = pkgResourceDefaultOpts(opts) + if args.ClientSecret != nil { + args.ClientSecret = pulumi.ToSecret(args.ClientSecret).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientSecret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource OrgIdpGitlabSelfHosted err := ctx.RegisterResource("zitadel:index/orgIdpGitlabSelfHosted:OrgIdpGitlabSelfHosted", name, args, &resource, opts...) if err != nil { @@ -250,10 +264,16 @@ func (i *OrgIdpGitlabSelfHosted) ToOrgIdpGitlabSelfHostedOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(OrgIdpGitlabSelfHostedOutput) } +func (i *OrgIdpGitlabSelfHosted) ToOutput(ctx context.Context) pulumix.Output[*OrgIdpGitlabSelfHosted] { + return pulumix.Output[*OrgIdpGitlabSelfHosted]{ + OutputState: i.ToOrgIdpGitlabSelfHostedOutputWithContext(ctx).OutputState, + } +} + // OrgIdpGitlabSelfHostedArrayInput is an input type that accepts OrgIdpGitlabSelfHostedArray and OrgIdpGitlabSelfHostedArrayOutput values. // You can construct a concrete instance of `OrgIdpGitlabSelfHostedArrayInput` via: // -// OrgIdpGitlabSelfHostedArray{ OrgIdpGitlabSelfHostedArgs{...} } +// OrgIdpGitlabSelfHostedArray{ OrgIdpGitlabSelfHostedArgs{...} } type OrgIdpGitlabSelfHostedArrayInput interface { pulumi.Input @@ -275,10 +295,16 @@ func (i OrgIdpGitlabSelfHostedArray) ToOrgIdpGitlabSelfHostedArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(OrgIdpGitlabSelfHostedArrayOutput) } +func (i OrgIdpGitlabSelfHostedArray) ToOutput(ctx context.Context) pulumix.Output[[]*OrgIdpGitlabSelfHosted] { + return pulumix.Output[[]*OrgIdpGitlabSelfHosted]{ + OutputState: i.ToOrgIdpGitlabSelfHostedArrayOutputWithContext(ctx).OutputState, + } +} + // OrgIdpGitlabSelfHostedMapInput is an input type that accepts OrgIdpGitlabSelfHostedMap and OrgIdpGitlabSelfHostedMapOutput values. // You can construct a concrete instance of `OrgIdpGitlabSelfHostedMapInput` via: // -// OrgIdpGitlabSelfHostedMap{ "key": OrgIdpGitlabSelfHostedArgs{...} } +// OrgIdpGitlabSelfHostedMap{ "key": OrgIdpGitlabSelfHostedArgs{...} } type OrgIdpGitlabSelfHostedMapInput interface { pulumi.Input @@ -300,6 +326,12 @@ func (i OrgIdpGitlabSelfHostedMap) ToOrgIdpGitlabSelfHostedMapOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(OrgIdpGitlabSelfHostedMapOutput) } +func (i OrgIdpGitlabSelfHostedMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgIdpGitlabSelfHosted] { + return pulumix.Output[map[string]*OrgIdpGitlabSelfHosted]{ + OutputState: i.ToOrgIdpGitlabSelfHostedMapOutputWithContext(ctx).OutputState, + } +} + type OrgIdpGitlabSelfHostedOutput struct{ *pulumi.OutputState } func (OrgIdpGitlabSelfHostedOutput) ElementType() reflect.Type { @@ -314,6 +346,12 @@ func (o OrgIdpGitlabSelfHostedOutput) ToOrgIdpGitlabSelfHostedOutputWithContext( return o } +func (o OrgIdpGitlabSelfHostedOutput) ToOutput(ctx context.Context) pulumix.Output[*OrgIdpGitlabSelfHosted] { + return pulumix.Output[*OrgIdpGitlabSelfHosted]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o OrgIdpGitlabSelfHostedOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v *OrgIdpGitlabSelfHosted) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) @@ -378,6 +416,12 @@ func (o OrgIdpGitlabSelfHostedArrayOutput) ToOrgIdpGitlabSelfHostedArrayOutputWi return o } +func (o OrgIdpGitlabSelfHostedArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*OrgIdpGitlabSelfHosted] { + return pulumix.Output[[]*OrgIdpGitlabSelfHosted]{ + OutputState: o.OutputState, + } +} + func (o OrgIdpGitlabSelfHostedArrayOutput) Index(i pulumi.IntInput) OrgIdpGitlabSelfHostedOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OrgIdpGitlabSelfHosted { return vs[0].([]*OrgIdpGitlabSelfHosted)[vs[1].(int)] @@ -398,6 +442,12 @@ func (o OrgIdpGitlabSelfHostedMapOutput) ToOrgIdpGitlabSelfHostedMapOutputWithCo return o } +func (o OrgIdpGitlabSelfHostedMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgIdpGitlabSelfHosted] { + return pulumix.Output[map[string]*OrgIdpGitlabSelfHosted]{ + OutputState: o.OutputState, + } +} + func (o OrgIdpGitlabSelfHostedMapOutput) MapIndex(k pulumi.StringInput) OrgIdpGitlabSelfHostedOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OrgIdpGitlabSelfHosted { return vs[0].(map[string]*OrgIdpGitlabSelfHosted)[vs[1].(string)] diff --git a/sdk/go/zitadel/orgIdpGoogle.go b/sdk/go/zitadel/orgIdpGoogle.go index 5f384c1..f909dd1 100644 --- a/sdk/go/zitadel/orgIdpGoogle.go +++ b/sdk/go/zitadel/orgIdpGoogle.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing a Google IdP on the organization. @@ -19,40 +21,45 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewOrgIdpGoogle(ctx, "default", &zitadel.OrgIdpGoogleArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// ClientId: pulumi.String("182902..."), -// ClientSecret: pulumi.String("GOCSPX-*****"), -// Scopes: pulumi.StringArray{ -// pulumi.String("openid"), -// pulumi.String("profile"), -// pulumi.String("email"), -// }, -// IsLinkingAllowed: pulumi.Bool(false), -// IsCreationAllowed: pulumi.Bool(true), -// IsAutoCreation: pulumi.Bool(false), -// IsAutoUpdate: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewOrgIdpGoogle(ctx, "default", &zitadel.OrgIdpGoogleArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// ClientId: pulumi.String("182902..."), +// ClientSecret: pulumi.String("GOCSPX-*****"), +// Scopes: pulumi.StringArray{ +// pulumi.String("openid"), +// pulumi.String("profile"), +// pulumi.String("email"), +// }, +// IsLinkingAllowed: pulumi.Bool(false), +// IsCreationAllowed: pulumi.Bool(true), +// IsAutoCreation: pulumi.Bool(false), +// IsAutoUpdate: pulumi.Bool(true), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/orgIdpGoogle:OrgIdpGoogle imported '123456789012345678:123456789012345678:G1234567890123' +// +// $ pulumi import zitadel:index/orgIdpGoogle:OrgIdpGoogle imported '123456789012345678:123456789012345678:G1234567890123' +// // ``` type OrgIdpGoogle struct { pulumi.CustomResourceState @@ -102,7 +109,14 @@ func NewOrgIdpGoogle(ctx *pulumi.Context, if args.IsLinkingAllowed == nil { return nil, errors.New("invalid value for required argument 'IsLinkingAllowed'") } - opts = pkgResourceDefaultOpts(opts) + if args.ClientSecret != nil { + args.ClientSecret = pulumi.ToSecret(args.ClientSecret).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientSecret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource OrgIdpGoogle err := ctx.RegisterResource("zitadel:index/orgIdpGoogle:OrgIdpGoogle", name, args, &resource, opts...) if err != nil { @@ -236,10 +250,16 @@ func (i *OrgIdpGoogle) ToOrgIdpGoogleOutputWithContext(ctx context.Context) OrgI return pulumi.ToOutputWithContext(ctx, i).(OrgIdpGoogleOutput) } +func (i *OrgIdpGoogle) ToOutput(ctx context.Context) pulumix.Output[*OrgIdpGoogle] { + return pulumix.Output[*OrgIdpGoogle]{ + OutputState: i.ToOrgIdpGoogleOutputWithContext(ctx).OutputState, + } +} + // OrgIdpGoogleArrayInput is an input type that accepts OrgIdpGoogleArray and OrgIdpGoogleArrayOutput values. // You can construct a concrete instance of `OrgIdpGoogleArrayInput` via: // -// OrgIdpGoogleArray{ OrgIdpGoogleArgs{...} } +// OrgIdpGoogleArray{ OrgIdpGoogleArgs{...} } type OrgIdpGoogleArrayInput interface { pulumi.Input @@ -261,10 +281,16 @@ func (i OrgIdpGoogleArray) ToOrgIdpGoogleArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(OrgIdpGoogleArrayOutput) } +func (i OrgIdpGoogleArray) ToOutput(ctx context.Context) pulumix.Output[[]*OrgIdpGoogle] { + return pulumix.Output[[]*OrgIdpGoogle]{ + OutputState: i.ToOrgIdpGoogleArrayOutputWithContext(ctx).OutputState, + } +} + // OrgIdpGoogleMapInput is an input type that accepts OrgIdpGoogleMap and OrgIdpGoogleMapOutput values. // You can construct a concrete instance of `OrgIdpGoogleMapInput` via: // -// OrgIdpGoogleMap{ "key": OrgIdpGoogleArgs{...} } +// OrgIdpGoogleMap{ "key": OrgIdpGoogleArgs{...} } type OrgIdpGoogleMapInput interface { pulumi.Input @@ -286,6 +312,12 @@ func (i OrgIdpGoogleMap) ToOrgIdpGoogleMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OrgIdpGoogleMapOutput) } +func (i OrgIdpGoogleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgIdpGoogle] { + return pulumix.Output[map[string]*OrgIdpGoogle]{ + OutputState: i.ToOrgIdpGoogleMapOutputWithContext(ctx).OutputState, + } +} + type OrgIdpGoogleOutput struct{ *pulumi.OutputState } func (OrgIdpGoogleOutput) ElementType() reflect.Type { @@ -300,6 +332,12 @@ func (o OrgIdpGoogleOutput) ToOrgIdpGoogleOutputWithContext(ctx context.Context) return o } +func (o OrgIdpGoogleOutput) ToOutput(ctx context.Context) pulumix.Output[*OrgIdpGoogle] { + return pulumix.Output[*OrgIdpGoogle]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o OrgIdpGoogleOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v *OrgIdpGoogle) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) @@ -359,6 +397,12 @@ func (o OrgIdpGoogleArrayOutput) ToOrgIdpGoogleArrayOutputWithContext(ctx contex return o } +func (o OrgIdpGoogleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*OrgIdpGoogle] { + return pulumix.Output[[]*OrgIdpGoogle]{ + OutputState: o.OutputState, + } +} + func (o OrgIdpGoogleArrayOutput) Index(i pulumi.IntInput) OrgIdpGoogleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OrgIdpGoogle { return vs[0].([]*OrgIdpGoogle)[vs[1].(int)] @@ -379,6 +423,12 @@ func (o OrgIdpGoogleMapOutput) ToOrgIdpGoogleMapOutputWithContext(ctx context.Co return o } +func (o OrgIdpGoogleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgIdpGoogle] { + return pulumix.Output[map[string]*OrgIdpGoogle]{ + OutputState: o.OutputState, + } +} + func (o OrgIdpGoogleMapOutput) MapIndex(k pulumi.StringInput) OrgIdpGoogleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OrgIdpGoogle { return vs[0].(map[string]*OrgIdpGoogle)[vs[1].(string)] diff --git a/sdk/go/zitadel/orgIdpJwt.go b/sdk/go/zitadel/orgIdpJwt.go index 282d682..6252e07 100644 --- a/sdk/go/zitadel/orgIdpJwt.go +++ b/sdk/go/zitadel/orgIdpJwt.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing a generic JWT IdP of the organization. @@ -19,35 +21,40 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewOrgIdpJwt(ctx, "default", &zitadel.OrgIdpJwtArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// StylingType: pulumi.String("STYLING_TYPE_UNSPECIFIED"), -// JwtEndpoint: pulumi.String("https://jwtendpoint.com/jwt"), -// Issuer: pulumi.String("https://google.com"), -// KeysEndpoint: pulumi.String("https://jwtendpoint.com/keys"), -// HeaderName: pulumi.String("x-auth-token"), -// AutoRegister: pulumi.Bool(false), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewOrgIdpJwt(ctx, "default", &zitadel.OrgIdpJwtArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// StylingType: pulumi.String("STYLING_TYPE_UNSPECIFIED"), +// JwtEndpoint: pulumi.String("https://jwtendpoint.com/jwt"), +// Issuer: pulumi.String("https://google.com"), +// KeysEndpoint: pulumi.String("https://jwtendpoint.com/keys"), +// HeaderName: pulumi.String("x-auth-token"), +// AutoRegister: pulumi.Bool(false), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/orgIdpJwt:OrgIdpJwt imported '123456789012345678:123456789012345678' +// +// $ pulumi import zitadel:index/orgIdpJwt:OrgIdpJwt imported '123456789012345678:123456789012345678' +// // ``` type OrgIdpJwt struct { pulumi.CustomResourceState @@ -95,7 +102,7 @@ func NewOrgIdpJwt(ctx *pulumi.Context, if args.StylingType == nil { return nil, errors.New("invalid value for required argument 'StylingType'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource OrgIdpJwt err := ctx.RegisterResource("zitadel:index/orgIdpJwt:OrgIdpJwt", name, args, &resource, opts...) if err != nil { @@ -221,10 +228,16 @@ func (i *OrgIdpJwt) ToOrgIdpJwtOutputWithContext(ctx context.Context) OrgIdpJwtO return pulumi.ToOutputWithContext(ctx, i).(OrgIdpJwtOutput) } +func (i *OrgIdpJwt) ToOutput(ctx context.Context) pulumix.Output[*OrgIdpJwt] { + return pulumix.Output[*OrgIdpJwt]{ + OutputState: i.ToOrgIdpJwtOutputWithContext(ctx).OutputState, + } +} + // OrgIdpJwtArrayInput is an input type that accepts OrgIdpJwtArray and OrgIdpJwtArrayOutput values. // You can construct a concrete instance of `OrgIdpJwtArrayInput` via: // -// OrgIdpJwtArray{ OrgIdpJwtArgs{...} } +// OrgIdpJwtArray{ OrgIdpJwtArgs{...} } type OrgIdpJwtArrayInput interface { pulumi.Input @@ -246,10 +259,16 @@ func (i OrgIdpJwtArray) ToOrgIdpJwtArrayOutputWithContext(ctx context.Context) O return pulumi.ToOutputWithContext(ctx, i).(OrgIdpJwtArrayOutput) } +func (i OrgIdpJwtArray) ToOutput(ctx context.Context) pulumix.Output[[]*OrgIdpJwt] { + return pulumix.Output[[]*OrgIdpJwt]{ + OutputState: i.ToOrgIdpJwtArrayOutputWithContext(ctx).OutputState, + } +} + // OrgIdpJwtMapInput is an input type that accepts OrgIdpJwtMap and OrgIdpJwtMapOutput values. // You can construct a concrete instance of `OrgIdpJwtMapInput` via: // -// OrgIdpJwtMap{ "key": OrgIdpJwtArgs{...} } +// OrgIdpJwtMap{ "key": OrgIdpJwtArgs{...} } type OrgIdpJwtMapInput interface { pulumi.Input @@ -271,6 +290,12 @@ func (i OrgIdpJwtMap) ToOrgIdpJwtMapOutputWithContext(ctx context.Context) OrgId return pulumi.ToOutputWithContext(ctx, i).(OrgIdpJwtMapOutput) } +func (i OrgIdpJwtMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgIdpJwt] { + return pulumix.Output[map[string]*OrgIdpJwt]{ + OutputState: i.ToOrgIdpJwtMapOutputWithContext(ctx).OutputState, + } +} + type OrgIdpJwtOutput struct{ *pulumi.OutputState } func (OrgIdpJwtOutput) ElementType() reflect.Type { @@ -285,6 +310,12 @@ func (o OrgIdpJwtOutput) ToOrgIdpJwtOutputWithContext(ctx context.Context) OrgId return o } +func (o OrgIdpJwtOutput) ToOutput(ctx context.Context) pulumix.Output[*OrgIdpJwt] { + return pulumix.Output[*OrgIdpJwt]{ + OutputState: o.OutputState, + } +} + // auto register for users from this idp func (o OrgIdpJwtOutput) AutoRegister() pulumi.BoolOutput { return o.ApplyT(func(v *OrgIdpJwt) pulumi.BoolOutput { return v.AutoRegister }).(pulumi.BoolOutput) @@ -339,6 +370,12 @@ func (o OrgIdpJwtArrayOutput) ToOrgIdpJwtArrayOutputWithContext(ctx context.Cont return o } +func (o OrgIdpJwtArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*OrgIdpJwt] { + return pulumix.Output[[]*OrgIdpJwt]{ + OutputState: o.OutputState, + } +} + func (o OrgIdpJwtArrayOutput) Index(i pulumi.IntInput) OrgIdpJwtOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OrgIdpJwt { return vs[0].([]*OrgIdpJwt)[vs[1].(int)] @@ -359,6 +396,12 @@ func (o OrgIdpJwtMapOutput) ToOrgIdpJwtMapOutputWithContext(ctx context.Context) return o } +func (o OrgIdpJwtMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgIdpJwt] { + return pulumix.Output[map[string]*OrgIdpJwt]{ + OutputState: o.OutputState, + } +} + func (o OrgIdpJwtMapOutput) MapIndex(k pulumi.StringInput) OrgIdpJwtOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OrgIdpJwt { return vs[0].(map[string]*OrgIdpJwt)[vs[1].(string)] diff --git a/sdk/go/zitadel/orgIdpLdap.go b/sdk/go/zitadel/orgIdpLdap.go index b8a0903..63e0ab1 100644 --- a/sdk/go/zitadel/orgIdpLdap.go +++ b/sdk/go/zitadel/orgIdpLdap.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing an LDAP IdP on the organization. @@ -19,53 +21,58 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewOrgIdpLdap(ctx, "default", &zitadel.OrgIdpLdapArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// Servers: pulumi.StringArray{ -// pulumi.String("ldaps://my.primary.server:389"), -// pulumi.String("ldaps://my.secondary.server:389"), -// }, -// StartTls: pulumi.Bool(false), -// BaseDn: pulumi.String("dc=example,dc=com"), -// BindDn: pulumi.String("cn=admin,dc=example,dc=com"), -// BindPassword: pulumi.String("Password1!"), -// UserBase: pulumi.String("dn"), -// UserObjectClasses: pulumi.StringArray{ -// pulumi.String("inetOrgPerson"), -// }, -// UserFilters: pulumi.StringArray{ -// pulumi.String("uid"), -// pulumi.String("email"), -// }, -// Timeout: pulumi.String("10s"), -// IdAttribute: pulumi.String("uid"), -// FirstNameAttribute: pulumi.String("firstname"), -// LastNameAttribute: pulumi.String("lastname"), -// IsLinkingAllowed: pulumi.Bool(false), -// IsCreationAllowed: pulumi.Bool(true), -// IsAutoCreation: pulumi.Bool(false), -// IsAutoUpdate: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewOrgIdpLdap(ctx, "default", &zitadel.OrgIdpLdapArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// Servers: pulumi.StringArray{ +// pulumi.String("ldaps://my.primary.server:389"), +// pulumi.String("ldaps://my.secondary.server:389"), +// }, +// StartTls: pulumi.Bool(false), +// BaseDn: pulumi.String("dc=example,dc=com"), +// BindDn: pulumi.String("cn=admin,dc=example,dc=com"), +// BindPassword: pulumi.String("Password1!"), +// UserBase: pulumi.String("dn"), +// UserObjectClasses: pulumi.StringArray{ +// pulumi.String("inetOrgPerson"), +// }, +// UserFilters: pulumi.StringArray{ +// pulumi.String("uid"), +// pulumi.String("email"), +// }, +// Timeout: pulumi.String("10s"), +// IdAttribute: pulumi.String("uid"), +// FirstNameAttribute: pulumi.String("firstname"), +// LastNameAttribute: pulumi.String("lastname"), +// IsLinkingAllowed: pulumi.Bool(false), +// IsCreationAllowed: pulumi.Bool(true), +// IsAutoCreation: pulumi.Bool(false), +// IsAutoUpdate: pulumi.Bool(true), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/orgIdpLdap:OrgIdpLdap imported '123456789012345678:123456789012345678:b1nd_p4ssw0rd' +// +// $ pulumi import zitadel:index/orgIdpLdap:OrgIdpLdap imported '123456789012345678:123456789012345678:b1nd_p4ssw0rd' +// // ``` type OrgIdpLdap struct { pulumi.CustomResourceState @@ -174,7 +181,14 @@ func NewOrgIdpLdap(ctx *pulumi.Context, if args.UserObjectClasses == nil { return nil, errors.New("invalid value for required argument 'UserObjectClasses'") } - opts = pkgResourceDefaultOpts(opts) + if args.BindPassword != nil { + args.BindPassword = pulumi.ToSecret(args.BindPassword).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "bindPassword", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource OrgIdpLdap err := ctx.RegisterResource("zitadel:index/orgIdpLdap:OrgIdpLdap", name, args, &resource, opts...) if err != nil { @@ -460,10 +474,16 @@ func (i *OrgIdpLdap) ToOrgIdpLdapOutputWithContext(ctx context.Context) OrgIdpLd return pulumi.ToOutputWithContext(ctx, i).(OrgIdpLdapOutput) } +func (i *OrgIdpLdap) ToOutput(ctx context.Context) pulumix.Output[*OrgIdpLdap] { + return pulumix.Output[*OrgIdpLdap]{ + OutputState: i.ToOrgIdpLdapOutputWithContext(ctx).OutputState, + } +} + // OrgIdpLdapArrayInput is an input type that accepts OrgIdpLdapArray and OrgIdpLdapArrayOutput values. // You can construct a concrete instance of `OrgIdpLdapArrayInput` via: // -// OrgIdpLdapArray{ OrgIdpLdapArgs{...} } +// OrgIdpLdapArray{ OrgIdpLdapArgs{...} } type OrgIdpLdapArrayInput interface { pulumi.Input @@ -485,10 +505,16 @@ func (i OrgIdpLdapArray) ToOrgIdpLdapArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OrgIdpLdapArrayOutput) } +func (i OrgIdpLdapArray) ToOutput(ctx context.Context) pulumix.Output[[]*OrgIdpLdap] { + return pulumix.Output[[]*OrgIdpLdap]{ + OutputState: i.ToOrgIdpLdapArrayOutputWithContext(ctx).OutputState, + } +} + // OrgIdpLdapMapInput is an input type that accepts OrgIdpLdapMap and OrgIdpLdapMapOutput values. // You can construct a concrete instance of `OrgIdpLdapMapInput` via: // -// OrgIdpLdapMap{ "key": OrgIdpLdapArgs{...} } +// OrgIdpLdapMap{ "key": OrgIdpLdapArgs{...} } type OrgIdpLdapMapInput interface { pulumi.Input @@ -510,6 +536,12 @@ func (i OrgIdpLdapMap) ToOrgIdpLdapMapOutputWithContext(ctx context.Context) Org return pulumi.ToOutputWithContext(ctx, i).(OrgIdpLdapMapOutput) } +func (i OrgIdpLdapMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgIdpLdap] { + return pulumix.Output[map[string]*OrgIdpLdap]{ + OutputState: i.ToOrgIdpLdapMapOutputWithContext(ctx).OutputState, + } +} + type OrgIdpLdapOutput struct{ *pulumi.OutputState } func (OrgIdpLdapOutput) ElementType() reflect.Type { @@ -524,6 +556,12 @@ func (o OrgIdpLdapOutput) ToOrgIdpLdapOutputWithContext(ctx context.Context) Org return o } +func (o OrgIdpLdapOutput) ToOutput(ctx context.Context) pulumix.Output[*OrgIdpLdap] { + return pulumix.Output[*OrgIdpLdap]{ + OutputState: o.OutputState, + } +} + // User attribute for the avatar url func (o OrgIdpLdapOutput) AvatarUrlAttribute() pulumi.StringPtrOutput { return o.ApplyT(func(v *OrgIdpLdap) pulumi.StringPtrOutput { return v.AvatarUrlAttribute }).(pulumi.StringPtrOutput) @@ -678,6 +716,12 @@ func (o OrgIdpLdapArrayOutput) ToOrgIdpLdapArrayOutputWithContext(ctx context.Co return o } +func (o OrgIdpLdapArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*OrgIdpLdap] { + return pulumix.Output[[]*OrgIdpLdap]{ + OutputState: o.OutputState, + } +} + func (o OrgIdpLdapArrayOutput) Index(i pulumi.IntInput) OrgIdpLdapOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OrgIdpLdap { return vs[0].([]*OrgIdpLdap)[vs[1].(int)] @@ -698,6 +742,12 @@ func (o OrgIdpLdapMapOutput) ToOrgIdpLdapMapOutputWithContext(ctx context.Contex return o } +func (o OrgIdpLdapMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgIdpLdap] { + return pulumix.Output[map[string]*OrgIdpLdap]{ + OutputState: o.OutputState, + } +} + func (o OrgIdpLdapMapOutput) MapIndex(k pulumi.StringInput) OrgIdpLdapOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OrgIdpLdap { return vs[0].(map[string]*OrgIdpLdap)[vs[1].(string)] diff --git a/sdk/go/zitadel/orgIdpOidc.go b/sdk/go/zitadel/orgIdpOidc.go index f064d9a..b7479c7 100644 --- a/sdk/go/zitadel/orgIdpOidc.go +++ b/sdk/go/zitadel/orgIdpOidc.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing a generic OIDC IdP on the organization. @@ -19,42 +21,47 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewOrgIdpOidc(ctx, "default", &zitadel.OrgIdpOidcArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// ClientId: pulumi.String("a_client_id"), -// ClientSecret: pulumi.String("a_client_secret"), -// Scopes: pulumi.StringArray{ -// pulumi.String("openid"), -// pulumi.String("profile"), -// pulumi.String("email"), -// }, -// Issuer: pulumi.String("https://example.com"), -// IsLinkingAllowed: pulumi.Bool(false), -// IsCreationAllowed: pulumi.Bool(true), -// IsAutoCreation: pulumi.Bool(false), -// IsAutoUpdate: pulumi.Bool(true), -// IsIdTokenMapping: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewOrgIdpOidc(ctx, "default", &zitadel.OrgIdpOidcArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// ClientId: pulumi.String("a_client_id"), +// ClientSecret: pulumi.String("a_client_secret"), +// Scopes: pulumi.StringArray{ +// pulumi.String("openid"), +// pulumi.String("profile"), +// pulumi.String("email"), +// }, +// Issuer: pulumi.String("https://example.com"), +// IsLinkingAllowed: pulumi.Bool(false), +// IsCreationAllowed: pulumi.Bool(true), +// IsAutoCreation: pulumi.Bool(false), +// IsAutoUpdate: pulumi.Bool(true), +// IsIdTokenMapping: pulumi.Bool(true), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/orgIdpOidc:OrgIdpOidc imported '123456789012345678:123456789012345678:1234567890abcdef' +// +// $ pulumi import zitadel:index/orgIdpOidc:OrgIdpOidc imported '123456789012345678:123456789012345678:1234567890abcdef' +// // ``` type OrgIdpOidc struct { pulumi.CustomResourceState @@ -114,7 +121,14 @@ func NewOrgIdpOidc(ctx *pulumi.Context, if args.Issuer == nil { return nil, errors.New("invalid value for required argument 'Issuer'") } - opts = pkgResourceDefaultOpts(opts) + if args.ClientSecret != nil { + args.ClientSecret = pulumi.ToSecret(args.ClientSecret).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientSecret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource OrgIdpOidc err := ctx.RegisterResource("zitadel:index/orgIdpOidc:OrgIdpOidc", name, args, &resource, opts...) if err != nil { @@ -264,10 +278,16 @@ func (i *OrgIdpOidc) ToOrgIdpOidcOutputWithContext(ctx context.Context) OrgIdpOi return pulumi.ToOutputWithContext(ctx, i).(OrgIdpOidcOutput) } +func (i *OrgIdpOidc) ToOutput(ctx context.Context) pulumix.Output[*OrgIdpOidc] { + return pulumix.Output[*OrgIdpOidc]{ + OutputState: i.ToOrgIdpOidcOutputWithContext(ctx).OutputState, + } +} + // OrgIdpOidcArrayInput is an input type that accepts OrgIdpOidcArray and OrgIdpOidcArrayOutput values. // You can construct a concrete instance of `OrgIdpOidcArrayInput` via: // -// OrgIdpOidcArray{ OrgIdpOidcArgs{...} } +// OrgIdpOidcArray{ OrgIdpOidcArgs{...} } type OrgIdpOidcArrayInput interface { pulumi.Input @@ -289,10 +309,16 @@ func (i OrgIdpOidcArray) ToOrgIdpOidcArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OrgIdpOidcArrayOutput) } +func (i OrgIdpOidcArray) ToOutput(ctx context.Context) pulumix.Output[[]*OrgIdpOidc] { + return pulumix.Output[[]*OrgIdpOidc]{ + OutputState: i.ToOrgIdpOidcArrayOutputWithContext(ctx).OutputState, + } +} + // OrgIdpOidcMapInput is an input type that accepts OrgIdpOidcMap and OrgIdpOidcMapOutput values. // You can construct a concrete instance of `OrgIdpOidcMapInput` via: // -// OrgIdpOidcMap{ "key": OrgIdpOidcArgs{...} } +// OrgIdpOidcMap{ "key": OrgIdpOidcArgs{...} } type OrgIdpOidcMapInput interface { pulumi.Input @@ -314,6 +340,12 @@ func (i OrgIdpOidcMap) ToOrgIdpOidcMapOutputWithContext(ctx context.Context) Org return pulumi.ToOutputWithContext(ctx, i).(OrgIdpOidcMapOutput) } +func (i OrgIdpOidcMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgIdpOidc] { + return pulumix.Output[map[string]*OrgIdpOidc]{ + OutputState: i.ToOrgIdpOidcMapOutputWithContext(ctx).OutputState, + } +} + type OrgIdpOidcOutput struct{ *pulumi.OutputState } func (OrgIdpOidcOutput) ElementType() reflect.Type { @@ -328,6 +360,12 @@ func (o OrgIdpOidcOutput) ToOrgIdpOidcOutputWithContext(ctx context.Context) Org return o } +func (o OrgIdpOidcOutput) ToOutput(ctx context.Context) pulumix.Output[*OrgIdpOidc] { + return pulumix.Output[*OrgIdpOidc]{ + OutputState: o.OutputState, + } +} + // client id generated by the identity provider func (o OrgIdpOidcOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v *OrgIdpOidc) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) @@ -397,6 +435,12 @@ func (o OrgIdpOidcArrayOutput) ToOrgIdpOidcArrayOutputWithContext(ctx context.Co return o } +func (o OrgIdpOidcArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*OrgIdpOidc] { + return pulumix.Output[[]*OrgIdpOidc]{ + OutputState: o.OutputState, + } +} + func (o OrgIdpOidcArrayOutput) Index(i pulumi.IntInput) OrgIdpOidcOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OrgIdpOidc { return vs[0].([]*OrgIdpOidc)[vs[1].(int)] @@ -417,6 +461,12 @@ func (o OrgIdpOidcMapOutput) ToOrgIdpOidcMapOutputWithContext(ctx context.Contex return o } +func (o OrgIdpOidcMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgIdpOidc] { + return pulumix.Output[map[string]*OrgIdpOidc]{ + OutputState: o.OutputState, + } +} + func (o OrgIdpOidcMapOutput) MapIndex(k pulumi.StringInput) OrgIdpOidcOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OrgIdpOidc { return vs[0].(map[string]*OrgIdpOidc)[vs[1].(string)] diff --git a/sdk/go/zitadel/orgMember.go b/sdk/go/zitadel/orgMember.go index 194989b..53b44da 100644 --- a/sdk/go/zitadel/orgMember.go +++ b/sdk/go/zitadel/orgMember.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the membership of a user on an organization, defined with the given role. @@ -19,33 +21,38 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewOrgMember(ctx, "default", &zitadel.OrgMemberArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// UserId: pulumi.Any(data.Zitadel_human_user.Default.Id), -// Roles: pulumi.StringArray{ -// pulumi.String("ORG_OWNER"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewOrgMember(ctx, "default", &zitadel.OrgMemberArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// UserId: pulumi.Any(data.Zitadel_human_user.Default.Id), +// Roles: pulumi.StringArray{ +// pulumi.String("ORG_OWNER"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/orgMember:OrgMember imported '123456789012345678:123456789012345678' +// +// $ pulumi import zitadel:index/orgMember:OrgMember imported '123456789012345678:123456789012345678' +// // ``` type OrgMember struct { pulumi.CustomResourceState @@ -71,7 +78,7 @@ func NewOrgMember(ctx *pulumi.Context, if args.UserId == nil { return nil, errors.New("invalid value for required argument 'UserId'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource OrgMember err := ctx.RegisterResource("zitadel:index/orgMember:OrgMember", name, args, &resource, opts...) if err != nil { @@ -157,10 +164,16 @@ func (i *OrgMember) ToOrgMemberOutputWithContext(ctx context.Context) OrgMemberO return pulumi.ToOutputWithContext(ctx, i).(OrgMemberOutput) } +func (i *OrgMember) ToOutput(ctx context.Context) pulumix.Output[*OrgMember] { + return pulumix.Output[*OrgMember]{ + OutputState: i.ToOrgMemberOutputWithContext(ctx).OutputState, + } +} + // OrgMemberArrayInput is an input type that accepts OrgMemberArray and OrgMemberArrayOutput values. // You can construct a concrete instance of `OrgMemberArrayInput` via: // -// OrgMemberArray{ OrgMemberArgs{...} } +// OrgMemberArray{ OrgMemberArgs{...} } type OrgMemberArrayInput interface { pulumi.Input @@ -182,10 +195,16 @@ func (i OrgMemberArray) ToOrgMemberArrayOutputWithContext(ctx context.Context) O return pulumi.ToOutputWithContext(ctx, i).(OrgMemberArrayOutput) } +func (i OrgMemberArray) ToOutput(ctx context.Context) pulumix.Output[[]*OrgMember] { + return pulumix.Output[[]*OrgMember]{ + OutputState: i.ToOrgMemberArrayOutputWithContext(ctx).OutputState, + } +} + // OrgMemberMapInput is an input type that accepts OrgMemberMap and OrgMemberMapOutput values. // You can construct a concrete instance of `OrgMemberMapInput` via: // -// OrgMemberMap{ "key": OrgMemberArgs{...} } +// OrgMemberMap{ "key": OrgMemberArgs{...} } type OrgMemberMapInput interface { pulumi.Input @@ -207,6 +226,12 @@ func (i OrgMemberMap) ToOrgMemberMapOutputWithContext(ctx context.Context) OrgMe return pulumi.ToOutputWithContext(ctx, i).(OrgMemberMapOutput) } +func (i OrgMemberMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgMember] { + return pulumix.Output[map[string]*OrgMember]{ + OutputState: i.ToOrgMemberMapOutputWithContext(ctx).OutputState, + } +} + type OrgMemberOutput struct{ *pulumi.OutputState } func (OrgMemberOutput) ElementType() reflect.Type { @@ -221,6 +246,12 @@ func (o OrgMemberOutput) ToOrgMemberOutputWithContext(ctx context.Context) OrgMe return o } +func (o OrgMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*OrgMember] { + return pulumix.Output[*OrgMember]{ + OutputState: o.OutputState, + } +} + // ID of the organization func (o OrgMemberOutput) OrgId() pulumi.StringPtrOutput { return o.ApplyT(func(v *OrgMember) pulumi.StringPtrOutput { return v.OrgId }).(pulumi.StringPtrOutput) @@ -250,6 +281,12 @@ func (o OrgMemberArrayOutput) ToOrgMemberArrayOutputWithContext(ctx context.Cont return o } +func (o OrgMemberArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*OrgMember] { + return pulumix.Output[[]*OrgMember]{ + OutputState: o.OutputState, + } +} + func (o OrgMemberArrayOutput) Index(i pulumi.IntInput) OrgMemberOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OrgMember { return vs[0].([]*OrgMember)[vs[1].(int)] @@ -270,6 +307,12 @@ func (o OrgMemberMapOutput) ToOrgMemberMapOutputWithContext(ctx context.Context) return o } +func (o OrgMemberMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*OrgMember] { + return pulumix.Output[map[string]*OrgMember]{ + OutputState: o.OutputState, + } +} + func (o OrgMemberMapOutput) MapIndex(k pulumi.StringInput) OrgMemberOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OrgMember { return vs[0].(map[string]*OrgMember)[vs[1].(string)] diff --git a/sdk/go/zitadel/passwordComplexityPolicy.go b/sdk/go/zitadel/passwordComplexityPolicy.go index 93df18c..7d0e85b 100644 --- a/sdk/go/zitadel/passwordComplexityPolicy.go +++ b/sdk/go/zitadel/passwordComplexityPolicy.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the custom password complexity policy of an organization. @@ -19,26 +21,29 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewPasswordComplexityPolicy(ctx, "default", &zitadel.PasswordComplexityPolicyArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// MinLength: pulumi.Int(8), -// HasUppercase: pulumi.Bool(true), -// HasLowercase: pulumi.Bool(true), -// HasNumber: pulumi.Bool(true), -// HasSymbol: pulumi.Bool(true), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewPasswordComplexityPolicy(ctx, "default", &zitadel.PasswordComplexityPolicyArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// MinLength: pulumi.Int(8), +// HasUppercase: pulumi.Bool(true), +// HasLowercase: pulumi.Bool(true), +// HasNumber: pulumi.Bool(true), +// HasSymbol: pulumi.Bool(true), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` type PasswordComplexityPolicy struct { pulumi.CustomResourceState @@ -79,7 +84,7 @@ func NewPasswordComplexityPolicy(ctx *pulumi.Context, if args.MinLength == nil { return nil, errors.New("invalid value for required argument 'MinLength'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource PasswordComplexityPolicy err := ctx.RegisterResource("zitadel:index/passwordComplexityPolicy:PasswordComplexityPolicy", name, args, &resource, opts...) if err != nil { @@ -189,10 +194,16 @@ func (i *PasswordComplexityPolicy) ToPasswordComplexityPolicyOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(PasswordComplexityPolicyOutput) } +func (i *PasswordComplexityPolicy) ToOutput(ctx context.Context) pulumix.Output[*PasswordComplexityPolicy] { + return pulumix.Output[*PasswordComplexityPolicy]{ + OutputState: i.ToPasswordComplexityPolicyOutputWithContext(ctx).OutputState, + } +} + // PasswordComplexityPolicyArrayInput is an input type that accepts PasswordComplexityPolicyArray and PasswordComplexityPolicyArrayOutput values. // You can construct a concrete instance of `PasswordComplexityPolicyArrayInput` via: // -// PasswordComplexityPolicyArray{ PasswordComplexityPolicyArgs{...} } +// PasswordComplexityPolicyArray{ PasswordComplexityPolicyArgs{...} } type PasswordComplexityPolicyArrayInput interface { pulumi.Input @@ -214,10 +225,16 @@ func (i PasswordComplexityPolicyArray) ToPasswordComplexityPolicyArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(PasswordComplexityPolicyArrayOutput) } +func (i PasswordComplexityPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*PasswordComplexityPolicy] { + return pulumix.Output[[]*PasswordComplexityPolicy]{ + OutputState: i.ToPasswordComplexityPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // PasswordComplexityPolicyMapInput is an input type that accepts PasswordComplexityPolicyMap and PasswordComplexityPolicyMapOutput values. // You can construct a concrete instance of `PasswordComplexityPolicyMapInput` via: // -// PasswordComplexityPolicyMap{ "key": PasswordComplexityPolicyArgs{...} } +// PasswordComplexityPolicyMap{ "key": PasswordComplexityPolicyArgs{...} } type PasswordComplexityPolicyMapInput interface { pulumi.Input @@ -239,6 +256,12 @@ func (i PasswordComplexityPolicyMap) ToPasswordComplexityPolicyMapOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(PasswordComplexityPolicyMapOutput) } +func (i PasswordComplexityPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*PasswordComplexityPolicy] { + return pulumix.Output[map[string]*PasswordComplexityPolicy]{ + OutputState: i.ToPasswordComplexityPolicyMapOutputWithContext(ctx).OutputState, + } +} + type PasswordComplexityPolicyOutput struct{ *pulumi.OutputState } func (PasswordComplexityPolicyOutput) ElementType() reflect.Type { @@ -253,6 +276,12 @@ func (o PasswordComplexityPolicyOutput) ToPasswordComplexityPolicyOutputWithCont return o } +func (o PasswordComplexityPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*PasswordComplexityPolicy] { + return pulumix.Output[*PasswordComplexityPolicy]{ + OutputState: o.OutputState, + } +} + // defines if the password MUST contain a lower case letter func (o PasswordComplexityPolicyOutput) HasLowercase() pulumi.BoolOutput { return o.ApplyT(func(v *PasswordComplexityPolicy) pulumi.BoolOutput { return v.HasLowercase }).(pulumi.BoolOutput) @@ -297,6 +326,12 @@ func (o PasswordComplexityPolicyArrayOutput) ToPasswordComplexityPolicyArrayOutp return o } +func (o PasswordComplexityPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*PasswordComplexityPolicy] { + return pulumix.Output[[]*PasswordComplexityPolicy]{ + OutputState: o.OutputState, + } +} + func (o PasswordComplexityPolicyArrayOutput) Index(i pulumi.IntInput) PasswordComplexityPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *PasswordComplexityPolicy { return vs[0].([]*PasswordComplexityPolicy)[vs[1].(int)] @@ -317,6 +352,12 @@ func (o PasswordComplexityPolicyMapOutput) ToPasswordComplexityPolicyMapOutputWi return o } +func (o PasswordComplexityPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*PasswordComplexityPolicy] { + return pulumix.Output[map[string]*PasswordComplexityPolicy]{ + OutputState: o.OutputState, + } +} + func (o PasswordComplexityPolicyMapOutput) MapIndex(k pulumi.StringInput) PasswordComplexityPolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *PasswordComplexityPolicy { return vs[0].(map[string]*PasswordComplexityPolicy)[vs[1].(string)] diff --git a/sdk/go/zitadel/personalAccessToken.go b/sdk/go/zitadel/personalAccessToken.go index ae670b8..eafde87 100644 --- a/sdk/go/zitadel/personalAccessToken.go +++ b/sdk/go/zitadel/personalAccessToken.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing a personal access token of a user @@ -19,31 +21,36 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewPersonalAccessToken(ctx, "default", &zitadel.PersonalAccessTokenArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// UserId: pulumi.Any(data.Zitadel_machine_user.Default.Id), -// ExpirationDate: pulumi.String("2519-04-01T08:45:00Z"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewPersonalAccessToken(ctx, "default", &zitadel.PersonalAccessTokenArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// UserId: pulumi.Any(data.Zitadel_machine_user.Default.Id), +// ExpirationDate: pulumi.String("2519-04-01T08:45:00Z"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/personalAccessToken:PersonalAccessToken imported '123456789012345678:123456789012345678:123456789012345678:LHt79...' +// +// $ pulumi import zitadel:index/personalAccessToken:PersonalAccessToken imported '123456789012345678:123456789012345678:123456789012345678:LHt79...' +// // ``` type PersonalAccessToken struct { pulumi.CustomResourceState @@ -68,7 +75,11 @@ func NewPersonalAccessToken(ctx *pulumi.Context, if args.UserId == nil { return nil, errors.New("invalid value for required argument 'UserId'") } - opts = pkgResourceDefaultOpts(opts) + secrets := pulumi.AdditionalSecretOutputs([]string{ + "token", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource PersonalAccessToken err := ctx.RegisterResource("zitadel:index/personalAccessToken:PersonalAccessToken", name, args, &resource, opts...) if err != nil { @@ -158,10 +169,16 @@ func (i *PersonalAccessToken) ToPersonalAccessTokenOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(PersonalAccessTokenOutput) } +func (i *PersonalAccessToken) ToOutput(ctx context.Context) pulumix.Output[*PersonalAccessToken] { + return pulumix.Output[*PersonalAccessToken]{ + OutputState: i.ToPersonalAccessTokenOutputWithContext(ctx).OutputState, + } +} + // PersonalAccessTokenArrayInput is an input type that accepts PersonalAccessTokenArray and PersonalAccessTokenArrayOutput values. // You can construct a concrete instance of `PersonalAccessTokenArrayInput` via: // -// PersonalAccessTokenArray{ PersonalAccessTokenArgs{...} } +// PersonalAccessTokenArray{ PersonalAccessTokenArgs{...} } type PersonalAccessTokenArrayInput interface { pulumi.Input @@ -183,10 +200,16 @@ func (i PersonalAccessTokenArray) ToPersonalAccessTokenArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(PersonalAccessTokenArrayOutput) } +func (i PersonalAccessTokenArray) ToOutput(ctx context.Context) pulumix.Output[[]*PersonalAccessToken] { + return pulumix.Output[[]*PersonalAccessToken]{ + OutputState: i.ToPersonalAccessTokenArrayOutputWithContext(ctx).OutputState, + } +} + // PersonalAccessTokenMapInput is an input type that accepts PersonalAccessTokenMap and PersonalAccessTokenMapOutput values. // You can construct a concrete instance of `PersonalAccessTokenMapInput` via: // -// PersonalAccessTokenMap{ "key": PersonalAccessTokenArgs{...} } +// PersonalAccessTokenMap{ "key": PersonalAccessTokenArgs{...} } type PersonalAccessTokenMapInput interface { pulumi.Input @@ -208,6 +231,12 @@ func (i PersonalAccessTokenMap) ToPersonalAccessTokenMapOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(PersonalAccessTokenMapOutput) } +func (i PersonalAccessTokenMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*PersonalAccessToken] { + return pulumix.Output[map[string]*PersonalAccessToken]{ + OutputState: i.ToPersonalAccessTokenMapOutputWithContext(ctx).OutputState, + } +} + type PersonalAccessTokenOutput struct{ *pulumi.OutputState } func (PersonalAccessTokenOutput) ElementType() reflect.Type { @@ -222,6 +251,12 @@ func (o PersonalAccessTokenOutput) ToPersonalAccessTokenOutputWithContext(ctx co return o } +func (o PersonalAccessTokenOutput) ToOutput(ctx context.Context) pulumix.Output[*PersonalAccessToken] { + return pulumix.Output[*PersonalAccessToken]{ + OutputState: o.OutputState, + } +} + // Expiration date of the token in the RFC3339 format func (o PersonalAccessTokenOutput) ExpirationDate() pulumi.StringPtrOutput { return o.ApplyT(func(v *PersonalAccessToken) pulumi.StringPtrOutput { return v.ExpirationDate }).(pulumi.StringPtrOutput) @@ -256,6 +291,12 @@ func (o PersonalAccessTokenArrayOutput) ToPersonalAccessTokenArrayOutputWithCont return o } +func (o PersonalAccessTokenArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*PersonalAccessToken] { + return pulumix.Output[[]*PersonalAccessToken]{ + OutputState: o.OutputState, + } +} + func (o PersonalAccessTokenArrayOutput) Index(i pulumi.IntInput) PersonalAccessTokenOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *PersonalAccessToken { return vs[0].([]*PersonalAccessToken)[vs[1].(int)] @@ -276,6 +317,12 @@ func (o PersonalAccessTokenMapOutput) ToPersonalAccessTokenMapOutputWithContext( return o } +func (o PersonalAccessTokenMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*PersonalAccessToken] { + return pulumix.Output[map[string]*PersonalAccessToken]{ + OutputState: o.OutputState, + } +} + func (o PersonalAccessTokenMapOutput) MapIndex(k pulumi.StringInput) PersonalAccessTokenOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *PersonalAccessToken { return vs[0].(map[string]*PersonalAccessToken)[vs[1].(string)] diff --git a/sdk/go/zitadel/privacyPolicy.go b/sdk/go/zitadel/privacyPolicy.go index 90b6abf..7a422e7 100644 --- a/sdk/go/zitadel/privacyPolicy.go +++ b/sdk/go/zitadel/privacyPolicy.go @@ -7,8 +7,9 @@ import ( "context" "reflect" - "github.com/pkg/errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the custom privacy policy of an organization. @@ -19,65 +20,58 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewPrivacyPolicy(ctx, "default", &zitadel.PrivacyPolicyArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// TosLink: pulumi.String("https://example.com/tos"), -// PrivacyLink: pulumi.String("https://example.com/privacy"), -// HelpLink: pulumi.String("https://example.com/help"), -// SupportEmail: pulumi.String("support@example.com"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewPrivacyPolicy(ctx, "default", &zitadel.PrivacyPolicyArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// TosLink: pulumi.String("https://example.com/tos"), +// PrivacyLink: pulumi.String("https://example.com/privacy"), +// HelpLink: pulumi.String("https://example.com/help"), +// SupportEmail: pulumi.String("support@example.com"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. +// terraform The resource can be imported using the ID format `<[org_id]>`, e.g. // // ```sh -// $ pulumi import zitadel:index/privacyPolicy:PrivacyPolicy imported '123456789012345678' +// +// $ pulumi import zitadel:index/privacyPolicy:PrivacyPolicy imported '123456789012345678' +// // ``` type PrivacyPolicy struct { pulumi.CustomResourceState - HelpLink pulumi.StringOutput `pulumi:"helpLink"` + HelpLink pulumi.StringPtrOutput `pulumi:"helpLink"` // ID of the organization OrgId pulumi.StringPtrOutput `pulumi:"orgId"` - PrivacyLink pulumi.StringOutput `pulumi:"privacyLink"` - SupportEmail pulumi.StringOutput `pulumi:"supportEmail"` - TosLink pulumi.StringOutput `pulumi:"tosLink"` + PrivacyLink pulumi.StringPtrOutput `pulumi:"privacyLink"` + SupportEmail pulumi.StringPtrOutput `pulumi:"supportEmail"` + TosLink pulumi.StringPtrOutput `pulumi:"tosLink"` } // NewPrivacyPolicy registers a new resource with the given unique name, arguments, and options. func NewPrivacyPolicy(ctx *pulumi.Context, name string, args *PrivacyPolicyArgs, opts ...pulumi.ResourceOption) (*PrivacyPolicy, error) { if args == nil { - return nil, errors.New("missing one or more required arguments") + args = &PrivacyPolicyArgs{} } - if args.HelpLink == nil { - return nil, errors.New("invalid value for required argument 'HelpLink'") - } - if args.PrivacyLink == nil { - return nil, errors.New("invalid value for required argument 'PrivacyLink'") - } - if args.SupportEmail == nil { - return nil, errors.New("invalid value for required argument 'SupportEmail'") - } - if args.TosLink == nil { - return nil, errors.New("invalid value for required argument 'TosLink'") - } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource PrivacyPolicy err := ctx.RegisterResource("zitadel:index/privacyPolicy:PrivacyPolicy", name, args, &resource, opts...) if err != nil { @@ -122,22 +116,22 @@ func (PrivacyPolicyState) ElementType() reflect.Type { } type privacyPolicyArgs struct { - HelpLink string `pulumi:"helpLink"` + HelpLink *string `pulumi:"helpLink"` // ID of the organization OrgId *string `pulumi:"orgId"` - PrivacyLink string `pulumi:"privacyLink"` - SupportEmail string `pulumi:"supportEmail"` - TosLink string `pulumi:"tosLink"` + PrivacyLink *string `pulumi:"privacyLink"` + SupportEmail *string `pulumi:"supportEmail"` + TosLink *string `pulumi:"tosLink"` } // The set of arguments for constructing a PrivacyPolicy resource. type PrivacyPolicyArgs struct { - HelpLink pulumi.StringInput + HelpLink pulumi.StringPtrInput // ID of the organization OrgId pulumi.StringPtrInput - PrivacyLink pulumi.StringInput - SupportEmail pulumi.StringInput - TosLink pulumi.StringInput + PrivacyLink pulumi.StringPtrInput + SupportEmail pulumi.StringPtrInput + TosLink pulumi.StringPtrInput } func (PrivacyPolicyArgs) ElementType() reflect.Type { @@ -163,10 +157,16 @@ func (i *PrivacyPolicy) ToPrivacyPolicyOutputWithContext(ctx context.Context) Pr return pulumi.ToOutputWithContext(ctx, i).(PrivacyPolicyOutput) } +func (i *PrivacyPolicy) ToOutput(ctx context.Context) pulumix.Output[*PrivacyPolicy] { + return pulumix.Output[*PrivacyPolicy]{ + OutputState: i.ToPrivacyPolicyOutputWithContext(ctx).OutputState, + } +} + // PrivacyPolicyArrayInput is an input type that accepts PrivacyPolicyArray and PrivacyPolicyArrayOutput values. // You can construct a concrete instance of `PrivacyPolicyArrayInput` via: // -// PrivacyPolicyArray{ PrivacyPolicyArgs{...} } +// PrivacyPolicyArray{ PrivacyPolicyArgs{...} } type PrivacyPolicyArrayInput interface { pulumi.Input @@ -188,10 +188,16 @@ func (i PrivacyPolicyArray) ToPrivacyPolicyArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(PrivacyPolicyArrayOutput) } +func (i PrivacyPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*PrivacyPolicy] { + return pulumix.Output[[]*PrivacyPolicy]{ + OutputState: i.ToPrivacyPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // PrivacyPolicyMapInput is an input type that accepts PrivacyPolicyMap and PrivacyPolicyMapOutput values. // You can construct a concrete instance of `PrivacyPolicyMapInput` via: // -// PrivacyPolicyMap{ "key": PrivacyPolicyArgs{...} } +// PrivacyPolicyMap{ "key": PrivacyPolicyArgs{...} } type PrivacyPolicyMapInput interface { pulumi.Input @@ -213,6 +219,12 @@ func (i PrivacyPolicyMap) ToPrivacyPolicyMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(PrivacyPolicyMapOutput) } +func (i PrivacyPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*PrivacyPolicy] { + return pulumix.Output[map[string]*PrivacyPolicy]{ + OutputState: i.ToPrivacyPolicyMapOutputWithContext(ctx).OutputState, + } +} + type PrivacyPolicyOutput struct{ *pulumi.OutputState } func (PrivacyPolicyOutput) ElementType() reflect.Type { @@ -227,8 +239,14 @@ func (o PrivacyPolicyOutput) ToPrivacyPolicyOutputWithContext(ctx context.Contex return o } -func (o PrivacyPolicyOutput) HelpLink() pulumi.StringOutput { - return o.ApplyT(func(v *PrivacyPolicy) pulumi.StringOutput { return v.HelpLink }).(pulumi.StringOutput) +func (o PrivacyPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivacyPolicy] { + return pulumix.Output[*PrivacyPolicy]{ + OutputState: o.OutputState, + } +} + +func (o PrivacyPolicyOutput) HelpLink() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PrivacyPolicy) pulumi.StringPtrOutput { return v.HelpLink }).(pulumi.StringPtrOutput) } // ID of the organization @@ -236,16 +254,16 @@ func (o PrivacyPolicyOutput) OrgId() pulumi.StringPtrOutput { return o.ApplyT(func(v *PrivacyPolicy) pulumi.StringPtrOutput { return v.OrgId }).(pulumi.StringPtrOutput) } -func (o PrivacyPolicyOutput) PrivacyLink() pulumi.StringOutput { - return o.ApplyT(func(v *PrivacyPolicy) pulumi.StringOutput { return v.PrivacyLink }).(pulumi.StringOutput) +func (o PrivacyPolicyOutput) PrivacyLink() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PrivacyPolicy) pulumi.StringPtrOutput { return v.PrivacyLink }).(pulumi.StringPtrOutput) } -func (o PrivacyPolicyOutput) SupportEmail() pulumi.StringOutput { - return o.ApplyT(func(v *PrivacyPolicy) pulumi.StringOutput { return v.SupportEmail }).(pulumi.StringOutput) +func (o PrivacyPolicyOutput) SupportEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PrivacyPolicy) pulumi.StringPtrOutput { return v.SupportEmail }).(pulumi.StringPtrOutput) } -func (o PrivacyPolicyOutput) TosLink() pulumi.StringOutput { - return o.ApplyT(func(v *PrivacyPolicy) pulumi.StringOutput { return v.TosLink }).(pulumi.StringOutput) +func (o PrivacyPolicyOutput) TosLink() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PrivacyPolicy) pulumi.StringPtrOutput { return v.TosLink }).(pulumi.StringPtrOutput) } type PrivacyPolicyArrayOutput struct{ *pulumi.OutputState } @@ -262,6 +280,12 @@ func (o PrivacyPolicyArrayOutput) ToPrivacyPolicyArrayOutputWithContext(ctx cont return o } +func (o PrivacyPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*PrivacyPolicy] { + return pulumix.Output[[]*PrivacyPolicy]{ + OutputState: o.OutputState, + } +} + func (o PrivacyPolicyArrayOutput) Index(i pulumi.IntInput) PrivacyPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *PrivacyPolicy { return vs[0].([]*PrivacyPolicy)[vs[1].(int)] @@ -282,6 +306,12 @@ func (o PrivacyPolicyMapOutput) ToPrivacyPolicyMapOutputWithContext(ctx context. return o } +func (o PrivacyPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*PrivacyPolicy] { + return pulumix.Output[map[string]*PrivacyPolicy]{ + OutputState: o.OutputState, + } +} + func (o PrivacyPolicyMapOutput) MapIndex(k pulumi.StringInput) PrivacyPolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *PrivacyPolicy { return vs[0].(map[string]*PrivacyPolicy)[vs[1].(string)] diff --git a/sdk/go/zitadel/project.go b/sdk/go/zitadel/project.go index 2178841..c92b1a0 100644 --- a/sdk/go/zitadel/project.go +++ b/sdk/go/zitadel/project.go @@ -8,6 +8,8 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the project, which can then be granted to different organizations or users directly, containing different applications. @@ -18,33 +20,38 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewProject(ctx, "default", &zitadel.ProjectArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// ProjectRoleAssertion: pulumi.Bool(true), -// ProjectRoleCheck: pulumi.Bool(true), -// HasProjectCheck: pulumi.Bool(true), -// PrivateLabelingSetting: pulumi.String("PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewProject(ctx, "default", &zitadel.ProjectArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// ProjectRoleAssertion: pulumi.Bool(true), +// ProjectRoleCheck: pulumi.Bool(true), +// HasProjectCheck: pulumi.Bool(true), +// PrivateLabelingSetting: pulumi.String("PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/project:Project imported '123456789012345678:123456789012345678' +// +// $ pulumi import zitadel:index/project:Project imported '123456789012345678:123456789012345678' +// // ``` type Project struct { pulumi.CustomResourceState @@ -72,7 +79,7 @@ func NewProject(ctx *pulumi.Context, args = &ProjectArgs{} } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource Project err := ctx.RegisterResource("zitadel:index/project:Project", name, args, &resource, opts...) if err != nil { @@ -186,10 +193,16 @@ func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput return pulumi.ToOutputWithContext(ctx, i).(ProjectOutput) } +func (i *Project) ToOutput(ctx context.Context) pulumix.Output[*Project] { + return pulumix.Output[*Project]{ + OutputState: i.ToProjectOutputWithContext(ctx).OutputState, + } +} + // ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. // You can construct a concrete instance of `ProjectArrayInput` via: // -// ProjectArray{ ProjectArgs{...} } +// ProjectArray{ ProjectArgs{...} } type ProjectArrayInput interface { pulumi.Input @@ -211,10 +224,16 @@ func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) Proje return pulumi.ToOutputWithContext(ctx, i).(ProjectArrayOutput) } +func (i ProjectArray) ToOutput(ctx context.Context) pulumix.Output[[]*Project] { + return pulumix.Output[[]*Project]{ + OutputState: i.ToProjectArrayOutputWithContext(ctx).OutputState, + } +} + // ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. // You can construct a concrete instance of `ProjectMapInput` via: // -// ProjectMap{ "key": ProjectArgs{...} } +// ProjectMap{ "key": ProjectArgs{...} } type ProjectMapInput interface { pulumi.Input @@ -236,6 +255,12 @@ func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMa return pulumi.ToOutputWithContext(ctx, i).(ProjectMapOutput) } +func (i ProjectMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Project] { + return pulumix.Output[map[string]*Project]{ + OutputState: i.ToProjectMapOutputWithContext(ctx).OutputState, + } +} + type ProjectOutput struct{ *pulumi.OutputState } func (ProjectOutput) ElementType() reflect.Type { @@ -250,6 +275,12 @@ func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOu return o } +func (o ProjectOutput) ToOutput(ctx context.Context) pulumix.Output[*Project] { + return pulumix.Output[*Project]{ + OutputState: o.OutputState, + } +} + // ZITADEL checks if the org of the user has permission to this project func (o ProjectOutput) HasProjectCheck() pulumi.BoolPtrOutput { return o.ApplyT(func(v *Project) pulumi.BoolPtrOutput { return v.HasProjectCheck }).(pulumi.BoolPtrOutput) @@ -299,6 +330,12 @@ func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) return o } +func (o ProjectArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Project] { + return pulumix.Output[[]*Project]{ + OutputState: o.OutputState, + } +} + func (o ProjectArrayOutput) Index(i pulumi.IntInput) ProjectOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Project { return vs[0].([]*Project)[vs[1].(int)] @@ -319,6 +356,12 @@ func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) Pro return o } +func (o ProjectMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Project] { + return pulumix.Output[map[string]*Project]{ + OutputState: o.OutputState, + } +} + func (o ProjectMapOutput) MapIndex(k pulumi.StringInput) ProjectOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Project { return vs[0].(map[string]*Project)[vs[1].(string)] diff --git a/sdk/go/zitadel/projectGrant.go b/sdk/go/zitadel/projectGrant.go index cd4efdd..5413d30 100644 --- a/sdk/go/zitadel/projectGrant.go +++ b/sdk/go/zitadel/projectGrant.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the grant of a project to a different organization, also containing the available roles which can be given to the members of the projectgrant. @@ -19,34 +21,39 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewProjectGrant(ctx, "default", &zitadel.ProjectGrantArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// ProjectId: pulumi.Any(data.Zitadel_project.Default.Id), -// GrantedOrgId: pulumi.Any(data.Zitadel_org.Granted_org.Id), -// RoleKeys: pulumi.StringArray{ -// pulumi.String("super-user"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewProjectGrant(ctx, "default", &zitadel.ProjectGrantArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// ProjectId: pulumi.Any(data.Zitadel_project.Default.Id), +// GrantedOrgId: pulumi.Any(data.Zitadel_org.Granted_org.Id), +// RoleKeys: pulumi.StringArray{ +// pulumi.String("super-user"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/projectGrant:ProjectGrant imported '123456789012345678:123456789012345678:123456789012345678' +// +// $ pulumi import zitadel:index/projectGrant:ProjectGrant imported '123456789012345678:123456789012345678:123456789012345678' +// // ``` type ProjectGrant struct { pulumi.CustomResourceState @@ -74,7 +81,7 @@ func NewProjectGrant(ctx *pulumi.Context, if args.ProjectId == nil { return nil, errors.New("invalid value for required argument 'ProjectId'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource ProjectGrant err := ctx.RegisterResource("zitadel:index/projectGrant:ProjectGrant", name, args, &resource, opts...) if err != nil { @@ -168,10 +175,16 @@ func (i *ProjectGrant) ToProjectGrantOutputWithContext(ctx context.Context) Proj return pulumi.ToOutputWithContext(ctx, i).(ProjectGrantOutput) } +func (i *ProjectGrant) ToOutput(ctx context.Context) pulumix.Output[*ProjectGrant] { + return pulumix.Output[*ProjectGrant]{ + OutputState: i.ToProjectGrantOutputWithContext(ctx).OutputState, + } +} + // ProjectGrantArrayInput is an input type that accepts ProjectGrantArray and ProjectGrantArrayOutput values. // You can construct a concrete instance of `ProjectGrantArrayInput` via: // -// ProjectGrantArray{ ProjectGrantArgs{...} } +// ProjectGrantArray{ ProjectGrantArgs{...} } type ProjectGrantArrayInput interface { pulumi.Input @@ -193,10 +206,16 @@ func (i ProjectGrantArray) ToProjectGrantArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ProjectGrantArrayOutput) } +func (i ProjectGrantArray) ToOutput(ctx context.Context) pulumix.Output[[]*ProjectGrant] { + return pulumix.Output[[]*ProjectGrant]{ + OutputState: i.ToProjectGrantArrayOutputWithContext(ctx).OutputState, + } +} + // ProjectGrantMapInput is an input type that accepts ProjectGrantMap and ProjectGrantMapOutput values. // You can construct a concrete instance of `ProjectGrantMapInput` via: // -// ProjectGrantMap{ "key": ProjectGrantArgs{...} } +// ProjectGrantMap{ "key": ProjectGrantArgs{...} } type ProjectGrantMapInput interface { pulumi.Input @@ -218,6 +237,12 @@ func (i ProjectGrantMap) ToProjectGrantMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ProjectGrantMapOutput) } +func (i ProjectGrantMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ProjectGrant] { + return pulumix.Output[map[string]*ProjectGrant]{ + OutputState: i.ToProjectGrantMapOutputWithContext(ctx).OutputState, + } +} + type ProjectGrantOutput struct{ *pulumi.OutputState } func (ProjectGrantOutput) ElementType() reflect.Type { @@ -232,6 +257,12 @@ func (o ProjectGrantOutput) ToProjectGrantOutputWithContext(ctx context.Context) return o } +func (o ProjectGrantOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectGrant] { + return pulumix.Output[*ProjectGrant]{ + OutputState: o.OutputState, + } +} + // ID of the organization granted the project func (o ProjectGrantOutput) GrantedOrgId() pulumi.StringOutput { return o.ApplyT(func(v *ProjectGrant) pulumi.StringOutput { return v.GrantedOrgId }).(pulumi.StringOutput) @@ -266,6 +297,12 @@ func (o ProjectGrantArrayOutput) ToProjectGrantArrayOutputWithContext(ctx contex return o } +func (o ProjectGrantArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ProjectGrant] { + return pulumix.Output[[]*ProjectGrant]{ + OutputState: o.OutputState, + } +} + func (o ProjectGrantArrayOutput) Index(i pulumi.IntInput) ProjectGrantOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ProjectGrant { return vs[0].([]*ProjectGrant)[vs[1].(int)] @@ -286,6 +323,12 @@ func (o ProjectGrantMapOutput) ToProjectGrantMapOutputWithContext(ctx context.Co return o } +func (o ProjectGrantMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ProjectGrant] { + return pulumix.Output[map[string]*ProjectGrant]{ + OutputState: o.OutputState, + } +} + func (o ProjectGrantMapOutput) MapIndex(k pulumi.StringInput) ProjectGrantOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ProjectGrant { return vs[0].(map[string]*ProjectGrant)[vs[1].(string)] diff --git a/sdk/go/zitadel/projectGrantMember.go b/sdk/go/zitadel/projectGrantMember.go index b31bb60..ce3ce22 100644 --- a/sdk/go/zitadel/projectGrantMember.go +++ b/sdk/go/zitadel/projectGrantMember.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the membership of a user on an granted project, defined with the given role. @@ -19,35 +21,40 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewProjectGrantMember(ctx, "default", &zitadel.ProjectGrantMemberArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// ProjectId: pulumi.Any(data.Zitadel_project.Default.Id), -// UserId: pulumi.Any(data.Zitadel_human_user.Default.Id), -// GrantId: pulumi.String("123456789012345678"), -// Roles: pulumi.StringArray{ -// pulumi.String("PROJECT_GRANT_OWNER"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewProjectGrantMember(ctx, "default", &zitadel.ProjectGrantMemberArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// ProjectId: pulumi.Any(data.Zitadel_project.Default.Id), +// UserId: pulumi.Any(data.Zitadel_human_user.Default.Id), +// GrantId: pulumi.String("123456789012345678"), +// Roles: pulumi.StringArray{ +// pulumi.String("PROJECT_GRANT_OWNER"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/projectGrantMember:ProjectGrantMember imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678' +// +// $ pulumi import zitadel:index/projectGrantMember:ProjectGrantMember imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678' +// // ``` type ProjectGrantMember struct { pulumi.CustomResourceState @@ -83,7 +90,7 @@ func NewProjectGrantMember(ctx *pulumi.Context, if args.UserId == nil { return nil, errors.New("invalid value for required argument 'UserId'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource ProjectGrantMember err := ctx.RegisterResource("zitadel:index/projectGrantMember:ProjectGrantMember", name, args, &resource, opts...) if err != nil { @@ -185,10 +192,16 @@ func (i *ProjectGrantMember) ToProjectGrantMemberOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ProjectGrantMemberOutput) } +func (i *ProjectGrantMember) ToOutput(ctx context.Context) pulumix.Output[*ProjectGrantMember] { + return pulumix.Output[*ProjectGrantMember]{ + OutputState: i.ToProjectGrantMemberOutputWithContext(ctx).OutputState, + } +} + // ProjectGrantMemberArrayInput is an input type that accepts ProjectGrantMemberArray and ProjectGrantMemberArrayOutput values. // You can construct a concrete instance of `ProjectGrantMemberArrayInput` via: // -// ProjectGrantMemberArray{ ProjectGrantMemberArgs{...} } +// ProjectGrantMemberArray{ ProjectGrantMemberArgs{...} } type ProjectGrantMemberArrayInput interface { pulumi.Input @@ -210,10 +223,16 @@ func (i ProjectGrantMemberArray) ToProjectGrantMemberArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ProjectGrantMemberArrayOutput) } +func (i ProjectGrantMemberArray) ToOutput(ctx context.Context) pulumix.Output[[]*ProjectGrantMember] { + return pulumix.Output[[]*ProjectGrantMember]{ + OutputState: i.ToProjectGrantMemberArrayOutputWithContext(ctx).OutputState, + } +} + // ProjectGrantMemberMapInput is an input type that accepts ProjectGrantMemberMap and ProjectGrantMemberMapOutput values. // You can construct a concrete instance of `ProjectGrantMemberMapInput` via: // -// ProjectGrantMemberMap{ "key": ProjectGrantMemberArgs{...} } +// ProjectGrantMemberMap{ "key": ProjectGrantMemberArgs{...} } type ProjectGrantMemberMapInput interface { pulumi.Input @@ -235,6 +254,12 @@ func (i ProjectGrantMemberMap) ToProjectGrantMemberMapOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ProjectGrantMemberMapOutput) } +func (i ProjectGrantMemberMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ProjectGrantMember] { + return pulumix.Output[map[string]*ProjectGrantMember]{ + OutputState: i.ToProjectGrantMemberMapOutputWithContext(ctx).OutputState, + } +} + type ProjectGrantMemberOutput struct{ *pulumi.OutputState } func (ProjectGrantMemberOutput) ElementType() reflect.Type { @@ -249,6 +274,12 @@ func (o ProjectGrantMemberOutput) ToProjectGrantMemberOutputWithContext(ctx cont return o } +func (o ProjectGrantMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectGrantMember] { + return pulumix.Output[*ProjectGrantMember]{ + OutputState: o.OutputState, + } +} + // ID of the grant func (o ProjectGrantMemberOutput) GrantId() pulumi.StringOutput { return o.ApplyT(func(v *ProjectGrantMember) pulumi.StringOutput { return v.GrantId }).(pulumi.StringOutput) @@ -288,6 +319,12 @@ func (o ProjectGrantMemberArrayOutput) ToProjectGrantMemberArrayOutputWithContex return o } +func (o ProjectGrantMemberArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ProjectGrantMember] { + return pulumix.Output[[]*ProjectGrantMember]{ + OutputState: o.OutputState, + } +} + func (o ProjectGrantMemberArrayOutput) Index(i pulumi.IntInput) ProjectGrantMemberOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ProjectGrantMember { return vs[0].([]*ProjectGrantMember)[vs[1].(int)] @@ -308,6 +345,12 @@ func (o ProjectGrantMemberMapOutput) ToProjectGrantMemberMapOutputWithContext(ct return o } +func (o ProjectGrantMemberMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ProjectGrantMember] { + return pulumix.Output[map[string]*ProjectGrantMember]{ + OutputState: o.OutputState, + } +} + func (o ProjectGrantMemberMapOutput) MapIndex(k pulumi.StringInput) ProjectGrantMemberOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ProjectGrantMember { return vs[0].(map[string]*ProjectGrantMember)[vs[1].(string)] diff --git a/sdk/go/zitadel/projectMember.go b/sdk/go/zitadel/projectMember.go index b505842..aaf4eb9 100644 --- a/sdk/go/zitadel/projectMember.go +++ b/sdk/go/zitadel/projectMember.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the membership of a user on an project, defined with the given role. @@ -19,34 +21,39 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewProjectMember(ctx, "default", &zitadel.ProjectMemberArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// ProjectId: pulumi.Any(data.Zitadel_project.Default.Id), -// UserId: pulumi.Any(data.Zitadel_human_user.Default.Id), -// Roles: pulumi.StringArray{ -// pulumi.String("PROJECT_OWNER"), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewProjectMember(ctx, "default", &zitadel.ProjectMemberArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// ProjectId: pulumi.Any(data.Zitadel_project.Default.Id), +// UserId: pulumi.Any(data.Zitadel_human_user.Default.Id), +// Roles: pulumi.StringArray{ +// pulumi.String("PROJECT_OWNER"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/projectMember:ProjectMember imported '123456789012345678:123456789012345678:123456789012345678' +// +// $ pulumi import zitadel:index/projectMember:ProjectMember imported '123456789012345678:123456789012345678:123456789012345678' +// // ``` type ProjectMember struct { pulumi.CustomResourceState @@ -77,7 +84,7 @@ func NewProjectMember(ctx *pulumi.Context, if args.UserId == nil { return nil, errors.New("invalid value for required argument 'UserId'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource ProjectMember err := ctx.RegisterResource("zitadel:index/projectMember:ProjectMember", name, args, &resource, opts...) if err != nil { @@ -171,10 +178,16 @@ func (i *ProjectMember) ToProjectMemberOutputWithContext(ctx context.Context) Pr return pulumi.ToOutputWithContext(ctx, i).(ProjectMemberOutput) } +func (i *ProjectMember) ToOutput(ctx context.Context) pulumix.Output[*ProjectMember] { + return pulumix.Output[*ProjectMember]{ + OutputState: i.ToProjectMemberOutputWithContext(ctx).OutputState, + } +} + // ProjectMemberArrayInput is an input type that accepts ProjectMemberArray and ProjectMemberArrayOutput values. // You can construct a concrete instance of `ProjectMemberArrayInput` via: // -// ProjectMemberArray{ ProjectMemberArgs{...} } +// ProjectMemberArray{ ProjectMemberArgs{...} } type ProjectMemberArrayInput interface { pulumi.Input @@ -196,10 +209,16 @@ func (i ProjectMemberArray) ToProjectMemberArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ProjectMemberArrayOutput) } +func (i ProjectMemberArray) ToOutput(ctx context.Context) pulumix.Output[[]*ProjectMember] { + return pulumix.Output[[]*ProjectMember]{ + OutputState: i.ToProjectMemberArrayOutputWithContext(ctx).OutputState, + } +} + // ProjectMemberMapInput is an input type that accepts ProjectMemberMap and ProjectMemberMapOutput values. // You can construct a concrete instance of `ProjectMemberMapInput` via: // -// ProjectMemberMap{ "key": ProjectMemberArgs{...} } +// ProjectMemberMap{ "key": ProjectMemberArgs{...} } type ProjectMemberMapInput interface { pulumi.Input @@ -221,6 +240,12 @@ func (i ProjectMemberMap) ToProjectMemberMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ProjectMemberMapOutput) } +func (i ProjectMemberMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ProjectMember] { + return pulumix.Output[map[string]*ProjectMember]{ + OutputState: i.ToProjectMemberMapOutputWithContext(ctx).OutputState, + } +} + type ProjectMemberOutput struct{ *pulumi.OutputState } func (ProjectMemberOutput) ElementType() reflect.Type { @@ -235,6 +260,12 @@ func (o ProjectMemberOutput) ToProjectMemberOutputWithContext(ctx context.Contex return o } +func (o ProjectMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectMember] { + return pulumix.Output[*ProjectMember]{ + OutputState: o.OutputState, + } +} + // ID of the organization func (o ProjectMemberOutput) OrgId() pulumi.StringPtrOutput { return o.ApplyT(func(v *ProjectMember) pulumi.StringPtrOutput { return v.OrgId }).(pulumi.StringPtrOutput) @@ -269,6 +300,12 @@ func (o ProjectMemberArrayOutput) ToProjectMemberArrayOutputWithContext(ctx cont return o } +func (o ProjectMemberArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ProjectMember] { + return pulumix.Output[[]*ProjectMember]{ + OutputState: o.OutputState, + } +} + func (o ProjectMemberArrayOutput) Index(i pulumi.IntInput) ProjectMemberOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ProjectMember { return vs[0].([]*ProjectMember)[vs[1].(int)] @@ -289,6 +326,12 @@ func (o ProjectMemberMapOutput) ToProjectMemberMapOutputWithContext(ctx context. return o } +func (o ProjectMemberMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ProjectMember] { + return pulumix.Output[map[string]*ProjectMember]{ + OutputState: o.OutputState, + } +} + func (o ProjectMemberMapOutput) MapIndex(k pulumi.StringInput) ProjectMemberOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ProjectMember { return vs[0].(map[string]*ProjectMember)[vs[1].(string)] diff --git a/sdk/go/zitadel/projectRole.go b/sdk/go/zitadel/projectRole.go index fc11e14..c7ddf68 100644 --- a/sdk/go/zitadel/projectRole.go +++ b/sdk/go/zitadel/projectRole.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the project roles, which can be given as authorizations to users. @@ -19,33 +21,38 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewProjectRole(ctx, "default", &zitadel.ProjectRoleArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// ProjectId: pulumi.Any(data.Zitadel_project.Default.Id), -// RoleKey: pulumi.String("super-user"), -// DisplayName: pulumi.String("display_name2"), -// Group: pulumi.String("role_group"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewProjectRole(ctx, "default", &zitadel.ProjectRoleArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// ProjectId: pulumi.Any(data.Zitadel_project.Default.Id), +// RoleKey: pulumi.String("super-user"), +// DisplayName: pulumi.String("display_name2"), +// Group: pulumi.String("role_group"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/projectRole:ProjectRole imported '123456789012345678:my-role-key:123456789012345678' +// +// $ pulumi import zitadel:index/projectRole:ProjectRole imported '123456789012345678:my-role-key:123456789012345678' +// // ``` type ProjectRole struct { pulumi.CustomResourceState @@ -78,7 +85,7 @@ func NewProjectRole(ctx *pulumi.Context, if args.RoleKey == nil { return nil, errors.New("invalid value for required argument 'RoleKey'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource ProjectRole err := ctx.RegisterResource("zitadel:index/projectRole:ProjectRole", name, args, &resource, opts...) if err != nil { @@ -180,10 +187,16 @@ func (i *ProjectRole) ToProjectRoleOutputWithContext(ctx context.Context) Projec return pulumi.ToOutputWithContext(ctx, i).(ProjectRoleOutput) } +func (i *ProjectRole) ToOutput(ctx context.Context) pulumix.Output[*ProjectRole] { + return pulumix.Output[*ProjectRole]{ + OutputState: i.ToProjectRoleOutputWithContext(ctx).OutputState, + } +} + // ProjectRoleArrayInput is an input type that accepts ProjectRoleArray and ProjectRoleArrayOutput values. // You can construct a concrete instance of `ProjectRoleArrayInput` via: // -// ProjectRoleArray{ ProjectRoleArgs{...} } +// ProjectRoleArray{ ProjectRoleArgs{...} } type ProjectRoleArrayInput interface { pulumi.Input @@ -205,10 +218,16 @@ func (i ProjectRoleArray) ToProjectRoleArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ProjectRoleArrayOutput) } +func (i ProjectRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*ProjectRole] { + return pulumix.Output[[]*ProjectRole]{ + OutputState: i.ToProjectRoleArrayOutputWithContext(ctx).OutputState, + } +} + // ProjectRoleMapInput is an input type that accepts ProjectRoleMap and ProjectRoleMapOutput values. // You can construct a concrete instance of `ProjectRoleMapInput` via: // -// ProjectRoleMap{ "key": ProjectRoleArgs{...} } +// ProjectRoleMap{ "key": ProjectRoleArgs{...} } type ProjectRoleMapInput interface { pulumi.Input @@ -230,6 +249,12 @@ func (i ProjectRoleMap) ToProjectRoleMapOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(ProjectRoleMapOutput) } +func (i ProjectRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ProjectRole] { + return pulumix.Output[map[string]*ProjectRole]{ + OutputState: i.ToProjectRoleMapOutputWithContext(ctx).OutputState, + } +} + type ProjectRoleOutput struct{ *pulumi.OutputState } func (ProjectRoleOutput) ElementType() reflect.Type { @@ -244,6 +269,12 @@ func (o ProjectRoleOutput) ToProjectRoleOutputWithContext(ctx context.Context) P return o } +func (o ProjectRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectRole] { + return pulumix.Output[*ProjectRole]{ + OutputState: o.OutputState, + } +} + // Name used for project role func (o ProjectRoleOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *ProjectRole) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) @@ -283,6 +314,12 @@ func (o ProjectRoleArrayOutput) ToProjectRoleArrayOutputWithContext(ctx context. return o } +func (o ProjectRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ProjectRole] { + return pulumix.Output[[]*ProjectRole]{ + OutputState: o.OutputState, + } +} + func (o ProjectRoleArrayOutput) Index(i pulumi.IntInput) ProjectRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ProjectRole { return vs[0].([]*ProjectRole)[vs[1].(int)] @@ -303,6 +340,12 @@ func (o ProjectRoleMapOutput) ToProjectRoleMapOutputWithContext(ctx context.Cont return o } +func (o ProjectRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ProjectRole] { + return pulumix.Output[map[string]*ProjectRole]{ + OutputState: o.OutputState, + } +} + func (o ProjectRoleMapOutput) MapIndex(k pulumi.StringInput) ProjectRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ProjectRole { return vs[0].(map[string]*ProjectRole)[vs[1].(string)] diff --git a/sdk/go/zitadel/provider.go b/sdk/go/zitadel/provider.go index be93361..bb4e57c 100644 --- a/sdk/go/zitadel/provider.go +++ b/sdk/go/zitadel/provider.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // The provider type for the zitadel package. By default, resources use package-wide configuration @@ -41,7 +43,7 @@ func NewProvider(ctx *pulumi.Context, if args.Domain == nil { return nil, errors.New("invalid value for required argument 'Domain'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource Provider err := ctx.RegisterResource("pulumi:providers:zitadel", name, args, &resource, opts...) if err != nil { @@ -106,6 +108,12 @@ func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutp return pulumi.ToOutputWithContext(ctx, i).(ProviderOutput) } +func (i *Provider) ToOutput(ctx context.Context) pulumix.Output[*Provider] { + return pulumix.Output[*Provider]{ + OutputState: i.ToProviderOutputWithContext(ctx).OutputState, + } +} + type ProviderOutput struct{ *pulumi.OutputState } func (ProviderOutput) ElementType() reflect.Type { @@ -120,6 +128,12 @@ func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) Provide return o } +func (o ProviderOutput) ToOutput(ctx context.Context) pulumix.Output[*Provider] { + return pulumix.Output[*Provider]{ + OutputState: o.OutputState, + } +} + // Domain used to connect to the ZITADEL instance func (o ProviderOutput) Domain() pulumi.StringOutput { return o.ApplyT(func(v *Provider) pulumi.StringOutput { return v.Domain }).(pulumi.StringOutput) diff --git a/sdk/go/zitadel/smsProviderTwilio.go b/sdk/go/zitadel/smsProviderTwilio.go index da98b81..42bdcfd 100644 --- a/sdk/go/zitadel/smsProviderTwilio.go +++ b/sdk/go/zitadel/smsProviderTwilio.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the SMS provider Twilio configuration of an instance. @@ -19,31 +21,36 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewSmsProviderTwilio(ctx, "default", &zitadel.SmsProviderTwilioArgs{ -// SenderNumber: pulumi.String("019920892"), -// Sid: pulumi.String("sid"), -// Token: pulumi.String("twilio_token"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewSmsProviderTwilio(ctx, "default", &zitadel.SmsProviderTwilioArgs{ +// SenderNumber: pulumi.String("019920892"), +// Sid: pulumi.String("sid"), +// Token: pulumi.String("twilio_token"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/smsProviderTwilio:SmsProviderTwilio imported '123456789012345678:12345678901234567890123456abcdef' +// +// $ pulumi import zitadel:index/smsProviderTwilio:SmsProviderTwilio imported '123456789012345678:12345678901234567890123456abcdef' +// // ``` type SmsProviderTwilio struct { pulumi.CustomResourceState @@ -72,7 +79,14 @@ func NewSmsProviderTwilio(ctx *pulumi.Context, if args.Token == nil { return nil, errors.New("invalid value for required argument 'Token'") } - opts = pkgResourceDefaultOpts(opts) + if args.Token != nil { + args.Token = pulumi.ToSecret(args.Token).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "token", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource SmsProviderTwilio err := ctx.RegisterResource("zitadel:index/smsProviderTwilio:SmsProviderTwilio", name, args, &resource, opts...) if err != nil { @@ -158,10 +172,16 @@ func (i *SmsProviderTwilio) ToSmsProviderTwilioOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SmsProviderTwilioOutput) } +func (i *SmsProviderTwilio) ToOutput(ctx context.Context) pulumix.Output[*SmsProviderTwilio] { + return pulumix.Output[*SmsProviderTwilio]{ + OutputState: i.ToSmsProviderTwilioOutputWithContext(ctx).OutputState, + } +} + // SmsProviderTwilioArrayInput is an input type that accepts SmsProviderTwilioArray and SmsProviderTwilioArrayOutput values. // You can construct a concrete instance of `SmsProviderTwilioArrayInput` via: // -// SmsProviderTwilioArray{ SmsProviderTwilioArgs{...} } +// SmsProviderTwilioArray{ SmsProviderTwilioArgs{...} } type SmsProviderTwilioArrayInput interface { pulumi.Input @@ -183,10 +203,16 @@ func (i SmsProviderTwilioArray) ToSmsProviderTwilioArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SmsProviderTwilioArrayOutput) } +func (i SmsProviderTwilioArray) ToOutput(ctx context.Context) pulumix.Output[[]*SmsProviderTwilio] { + return pulumix.Output[[]*SmsProviderTwilio]{ + OutputState: i.ToSmsProviderTwilioArrayOutputWithContext(ctx).OutputState, + } +} + // SmsProviderTwilioMapInput is an input type that accepts SmsProviderTwilioMap and SmsProviderTwilioMapOutput values. // You can construct a concrete instance of `SmsProviderTwilioMapInput` via: // -// SmsProviderTwilioMap{ "key": SmsProviderTwilioArgs{...} } +// SmsProviderTwilioMap{ "key": SmsProviderTwilioArgs{...} } type SmsProviderTwilioMapInput interface { pulumi.Input @@ -208,6 +234,12 @@ func (i SmsProviderTwilioMap) ToSmsProviderTwilioMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SmsProviderTwilioMapOutput) } +func (i SmsProviderTwilioMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SmsProviderTwilio] { + return pulumix.Output[map[string]*SmsProviderTwilio]{ + OutputState: i.ToSmsProviderTwilioMapOutputWithContext(ctx).OutputState, + } +} + type SmsProviderTwilioOutput struct{ *pulumi.OutputState } func (SmsProviderTwilioOutput) ElementType() reflect.Type { @@ -222,6 +254,12 @@ func (o SmsProviderTwilioOutput) ToSmsProviderTwilioOutputWithContext(ctx contex return o } +func (o SmsProviderTwilioOutput) ToOutput(ctx context.Context) pulumix.Output[*SmsProviderTwilio] { + return pulumix.Output[*SmsProviderTwilio]{ + OutputState: o.OutputState, + } +} + // Sender number which is used to send the SMS. func (o SmsProviderTwilioOutput) SenderNumber() pulumi.StringOutput { return o.ApplyT(func(v *SmsProviderTwilio) pulumi.StringOutput { return v.SenderNumber }).(pulumi.StringOutput) @@ -251,6 +289,12 @@ func (o SmsProviderTwilioArrayOutput) ToSmsProviderTwilioArrayOutputWithContext( return o } +func (o SmsProviderTwilioArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SmsProviderTwilio] { + return pulumix.Output[[]*SmsProviderTwilio]{ + OutputState: o.OutputState, + } +} + func (o SmsProviderTwilioArrayOutput) Index(i pulumi.IntInput) SmsProviderTwilioOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SmsProviderTwilio { return vs[0].([]*SmsProviderTwilio)[vs[1].(int)] @@ -271,6 +315,12 @@ func (o SmsProviderTwilioMapOutput) ToSmsProviderTwilioMapOutputWithContext(ctx return o } +func (o SmsProviderTwilioMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SmsProviderTwilio] { + return pulumix.Output[map[string]*SmsProviderTwilio]{ + OutputState: o.OutputState, + } +} + func (o SmsProviderTwilioMapOutput) MapIndex(k pulumi.StringInput) SmsProviderTwilioOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SmsProviderTwilio { return vs[0].(map[string]*SmsProviderTwilio)[vs[1].(string)] diff --git a/sdk/go/zitadel/smtpConfig.go b/sdk/go/zitadel/smtpConfig.go index 26e9048..0aa5600 100644 --- a/sdk/go/zitadel/smtpConfig.go +++ b/sdk/go/zitadel/smtpConfig.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the SMTP configuration of an instance. @@ -19,34 +21,40 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewSmtpConfig(ctx, "default", &zitadel.SmtpConfigArgs{ -// Host: pulumi.String("localhost:25"), -// Password: pulumi.String("secret_password"), -// SenderAddress: pulumi.String("sender@example.com"), -// SenderName: pulumi.String("no-reply"), -// Tls: pulumi.Bool(true), -// User: pulumi.String("user"), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewSmtpConfig(ctx, "default", &zitadel.SmtpConfigArgs{ +// Host: pulumi.String("localhost:25"), +// Password: pulumi.String("secret_password"), +// ReplyToAddress: pulumi.String("replyto@example.com"), +// SenderAddress: pulumi.String("sender@example.com"), +// SenderName: pulumi.String("no-reply"), +// Tls: pulumi.Bool(true), +// User: pulumi.String("user"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format `<[password]>`, e.g. +// terraform The resource can be imported using the ID format `<[password]>`, e.g. // // ```sh -// $ pulumi import zitadel:index/smtpConfig:SmtpConfig imported 'p4ssw0rd' +// +// $ pulumi import zitadel:index/smtpConfig:SmtpConfig imported 'p4ssw0rd' +// // ``` type SmtpConfig struct { pulumi.CustomResourceState @@ -55,6 +63,8 @@ type SmtpConfig struct { Host pulumi.StringOutput `pulumi:"host"` // Password used to communicate with your SMTP server. Password pulumi.StringPtrOutput `pulumi:"password"` + // Address to reply to. + ReplyToAddress pulumi.StringPtrOutput `pulumi:"replyToAddress"` // Address used to send emails. SenderAddress pulumi.StringOutput `pulumi:"senderAddress"` // Sender name used to send emails. @@ -81,7 +91,14 @@ func NewSmtpConfig(ctx *pulumi.Context, if args.SenderName == nil { return nil, errors.New("invalid value for required argument 'SenderName'") } - opts = pkgResourceDefaultOpts(opts) + if args.Password != nil { + args.Password = pulumi.ToSecret(args.Password).(pulumi.StringPtrInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "password", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource SmtpConfig err := ctx.RegisterResource("zitadel:index/smtpConfig:SmtpConfig", name, args, &resource, opts...) if err != nil { @@ -108,6 +125,8 @@ type smtpConfigState struct { Host *string `pulumi:"host"` // Password used to communicate with your SMTP server. Password *string `pulumi:"password"` + // Address to reply to. + ReplyToAddress *string `pulumi:"replyToAddress"` // Address used to send emails. SenderAddress *string `pulumi:"senderAddress"` // Sender name used to send emails. @@ -123,6 +142,8 @@ type SmtpConfigState struct { Host pulumi.StringPtrInput // Password used to communicate with your SMTP server. Password pulumi.StringPtrInput + // Address to reply to. + ReplyToAddress pulumi.StringPtrInput // Address used to send emails. SenderAddress pulumi.StringPtrInput // Sender name used to send emails. @@ -142,6 +163,8 @@ type smtpConfigArgs struct { Host string `pulumi:"host"` // Password used to communicate with your SMTP server. Password *string `pulumi:"password"` + // Address to reply to. + ReplyToAddress *string `pulumi:"replyToAddress"` // Address used to send emails. SenderAddress string `pulumi:"senderAddress"` // Sender name used to send emails. @@ -158,6 +181,8 @@ type SmtpConfigArgs struct { Host pulumi.StringInput // Password used to communicate with your SMTP server. Password pulumi.StringPtrInput + // Address to reply to. + ReplyToAddress pulumi.StringPtrInput // Address used to send emails. SenderAddress pulumi.StringInput // Sender name used to send emails. @@ -191,10 +216,16 @@ func (i *SmtpConfig) ToSmtpConfigOutputWithContext(ctx context.Context) SmtpConf return pulumi.ToOutputWithContext(ctx, i).(SmtpConfigOutput) } +func (i *SmtpConfig) ToOutput(ctx context.Context) pulumix.Output[*SmtpConfig] { + return pulumix.Output[*SmtpConfig]{ + OutputState: i.ToSmtpConfigOutputWithContext(ctx).OutputState, + } +} + // SmtpConfigArrayInput is an input type that accepts SmtpConfigArray and SmtpConfigArrayOutput values. // You can construct a concrete instance of `SmtpConfigArrayInput` via: // -// SmtpConfigArray{ SmtpConfigArgs{...} } +// SmtpConfigArray{ SmtpConfigArgs{...} } type SmtpConfigArrayInput interface { pulumi.Input @@ -216,10 +247,16 @@ func (i SmtpConfigArray) ToSmtpConfigArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SmtpConfigArrayOutput) } +func (i SmtpConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]*SmtpConfig] { + return pulumix.Output[[]*SmtpConfig]{ + OutputState: i.ToSmtpConfigArrayOutputWithContext(ctx).OutputState, + } +} + // SmtpConfigMapInput is an input type that accepts SmtpConfigMap and SmtpConfigMapOutput values. // You can construct a concrete instance of `SmtpConfigMapInput` via: // -// SmtpConfigMap{ "key": SmtpConfigArgs{...} } +// SmtpConfigMap{ "key": SmtpConfigArgs{...} } type SmtpConfigMapInput interface { pulumi.Input @@ -241,6 +278,12 @@ func (i SmtpConfigMap) ToSmtpConfigMapOutputWithContext(ctx context.Context) Smt return pulumi.ToOutputWithContext(ctx, i).(SmtpConfigMapOutput) } +func (i SmtpConfigMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SmtpConfig] { + return pulumix.Output[map[string]*SmtpConfig]{ + OutputState: i.ToSmtpConfigMapOutputWithContext(ctx).OutputState, + } +} + type SmtpConfigOutput struct{ *pulumi.OutputState } func (SmtpConfigOutput) ElementType() reflect.Type { @@ -255,6 +298,12 @@ func (o SmtpConfigOutput) ToSmtpConfigOutputWithContext(ctx context.Context) Smt return o } +func (o SmtpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*SmtpConfig] { + return pulumix.Output[*SmtpConfig]{ + OutputState: o.OutputState, + } +} + // Host and port address to your SMTP server. func (o SmtpConfigOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v *SmtpConfig) pulumi.StringOutput { return v.Host }).(pulumi.StringOutput) @@ -265,6 +314,11 @@ func (o SmtpConfigOutput) Password() pulumi.StringPtrOutput { return o.ApplyT(func(v *SmtpConfig) pulumi.StringPtrOutput { return v.Password }).(pulumi.StringPtrOutput) } +// Address to reply to. +func (o SmtpConfigOutput) ReplyToAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SmtpConfig) pulumi.StringPtrOutput { return v.ReplyToAddress }).(pulumi.StringPtrOutput) +} + // Address used to send emails. func (o SmtpConfigOutput) SenderAddress() pulumi.StringOutput { return o.ApplyT(func(v *SmtpConfig) pulumi.StringOutput { return v.SenderAddress }).(pulumi.StringOutput) @@ -299,6 +353,12 @@ func (o SmtpConfigArrayOutput) ToSmtpConfigArrayOutputWithContext(ctx context.Co return o } +func (o SmtpConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SmtpConfig] { + return pulumix.Output[[]*SmtpConfig]{ + OutputState: o.OutputState, + } +} + func (o SmtpConfigArrayOutput) Index(i pulumi.IntInput) SmtpConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SmtpConfig { return vs[0].([]*SmtpConfig)[vs[1].(int)] @@ -319,6 +379,12 @@ func (o SmtpConfigMapOutput) ToSmtpConfigMapOutputWithContext(ctx context.Contex return o } +func (o SmtpConfigMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SmtpConfig] { + return pulumix.Output[map[string]*SmtpConfig]{ + OutputState: o.OutputState, + } +} + func (o SmtpConfigMapOutput) MapIndex(k pulumi.StringInput) SmtpConfigOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SmtpConfig { return vs[0].(map[string]*SmtpConfig)[vs[1].(string)] diff --git a/sdk/go/zitadel/triggerActions.go b/sdk/go/zitadel/triggerActions.go index 4a22100..49b9d0b 100644 --- a/sdk/go/zitadel/triggerActions.go +++ b/sdk/go/zitadel/triggerActions.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing triggers, when actions get started @@ -19,34 +21,39 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewTriggerActions(ctx, "default", &zitadel.TriggerActionsArgs{ -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// FlowType: pulumi.String("FLOW_TYPE_CUSTOMISE_TOKEN"), -// TriggerType: pulumi.String("TRIGGER_TYPE_PRE_ACCESS_TOKEN_CREATION"), -// ActionIds: pulumi.StringArray{ -// pulumi.Any(data.Zitadel_action.Default.Id), -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewTriggerActions(ctx, "default", &zitadel.TriggerActionsArgs{ +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// FlowType: pulumi.String("FLOW_TYPE_CUSTOMISE_TOKEN"), +// TriggerType: pulumi.String("TRIGGER_TYPE_PRE_ACCESS_TOKEN_CREATION"), +// ActionIds: pulumi.StringArray{ +// data.Zitadel_action.Default.Id, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/triggerActions:TriggerActions imported 'FLOW_TYPE_EXTERNAL_AUTHENTICATION:TRIGGER_TYPE_POST_CREATION:123456789012345678' +// +// $ pulumi import zitadel:index/triggerActions:TriggerActions imported 'FLOW_TYPE_EXTERNAL_AUTHENTICATION:TRIGGER_TYPE_POST_CREATION:123456789012345678' +// // ``` type TriggerActions struct { pulumi.CustomResourceState @@ -77,7 +84,7 @@ func NewTriggerActions(ctx *pulumi.Context, if args.TriggerType == nil { return nil, errors.New("invalid value for required argument 'TriggerType'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource TriggerActions err := ctx.RegisterResource("zitadel:index/triggerActions:TriggerActions", name, args, &resource, opts...) if err != nil { @@ -171,10 +178,16 @@ func (i *TriggerActions) ToTriggerActionsOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TriggerActionsOutput) } +func (i *TriggerActions) ToOutput(ctx context.Context) pulumix.Output[*TriggerActions] { + return pulumix.Output[*TriggerActions]{ + OutputState: i.ToTriggerActionsOutputWithContext(ctx).OutputState, + } +} + // TriggerActionsArrayInput is an input type that accepts TriggerActionsArray and TriggerActionsArrayOutput values. // You can construct a concrete instance of `TriggerActionsArrayInput` via: // -// TriggerActionsArray{ TriggerActionsArgs{...} } +// TriggerActionsArray{ TriggerActionsArgs{...} } type TriggerActionsArrayInput interface { pulumi.Input @@ -196,10 +209,16 @@ func (i TriggerActionsArray) ToTriggerActionsArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(TriggerActionsArrayOutput) } +func (i TriggerActionsArray) ToOutput(ctx context.Context) pulumix.Output[[]*TriggerActions] { + return pulumix.Output[[]*TriggerActions]{ + OutputState: i.ToTriggerActionsArrayOutputWithContext(ctx).OutputState, + } +} + // TriggerActionsMapInput is an input type that accepts TriggerActionsMap and TriggerActionsMapOutput values. // You can construct a concrete instance of `TriggerActionsMapInput` via: // -// TriggerActionsMap{ "key": TriggerActionsArgs{...} } +// TriggerActionsMap{ "key": TriggerActionsArgs{...} } type TriggerActionsMapInput interface { pulumi.Input @@ -221,6 +240,12 @@ func (i TriggerActionsMap) ToTriggerActionsMapOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(TriggerActionsMapOutput) } +func (i TriggerActionsMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*TriggerActions] { + return pulumix.Output[map[string]*TriggerActions]{ + OutputState: i.ToTriggerActionsMapOutputWithContext(ctx).OutputState, + } +} + type TriggerActionsOutput struct{ *pulumi.OutputState } func (TriggerActionsOutput) ElementType() reflect.Type { @@ -235,6 +260,12 @@ func (o TriggerActionsOutput) ToTriggerActionsOutputWithContext(ctx context.Cont return o } +func (o TriggerActionsOutput) ToOutput(ctx context.Context) pulumix.Output[*TriggerActions] { + return pulumix.Output[*TriggerActions]{ + OutputState: o.OutputState, + } +} + // IDs of the triggered actions func (o TriggerActionsOutput) ActionIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *TriggerActions) pulumi.StringArrayOutput { return v.ActionIds }).(pulumi.StringArrayOutput) @@ -269,6 +300,12 @@ func (o TriggerActionsArrayOutput) ToTriggerActionsArrayOutputWithContext(ctx co return o } +func (o TriggerActionsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*TriggerActions] { + return pulumix.Output[[]*TriggerActions]{ + OutputState: o.OutputState, + } +} + func (o TriggerActionsArrayOutput) Index(i pulumi.IntInput) TriggerActionsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *TriggerActions { return vs[0].([]*TriggerActions)[vs[1].(int)] @@ -289,6 +326,12 @@ func (o TriggerActionsMapOutput) ToTriggerActionsMapOutputWithContext(ctx contex return o } +func (o TriggerActionsMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*TriggerActions] { + return pulumix.Output[map[string]*TriggerActions]{ + OutputState: o.OutputState, + } +} + func (o TriggerActionsMapOutput) MapIndex(k pulumi.StringInput) TriggerActionsOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *TriggerActions { return vs[0].(map[string]*TriggerActions)[vs[1].(string)] diff --git a/sdk/go/zitadel/userGrant.go b/sdk/go/zitadel/userGrant.go index bfbff81..a46cfdc 100644 --- a/sdk/go/zitadel/userGrant.go +++ b/sdk/go/zitadel/userGrant.go @@ -7,8 +7,10 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" + "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel/internal" ) // Resource representing the authorization given to a user directly, including the given roles. @@ -19,34 +21,39 @@ import ( // package main // // import ( -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel" +// // ) // -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := zitadel.NewUserGrant(ctx, "default", &zitadel.UserGrantArgs{ -// ProjectId: pulumi.Any(data.Zitadel_project.Default.Id), -// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), -// RoleKeys: pulumi.StringArray{ -// pulumi.String("super-user"), -// }, -// UserId: pulumi.Any(data.Zitadel_human_user.Default.Id), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := zitadel.NewUserGrant(ctx, "default", &zitadel.UserGrantArgs{ +// ProjectId: pulumi.Any(data.Zitadel_project.Default.Id), +// OrgId: pulumi.Any(data.Zitadel_org.Default.Id), +// RoleKeys: pulumi.StringArray{ +// pulumi.String("super-user"), +// }, +// UserId: pulumi.Any(data.Zitadel_human_user.Default.Id), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` // // ## Import // -// terraform # The resource can be imported using the ID format ``, e.g. +// terraform The resource can be imported using the ID format ``, e.g. // // ```sh -// $ pulumi import zitadel:index/userGrant:UserGrant imported '123456789012345678:123456789012345678:123456789012345678' +// +// $ pulumi import zitadel:index/userGrant:UserGrant imported '123456789012345678:123456789012345678:123456789012345678' +// // ``` type UserGrant struct { pulumi.CustomResourceState @@ -73,7 +80,7 @@ func NewUserGrant(ctx *pulumi.Context, if args.UserId == nil { return nil, errors.New("invalid value for required argument 'UserId'") } - opts = pkgResourceDefaultOpts(opts) + opts = internal.PkgResourceDefaultOpts(opts) var resource UserGrant err := ctx.RegisterResource("zitadel:index/userGrant:UserGrant", name, args, &resource, opts...) if err != nil { @@ -175,10 +182,16 @@ func (i *UserGrant) ToUserGrantOutputWithContext(ctx context.Context) UserGrantO return pulumi.ToOutputWithContext(ctx, i).(UserGrantOutput) } +func (i *UserGrant) ToOutput(ctx context.Context) pulumix.Output[*UserGrant] { + return pulumix.Output[*UserGrant]{ + OutputState: i.ToUserGrantOutputWithContext(ctx).OutputState, + } +} + // UserGrantArrayInput is an input type that accepts UserGrantArray and UserGrantArrayOutput values. // You can construct a concrete instance of `UserGrantArrayInput` via: // -// UserGrantArray{ UserGrantArgs{...} } +// UserGrantArray{ UserGrantArgs{...} } type UserGrantArrayInput interface { pulumi.Input @@ -200,10 +213,16 @@ func (i UserGrantArray) ToUserGrantArrayOutputWithContext(ctx context.Context) U return pulumi.ToOutputWithContext(ctx, i).(UserGrantArrayOutput) } +func (i UserGrantArray) ToOutput(ctx context.Context) pulumix.Output[[]*UserGrant] { + return pulumix.Output[[]*UserGrant]{ + OutputState: i.ToUserGrantArrayOutputWithContext(ctx).OutputState, + } +} + // UserGrantMapInput is an input type that accepts UserGrantMap and UserGrantMapOutput values. // You can construct a concrete instance of `UserGrantMapInput` via: // -// UserGrantMap{ "key": UserGrantArgs{...} } +// UserGrantMap{ "key": UserGrantArgs{...} } type UserGrantMapInput interface { pulumi.Input @@ -225,6 +244,12 @@ func (i UserGrantMap) ToUserGrantMapOutputWithContext(ctx context.Context) UserG return pulumi.ToOutputWithContext(ctx, i).(UserGrantMapOutput) } +func (i UserGrantMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*UserGrant] { + return pulumix.Output[map[string]*UserGrant]{ + OutputState: i.ToUserGrantMapOutputWithContext(ctx).OutputState, + } +} + type UserGrantOutput struct{ *pulumi.OutputState } func (UserGrantOutput) ElementType() reflect.Type { @@ -239,6 +264,12 @@ func (o UserGrantOutput) ToUserGrantOutputWithContext(ctx context.Context) UserG return o } +func (o UserGrantOutput) ToOutput(ctx context.Context) pulumix.Output[*UserGrant] { + return pulumix.Output[*UserGrant]{ + OutputState: o.OutputState, + } +} + // ID of the organization func (o UserGrantOutput) OrgId() pulumi.StringPtrOutput { return o.ApplyT(func(v *UserGrant) pulumi.StringPtrOutput { return v.OrgId }).(pulumi.StringPtrOutput) @@ -278,6 +309,12 @@ func (o UserGrantArrayOutput) ToUserGrantArrayOutputWithContext(ctx context.Cont return o } +func (o UserGrantArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*UserGrant] { + return pulumix.Output[[]*UserGrant]{ + OutputState: o.OutputState, + } +} + func (o UserGrantArrayOutput) Index(i pulumi.IntInput) UserGrantOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *UserGrant { return vs[0].([]*UserGrant)[vs[1].(int)] @@ -298,6 +335,12 @@ func (o UserGrantMapOutput) ToUserGrantMapOutputWithContext(ctx context.Context) return o } +func (o UserGrantMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*UserGrant] { + return pulumix.Output[map[string]*UserGrant]{ + OutputState: o.OutputState, + } +} + func (o UserGrantMapOutput) MapIndex(k pulumi.StringInput) UserGrantOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *UserGrant { return vs[0].(map[string]*UserGrant)[vs[1].(string)] diff --git a/sdk/nodejs/action.ts b/sdk/nodejs/action.ts index cd38457..616223a 100644 --- a/sdk/nodejs/action.ts +++ b/sdk/nodejs/action.ts @@ -23,7 +23,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/action:Action imported '123456789012345678:123456789012345678' diff --git a/sdk/nodejs/applicationApi.ts b/sdk/nodejs/applicationApi.ts index b0602aa..3dae60b 100644 --- a/sdk/nodejs/applicationApi.ts +++ b/sdk/nodejs/applicationApi.ts @@ -22,7 +22,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/applicationApi:ApplicationApi imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df' @@ -113,6 +113,8 @@ export class ApplicationApi extends pulumi.CustomResource { resourceInputs["clientSecret"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clientId", "clientSecret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(ApplicationApi.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/applicationKey.ts b/sdk/nodejs/applicationKey.ts index 2afb01a..575aaa4 100644 --- a/sdk/nodejs/applicationKey.ts +++ b/sdk/nodejs/applicationKey.ts @@ -24,7 +24,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``. # You can use __SEMICOLON__ to escape :, e.g. + * terraform The resource can be imported using the ID format ``. You can use __SEMICOLON__ to escape :, e.g. * * ```sh * $ pulumi import zitadel:index/applicationKey:ApplicationKey imported "123456789012345678:123456789012345678:123456789012345678:123456789012345678:$(cat ~/Downloads/123456789012345678.json | sed -e 's/:/__SEMICOLON__/g')" @@ -124,6 +124,8 @@ export class ApplicationKey extends pulumi.CustomResource { resourceInputs["keyDetails"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["keyDetails"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(ApplicationKey.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/applicationOidc.ts b/sdk/nodejs/applicationOidc.ts index ca1d4b8..26280ce 100644 --- a/sdk/nodejs/applicationOidc.ts +++ b/sdk/nodejs/applicationOidc.ts @@ -35,7 +35,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/applicationOidc:ApplicationOidc imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df' @@ -213,6 +213,8 @@ export class ApplicationOidc extends pulumi.CustomResource { resourceInputs["clientSecret"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clientId", "clientSecret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(ApplicationOidc.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/defaultDomainPolicy.ts b/sdk/nodejs/defaultDomainPolicy.ts index 950ddd9..9904c5b 100644 --- a/sdk/nodejs/defaultDomainPolicy.ts +++ b/sdk/nodejs/defaultDomainPolicy.ts @@ -11,9 +11,9 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as zitadel from "@pulumi/zitadel"; + * import * as zitadel from "@pulumiverse/zitadel"; * - * const defaultDefaultDomainPolicy = new zitadel.DefaultDomainPolicy("default", { + * const _default = new zitadel.DefaultDomainPolicy("default", { * smtpSenderAddressMatchesInstanceDomain: true, * userLoginMustBeDomain: false, * validateOrgDomains: true, @@ -22,7 +22,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format `<>`, e.g. + * terraform The resource can be imported using the ID format `<>`, e.g. * * ```sh * $ pulumi import zitadel:index/defaultDomainPolicy:DefaultDomainPolicy imported '' diff --git a/sdk/nodejs/defaultLabelPolicy.ts b/sdk/nodejs/defaultLabelPolicy.ts index eed2e1a..8bf4a47 100644 --- a/sdk/nodejs/defaultLabelPolicy.ts +++ b/sdk/nodejs/defaultLabelPolicy.ts @@ -9,7 +9,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format `<>`, e.g. + * terraform The resource can be imported using the ID format `<>`, e.g. * * ```sh * $ pulumi import zitadel:index/defaultLabelPolicy:DefaultLabelPolicy imported '' diff --git a/sdk/nodejs/defaultLockoutPolicy.ts b/sdk/nodejs/defaultLockoutPolicy.ts index c43d08b..05210ab 100644 --- a/sdk/nodejs/defaultLockoutPolicy.ts +++ b/sdk/nodejs/defaultLockoutPolicy.ts @@ -11,16 +11,14 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as zitadel from "@pulumi/zitadel"; + * import * as zitadel from "@pulumiverse/zitadel"; * - * const defaultDefaultLockoutPolicy = new zitadel.DefaultLockoutPolicy("default", { - * maxPasswordAttempts: 5, - * }); + * const _default = new zitadel.DefaultLockoutPolicy("default", {maxPasswordAttempts: 5}); * ``` * * ## Import * - * terraform # The resource can be imported using the ID format `<>`, e.g. + * terraform The resource can be imported using the ID format `<>`, e.g. * * ```sh * $ pulumi import zitadel:index/defaultLockoutPolicy:DefaultLockoutPolicy imported '' diff --git a/sdk/nodejs/defaultLoginPolicy.ts b/sdk/nodejs/defaultLoginPolicy.ts index fa74b01..a5f2e62 100644 --- a/sdk/nodejs/defaultLoginPolicy.ts +++ b/sdk/nodejs/defaultLoginPolicy.ts @@ -45,7 +45,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format `<>`, e.g. + * terraform The resource can be imported using the ID format `<>`, e.g. * * ```sh * $ pulumi import zitadel:index/defaultLoginPolicy:DefaultLoginPolicy imported '' diff --git a/sdk/nodejs/defaultNotificationPolicy.ts b/sdk/nodejs/defaultNotificationPolicy.ts index e0bb798..12cf86b 100644 --- a/sdk/nodejs/defaultNotificationPolicy.ts +++ b/sdk/nodejs/defaultNotificationPolicy.ts @@ -11,16 +11,14 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as zitadel from "@pulumi/zitadel"; + * import * as zitadel from "@pulumiverse/zitadel"; * - * const defaultDefaultNotificationPolicy = new zitadel.DefaultNotificationPolicy("default", { - * passwordChange: false, - * }); + * const _default = new zitadel.DefaultNotificationPolicy("default", {passwordChange: false}); * ``` * * ## Import * - * terraform # The resource can be imported using the ID format `<>`, e.g. + * terraform The resource can be imported using the ID format `<>`, e.g. * * ```sh * $ pulumi import zitadel:index/defaultNotificationPolicy:DefaultNotificationPolicy imported '' diff --git a/sdk/nodejs/defaultOidcSettings.ts b/sdk/nodejs/defaultOidcSettings.ts new file mode 100644 index 0000000..fb113aa --- /dev/null +++ b/sdk/nodejs/defaultOidcSettings.ts @@ -0,0 +1,152 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * Resource representing the default oidc settings. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumiverse/zitadel"; + * + * const _default = new zitadel.DefaultOidcSettings("default", { + * accessTokenLifetime: "12h0m0s", + * idTokenLifetime: "12h0m0s", + * refreshTokenExpiration: "720h0m0s", + * refreshTokenIdleExpiration: "2160h0m0s", + * }); + * ``` + */ +export class DefaultOidcSettings extends pulumi.CustomResource { + /** + * Get an existing DefaultOidcSettings resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: DefaultOidcSettingsState, opts?: pulumi.CustomResourceOptions): DefaultOidcSettings { + return new DefaultOidcSettings(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'zitadel:index/defaultOidcSettings:DefaultOidcSettings'; + + /** + * Returns true if the given object is an instance of DefaultOidcSettings. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is DefaultOidcSettings { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === DefaultOidcSettings.__pulumiType; + } + + /** + * lifetime duration of access tokens + */ + public readonly accessTokenLifetime!: pulumi.Output; + /** + * lifetime duration of id tokens + */ + public readonly idTokenLifetime!: pulumi.Output; + /** + * expiration duration of refresh tokens + */ + public readonly refreshTokenExpiration!: pulumi.Output; + /** + * expiration duration of idle refresh tokens + */ + public readonly refreshTokenIdleExpiration!: pulumi.Output; + + /** + * Create a DefaultOidcSettings resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: DefaultOidcSettingsArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: DefaultOidcSettingsArgs | DefaultOidcSettingsState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as DefaultOidcSettingsState | undefined; + resourceInputs["accessTokenLifetime"] = state ? state.accessTokenLifetime : undefined; + resourceInputs["idTokenLifetime"] = state ? state.idTokenLifetime : undefined; + resourceInputs["refreshTokenExpiration"] = state ? state.refreshTokenExpiration : undefined; + resourceInputs["refreshTokenIdleExpiration"] = state ? state.refreshTokenIdleExpiration : undefined; + } else { + const args = argsOrState as DefaultOidcSettingsArgs | undefined; + if ((!args || args.accessTokenLifetime === undefined) && !opts.urn) { + throw new Error("Missing required property 'accessTokenLifetime'"); + } + if ((!args || args.idTokenLifetime === undefined) && !opts.urn) { + throw new Error("Missing required property 'idTokenLifetime'"); + } + if ((!args || args.refreshTokenExpiration === undefined) && !opts.urn) { + throw new Error("Missing required property 'refreshTokenExpiration'"); + } + if ((!args || args.refreshTokenIdleExpiration === undefined) && !opts.urn) { + throw new Error("Missing required property 'refreshTokenIdleExpiration'"); + } + resourceInputs["accessTokenLifetime"] = args ? args.accessTokenLifetime : undefined; + resourceInputs["idTokenLifetime"] = args ? args.idTokenLifetime : undefined; + resourceInputs["refreshTokenExpiration"] = args ? args.refreshTokenExpiration : undefined; + resourceInputs["refreshTokenIdleExpiration"] = args ? args.refreshTokenIdleExpiration : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(DefaultOidcSettings.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering DefaultOidcSettings resources. + */ +export interface DefaultOidcSettingsState { + /** + * lifetime duration of access tokens + */ + accessTokenLifetime?: pulumi.Input; + /** + * lifetime duration of id tokens + */ + idTokenLifetime?: pulumi.Input; + /** + * expiration duration of refresh tokens + */ + refreshTokenExpiration?: pulumi.Input; + /** + * expiration duration of idle refresh tokens + */ + refreshTokenIdleExpiration?: pulumi.Input; +} + +/** + * The set of arguments for constructing a DefaultOidcSettings resource. + */ +export interface DefaultOidcSettingsArgs { + /** + * lifetime duration of access tokens + */ + accessTokenLifetime: pulumi.Input; + /** + * lifetime duration of id tokens + */ + idTokenLifetime: pulumi.Input; + /** + * expiration duration of refresh tokens + */ + refreshTokenExpiration: pulumi.Input; + /** + * expiration duration of idle refresh tokens + */ + refreshTokenIdleExpiration: pulumi.Input; +} diff --git a/sdk/nodejs/defaultPasswordComplexityPolicy.ts b/sdk/nodejs/defaultPasswordComplexityPolicy.ts index a51ffaa..528c0b2 100644 --- a/sdk/nodejs/defaultPasswordComplexityPolicy.ts +++ b/sdk/nodejs/defaultPasswordComplexityPolicy.ts @@ -11,9 +11,9 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as zitadel from "@pulumi/zitadel"; + * import * as zitadel from "@pulumiverse/zitadel"; * - * const defaultDefaultPasswordComplexityPolicy = new zitadel.DefaultPasswordComplexityPolicy("default", { + * const _default = new zitadel.DefaultPasswordComplexityPolicy("default", { * hasLowercase: true, * hasNumber: true, * hasSymbol: true, @@ -24,7 +24,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format `<>`, e.g. + * terraform The resource can be imported using the ID format `<>`, e.g. * * ```sh * $ pulumi import zitadel:index/defaultPasswordComplexityPolicy:DefaultPasswordComplexityPolicy imported '' diff --git a/sdk/nodejs/defaultPrivacyPolicy.ts b/sdk/nodejs/defaultPrivacyPolicy.ts index 641022a..860d2ea 100644 --- a/sdk/nodejs/defaultPrivacyPolicy.ts +++ b/sdk/nodejs/defaultPrivacyPolicy.ts @@ -11,9 +11,9 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as zitadel from "@pulumi/zitadel"; + * import * as zitadel from "@pulumiverse/zitadel"; * - * const defaultDefaultPrivacyPolicy = new zitadel.DefaultPrivacyPolicy("default", { + * const _default = new zitadel.DefaultPrivacyPolicy("default", { * helpLink: "https://example.com/help", * privacyLink: "https://example.com/privacy", * supportEmail: "support@example.com", @@ -23,7 +23,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format `<>`, e.g. + * terraform The resource can be imported using the ID format `<>`, e.g. * * ```sh * $ pulumi import zitadel:index/defaultPrivacyPolicy:DefaultPrivacyPolicy imported '' @@ -57,10 +57,10 @@ export class DefaultPrivacyPolicy extends pulumi.CustomResource { return obj['__pulumiType'] === DefaultPrivacyPolicy.__pulumiType; } - public readonly helpLink!: pulumi.Output; - public readonly privacyLink!: pulumi.Output; - public readonly supportEmail!: pulumi.Output; - public readonly tosLink!: pulumi.Output; + public readonly helpLink!: pulumi.Output; + public readonly privacyLink!: pulumi.Output; + public readonly supportEmail!: pulumi.Output; + public readonly tosLink!: pulumi.Output; /** * Create a DefaultPrivacyPolicy resource with the given unique name, arguments, and options. @@ -69,7 +69,7 @@ export class DefaultPrivacyPolicy extends pulumi.CustomResource { * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ - constructor(name: string, args: DefaultPrivacyPolicyArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, args?: DefaultPrivacyPolicyArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: DefaultPrivacyPolicyArgs | DefaultPrivacyPolicyState, opts?: pulumi.CustomResourceOptions) { let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; @@ -81,18 +81,6 @@ export class DefaultPrivacyPolicy extends pulumi.CustomResource { resourceInputs["tosLink"] = state ? state.tosLink : undefined; } else { const args = argsOrState as DefaultPrivacyPolicyArgs | undefined; - if ((!args || args.helpLink === undefined) && !opts.urn) { - throw new Error("Missing required property 'helpLink'"); - } - if ((!args || args.privacyLink === undefined) && !opts.urn) { - throw new Error("Missing required property 'privacyLink'"); - } - if ((!args || args.supportEmail === undefined) && !opts.urn) { - throw new Error("Missing required property 'supportEmail'"); - } - if ((!args || args.tosLink === undefined) && !opts.urn) { - throw new Error("Missing required property 'tosLink'"); - } resourceInputs["helpLink"] = args ? args.helpLink : undefined; resourceInputs["privacyLink"] = args ? args.privacyLink : undefined; resourceInputs["supportEmail"] = args ? args.supportEmail : undefined; @@ -117,8 +105,8 @@ export interface DefaultPrivacyPolicyState { * The set of arguments for constructing a DefaultPrivacyPolicy resource. */ export interface DefaultPrivacyPolicyArgs { - helpLink: pulumi.Input; - privacyLink: pulumi.Input; - supportEmail: pulumi.Input; - tosLink: pulumi.Input; + helpLink?: pulumi.Input; + privacyLink?: pulumi.Input; + supportEmail?: pulumi.Input; + tosLink?: pulumi.Input; } diff --git a/sdk/nodejs/domain.ts b/sdk/nodejs/domain.ts index 214a6c2..9a1a7e5 100644 --- a/sdk/nodejs/domain.ts +++ b/sdk/nodejs/domain.ts @@ -21,7 +21,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format `name[:org_id]`, e.g. + * terraform The resource can be imported using the ID format `name[:org_id]`, e.g. * * ```sh * $ pulumi import zitadel:index/domain:Domain imported 'example.com:123456789012345678' diff --git a/sdk/nodejs/domainPolicy.ts b/sdk/nodejs/domainPolicy.ts index cb2bafd..e225097 100644 --- a/sdk/nodejs/domainPolicy.ts +++ b/sdk/nodejs/domainPolicy.ts @@ -23,7 +23,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + * terraform The resource can be imported using the ID format `<[org_id]>`, e.g. * * ```sh * $ pulumi import zitadel:index/domainPolicy:DomainPolicy imported '123456789012345678' diff --git a/sdk/nodejs/getAction.ts b/sdk/nodejs/getAction.ts index 3c4292c..069742e 100644 --- a/sdk/nodejs/getAction.ts +++ b/sdk/nodejs/getAction.ts @@ -21,11 +21,8 @@ import * as utilities from "./utilities"; * ``` */ export function getAction(args: GetActionArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getAction:getAction", { "actionId": args.actionId, "orgId": args.orgId, @@ -77,9 +74,24 @@ export interface GetActionResult { */ readonly timeout: string; } - +/** + * Datasource representing an action belonging to an organization. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getAction({ + * orgId: data.zitadel_org["default"].id, + * actionId: "123456789012345678", + * }); + * export const action = _default; + * ``` + */ export function getActionOutput(args: GetActionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getAction(a, opts)) + return pulumi.output(args).apply((a: any) => getAction(a, opts)) } /** diff --git a/sdk/nodejs/getApplicationApi.ts b/sdk/nodejs/getApplicationApi.ts index dbba5f6..726c420 100644 --- a/sdk/nodejs/getApplicationApi.ts +++ b/sdk/nodejs/getApplicationApi.ts @@ -22,11 +22,8 @@ import * as utilities from "./utilities"; * ``` */ export function getApplicationApi(args: GetApplicationApiArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getApplicationApi:getApplicationApi", { "appId": args.appId, "orgId": args.orgId, @@ -81,9 +78,25 @@ export interface GetApplicationApiResult { */ readonly projectId: string; } - +/** + * Datasource representing an API application belonging to a project, with all configuration possibilities. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getApplicationApi({ + * orgId: data.zitadel_org["default"].id, + * projectId: data.zitadel_project["default"].id, + * appId: "123456789012345678", + * }); + * export const applicationApi = _default; + * ``` + */ export function getApplicationApiOutput(args: GetApplicationApiOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getApplicationApi(a, opts)) + return pulumi.output(args).apply((a: any) => getApplicationApi(a, opts)) } /** diff --git a/sdk/nodejs/getApplicationOidc.ts b/sdk/nodejs/getApplicationOidc.ts index 214f177..eb686dc 100644 --- a/sdk/nodejs/getApplicationOidc.ts +++ b/sdk/nodejs/getApplicationOidc.ts @@ -22,11 +22,8 @@ import * as utilities from "./utilities"; * ``` */ export function getApplicationOidc(args: GetApplicationOidcArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getApplicationOidc:getApplicationOidc", { "appId": args.appId, "orgId": args.orgId, @@ -133,9 +130,25 @@ export interface GetApplicationOidcResult { */ readonly version: string; } - +/** + * Datasource representing an OIDC application belonging to a project, with all configuration possibilities. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getApplicationOidc({ + * orgId: data.zitadel_org["default"].id, + * projectId: data.zitadel_project["default"].id, + * appId: "123456789012345678", + * }); + * export const applicationOidc = _default; + * ``` + */ export function getApplicationOidcOutput(args: GetApplicationOidcOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getApplicationOidc(a, opts)) + return pulumi.output(args).apply((a: any) => getApplicationOidc(a, opts)) } /** diff --git a/sdk/nodejs/getDefaultOidcSettings.ts b/sdk/nodejs/getDefaultOidcSettings.ts new file mode 100644 index 0000000..33ed702 --- /dev/null +++ b/sdk/nodejs/getDefaultOidcSettings.ts @@ -0,0 +1,67 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * Datasource representing the default oidc settings. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getDefaultOidcSettings({}); + * export const oidcSettings = _default; + * ``` + */ +export function getDefaultOidcSettings(opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("zitadel:index/getDefaultOidcSettings:getDefaultOidcSettings", { + }, opts); +} + +/** + * A collection of values returned by getDefaultOidcSettings. + */ +export interface GetDefaultOidcSettingsResult { + /** + * lifetime duration of access tokens + */ + readonly accessTokenLifetime: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * lifetime duration of id tokens + */ + readonly idTokenLifetime: string; + /** + * expiration duration of refresh tokens + */ + readonly refreshTokenExpiration: string; + /** + * expiration duration of idle refresh tokens + */ + readonly refreshTokenIdleExpiration: string; +} +/** + * Datasource representing the default oidc settings. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getDefaultOidcSettings({}); + * export const oidcSettings = _default; + * ``` + */ +export function getDefaultOidcSettingsOutput(opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(getDefaultOidcSettings(opts)) +} diff --git a/sdk/nodejs/getHumanUser.ts b/sdk/nodejs/getHumanUser.ts index 7a002fd..0fd735c 100644 --- a/sdk/nodejs/getHumanUser.ts +++ b/sdk/nodejs/getHumanUser.ts @@ -21,11 +21,8 @@ import * as utilities from "./utilities"; * ``` */ export function getHumanUser(args: GetHumanUserArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getHumanUser:getHumanUser", { "orgId": args.orgId, "userId": args.userId, @@ -119,9 +116,24 @@ export interface GetHumanUserResult { */ readonly userName: string; } - +/** + * Datasource representing a human user situated under an organization, which then can be authorized through memberships or direct grants on other resources. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getHumanUser({ + * orgId: data.zitadel_org["default"].id, + * userId: "123456789012345678", + * }); + * export const humanUser = _default; + * ``` + */ export function getHumanUserOutput(args: GetHumanUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getHumanUser(a, opts)) + return pulumi.output(args).apply((a: any) => getHumanUser(a, opts)) } /** diff --git a/sdk/nodejs/getIdpAzureAd.ts b/sdk/nodejs/getIdpAzureAd.ts index e18d869..bc19382 100644 --- a/sdk/nodejs/getIdpAzureAd.ts +++ b/sdk/nodejs/getIdpAzureAd.ts @@ -13,17 +13,14 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as zitadel from "@pulumi/zitadel"; * - * const defaultIdpAzureAd = pulumi.output(zitadel.getIdpAzureAd({ + * const default = zitadel.getIdpAzureAd({ * id: "123456789012345678", - * })); + * }); * ``` */ export function getIdpAzureAd(args: GetIdpAzureAdArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getIdpAzureAd:getIdpAzureAd", { "id": args.id, }, opts); @@ -92,9 +89,22 @@ export interface GetIdpAzureAdResult { */ readonly tenantType: string; } - +/** + * Datasource representing an Azure AD IDP on the instance. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getIdpAzureAd({ + * id: "123456789012345678", + * }); + * ``` + */ export function getIdpAzureAdOutput(args: GetIdpAzureAdOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getIdpAzureAd(a, opts)) + return pulumi.output(args).apply((a: any) => getIdpAzureAd(a, opts)) } /** diff --git a/sdk/nodejs/getIdpGithub.ts b/sdk/nodejs/getIdpGithub.ts index 60bda4f..7beb202 100644 --- a/sdk/nodejs/getIdpGithub.ts +++ b/sdk/nodejs/getIdpGithub.ts @@ -13,17 +13,14 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as zitadel from "@pulumi/zitadel"; * - * const defaultIdpGithub = pulumi.output(zitadel.getIdpGithub({ + * const default = zitadel.getIdpGithub({ * id: "123456789012345678", - * })); + * }); * ``` */ export function getIdpGithub(args: GetIdpGithubArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getIdpGithub:getIdpGithub", { "id": args.id, }, opts); @@ -80,9 +77,22 @@ export interface GetIdpGithubResult { */ readonly scopes: string[]; } - +/** + * Datasource representing a GitHub IDP on the instance. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getIdpGithub({ + * id: "123456789012345678", + * }); + * ``` + */ export function getIdpGithubOutput(args: GetIdpGithubOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getIdpGithub(a, opts)) + return pulumi.output(args).apply((a: any) => getIdpGithub(a, opts)) } /** diff --git a/sdk/nodejs/getIdpGithubEs.ts b/sdk/nodejs/getIdpGithubEs.ts index 6f083a1..da16737 100644 --- a/sdk/nodejs/getIdpGithubEs.ts +++ b/sdk/nodejs/getIdpGithubEs.ts @@ -13,17 +13,14 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as zitadel from "@pulumi/zitadel"; * - * const defaultIdpGithubEs = pulumi.output(zitadel.getIdpGithubEs({ + * const default = zitadel.getIdpGithubEs({ * id: "123456789012345678", - * })); + * }); * ``` */ export function getIdpGithubEs(args: GetIdpGithubEsArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getIdpGithubEs:getIdpGithubEs", { "id": args.id, }, opts); @@ -92,9 +89,22 @@ export interface GetIdpGithubEsResult { */ readonly userEndpoint: string; } - +/** + * Datasource representing a GitHub Enterprise IDP on the instance. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getIdpGithubEs({ + * id: "123456789012345678", + * }); + * ``` + */ export function getIdpGithubEsOutput(args: GetIdpGithubEsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getIdpGithubEs(a, opts)) + return pulumi.output(args).apply((a: any) => getIdpGithubEs(a, opts)) } /** diff --git a/sdk/nodejs/getIdpGitlab.ts b/sdk/nodejs/getIdpGitlab.ts index ed20cc7..2926ef8 100644 --- a/sdk/nodejs/getIdpGitlab.ts +++ b/sdk/nodejs/getIdpGitlab.ts @@ -13,17 +13,14 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as zitadel from "@pulumi/zitadel"; * - * const defaultIdpGitlab = pulumi.output(zitadel.getIdpGitlab({ + * const default = zitadel.getIdpGitlab({ * id: "123456789012345678", - * })); + * }); * ``` */ export function getIdpGitlab(args: GetIdpGitlabArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getIdpGitlab:getIdpGitlab", { "id": args.id, }, opts); @@ -80,9 +77,22 @@ export interface GetIdpGitlabResult { */ readonly scopes: string[]; } - +/** + * Datasource representing a GitLab IDP on the instance. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getIdpGitlab({ + * id: "123456789012345678", + * }); + * ``` + */ export function getIdpGitlabOutput(args: GetIdpGitlabOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getIdpGitlab(a, opts)) + return pulumi.output(args).apply((a: any) => getIdpGitlab(a, opts)) } /** diff --git a/sdk/nodejs/getIdpGitlabSelfHosted.ts b/sdk/nodejs/getIdpGitlabSelfHosted.ts index 7d1d403..8b1e80b 100644 --- a/sdk/nodejs/getIdpGitlabSelfHosted.ts +++ b/sdk/nodejs/getIdpGitlabSelfHosted.ts @@ -13,17 +13,14 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as zitadel from "@pulumi/zitadel"; * - * const defaultIdpGitlabSelfHosted = pulumi.output(zitadel.getIdpGitlabSelfHosted({ + * const default = zitadel.getIdpGitlabSelfHosted({ * id: "123456789012345678", - * })); + * }); * ``` */ export function getIdpGitlabSelfHosted(args: GetIdpGitlabSelfHostedArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getIdpGitlabSelfHosted:getIdpGitlabSelfHosted", { "id": args.id, }, opts); @@ -84,9 +81,22 @@ export interface GetIdpGitlabSelfHostedResult { */ readonly scopes: string[]; } - +/** + * Datasource representing a GitLab Self Hosted IDP on the instance. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getIdpGitlabSelfHosted({ + * id: "123456789012345678", + * }); + * ``` + */ export function getIdpGitlabSelfHostedOutput(args: GetIdpGitlabSelfHostedOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getIdpGitlabSelfHosted(a, opts)) + return pulumi.output(args).apply((a: any) => getIdpGitlabSelfHosted(a, opts)) } /** diff --git a/sdk/nodejs/getIdpGoogle.ts b/sdk/nodejs/getIdpGoogle.ts index 1be146d..b1dd691 100644 --- a/sdk/nodejs/getIdpGoogle.ts +++ b/sdk/nodejs/getIdpGoogle.ts @@ -13,17 +13,14 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as zitadel from "@pulumi/zitadel"; * - * const defaultIdpGoogle = pulumi.output(zitadel.getIdpGoogle({ + * const default = zitadel.getIdpGoogle({ * id: "123456789012345678", - * })); + * }); * ``` */ export function getIdpGoogle(args: GetIdpGoogleArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getIdpGoogle:getIdpGoogle", { "id": args.id, }, opts); @@ -80,9 +77,22 @@ export interface GetIdpGoogleResult { */ readonly scopes: string[]; } - +/** + * Datasource representing a Google IDP on the instance. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getIdpGoogle({ + * id: "123456789012345678", + * }); + * ``` + */ export function getIdpGoogleOutput(args: GetIdpGoogleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getIdpGoogle(a, opts)) + return pulumi.output(args).apply((a: any) => getIdpGoogle(a, opts)) } /** diff --git a/sdk/nodejs/getIdpLdap.ts b/sdk/nodejs/getIdpLdap.ts index 7fee1a0..901546e 100644 --- a/sdk/nodejs/getIdpLdap.ts +++ b/sdk/nodejs/getIdpLdap.ts @@ -13,17 +13,14 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as zitadel from "@pulumi/zitadel"; * - * const defaultIdpLdap = pulumi.output(zitadel.getIdpLdap({ + * const default = zitadel.getIdpLdap({ * id: "123456789012345678", - * })); + * }); * ``` */ export function getIdpLdap(args: GetIdpLdapArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getIdpLdap:getIdpLdap", { "id": args.id, }, opts); @@ -156,9 +153,22 @@ export interface GetIdpLdapResult { */ readonly userObjectClasses: string[]; } - +/** + * Datasource representing an LDAP IDP on the instance. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getIdpLdap({ + * id: "123456789012345678", + * }); + * ``` + */ export function getIdpLdapOutput(args: GetIdpLdapOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getIdpLdap(a, opts)) + return pulumi.output(args).apply((a: any) => getIdpLdap(a, opts)) } /** diff --git a/sdk/nodejs/getMachineUser.ts b/sdk/nodejs/getMachineUser.ts index 4669a99..8e22631 100644 --- a/sdk/nodejs/getMachineUser.ts +++ b/sdk/nodejs/getMachineUser.ts @@ -21,11 +21,8 @@ import * as utilities from "./utilities"; * ``` */ export function getMachineUser(args: GetMachineUserArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getMachineUser:getMachineUser", { "orgId": args.orgId, "userId": args.userId, @@ -91,9 +88,24 @@ export interface GetMachineUserResult { */ readonly userName: string; } - +/** + * Datasource representing a serviceaccount situated under an organization, which then can be authorized through memberships or direct grants on other resources. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getMachineUser({ + * orgId: data.zitadel_org["default"].id, + * userId: "123456789012345678", + * }); + * export const machineUser = _default; + * ``` + */ export function getMachineUserOutput(args: GetMachineUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getMachineUser(a, opts)) + return pulumi.output(args).apply((a: any) => getMachineUser(a, opts)) } /** diff --git a/sdk/nodejs/getOrg.ts b/sdk/nodejs/getOrg.ts index 1de2e26..cdd4ffe 100644 --- a/sdk/nodejs/getOrg.ts +++ b/sdk/nodejs/getOrg.ts @@ -20,11 +20,8 @@ import * as utilities from "./utilities"; * ``` */ export function getOrg(args: GetOrgArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getOrg:getOrg", { "id": args.id, }, opts); @@ -48,6 +45,10 @@ export interface GetOrgResult { * ID of the organization */ readonly id: string; + /** + * Indicates whether the org is the default org of the instance. + */ + readonly isDefault: boolean; /** * Name of the org. */ @@ -61,9 +62,23 @@ export interface GetOrgResult { */ readonly state: string; } - +/** + * Datasource representing an organization in ZITADEL, which is the highest level after the instance and contains several other resource including policies if the configuration differs to the default policies on the instance. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getOrg({ + * id: "123456789012345678", + * }); + * export const org = _default; + * ``` + */ export function getOrgOutput(args: GetOrgOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getOrg(a, opts)) + return pulumi.output(args).apply((a: any) => getOrg(a, opts)) } /** diff --git a/sdk/nodejs/getOrgIdpAzureAd.ts b/sdk/nodejs/getOrgIdpAzureAd.ts index 2b32ee3..0b68f1a 100644 --- a/sdk/nodejs/getOrgIdpAzureAd.ts +++ b/sdk/nodejs/getOrgIdpAzureAd.ts @@ -20,11 +20,8 @@ import * as utilities from "./utilities"; * ``` */ export function getOrgIdpAzureAd(args: GetOrgIdpAzureAdArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getOrgIdpAzureAd:getOrgIdpAzureAd", { "id": args.id, "orgId": args.orgId, @@ -102,9 +99,23 @@ export interface GetOrgIdpAzureAdResult { */ readonly tenantType: string; } - +/** + * Datasource representing an Azure AD IdP of the organization. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getOrgIdpAzureAd({ + * orgId: data.zitadel_org["default"].id, + * id: "123456789012345678", + * }); + * ``` + */ export function getOrgIdpAzureAdOutput(args: GetOrgIdpAzureAdOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getOrgIdpAzureAd(a, opts)) + return pulumi.output(args).apply((a: any) => getOrgIdpAzureAd(a, opts)) } /** diff --git a/sdk/nodejs/getOrgIdpGithub.ts b/sdk/nodejs/getOrgIdpGithub.ts index fb9a861..7403a46 100644 --- a/sdk/nodejs/getOrgIdpGithub.ts +++ b/sdk/nodejs/getOrgIdpGithub.ts @@ -20,11 +20,8 @@ import * as utilities from "./utilities"; * ``` */ export function getOrgIdpGithub(args: GetOrgIdpGithubArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getOrgIdpGithub:getOrgIdpGithub", { "id": args.id, "orgId": args.orgId, @@ -90,9 +87,23 @@ export interface GetOrgIdpGithubResult { */ readonly scopes: string[]; } - +/** + * Datasource representing a GitHub IdP of the organization. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getOrgIdpGithub({ + * orgId: data.zitadel_org["default"].id, + * id: "123456789012345678", + * }); + * ``` + */ export function getOrgIdpGithubOutput(args: GetOrgIdpGithubOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getOrgIdpGithub(a, opts)) + return pulumi.output(args).apply((a: any) => getOrgIdpGithub(a, opts)) } /** diff --git a/sdk/nodejs/getOrgIdpGithubEs.ts b/sdk/nodejs/getOrgIdpGithubEs.ts index 818da9f..c5c19df 100644 --- a/sdk/nodejs/getOrgIdpGithubEs.ts +++ b/sdk/nodejs/getOrgIdpGithubEs.ts @@ -20,11 +20,8 @@ import * as utilities from "./utilities"; * ``` */ export function getOrgIdpGithubEs(args: GetOrgIdpGithubEsArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getOrgIdpGithubEs:getOrgIdpGithubEs", { "id": args.id, "orgId": args.orgId, @@ -102,9 +99,23 @@ export interface GetOrgIdpGithubEsResult { */ readonly userEndpoint: string; } - +/** + * Datasource representing a GitHub Enterprise IdP of the organization. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getOrgIdpGithubEs({ + * orgId: data.zitadel_org["default"].id, + * id: "123456789012345678", + * }); + * ``` + */ export function getOrgIdpGithubEsOutput(args: GetOrgIdpGithubEsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getOrgIdpGithubEs(a, opts)) + return pulumi.output(args).apply((a: any) => getOrgIdpGithubEs(a, opts)) } /** diff --git a/sdk/nodejs/getOrgIdpGitlab.ts b/sdk/nodejs/getOrgIdpGitlab.ts index 71efef9..270a659 100644 --- a/sdk/nodejs/getOrgIdpGitlab.ts +++ b/sdk/nodejs/getOrgIdpGitlab.ts @@ -20,11 +20,8 @@ import * as utilities from "./utilities"; * ``` */ export function getOrgIdpGitlab(args: GetOrgIdpGitlabArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getOrgIdpGitlab:getOrgIdpGitlab", { "id": args.id, "orgId": args.orgId, @@ -90,9 +87,23 @@ export interface GetOrgIdpGitlabResult { */ readonly scopes: string[]; } - +/** + * Datasource representing a GitLab IdP of the organization. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getOrgIdpGitlab({ + * orgId: data.zitadel_org["default"].id, + * id: "123456789012345678", + * }); + * ``` + */ export function getOrgIdpGitlabOutput(args: GetOrgIdpGitlabOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getOrgIdpGitlab(a, opts)) + return pulumi.output(args).apply((a: any) => getOrgIdpGitlab(a, opts)) } /** diff --git a/sdk/nodejs/getOrgIdpGitlabSelfHosted.ts b/sdk/nodejs/getOrgIdpGitlabSelfHosted.ts index b54afd5..04cb98a 100644 --- a/sdk/nodejs/getOrgIdpGitlabSelfHosted.ts +++ b/sdk/nodejs/getOrgIdpGitlabSelfHosted.ts @@ -20,11 +20,8 @@ import * as utilities from "./utilities"; * ``` */ export function getOrgIdpGitlabSelfHosted(args: GetOrgIdpGitlabSelfHostedArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getOrgIdpGitlabSelfHosted:getOrgIdpGitlabSelfHosted", { "id": args.id, "orgId": args.orgId, @@ -94,9 +91,23 @@ export interface GetOrgIdpGitlabSelfHostedResult { */ readonly scopes: string[]; } - +/** + * Datasource representing a GitLab Self Hosted IdP of the organization. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getOrgIdpGitlabSelfHosted({ + * orgId: data.zitadel_org["default"].id, + * id: "123456789012345678", + * }); + * ``` + */ export function getOrgIdpGitlabSelfHostedOutput(args: GetOrgIdpGitlabSelfHostedOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getOrgIdpGitlabSelfHosted(a, opts)) + return pulumi.output(args).apply((a: any) => getOrgIdpGitlabSelfHosted(a, opts)) } /** diff --git a/sdk/nodejs/getOrgIdpGoogle.ts b/sdk/nodejs/getOrgIdpGoogle.ts index 979f441..9a72d35 100644 --- a/sdk/nodejs/getOrgIdpGoogle.ts +++ b/sdk/nodejs/getOrgIdpGoogle.ts @@ -20,11 +20,8 @@ import * as utilities from "./utilities"; * ``` */ export function getOrgIdpGoogle(args: GetOrgIdpGoogleArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getOrgIdpGoogle:getOrgIdpGoogle", { "id": args.id, "orgId": args.orgId, @@ -90,9 +87,23 @@ export interface GetOrgIdpGoogleResult { */ readonly scopes: string[]; } - +/** + * Datasource representing a Google IdP of the organization. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getOrgIdpGoogle({ + * orgId: data.zitadel_org["default"].id, + * id: "123456789012345678", + * }); + * ``` + */ export function getOrgIdpGoogleOutput(args: GetOrgIdpGoogleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getOrgIdpGoogle(a, opts)) + return pulumi.output(args).apply((a: any) => getOrgIdpGoogle(a, opts)) } /** diff --git a/sdk/nodejs/getOrgIdpLdap.ts b/sdk/nodejs/getOrgIdpLdap.ts index 4f207a8..0369cf8 100644 --- a/sdk/nodejs/getOrgIdpLdap.ts +++ b/sdk/nodejs/getOrgIdpLdap.ts @@ -20,11 +20,8 @@ import * as utilities from "./utilities"; * ``` */ export function getOrgIdpLdap(args: GetOrgIdpLdapArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getOrgIdpLdap:getOrgIdpLdap", { "id": args.id, "orgId": args.orgId, @@ -166,9 +163,23 @@ export interface GetOrgIdpLdapResult { */ readonly userObjectClasses: string[]; } - +/** + * Datasource representing an LDAP IdP on the organization. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getOrgIdpLdap({ + * orgId: data.zitadel_org["default"].id, + * id: "123456789012345678", + * }); + * ``` + */ export function getOrgIdpLdapOutput(args: GetOrgIdpLdapOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getOrgIdpLdap(a, opts)) + return pulumi.output(args).apply((a: any) => getOrgIdpLdap(a, opts)) } /** diff --git a/sdk/nodejs/getOrgJwtIdp.ts b/sdk/nodejs/getOrgJwtIdp.ts index 06e17b8..2988f70 100644 --- a/sdk/nodejs/getOrgJwtIdp.ts +++ b/sdk/nodejs/getOrgJwtIdp.ts @@ -8,11 +8,8 @@ import * as utilities from "./utilities"; * Datasource representing a generic JWT IdP on the organization. */ export function getOrgJwtIdp(args: GetOrgJwtIdpArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getOrgJwtIdp:getOrgJwtIdp", { "idpId": args.idpId, "orgId": args.orgId, @@ -78,9 +75,11 @@ export interface GetOrgJwtIdpResult { */ readonly stylingType: string; } - +/** + * Datasource representing a generic JWT IdP on the organization. + */ export function getOrgJwtIdpOutput(args: GetOrgJwtIdpOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getOrgJwtIdp(a, opts)) + return pulumi.output(args).apply((a: any) => getOrgJwtIdp(a, opts)) } /** diff --git a/sdk/nodejs/getOrgOidcIdp.ts b/sdk/nodejs/getOrgOidcIdp.ts index 7433511..47226f8 100644 --- a/sdk/nodejs/getOrgOidcIdp.ts +++ b/sdk/nodejs/getOrgOidcIdp.ts @@ -21,11 +21,8 @@ import * as utilities from "./utilities"; * ``` */ export function getOrgOidcIdp(args: GetOrgOidcIdpArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getOrgOidcIdp:getOrgOidcIdp", { "id": args.id, "orgId": args.orgId, @@ -99,9 +96,24 @@ export interface GetOrgOidcIdpResult { */ readonly scopes: string[]; } - +/** + * Datasource representing a generic OIDC IdP on the organization. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getOrgOidcIdp({ + * orgId: data.zitadel_org["default"].id, + * id: "123456789012345678", + * }); + * export const orgOidcIdp = _default; + * ``` + */ export function getOrgOidcIdpOutput(args: GetOrgOidcIdpOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getOrgOidcIdp(a, opts)) + return pulumi.output(args).apply((a: any) => getOrgOidcIdp(a, opts)) } /** diff --git a/sdk/nodejs/getOrgs.ts b/sdk/nodejs/getOrgs.ts new file mode 100644 index 0000000..f78b213 --- /dev/null +++ b/sdk/nodejs/getOrgs.ts @@ -0,0 +1,117 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * Datasource representing an organization in ZITADEL, which is the highest level after the instance and contains several other resource including policies if the configuration differs to the default policies on the instance. + */ +export function getOrgs(args?: GetOrgsArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("zitadel:index/getOrgs:getOrgs", { + "domain": args.domain, + "domainMethod": args.domainMethod, + "name": args.name, + "nameMethod": args.nameMethod, + "state": args.state, + }, opts); +} + +/** + * A collection of arguments for invoking getOrgs. + */ +export interface GetOrgsArgs { + /** + * A domain of the org. + */ + domain?: string; + /** + * Method for querying orgs by domain, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + */ + domainMethod?: string; + /** + * Name of the org. + */ + name?: string; + /** + * Method for querying orgs by name, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + */ + nameMethod?: string; + /** + * State of the org, supported values: ORG*STATE*UNSPECIFIED, ORG*STATE*ACTIVE, ORG*STATE*INACTIVE, ORG*STATE*REMOVED + */ + state?: string; +} + +/** + * A collection of values returned by getOrgs. + */ +export interface GetOrgsResult { + /** + * A domain of the org. + */ + readonly domain?: string; + /** + * Method for querying orgs by domain, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + */ + readonly domainMethod?: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * A set of all organization IDs. + */ + readonly ids: string[]; + /** + * Name of the org. + */ + readonly name?: string; + /** + * Method for querying orgs by name, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + */ + readonly nameMethod?: string; + /** + * Primary domain of the org + */ + readonly primaryDomain: string; + /** + * State of the org, supported values: ORG*STATE*UNSPECIFIED, ORG*STATE*ACTIVE, ORG*STATE*INACTIVE, ORG*STATE*REMOVED + */ + readonly state?: string; +} +/** + * Datasource representing an organization in ZITADEL, which is the highest level after the instance and contains several other resource including policies if the configuration differs to the default policies on the instance. + */ +export function getOrgsOutput(args?: GetOrgsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getOrgs(a, opts)) +} + +/** + * A collection of arguments for invoking getOrgs. + */ +export interface GetOrgsOutputArgs { + /** + * A domain of the org. + */ + domain?: pulumi.Input; + /** + * Method for querying orgs by domain, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + */ + domainMethod?: pulumi.Input; + /** + * Name of the org. + */ + name?: pulumi.Input; + /** + * Method for querying orgs by name, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + */ + nameMethod?: pulumi.Input; + /** + * State of the org, supported values: ORG*STATE*UNSPECIFIED, ORG*STATE*ACTIVE, ORG*STATE*INACTIVE, ORG*STATE*REMOVED + */ + state?: pulumi.Input; +} diff --git a/sdk/nodejs/getProject.ts b/sdk/nodejs/getProject.ts index 62b3f18..198f2d6 100644 --- a/sdk/nodejs/getProject.ts +++ b/sdk/nodejs/getProject.ts @@ -21,11 +21,8 @@ import * as utilities from "./utilities"; * ``` */ export function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getProject:getProject", { "orgId": args.orgId, "projectId": args.projectId, @@ -87,9 +84,24 @@ export interface GetProjectResult { */ readonly state: string; } - +/** + * Datasource representing the project, which can then be granted to different organizations or users directly, containing different applications. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getProject({ + * orgId: data.zitadel_org["default"].id, + * projectId: "123456789012345678", + * }); + * export const project = _default; + * ``` + */ export function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getProject(a, opts)) + return pulumi.output(args).apply((a: any) => getProject(a, opts)) } /** diff --git a/sdk/nodejs/getProjectRole.ts b/sdk/nodejs/getProjectRole.ts index c10ea24..7fb5cd0 100644 --- a/sdk/nodejs/getProjectRole.ts +++ b/sdk/nodejs/getProjectRole.ts @@ -22,11 +22,8 @@ import * as utilities from "./utilities"; * ``` */ export function getProjectRole(args: GetProjectRoleArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getProjectRole:getProjectRole", { "orgId": args.orgId, "projectId": args.projectId, @@ -81,9 +78,25 @@ export interface GetProjectRoleResult { */ readonly roleKey: string; } - +/** + * Datasource representing the project roles, which can be given as authorizations to users. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getProjectRole({ + * orgId: data.zitadel_org["default"].id, + * projectId: data.zitadel_project["default"].id, + * roleKey: "key", + * }); + * export const projectRole = _default; + * ``` + */ export function getProjectRoleOutput(args: GetProjectRoleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getProjectRole(a, opts)) + return pulumi.output(args).apply((a: any) => getProjectRole(a, opts)) } /** diff --git a/sdk/nodejs/getTriggerActions.ts b/sdk/nodejs/getTriggerActions.ts index bc89e91..8918939 100644 --- a/sdk/nodejs/getTriggerActions.ts +++ b/sdk/nodejs/getTriggerActions.ts @@ -22,11 +22,8 @@ import * as utilities from "./utilities"; * ``` */ export function getTriggerActions(args: GetTriggerActionsArgs, opts?: pulumi.InvokeOptions): Promise { - if (!opts) { - opts = {} - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zitadel:index/getTriggerActions:getTriggerActions", { "flowType": args.flowType, "orgId": args.orgId, @@ -77,9 +74,25 @@ export interface GetTriggerActionsResult { */ readonly triggerType: string; } - +/** + * Resource representing triggers, when actions get started + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as zitadel from "@pulumi/zitadel"; + * + * const default = zitadel.getTriggerActions({ + * orgId: data.zitadel_org["default"].id, + * flowType: "FLOW_TYPE_EXTERNAL_AUTHENTICATION", + * triggerType: "TRIGGER_TYPE_POST_AUTHENTICATION", + * }); + * export const triggerActions = _default; + * ``` + */ export function getTriggerActionsOutput(args: GetTriggerActionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply(a => getTriggerActions(a, opts)) + return pulumi.output(args).apply((a: any) => getTriggerActions(a, opts)) } /** diff --git a/sdk/nodejs/humanUser.ts b/sdk/nodejs/humanUser.ts index e88c78f..b6b5fa8 100644 --- a/sdk/nodejs/humanUser.ts +++ b/sdk/nodejs/humanUser.ts @@ -34,7 +34,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format `id[:org_id][:initial_password]>`, e.g. + * terraform The resource can be imported using the ID format `id[:org_id][:initial_password]>`, e.g. * * ```sh * $ pulumi import zitadel:index/humanUser:HumanUser imported '123456789012345678:123456789012345678:Password1!' @@ -180,7 +180,7 @@ export class HumanUser extends pulumi.CustomResource { resourceInputs["email"] = args ? args.email : undefined; resourceInputs["firstName"] = args ? args.firstName : undefined; resourceInputs["gender"] = args ? args.gender : undefined; - resourceInputs["initialPassword"] = args ? args.initialPassword : undefined; + resourceInputs["initialPassword"] = args?.initialPassword ? pulumi.secret(args.initialPassword) : undefined; resourceInputs["isEmailVerified"] = args ? args.isEmailVerified : undefined; resourceInputs["isPhoneVerified"] = args ? args.isPhoneVerified : undefined; resourceInputs["lastName"] = args ? args.lastName : undefined; @@ -194,6 +194,8 @@ export class HumanUser extends pulumi.CustomResource { resourceInputs["state"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["initialPassword"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(HumanUser.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/idpAzureAd.ts b/sdk/nodejs/idpAzureAd.ts index 2b576b1..2a714f4 100644 --- a/sdk/nodejs/idpAzureAd.ts +++ b/sdk/nodejs/idpAzureAd.ts @@ -11,9 +11,9 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as zitadel from "@pulumi/zitadel"; + * import * as zitadel from "@pulumiverse/zitadel"; * - * const defaultIdpAzureAd = new zitadel.IdpAzureAd("default", { + * const _default = new zitadel.IdpAzureAd("default", { * clientId: "9065bfc8-a08a...", * clientSecret: "H2n***", * emailVerified: true, @@ -33,7 +33,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/idpAzureAd:IdpAzureAd imported '123456789012345678:12345678-1234-1234-1234-123456789012' @@ -160,7 +160,7 @@ export class IdpAzureAd extends pulumi.CustomResource { throw new Error("Missing required property 'isLinkingAllowed'"); } resourceInputs["clientId"] = args ? args.clientId : undefined; - resourceInputs["clientSecret"] = args ? args.clientSecret : undefined; + resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined; resourceInputs["emailVerified"] = args ? args.emailVerified : undefined; resourceInputs["isAutoCreation"] = args ? args.isAutoCreation : undefined; resourceInputs["isAutoUpdate"] = args ? args.isAutoUpdate : undefined; @@ -172,6 +172,8 @@ export class IdpAzureAd extends pulumi.CustomResource { resourceInputs["tenantType"] = args ? args.tenantType : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clientSecret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(IdpAzureAd.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/idpGithub.ts b/sdk/nodejs/idpGithub.ts index b786414..efa169a 100644 --- a/sdk/nodejs/idpGithub.ts +++ b/sdk/nodejs/idpGithub.ts @@ -11,9 +11,9 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as zitadel from "@pulumi/zitadel"; + * import * as zitadel from "@pulumiverse/zitadel"; * - * const defaultIdpGithub = new zitadel.IdpGithub("default", { + * const _default = new zitadel.IdpGithub("default", { * clientId: "86a165...", * clientSecret: "*****afdbac18", * isAutoCreation: false, @@ -30,7 +30,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/idpGithub:IdpGithub imported '123456789012345678:1234567890123456781234567890123456787890' @@ -139,7 +139,7 @@ export class IdpGithub extends pulumi.CustomResource { throw new Error("Missing required property 'isLinkingAllowed'"); } resourceInputs["clientId"] = args ? args.clientId : undefined; - resourceInputs["clientSecret"] = args ? args.clientSecret : undefined; + resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined; resourceInputs["isAutoCreation"] = args ? args.isAutoCreation : undefined; resourceInputs["isAutoUpdate"] = args ? args.isAutoUpdate : undefined; resourceInputs["isCreationAllowed"] = args ? args.isCreationAllowed : undefined; @@ -148,6 +148,8 @@ export class IdpGithub extends pulumi.CustomResource { resourceInputs["scopes"] = args ? args.scopes : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clientSecret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(IdpGithub.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/idpGithubEs.ts b/sdk/nodejs/idpGithubEs.ts index da4bac5..62302ba 100644 --- a/sdk/nodejs/idpGithubEs.ts +++ b/sdk/nodejs/idpGithubEs.ts @@ -11,9 +11,9 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as zitadel from "@pulumi/zitadel"; + * import * as zitadel from "@pulumiverse/zitadel"; * - * const defaultIdpGithubEs = new zitadel.IdpGithubEs("default", { + * const _default = new zitadel.IdpGithubEs("default", { * authorizationEndpoint: "https://auth.endpoint", * clientId: "86a165...", * clientSecret: "*****afdbac18", @@ -33,7 +33,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/idpGithubEs:IdpGithubEs imported '123456789012345678:1234567890123456781234567890123456787890' @@ -167,7 +167,7 @@ export class IdpGithubEs extends pulumi.CustomResource { } resourceInputs["authorizationEndpoint"] = args ? args.authorizationEndpoint : undefined; resourceInputs["clientId"] = args ? args.clientId : undefined; - resourceInputs["clientSecret"] = args ? args.clientSecret : undefined; + resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined; resourceInputs["isAutoCreation"] = args ? args.isAutoCreation : undefined; resourceInputs["isAutoUpdate"] = args ? args.isAutoUpdate : undefined; resourceInputs["isCreationAllowed"] = args ? args.isCreationAllowed : undefined; @@ -178,6 +178,8 @@ export class IdpGithubEs extends pulumi.CustomResource { resourceInputs["userEndpoint"] = args ? args.userEndpoint : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clientSecret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(IdpGithubEs.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/idpGitlab.ts b/sdk/nodejs/idpGitlab.ts index d3cb00c..6515f06 100644 --- a/sdk/nodejs/idpGitlab.ts +++ b/sdk/nodejs/idpGitlab.ts @@ -11,9 +11,9 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as zitadel from "@pulumi/zitadel"; + * import * as zitadel from "@pulumiverse/zitadel"; * - * const defaultIdpGitlab = new zitadel.IdpGitlab("default", { + * const _default = new zitadel.IdpGitlab("default", { * clientId: "15765e...", * clientSecret: "*****abcxyz", * isAutoCreation: false, @@ -30,7 +30,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/idpGitlab:IdpGitlab imported '123456789012345678:1234567890abcdef' @@ -139,7 +139,7 @@ export class IdpGitlab extends pulumi.CustomResource { throw new Error("Missing required property 'isLinkingAllowed'"); } resourceInputs["clientId"] = args ? args.clientId : undefined; - resourceInputs["clientSecret"] = args ? args.clientSecret : undefined; + resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined; resourceInputs["isAutoCreation"] = args ? args.isAutoCreation : undefined; resourceInputs["isAutoUpdate"] = args ? args.isAutoUpdate : undefined; resourceInputs["isCreationAllowed"] = args ? args.isCreationAllowed : undefined; @@ -148,6 +148,8 @@ export class IdpGitlab extends pulumi.CustomResource { resourceInputs["scopes"] = args ? args.scopes : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clientSecret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(IdpGitlab.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/idpGitlabSelfHosted.ts b/sdk/nodejs/idpGitlabSelfHosted.ts index eefdc50..63a7d79 100644 --- a/sdk/nodejs/idpGitlabSelfHosted.ts +++ b/sdk/nodejs/idpGitlabSelfHosted.ts @@ -11,9 +11,9 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as zitadel from "@pulumi/zitadel"; + * import * as zitadel from "@pulumiverse/zitadel"; * - * const defaultIdpGitlabSelfHosted = new zitadel.IdpGitlabSelfHosted("default", { + * const _default = new zitadel.IdpGitlabSelfHosted("default", { * clientId: "15765e...", * clientSecret: "*****abcxyz", * isAutoCreation: false, @@ -31,7 +31,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/idpGitlabSelfHosted:IdpGitlabSelfHosted imported '123456789012345678:1234567890abcdef' @@ -148,7 +148,7 @@ export class IdpGitlabSelfHosted extends pulumi.CustomResource { throw new Error("Missing required property 'issuer'"); } resourceInputs["clientId"] = args ? args.clientId : undefined; - resourceInputs["clientSecret"] = args ? args.clientSecret : undefined; + resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined; resourceInputs["isAutoCreation"] = args ? args.isAutoCreation : undefined; resourceInputs["isAutoUpdate"] = args ? args.isAutoUpdate : undefined; resourceInputs["isCreationAllowed"] = args ? args.isCreationAllowed : undefined; @@ -158,6 +158,8 @@ export class IdpGitlabSelfHosted extends pulumi.CustomResource { resourceInputs["scopes"] = args ? args.scopes : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clientSecret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(IdpGitlabSelfHosted.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/idpGoogle.ts b/sdk/nodejs/idpGoogle.ts index 87daa6c..049caa6 100644 --- a/sdk/nodejs/idpGoogle.ts +++ b/sdk/nodejs/idpGoogle.ts @@ -11,9 +11,9 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as zitadel from "@pulumi/zitadel"; + * import * as zitadel from "@pulumiverse/zitadel"; * - * const defaultIdpGoogle = new zitadel.IdpGoogle("default", { + * const _default = new zitadel.IdpGoogle("default", { * clientId: "182902...", * clientSecret: "GOCSPX-*****", * isAutoCreation: false, @@ -30,7 +30,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/idpGoogle:IdpGoogle imported '123456789012345678:G1234567890123' @@ -139,7 +139,7 @@ export class IdpGoogle extends pulumi.CustomResource { throw new Error("Missing required property 'isLinkingAllowed'"); } resourceInputs["clientId"] = args ? args.clientId : undefined; - resourceInputs["clientSecret"] = args ? args.clientSecret : undefined; + resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined; resourceInputs["isAutoCreation"] = args ? args.isAutoCreation : undefined; resourceInputs["isAutoUpdate"] = args ? args.isAutoUpdate : undefined; resourceInputs["isCreationAllowed"] = args ? args.isCreationAllowed : undefined; @@ -148,6 +148,8 @@ export class IdpGoogle extends pulumi.CustomResource { resourceInputs["scopes"] = args ? args.scopes : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clientSecret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(IdpGoogle.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/idpLdap.ts b/sdk/nodejs/idpLdap.ts index 460a253..39d2e77 100644 --- a/sdk/nodejs/idpLdap.ts +++ b/sdk/nodejs/idpLdap.ts @@ -11,9 +11,9 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as zitadel from "@pulumi/zitadel"; + * import * as zitadel from "@pulumiverse/zitadel"; * - * const defaultIdpLdap = new zitadel.IdpLdap("default", { + * const _default = new zitadel.IdpLdap("default", { * baseDn: "dc=example,dc=com", * bindDn: "cn=admin,dc=example,dc=com", * bindPassword: "Password1!", @@ -41,7 +41,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/idpLdap:IdpLdap imported '123456789012345678:b1nd_p4ssw0rd' @@ -268,7 +268,7 @@ export class IdpLdap extends pulumi.CustomResource { resourceInputs["avatarUrlAttribute"] = args ? args.avatarUrlAttribute : undefined; resourceInputs["baseDn"] = args ? args.baseDn : undefined; resourceInputs["bindDn"] = args ? args.bindDn : undefined; - resourceInputs["bindPassword"] = args ? args.bindPassword : undefined; + resourceInputs["bindPassword"] = args?.bindPassword ? pulumi.secret(args.bindPassword) : undefined; resourceInputs["displayNameAttribute"] = args ? args.displayNameAttribute : undefined; resourceInputs["emailAttribute"] = args ? args.emailAttribute : undefined; resourceInputs["emailVerifiedAttribute"] = args ? args.emailVerifiedAttribute : undefined; @@ -294,6 +294,8 @@ export class IdpLdap extends pulumi.CustomResource { resourceInputs["userObjectClasses"] = args ? args.userObjectClasses : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["bindPassword"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(IdpLdap.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index 763827e..934bcda 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -5,83 +5,406 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; // Export members: -export * from "./action"; -export * from "./applicationApi"; -export * from "./applicationKey"; -export * from "./applicationOidc"; -export * from "./defaultDomainPolicy"; -export * from "./defaultLabelPolicy"; -export * from "./defaultLockoutPolicy"; -export * from "./defaultLoginPolicy"; -export * from "./defaultNotificationPolicy"; -export * from "./defaultPasswordComplexityPolicy"; -export * from "./defaultPrivacyPolicy"; -export * from "./domain"; -export * from "./domainPolicy"; -export * from "./getAction"; -export * from "./getApplicationApi"; -export * from "./getApplicationOidc"; -export * from "./getHumanUser"; -export * from "./getIdpAzureAd"; -export * from "./getIdpGithub"; -export * from "./getIdpGithubEs"; -export * from "./getIdpGitlab"; -export * from "./getIdpGitlabSelfHosted"; -export * from "./getIdpGoogle"; -export * from "./getIdpLdap"; -export * from "./getMachineUser"; -export * from "./getOrg"; -export * from "./getOrgIdpAzureAd"; -export * from "./getOrgIdpGithub"; -export * from "./getOrgIdpGithubEs"; -export * from "./getOrgIdpGitlab"; -export * from "./getOrgIdpGitlabSelfHosted"; -export * from "./getOrgIdpGoogle"; -export * from "./getOrgIdpLdap"; -export * from "./getOrgJwtIdp"; -export * from "./getOrgOidcIdp"; -export * from "./getProject"; -export * from "./getProjectRole"; -export * from "./getTriggerActions"; -export * from "./humanUser"; -export * from "./idpAzureAd"; -export * from "./idpGithub"; -export * from "./idpGithubEs"; -export * from "./idpGitlab"; -export * from "./idpGitlabSelfHosted"; -export * from "./idpGoogle"; -export * from "./idpLdap"; -export * from "./instanceMember"; -export * from "./labelPolicy"; -export * from "./lockoutPolicy"; -export * from "./loginPolicy"; -export * from "./machineKey"; -export * from "./machineUser"; -export * from "./notificationPolicy"; -export * from "./org"; -export * from "./orgIdpAzureAd"; -export * from "./orgIdpGithub"; -export * from "./orgIdpGithubEs"; -export * from "./orgIdpGitlab"; -export * from "./orgIdpGitlabSelfHosted"; -export * from "./orgIdpGoogle"; -export * from "./orgIdpJwt"; -export * from "./orgIdpLdap"; -export * from "./orgIdpOidc"; -export * from "./orgMember"; -export * from "./passwordComplexityPolicy"; -export * from "./personalAccessToken"; -export * from "./privacyPolicy"; -export * from "./project"; -export * from "./projectGrant"; -export * from "./projectGrantMember"; -export * from "./projectMember"; -export * from "./projectRole"; -export * from "./provider"; -export * from "./smsProviderTwilio"; -export * from "./smtpConfig"; -export * from "./triggerActions"; -export * from "./userGrant"; +export { ActionArgs, ActionState } from "./action"; +export type Action = import("./action").Action; +export const Action: typeof import("./action").Action = null as any; +utilities.lazyLoad(exports, ["Action"], () => require("./action")); + +export { ApplicationApiArgs, ApplicationApiState } from "./applicationApi"; +export type ApplicationApi = import("./applicationApi").ApplicationApi; +export const ApplicationApi: typeof import("./applicationApi").ApplicationApi = null as any; +utilities.lazyLoad(exports, ["ApplicationApi"], () => require("./applicationApi")); + +export { ApplicationKeyArgs, ApplicationKeyState } from "./applicationKey"; +export type ApplicationKey = import("./applicationKey").ApplicationKey; +export const ApplicationKey: typeof import("./applicationKey").ApplicationKey = null as any; +utilities.lazyLoad(exports, ["ApplicationKey"], () => require("./applicationKey")); + +export { ApplicationOidcArgs, ApplicationOidcState } from "./applicationOidc"; +export type ApplicationOidc = import("./applicationOidc").ApplicationOidc; +export const ApplicationOidc: typeof import("./applicationOidc").ApplicationOidc = null as any; +utilities.lazyLoad(exports, ["ApplicationOidc"], () => require("./applicationOidc")); + +export { DefaultDomainPolicyArgs, DefaultDomainPolicyState } from "./defaultDomainPolicy"; +export type DefaultDomainPolicy = import("./defaultDomainPolicy").DefaultDomainPolicy; +export const DefaultDomainPolicy: typeof import("./defaultDomainPolicy").DefaultDomainPolicy = null as any; +utilities.lazyLoad(exports, ["DefaultDomainPolicy"], () => require("./defaultDomainPolicy")); + +export { DefaultLabelPolicyArgs, DefaultLabelPolicyState } from "./defaultLabelPolicy"; +export type DefaultLabelPolicy = import("./defaultLabelPolicy").DefaultLabelPolicy; +export const DefaultLabelPolicy: typeof import("./defaultLabelPolicy").DefaultLabelPolicy = null as any; +utilities.lazyLoad(exports, ["DefaultLabelPolicy"], () => require("./defaultLabelPolicy")); + +export { DefaultLockoutPolicyArgs, DefaultLockoutPolicyState } from "./defaultLockoutPolicy"; +export type DefaultLockoutPolicy = import("./defaultLockoutPolicy").DefaultLockoutPolicy; +export const DefaultLockoutPolicy: typeof import("./defaultLockoutPolicy").DefaultLockoutPolicy = null as any; +utilities.lazyLoad(exports, ["DefaultLockoutPolicy"], () => require("./defaultLockoutPolicy")); + +export { DefaultLoginPolicyArgs, DefaultLoginPolicyState } from "./defaultLoginPolicy"; +export type DefaultLoginPolicy = import("./defaultLoginPolicy").DefaultLoginPolicy; +export const DefaultLoginPolicy: typeof import("./defaultLoginPolicy").DefaultLoginPolicy = null as any; +utilities.lazyLoad(exports, ["DefaultLoginPolicy"], () => require("./defaultLoginPolicy")); + +export { DefaultNotificationPolicyArgs, DefaultNotificationPolicyState } from "./defaultNotificationPolicy"; +export type DefaultNotificationPolicy = import("./defaultNotificationPolicy").DefaultNotificationPolicy; +export const DefaultNotificationPolicy: typeof import("./defaultNotificationPolicy").DefaultNotificationPolicy = null as any; +utilities.lazyLoad(exports, ["DefaultNotificationPolicy"], () => require("./defaultNotificationPolicy")); + +export { DefaultOidcSettingsArgs, DefaultOidcSettingsState } from "./defaultOidcSettings"; +export type DefaultOidcSettings = import("./defaultOidcSettings").DefaultOidcSettings; +export const DefaultOidcSettings: typeof import("./defaultOidcSettings").DefaultOidcSettings = null as any; +utilities.lazyLoad(exports, ["DefaultOidcSettings"], () => require("./defaultOidcSettings")); + +export { DefaultPasswordComplexityPolicyArgs, DefaultPasswordComplexityPolicyState } from "./defaultPasswordComplexityPolicy"; +export type DefaultPasswordComplexityPolicy = import("./defaultPasswordComplexityPolicy").DefaultPasswordComplexityPolicy; +export const DefaultPasswordComplexityPolicy: typeof import("./defaultPasswordComplexityPolicy").DefaultPasswordComplexityPolicy = null as any; +utilities.lazyLoad(exports, ["DefaultPasswordComplexityPolicy"], () => require("./defaultPasswordComplexityPolicy")); + +export { DefaultPrivacyPolicyArgs, DefaultPrivacyPolicyState } from "./defaultPrivacyPolicy"; +export type DefaultPrivacyPolicy = import("./defaultPrivacyPolicy").DefaultPrivacyPolicy; +export const DefaultPrivacyPolicy: typeof import("./defaultPrivacyPolicy").DefaultPrivacyPolicy = null as any; +utilities.lazyLoad(exports, ["DefaultPrivacyPolicy"], () => require("./defaultPrivacyPolicy")); + +export { DomainArgs, DomainState } from "./domain"; +export type Domain = import("./domain").Domain; +export const Domain: typeof import("./domain").Domain = null as any; +utilities.lazyLoad(exports, ["Domain"], () => require("./domain")); + +export { DomainPolicyArgs, DomainPolicyState } from "./domainPolicy"; +export type DomainPolicy = import("./domainPolicy").DomainPolicy; +export const DomainPolicy: typeof import("./domainPolicy").DomainPolicy = null as any; +utilities.lazyLoad(exports, ["DomainPolicy"], () => require("./domainPolicy")); + +export { GetActionArgs, GetActionResult, GetActionOutputArgs } from "./getAction"; +export const getAction: typeof import("./getAction").getAction = null as any; +export const getActionOutput: typeof import("./getAction").getActionOutput = null as any; +utilities.lazyLoad(exports, ["getAction","getActionOutput"], () => require("./getAction")); + +export { GetApplicationApiArgs, GetApplicationApiResult, GetApplicationApiOutputArgs } from "./getApplicationApi"; +export const getApplicationApi: typeof import("./getApplicationApi").getApplicationApi = null as any; +export const getApplicationApiOutput: typeof import("./getApplicationApi").getApplicationApiOutput = null as any; +utilities.lazyLoad(exports, ["getApplicationApi","getApplicationApiOutput"], () => require("./getApplicationApi")); + +export { GetApplicationOidcArgs, GetApplicationOidcResult, GetApplicationOidcOutputArgs } from "./getApplicationOidc"; +export const getApplicationOidc: typeof import("./getApplicationOidc").getApplicationOidc = null as any; +export const getApplicationOidcOutput: typeof import("./getApplicationOidc").getApplicationOidcOutput = null as any; +utilities.lazyLoad(exports, ["getApplicationOidc","getApplicationOidcOutput"], () => require("./getApplicationOidc")); + +export { GetDefaultOidcSettingsResult } from "./getDefaultOidcSettings"; +export const getDefaultOidcSettings: typeof import("./getDefaultOidcSettings").getDefaultOidcSettings = null as any; +export const getDefaultOidcSettingsOutput: typeof import("./getDefaultOidcSettings").getDefaultOidcSettingsOutput = null as any; +utilities.lazyLoad(exports, ["getDefaultOidcSettings","getDefaultOidcSettingsOutput"], () => require("./getDefaultOidcSettings")); + +export { GetHumanUserArgs, GetHumanUserResult, GetHumanUserOutputArgs } from "./getHumanUser"; +export const getHumanUser: typeof import("./getHumanUser").getHumanUser = null as any; +export const getHumanUserOutput: typeof import("./getHumanUser").getHumanUserOutput = null as any; +utilities.lazyLoad(exports, ["getHumanUser","getHumanUserOutput"], () => require("./getHumanUser")); + +export { GetIdpAzureAdArgs, GetIdpAzureAdResult, GetIdpAzureAdOutputArgs } from "./getIdpAzureAd"; +export const getIdpAzureAd: typeof import("./getIdpAzureAd").getIdpAzureAd = null as any; +export const getIdpAzureAdOutput: typeof import("./getIdpAzureAd").getIdpAzureAdOutput = null as any; +utilities.lazyLoad(exports, ["getIdpAzureAd","getIdpAzureAdOutput"], () => require("./getIdpAzureAd")); + +export { GetIdpGithubArgs, GetIdpGithubResult, GetIdpGithubOutputArgs } from "./getIdpGithub"; +export const getIdpGithub: typeof import("./getIdpGithub").getIdpGithub = null as any; +export const getIdpGithubOutput: typeof import("./getIdpGithub").getIdpGithubOutput = null as any; +utilities.lazyLoad(exports, ["getIdpGithub","getIdpGithubOutput"], () => require("./getIdpGithub")); + +export { GetIdpGithubEsArgs, GetIdpGithubEsResult, GetIdpGithubEsOutputArgs } from "./getIdpGithubEs"; +export const getIdpGithubEs: typeof import("./getIdpGithubEs").getIdpGithubEs = null as any; +export const getIdpGithubEsOutput: typeof import("./getIdpGithubEs").getIdpGithubEsOutput = null as any; +utilities.lazyLoad(exports, ["getIdpGithubEs","getIdpGithubEsOutput"], () => require("./getIdpGithubEs")); + +export { GetIdpGitlabArgs, GetIdpGitlabResult, GetIdpGitlabOutputArgs } from "./getIdpGitlab"; +export const getIdpGitlab: typeof import("./getIdpGitlab").getIdpGitlab = null as any; +export const getIdpGitlabOutput: typeof import("./getIdpGitlab").getIdpGitlabOutput = null as any; +utilities.lazyLoad(exports, ["getIdpGitlab","getIdpGitlabOutput"], () => require("./getIdpGitlab")); + +export { GetIdpGitlabSelfHostedArgs, GetIdpGitlabSelfHostedResult, GetIdpGitlabSelfHostedOutputArgs } from "./getIdpGitlabSelfHosted"; +export const getIdpGitlabSelfHosted: typeof import("./getIdpGitlabSelfHosted").getIdpGitlabSelfHosted = null as any; +export const getIdpGitlabSelfHostedOutput: typeof import("./getIdpGitlabSelfHosted").getIdpGitlabSelfHostedOutput = null as any; +utilities.lazyLoad(exports, ["getIdpGitlabSelfHosted","getIdpGitlabSelfHostedOutput"], () => require("./getIdpGitlabSelfHosted")); + +export { GetIdpGoogleArgs, GetIdpGoogleResult, GetIdpGoogleOutputArgs } from "./getIdpGoogle"; +export const getIdpGoogle: typeof import("./getIdpGoogle").getIdpGoogle = null as any; +export const getIdpGoogleOutput: typeof import("./getIdpGoogle").getIdpGoogleOutput = null as any; +utilities.lazyLoad(exports, ["getIdpGoogle","getIdpGoogleOutput"], () => require("./getIdpGoogle")); + +export { GetIdpLdapArgs, GetIdpLdapResult, GetIdpLdapOutputArgs } from "./getIdpLdap"; +export const getIdpLdap: typeof import("./getIdpLdap").getIdpLdap = null as any; +export const getIdpLdapOutput: typeof import("./getIdpLdap").getIdpLdapOutput = null as any; +utilities.lazyLoad(exports, ["getIdpLdap","getIdpLdapOutput"], () => require("./getIdpLdap")); + +export { GetMachineUserArgs, GetMachineUserResult, GetMachineUserOutputArgs } from "./getMachineUser"; +export const getMachineUser: typeof import("./getMachineUser").getMachineUser = null as any; +export const getMachineUserOutput: typeof import("./getMachineUser").getMachineUserOutput = null as any; +utilities.lazyLoad(exports, ["getMachineUser","getMachineUserOutput"], () => require("./getMachineUser")); + +export { GetOrgArgs, GetOrgResult, GetOrgOutputArgs } from "./getOrg"; +export const getOrg: typeof import("./getOrg").getOrg = null as any; +export const getOrgOutput: typeof import("./getOrg").getOrgOutput = null as any; +utilities.lazyLoad(exports, ["getOrg","getOrgOutput"], () => require("./getOrg")); + +export { GetOrgIdpAzureAdArgs, GetOrgIdpAzureAdResult, GetOrgIdpAzureAdOutputArgs } from "./getOrgIdpAzureAd"; +export const getOrgIdpAzureAd: typeof import("./getOrgIdpAzureAd").getOrgIdpAzureAd = null as any; +export const getOrgIdpAzureAdOutput: typeof import("./getOrgIdpAzureAd").getOrgIdpAzureAdOutput = null as any; +utilities.lazyLoad(exports, ["getOrgIdpAzureAd","getOrgIdpAzureAdOutput"], () => require("./getOrgIdpAzureAd")); + +export { GetOrgIdpGithubArgs, GetOrgIdpGithubResult, GetOrgIdpGithubOutputArgs } from "./getOrgIdpGithub"; +export const getOrgIdpGithub: typeof import("./getOrgIdpGithub").getOrgIdpGithub = null as any; +export const getOrgIdpGithubOutput: typeof import("./getOrgIdpGithub").getOrgIdpGithubOutput = null as any; +utilities.lazyLoad(exports, ["getOrgIdpGithub","getOrgIdpGithubOutput"], () => require("./getOrgIdpGithub")); + +export { GetOrgIdpGithubEsArgs, GetOrgIdpGithubEsResult, GetOrgIdpGithubEsOutputArgs } from "./getOrgIdpGithubEs"; +export const getOrgIdpGithubEs: typeof import("./getOrgIdpGithubEs").getOrgIdpGithubEs = null as any; +export const getOrgIdpGithubEsOutput: typeof import("./getOrgIdpGithubEs").getOrgIdpGithubEsOutput = null as any; +utilities.lazyLoad(exports, ["getOrgIdpGithubEs","getOrgIdpGithubEsOutput"], () => require("./getOrgIdpGithubEs")); + +export { GetOrgIdpGitlabArgs, GetOrgIdpGitlabResult, GetOrgIdpGitlabOutputArgs } from "./getOrgIdpGitlab"; +export const getOrgIdpGitlab: typeof import("./getOrgIdpGitlab").getOrgIdpGitlab = null as any; +export const getOrgIdpGitlabOutput: typeof import("./getOrgIdpGitlab").getOrgIdpGitlabOutput = null as any; +utilities.lazyLoad(exports, ["getOrgIdpGitlab","getOrgIdpGitlabOutput"], () => require("./getOrgIdpGitlab")); + +export { GetOrgIdpGitlabSelfHostedArgs, GetOrgIdpGitlabSelfHostedResult, GetOrgIdpGitlabSelfHostedOutputArgs } from "./getOrgIdpGitlabSelfHosted"; +export const getOrgIdpGitlabSelfHosted: typeof import("./getOrgIdpGitlabSelfHosted").getOrgIdpGitlabSelfHosted = null as any; +export const getOrgIdpGitlabSelfHostedOutput: typeof import("./getOrgIdpGitlabSelfHosted").getOrgIdpGitlabSelfHostedOutput = null as any; +utilities.lazyLoad(exports, ["getOrgIdpGitlabSelfHosted","getOrgIdpGitlabSelfHostedOutput"], () => require("./getOrgIdpGitlabSelfHosted")); + +export { GetOrgIdpGoogleArgs, GetOrgIdpGoogleResult, GetOrgIdpGoogleOutputArgs } from "./getOrgIdpGoogle"; +export const getOrgIdpGoogle: typeof import("./getOrgIdpGoogle").getOrgIdpGoogle = null as any; +export const getOrgIdpGoogleOutput: typeof import("./getOrgIdpGoogle").getOrgIdpGoogleOutput = null as any; +utilities.lazyLoad(exports, ["getOrgIdpGoogle","getOrgIdpGoogleOutput"], () => require("./getOrgIdpGoogle")); + +export { GetOrgIdpLdapArgs, GetOrgIdpLdapResult, GetOrgIdpLdapOutputArgs } from "./getOrgIdpLdap"; +export const getOrgIdpLdap: typeof import("./getOrgIdpLdap").getOrgIdpLdap = null as any; +export const getOrgIdpLdapOutput: typeof import("./getOrgIdpLdap").getOrgIdpLdapOutput = null as any; +utilities.lazyLoad(exports, ["getOrgIdpLdap","getOrgIdpLdapOutput"], () => require("./getOrgIdpLdap")); + +export { GetOrgJwtIdpArgs, GetOrgJwtIdpResult, GetOrgJwtIdpOutputArgs } from "./getOrgJwtIdp"; +export const getOrgJwtIdp: typeof import("./getOrgJwtIdp").getOrgJwtIdp = null as any; +export const getOrgJwtIdpOutput: typeof import("./getOrgJwtIdp").getOrgJwtIdpOutput = null as any; +utilities.lazyLoad(exports, ["getOrgJwtIdp","getOrgJwtIdpOutput"], () => require("./getOrgJwtIdp")); + +export { GetOrgOidcIdpArgs, GetOrgOidcIdpResult, GetOrgOidcIdpOutputArgs } from "./getOrgOidcIdp"; +export const getOrgOidcIdp: typeof import("./getOrgOidcIdp").getOrgOidcIdp = null as any; +export const getOrgOidcIdpOutput: typeof import("./getOrgOidcIdp").getOrgOidcIdpOutput = null as any; +utilities.lazyLoad(exports, ["getOrgOidcIdp","getOrgOidcIdpOutput"], () => require("./getOrgOidcIdp")); + +export { GetOrgsArgs, GetOrgsResult, GetOrgsOutputArgs } from "./getOrgs"; +export const getOrgs: typeof import("./getOrgs").getOrgs = null as any; +export const getOrgsOutput: typeof import("./getOrgs").getOrgsOutput = null as any; +utilities.lazyLoad(exports, ["getOrgs","getOrgsOutput"], () => require("./getOrgs")); + +export { GetProjectArgs, GetProjectResult, GetProjectOutputArgs } from "./getProject"; +export const getProject: typeof import("./getProject").getProject = null as any; +export const getProjectOutput: typeof import("./getProject").getProjectOutput = null as any; +utilities.lazyLoad(exports, ["getProject","getProjectOutput"], () => require("./getProject")); + +export { GetProjectRoleArgs, GetProjectRoleResult, GetProjectRoleOutputArgs } from "./getProjectRole"; +export const getProjectRole: typeof import("./getProjectRole").getProjectRole = null as any; +export const getProjectRoleOutput: typeof import("./getProjectRole").getProjectRoleOutput = null as any; +utilities.lazyLoad(exports, ["getProjectRole","getProjectRoleOutput"], () => require("./getProjectRole")); + +export { GetTriggerActionsArgs, GetTriggerActionsResult, GetTriggerActionsOutputArgs } from "./getTriggerActions"; +export const getTriggerActions: typeof import("./getTriggerActions").getTriggerActions = null as any; +export const getTriggerActionsOutput: typeof import("./getTriggerActions").getTriggerActionsOutput = null as any; +utilities.lazyLoad(exports, ["getTriggerActions","getTriggerActionsOutput"], () => require("./getTriggerActions")); + +export { HumanUserArgs, HumanUserState } from "./humanUser"; +export type HumanUser = import("./humanUser").HumanUser; +export const HumanUser: typeof import("./humanUser").HumanUser = null as any; +utilities.lazyLoad(exports, ["HumanUser"], () => require("./humanUser")); + +export { IdpAzureAdArgs, IdpAzureAdState } from "./idpAzureAd"; +export type IdpAzureAd = import("./idpAzureAd").IdpAzureAd; +export const IdpAzureAd: typeof import("./idpAzureAd").IdpAzureAd = null as any; +utilities.lazyLoad(exports, ["IdpAzureAd"], () => require("./idpAzureAd")); + +export { IdpGithubArgs, IdpGithubState } from "./idpGithub"; +export type IdpGithub = import("./idpGithub").IdpGithub; +export const IdpGithub: typeof import("./idpGithub").IdpGithub = null as any; +utilities.lazyLoad(exports, ["IdpGithub"], () => require("./idpGithub")); + +export { IdpGithubEsArgs, IdpGithubEsState } from "./idpGithubEs"; +export type IdpGithubEs = import("./idpGithubEs").IdpGithubEs; +export const IdpGithubEs: typeof import("./idpGithubEs").IdpGithubEs = null as any; +utilities.lazyLoad(exports, ["IdpGithubEs"], () => require("./idpGithubEs")); + +export { IdpGitlabArgs, IdpGitlabState } from "./idpGitlab"; +export type IdpGitlab = import("./idpGitlab").IdpGitlab; +export const IdpGitlab: typeof import("./idpGitlab").IdpGitlab = null as any; +utilities.lazyLoad(exports, ["IdpGitlab"], () => require("./idpGitlab")); + +export { IdpGitlabSelfHostedArgs, IdpGitlabSelfHostedState } from "./idpGitlabSelfHosted"; +export type IdpGitlabSelfHosted = import("./idpGitlabSelfHosted").IdpGitlabSelfHosted; +export const IdpGitlabSelfHosted: typeof import("./idpGitlabSelfHosted").IdpGitlabSelfHosted = null as any; +utilities.lazyLoad(exports, ["IdpGitlabSelfHosted"], () => require("./idpGitlabSelfHosted")); + +export { IdpGoogleArgs, IdpGoogleState } from "./idpGoogle"; +export type IdpGoogle = import("./idpGoogle").IdpGoogle; +export const IdpGoogle: typeof import("./idpGoogle").IdpGoogle = null as any; +utilities.lazyLoad(exports, ["IdpGoogle"], () => require("./idpGoogle")); + +export { IdpLdapArgs, IdpLdapState } from "./idpLdap"; +export type IdpLdap = import("./idpLdap").IdpLdap; +export const IdpLdap: typeof import("./idpLdap").IdpLdap = null as any; +utilities.lazyLoad(exports, ["IdpLdap"], () => require("./idpLdap")); + +export { InstanceMemberArgs, InstanceMemberState } from "./instanceMember"; +export type InstanceMember = import("./instanceMember").InstanceMember; +export const InstanceMember: typeof import("./instanceMember").InstanceMember = null as any; +utilities.lazyLoad(exports, ["InstanceMember"], () => require("./instanceMember")); + +export { LabelPolicyArgs, LabelPolicyState } from "./labelPolicy"; +export type LabelPolicy = import("./labelPolicy").LabelPolicy; +export const LabelPolicy: typeof import("./labelPolicy").LabelPolicy = null as any; +utilities.lazyLoad(exports, ["LabelPolicy"], () => require("./labelPolicy")); + +export { LockoutPolicyArgs, LockoutPolicyState } from "./lockoutPolicy"; +export type LockoutPolicy = import("./lockoutPolicy").LockoutPolicy; +export const LockoutPolicy: typeof import("./lockoutPolicy").LockoutPolicy = null as any; +utilities.lazyLoad(exports, ["LockoutPolicy"], () => require("./lockoutPolicy")); + +export { LoginPolicyArgs, LoginPolicyState } from "./loginPolicy"; +export type LoginPolicy = import("./loginPolicy").LoginPolicy; +export const LoginPolicy: typeof import("./loginPolicy").LoginPolicy = null as any; +utilities.lazyLoad(exports, ["LoginPolicy"], () => require("./loginPolicy")); + +export { MachineKeyArgs, MachineKeyState } from "./machineKey"; +export type MachineKey = import("./machineKey").MachineKey; +export const MachineKey: typeof import("./machineKey").MachineKey = null as any; +utilities.lazyLoad(exports, ["MachineKey"], () => require("./machineKey")); + +export { MachineUserArgs, MachineUserState } from "./machineUser"; +export type MachineUser = import("./machineUser").MachineUser; +export const MachineUser: typeof import("./machineUser").MachineUser = null as any; +utilities.lazyLoad(exports, ["MachineUser"], () => require("./machineUser")); + +export { NotificationPolicyArgs, NotificationPolicyState } from "./notificationPolicy"; +export type NotificationPolicy = import("./notificationPolicy").NotificationPolicy; +export const NotificationPolicy: typeof import("./notificationPolicy").NotificationPolicy = null as any; +utilities.lazyLoad(exports, ["NotificationPolicy"], () => require("./notificationPolicy")); + +export { OrgArgs, OrgState } from "./org"; +export type Org = import("./org").Org; +export const Org: typeof import("./org").Org = null as any; +utilities.lazyLoad(exports, ["Org"], () => require("./org")); + +export { OrgIdpAzureAdArgs, OrgIdpAzureAdState } from "./orgIdpAzureAd"; +export type OrgIdpAzureAd = import("./orgIdpAzureAd").OrgIdpAzureAd; +export const OrgIdpAzureAd: typeof import("./orgIdpAzureAd").OrgIdpAzureAd = null as any; +utilities.lazyLoad(exports, ["OrgIdpAzureAd"], () => require("./orgIdpAzureAd")); + +export { OrgIdpGithubArgs, OrgIdpGithubState } from "./orgIdpGithub"; +export type OrgIdpGithub = import("./orgIdpGithub").OrgIdpGithub; +export const OrgIdpGithub: typeof import("./orgIdpGithub").OrgIdpGithub = null as any; +utilities.lazyLoad(exports, ["OrgIdpGithub"], () => require("./orgIdpGithub")); + +export { OrgIdpGithubEsArgs, OrgIdpGithubEsState } from "./orgIdpGithubEs"; +export type OrgIdpGithubEs = import("./orgIdpGithubEs").OrgIdpGithubEs; +export const OrgIdpGithubEs: typeof import("./orgIdpGithubEs").OrgIdpGithubEs = null as any; +utilities.lazyLoad(exports, ["OrgIdpGithubEs"], () => require("./orgIdpGithubEs")); + +export { OrgIdpGitlabArgs, OrgIdpGitlabState } from "./orgIdpGitlab"; +export type OrgIdpGitlab = import("./orgIdpGitlab").OrgIdpGitlab; +export const OrgIdpGitlab: typeof import("./orgIdpGitlab").OrgIdpGitlab = null as any; +utilities.lazyLoad(exports, ["OrgIdpGitlab"], () => require("./orgIdpGitlab")); + +export { OrgIdpGitlabSelfHostedArgs, OrgIdpGitlabSelfHostedState } from "./orgIdpGitlabSelfHosted"; +export type OrgIdpGitlabSelfHosted = import("./orgIdpGitlabSelfHosted").OrgIdpGitlabSelfHosted; +export const OrgIdpGitlabSelfHosted: typeof import("./orgIdpGitlabSelfHosted").OrgIdpGitlabSelfHosted = null as any; +utilities.lazyLoad(exports, ["OrgIdpGitlabSelfHosted"], () => require("./orgIdpGitlabSelfHosted")); + +export { OrgIdpGoogleArgs, OrgIdpGoogleState } from "./orgIdpGoogle"; +export type OrgIdpGoogle = import("./orgIdpGoogle").OrgIdpGoogle; +export const OrgIdpGoogle: typeof import("./orgIdpGoogle").OrgIdpGoogle = null as any; +utilities.lazyLoad(exports, ["OrgIdpGoogle"], () => require("./orgIdpGoogle")); + +export { OrgIdpJwtArgs, OrgIdpJwtState } from "./orgIdpJwt"; +export type OrgIdpJwt = import("./orgIdpJwt").OrgIdpJwt; +export const OrgIdpJwt: typeof import("./orgIdpJwt").OrgIdpJwt = null as any; +utilities.lazyLoad(exports, ["OrgIdpJwt"], () => require("./orgIdpJwt")); + +export { OrgIdpLdapArgs, OrgIdpLdapState } from "./orgIdpLdap"; +export type OrgIdpLdap = import("./orgIdpLdap").OrgIdpLdap; +export const OrgIdpLdap: typeof import("./orgIdpLdap").OrgIdpLdap = null as any; +utilities.lazyLoad(exports, ["OrgIdpLdap"], () => require("./orgIdpLdap")); + +export { OrgIdpOidcArgs, OrgIdpOidcState } from "./orgIdpOidc"; +export type OrgIdpOidc = import("./orgIdpOidc").OrgIdpOidc; +export const OrgIdpOidc: typeof import("./orgIdpOidc").OrgIdpOidc = null as any; +utilities.lazyLoad(exports, ["OrgIdpOidc"], () => require("./orgIdpOidc")); + +export { OrgMemberArgs, OrgMemberState } from "./orgMember"; +export type OrgMember = import("./orgMember").OrgMember; +export const OrgMember: typeof import("./orgMember").OrgMember = null as any; +utilities.lazyLoad(exports, ["OrgMember"], () => require("./orgMember")); + +export { PasswordComplexityPolicyArgs, PasswordComplexityPolicyState } from "./passwordComplexityPolicy"; +export type PasswordComplexityPolicy = import("./passwordComplexityPolicy").PasswordComplexityPolicy; +export const PasswordComplexityPolicy: typeof import("./passwordComplexityPolicy").PasswordComplexityPolicy = null as any; +utilities.lazyLoad(exports, ["PasswordComplexityPolicy"], () => require("./passwordComplexityPolicy")); + +export { PersonalAccessTokenArgs, PersonalAccessTokenState } from "./personalAccessToken"; +export type PersonalAccessToken = import("./personalAccessToken").PersonalAccessToken; +export const PersonalAccessToken: typeof import("./personalAccessToken").PersonalAccessToken = null as any; +utilities.lazyLoad(exports, ["PersonalAccessToken"], () => require("./personalAccessToken")); + +export { PrivacyPolicyArgs, PrivacyPolicyState } from "./privacyPolicy"; +export type PrivacyPolicy = import("./privacyPolicy").PrivacyPolicy; +export const PrivacyPolicy: typeof import("./privacyPolicy").PrivacyPolicy = null as any; +utilities.lazyLoad(exports, ["PrivacyPolicy"], () => require("./privacyPolicy")); + +export { ProjectArgs, ProjectState } from "./project"; +export type Project = import("./project").Project; +export const Project: typeof import("./project").Project = null as any; +utilities.lazyLoad(exports, ["Project"], () => require("./project")); + +export { ProjectGrantArgs, ProjectGrantState } from "./projectGrant"; +export type ProjectGrant = import("./projectGrant").ProjectGrant; +export const ProjectGrant: typeof import("./projectGrant").ProjectGrant = null as any; +utilities.lazyLoad(exports, ["ProjectGrant"], () => require("./projectGrant")); + +export { ProjectGrantMemberArgs, ProjectGrantMemberState } from "./projectGrantMember"; +export type ProjectGrantMember = import("./projectGrantMember").ProjectGrantMember; +export const ProjectGrantMember: typeof import("./projectGrantMember").ProjectGrantMember = null as any; +utilities.lazyLoad(exports, ["ProjectGrantMember"], () => require("./projectGrantMember")); + +export { ProjectMemberArgs, ProjectMemberState } from "./projectMember"; +export type ProjectMember = import("./projectMember").ProjectMember; +export const ProjectMember: typeof import("./projectMember").ProjectMember = null as any; +utilities.lazyLoad(exports, ["ProjectMember"], () => require("./projectMember")); + +export { ProjectRoleArgs, ProjectRoleState } from "./projectRole"; +export type ProjectRole = import("./projectRole").ProjectRole; +export const ProjectRole: typeof import("./projectRole").ProjectRole = null as any; +utilities.lazyLoad(exports, ["ProjectRole"], () => require("./projectRole")); + +export { ProviderArgs } from "./provider"; +export type Provider = import("./provider").Provider; +export const Provider: typeof import("./provider").Provider = null as any; +utilities.lazyLoad(exports, ["Provider"], () => require("./provider")); + +export { SmsProviderTwilioArgs, SmsProviderTwilioState } from "./smsProviderTwilio"; +export type SmsProviderTwilio = import("./smsProviderTwilio").SmsProviderTwilio; +export const SmsProviderTwilio: typeof import("./smsProviderTwilio").SmsProviderTwilio = null as any; +utilities.lazyLoad(exports, ["SmsProviderTwilio"], () => require("./smsProviderTwilio")); + +export { SmtpConfigArgs, SmtpConfigState } from "./smtpConfig"; +export type SmtpConfig = import("./smtpConfig").SmtpConfig; +export const SmtpConfig: typeof import("./smtpConfig").SmtpConfig = null as any; +utilities.lazyLoad(exports, ["SmtpConfig"], () => require("./smtpConfig")); + +export { TriggerActionsArgs, TriggerActionsState } from "./triggerActions"; +export type TriggerActions = import("./triggerActions").TriggerActions; +export const TriggerActions: typeof import("./triggerActions").TriggerActions = null as any; +utilities.lazyLoad(exports, ["TriggerActions"], () => require("./triggerActions")); + +export { UserGrantArgs, UserGrantState } from "./userGrant"; +export type UserGrant = import("./userGrant").UserGrant; +export const UserGrant: typeof import("./userGrant").UserGrant = null as any; +utilities.lazyLoad(exports, ["UserGrant"], () => require("./userGrant")); + // Export sub-modules: import * as config from "./config"; @@ -90,59 +413,6 @@ export { config, }; -// Import resources to register: -import { Action } from "./action"; -import { ApplicationApi } from "./applicationApi"; -import { ApplicationKey } from "./applicationKey"; -import { ApplicationOidc } from "./applicationOidc"; -import { DefaultDomainPolicy } from "./defaultDomainPolicy"; -import { DefaultLabelPolicy } from "./defaultLabelPolicy"; -import { DefaultLockoutPolicy } from "./defaultLockoutPolicy"; -import { DefaultLoginPolicy } from "./defaultLoginPolicy"; -import { DefaultNotificationPolicy } from "./defaultNotificationPolicy"; -import { DefaultPasswordComplexityPolicy } from "./defaultPasswordComplexityPolicy"; -import { DefaultPrivacyPolicy } from "./defaultPrivacyPolicy"; -import { Domain } from "./domain"; -import { DomainPolicy } from "./domainPolicy"; -import { HumanUser } from "./humanUser"; -import { IdpAzureAd } from "./idpAzureAd"; -import { IdpGithub } from "./idpGithub"; -import { IdpGithubEs } from "./idpGithubEs"; -import { IdpGitlab } from "./idpGitlab"; -import { IdpGitlabSelfHosted } from "./idpGitlabSelfHosted"; -import { IdpGoogle } from "./idpGoogle"; -import { IdpLdap } from "./idpLdap"; -import { InstanceMember } from "./instanceMember"; -import { LabelPolicy } from "./labelPolicy"; -import { LockoutPolicy } from "./lockoutPolicy"; -import { LoginPolicy } from "./loginPolicy"; -import { MachineKey } from "./machineKey"; -import { MachineUser } from "./machineUser"; -import { NotificationPolicy } from "./notificationPolicy"; -import { Org } from "./org"; -import { OrgIdpAzureAd } from "./orgIdpAzureAd"; -import { OrgIdpGithub } from "./orgIdpGithub"; -import { OrgIdpGithubEs } from "./orgIdpGithubEs"; -import { OrgIdpGitlab } from "./orgIdpGitlab"; -import { OrgIdpGitlabSelfHosted } from "./orgIdpGitlabSelfHosted"; -import { OrgIdpGoogle } from "./orgIdpGoogle"; -import { OrgIdpJwt } from "./orgIdpJwt"; -import { OrgIdpLdap } from "./orgIdpLdap"; -import { OrgIdpOidc } from "./orgIdpOidc"; -import { OrgMember } from "./orgMember"; -import { PasswordComplexityPolicy } from "./passwordComplexityPolicy"; -import { PersonalAccessToken } from "./personalAccessToken"; -import { PrivacyPolicy } from "./privacyPolicy"; -import { Project } from "./project"; -import { ProjectGrant } from "./projectGrant"; -import { ProjectGrantMember } from "./projectGrantMember"; -import { ProjectMember } from "./projectMember"; -import { ProjectRole } from "./projectRole"; -import { SmsProviderTwilio } from "./smsProviderTwilio"; -import { SmtpConfig } from "./smtpConfig"; -import { TriggerActions } from "./triggerActions"; -import { UserGrant } from "./userGrant"; - const _module = { version: utilities.getVersion(), construct: (name: string, type: string, urn: string): pulumi.Resource => { @@ -165,6 +435,8 @@ const _module = { return new DefaultLoginPolicy(name, undefined, { urn }) case "zitadel:index/defaultNotificationPolicy:DefaultNotificationPolicy": return new DefaultNotificationPolicy(name, undefined, { urn }) + case "zitadel:index/defaultOidcSettings:DefaultOidcSettings": + return new DefaultOidcSettings(name, undefined, { urn }) case "zitadel:index/defaultPasswordComplexityPolicy:DefaultPasswordComplexityPolicy": return new DefaultPasswordComplexityPolicy(name, undefined, { urn }) case "zitadel:index/defaultPrivacyPolicy:DefaultPrivacyPolicy": @@ -263,6 +535,7 @@ pulumi.runtime.registerResourceModule("zitadel", "index/defaultLabelPolicy", _mo pulumi.runtime.registerResourceModule("zitadel", "index/defaultLockoutPolicy", _module) pulumi.runtime.registerResourceModule("zitadel", "index/defaultLoginPolicy", _module) pulumi.runtime.registerResourceModule("zitadel", "index/defaultNotificationPolicy", _module) +pulumi.runtime.registerResourceModule("zitadel", "index/defaultOidcSettings", _module) pulumi.runtime.registerResourceModule("zitadel", "index/defaultPasswordComplexityPolicy", _module) pulumi.runtime.registerResourceModule("zitadel", "index/defaultPrivacyPolicy", _module) pulumi.runtime.registerResourceModule("zitadel", "index/domain", _module) @@ -305,9 +578,6 @@ pulumi.runtime.registerResourceModule("zitadel", "index/smsProviderTwilio", _mod pulumi.runtime.registerResourceModule("zitadel", "index/smtpConfig", _module) pulumi.runtime.registerResourceModule("zitadel", "index/triggerActions", _module) pulumi.runtime.registerResourceModule("zitadel", "index/userGrant", _module) - -import { Provider } from "./provider"; - pulumi.runtime.registerResourcePackage("zitadel", { version: utilities.getVersion(), constructProvider: (name: string, type: string, urn: string): pulumi.ProviderResource => { diff --git a/sdk/nodejs/instanceMember.ts b/sdk/nodejs/instanceMember.ts index 499255b..09f209b 100644 --- a/sdk/nodejs/instanceMember.ts +++ b/sdk/nodejs/instanceMember.ts @@ -21,7 +21,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/instanceMember:InstanceMember imported '123456789012345678' diff --git a/sdk/nodejs/labelPolicy.ts b/sdk/nodejs/labelPolicy.ts index 529ef43..70a8908 100644 --- a/sdk/nodejs/labelPolicy.ts +++ b/sdk/nodejs/labelPolicy.ts @@ -9,7 +9,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + * terraform The resource can be imported using the ID format `<[org_id]>`, e.g. * * ```sh * $ pulumi import zitadel:index/labelPolicy:LabelPolicy imported '123456789012345678' diff --git a/sdk/nodejs/lockoutPolicy.ts b/sdk/nodejs/lockoutPolicy.ts index c80dcbc..6f53f70 100644 --- a/sdk/nodejs/lockoutPolicy.ts +++ b/sdk/nodejs/lockoutPolicy.ts @@ -21,7 +21,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + * terraform The resource can be imported using the ID format `<[org_id]>`, e.g. * * ```sh * $ pulumi import zitadel:index/lockoutPolicy:LockoutPolicy imported '123456789012345678' diff --git a/sdk/nodejs/loginPolicy.ts b/sdk/nodejs/loginPolicy.ts index 1beeddd..599073b 100644 --- a/sdk/nodejs/loginPolicy.ts +++ b/sdk/nodejs/loginPolicy.ts @@ -46,7 +46,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + * terraform The resource can be imported using the ID format `<[org_id]>`, e.g. * * ```sh * $ pulumi import zitadel:index/loginPolicy:LoginPolicy imported '123456789012345678' diff --git a/sdk/nodejs/machineKey.ts b/sdk/nodejs/machineKey.ts index dbcd5df..ab5c474 100644 --- a/sdk/nodejs/machineKey.ts +++ b/sdk/nodejs/machineKey.ts @@ -23,7 +23,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/machineKey:MachineKey imported '123456789012345678:123456789012345678:123456789012345678:{"type":"serviceaccount","keyId":"123456789012345678","key":"-----BEGIN RSA PRIVATE KEY-----\nMIIEpQ...-----END RSA PRIVATE KEY-----\n","userId":"123456789012345678"}' @@ -111,6 +111,8 @@ export class MachineKey extends pulumi.CustomResource { resourceInputs["keyDetails"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["keyDetails"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(MachineKey.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/machineUser.ts b/sdk/nodejs/machineUser.ts index caf4adc..405d659 100644 --- a/sdk/nodejs/machineUser.ts +++ b/sdk/nodejs/machineUser.ts @@ -22,7 +22,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/machineUser:MachineUser imported '123456789012345678:123456789012345678' diff --git a/sdk/nodejs/notificationPolicy.ts b/sdk/nodejs/notificationPolicy.ts index b242c72..6d3ef17 100644 --- a/sdk/nodejs/notificationPolicy.ts +++ b/sdk/nodejs/notificationPolicy.ts @@ -21,7 +21,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + * terraform The resource can be imported using the ID format `<[org_id]>`, e.g. * * ```sh * $ pulumi import zitadel:index/notificationPolicy:NotificationPolicy imported '123456789012345678' diff --git a/sdk/nodejs/org.ts b/sdk/nodejs/org.ts index f85c5b6..ada7f39 100644 --- a/sdk/nodejs/org.ts +++ b/sdk/nodejs/org.ts @@ -11,14 +11,14 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as zitadel from "@pulumi/zitadel"; + * import * as zitadel from "@pulumiverse/zitadel"; * - * const defaultOrg = new zitadel.Org("default", {}); + * const _default = new zitadel.Org("default", {}); * ``` * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/org:Org imported '123456789012345678' @@ -52,6 +52,10 @@ export class Org extends pulumi.CustomResource { return obj['__pulumiType'] === Org.__pulumiType; } + /** + * True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. + */ + public readonly isDefault!: pulumi.Output; /** * Name of the org */ @@ -78,11 +82,13 @@ export class Org extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as OrgState | undefined; + resourceInputs["isDefault"] = state ? state.isDefault : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["primaryDomain"] = state ? state.primaryDomain : undefined; resourceInputs["state"] = state ? state.state : undefined; } else { const args = argsOrState as OrgArgs | undefined; + resourceInputs["isDefault"] = args ? args.isDefault : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["primaryDomain"] = undefined /*out*/; resourceInputs["state"] = undefined /*out*/; @@ -96,6 +102,10 @@ export class Org extends pulumi.CustomResource { * Input properties used for looking up and filtering Org resources. */ export interface OrgState { + /** + * True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. + */ + isDefault?: pulumi.Input; /** * Name of the org */ @@ -114,6 +124,10 @@ export interface OrgState { * The set of arguments for constructing a Org resource. */ export interface OrgArgs { + /** + * True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. + */ + isDefault?: pulumi.Input; /** * Name of the org */ diff --git a/sdk/nodejs/orgIdpAzureAd.ts b/sdk/nodejs/orgIdpAzureAd.ts index 2a56e41..c577a3d 100644 --- a/sdk/nodejs/orgIdpAzureAd.ts +++ b/sdk/nodejs/orgIdpAzureAd.ts @@ -34,7 +34,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/orgIdpAzureAd:OrgIdpAzureAd imported '123456789012345678:123456789012345678:12345678-1234-1234-1234-123456789012' @@ -166,7 +166,7 @@ export class OrgIdpAzureAd extends pulumi.CustomResource { throw new Error("Missing required property 'isLinkingAllowed'"); } resourceInputs["clientId"] = args ? args.clientId : undefined; - resourceInputs["clientSecret"] = args ? args.clientSecret : undefined; + resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined; resourceInputs["emailVerified"] = args ? args.emailVerified : undefined; resourceInputs["isAutoCreation"] = args ? args.isAutoCreation : undefined; resourceInputs["isAutoUpdate"] = args ? args.isAutoUpdate : undefined; @@ -179,6 +179,8 @@ export class OrgIdpAzureAd extends pulumi.CustomResource { resourceInputs["tenantType"] = args ? args.tenantType : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clientSecret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(OrgIdpAzureAd.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/orgIdpGithub.ts b/sdk/nodejs/orgIdpGithub.ts index 7988194..7435374 100644 --- a/sdk/nodejs/orgIdpGithub.ts +++ b/sdk/nodejs/orgIdpGithub.ts @@ -31,7 +31,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/orgIdpGithub:OrgIdpGithub imported '123456789012345678:123456789012345678:1234567890123456781234567890123456787890' @@ -145,7 +145,7 @@ export class OrgIdpGithub extends pulumi.CustomResource { throw new Error("Missing required property 'isLinkingAllowed'"); } resourceInputs["clientId"] = args ? args.clientId : undefined; - resourceInputs["clientSecret"] = args ? args.clientSecret : undefined; + resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined; resourceInputs["isAutoCreation"] = args ? args.isAutoCreation : undefined; resourceInputs["isAutoUpdate"] = args ? args.isAutoUpdate : undefined; resourceInputs["isCreationAllowed"] = args ? args.isCreationAllowed : undefined; @@ -155,6 +155,8 @@ export class OrgIdpGithub extends pulumi.CustomResource { resourceInputs["scopes"] = args ? args.scopes : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clientSecret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(OrgIdpGithub.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/orgIdpGithubEs.ts b/sdk/nodejs/orgIdpGithubEs.ts index d687e2c..b829623 100644 --- a/sdk/nodejs/orgIdpGithubEs.ts +++ b/sdk/nodejs/orgIdpGithubEs.ts @@ -34,7 +34,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/orgIdpGithubEs:OrgIdpGithubEs imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678' @@ -173,7 +173,7 @@ export class OrgIdpGithubEs extends pulumi.CustomResource { } resourceInputs["authorizationEndpoint"] = args ? args.authorizationEndpoint : undefined; resourceInputs["clientId"] = args ? args.clientId : undefined; - resourceInputs["clientSecret"] = args ? args.clientSecret : undefined; + resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined; resourceInputs["isAutoCreation"] = args ? args.isAutoCreation : undefined; resourceInputs["isAutoUpdate"] = args ? args.isAutoUpdate : undefined; resourceInputs["isCreationAllowed"] = args ? args.isCreationAllowed : undefined; @@ -185,6 +185,8 @@ export class OrgIdpGithubEs extends pulumi.CustomResource { resourceInputs["userEndpoint"] = args ? args.userEndpoint : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clientSecret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(OrgIdpGithubEs.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/orgIdpGitlab.ts b/sdk/nodejs/orgIdpGitlab.ts index df84143..b7808b8 100644 --- a/sdk/nodejs/orgIdpGitlab.ts +++ b/sdk/nodejs/orgIdpGitlab.ts @@ -31,7 +31,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/orgIdpGitlab:OrgIdpGitlab imported '123456789012345678:123456789012345678:1234567890abcdef' @@ -145,7 +145,7 @@ export class OrgIdpGitlab extends pulumi.CustomResource { throw new Error("Missing required property 'isLinkingAllowed'"); } resourceInputs["clientId"] = args ? args.clientId : undefined; - resourceInputs["clientSecret"] = args ? args.clientSecret : undefined; + resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined; resourceInputs["isAutoCreation"] = args ? args.isAutoCreation : undefined; resourceInputs["isAutoUpdate"] = args ? args.isAutoUpdate : undefined; resourceInputs["isCreationAllowed"] = args ? args.isCreationAllowed : undefined; @@ -155,6 +155,8 @@ export class OrgIdpGitlab extends pulumi.CustomResource { resourceInputs["scopes"] = args ? args.scopes : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clientSecret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(OrgIdpGitlab.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/orgIdpGitlabSelfHosted.ts b/sdk/nodejs/orgIdpGitlabSelfHosted.ts index 23d1ad9..2e5ffba 100644 --- a/sdk/nodejs/orgIdpGitlabSelfHosted.ts +++ b/sdk/nodejs/orgIdpGitlabSelfHosted.ts @@ -32,7 +32,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/orgIdpGitlabSelfHosted:OrgIdpGitlabSelfHosted imported '123456789012345678:123456789012345678:1234567890abcdef' @@ -154,7 +154,7 @@ export class OrgIdpGitlabSelfHosted extends pulumi.CustomResource { throw new Error("Missing required property 'issuer'"); } resourceInputs["clientId"] = args ? args.clientId : undefined; - resourceInputs["clientSecret"] = args ? args.clientSecret : undefined; + resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined; resourceInputs["isAutoCreation"] = args ? args.isAutoCreation : undefined; resourceInputs["isAutoUpdate"] = args ? args.isAutoUpdate : undefined; resourceInputs["isCreationAllowed"] = args ? args.isCreationAllowed : undefined; @@ -165,6 +165,8 @@ export class OrgIdpGitlabSelfHosted extends pulumi.CustomResource { resourceInputs["scopes"] = args ? args.scopes : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clientSecret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(OrgIdpGitlabSelfHosted.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/orgIdpGoogle.ts b/sdk/nodejs/orgIdpGoogle.ts index d9f072d..79d8202 100644 --- a/sdk/nodejs/orgIdpGoogle.ts +++ b/sdk/nodejs/orgIdpGoogle.ts @@ -31,7 +31,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/orgIdpGoogle:OrgIdpGoogle imported '123456789012345678:123456789012345678:G1234567890123' @@ -145,7 +145,7 @@ export class OrgIdpGoogle extends pulumi.CustomResource { throw new Error("Missing required property 'isLinkingAllowed'"); } resourceInputs["clientId"] = args ? args.clientId : undefined; - resourceInputs["clientSecret"] = args ? args.clientSecret : undefined; + resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined; resourceInputs["isAutoCreation"] = args ? args.isAutoCreation : undefined; resourceInputs["isAutoUpdate"] = args ? args.isAutoUpdate : undefined; resourceInputs["isCreationAllowed"] = args ? args.isCreationAllowed : undefined; @@ -155,6 +155,8 @@ export class OrgIdpGoogle extends pulumi.CustomResource { resourceInputs["scopes"] = args ? args.scopes : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clientSecret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(OrgIdpGoogle.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/orgIdpJwt.ts b/sdk/nodejs/orgIdpJwt.ts index a0a9657..43725ea 100644 --- a/sdk/nodejs/orgIdpJwt.ts +++ b/sdk/nodejs/orgIdpJwt.ts @@ -26,7 +26,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/orgIdpJwt:OrgIdpJwt imported '123456789012345678:123456789012345678' diff --git a/sdk/nodejs/orgIdpLdap.ts b/sdk/nodejs/orgIdpLdap.ts index b006640..8fc1c2f 100644 --- a/sdk/nodejs/orgIdpLdap.ts +++ b/sdk/nodejs/orgIdpLdap.ts @@ -42,7 +42,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/orgIdpLdap:OrgIdpLdap imported '123456789012345678:123456789012345678:b1nd_p4ssw0rd' @@ -274,7 +274,7 @@ export class OrgIdpLdap extends pulumi.CustomResource { resourceInputs["avatarUrlAttribute"] = args ? args.avatarUrlAttribute : undefined; resourceInputs["baseDn"] = args ? args.baseDn : undefined; resourceInputs["bindDn"] = args ? args.bindDn : undefined; - resourceInputs["bindPassword"] = args ? args.bindPassword : undefined; + resourceInputs["bindPassword"] = args?.bindPassword ? pulumi.secret(args.bindPassword) : undefined; resourceInputs["displayNameAttribute"] = args ? args.displayNameAttribute : undefined; resourceInputs["emailAttribute"] = args ? args.emailAttribute : undefined; resourceInputs["emailVerifiedAttribute"] = args ? args.emailVerifiedAttribute : undefined; @@ -301,6 +301,8 @@ export class OrgIdpLdap extends pulumi.CustomResource { resourceInputs["userObjectClasses"] = args ? args.userObjectClasses : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["bindPassword"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(OrgIdpLdap.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/orgIdpOidc.ts b/sdk/nodejs/orgIdpOidc.ts index 6aae9ce..f4ca12f 100644 --- a/sdk/nodejs/orgIdpOidc.ts +++ b/sdk/nodejs/orgIdpOidc.ts @@ -33,7 +33,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/orgIdpOidc:OrgIdpOidc imported '123456789012345678:123456789012345678:1234567890abcdef' @@ -163,7 +163,7 @@ export class OrgIdpOidc extends pulumi.CustomResource { throw new Error("Missing required property 'issuer'"); } resourceInputs["clientId"] = args ? args.clientId : undefined; - resourceInputs["clientSecret"] = args ? args.clientSecret : undefined; + resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined; resourceInputs["isAutoCreation"] = args ? args.isAutoCreation : undefined; resourceInputs["isAutoUpdate"] = args ? args.isAutoUpdate : undefined; resourceInputs["isCreationAllowed"] = args ? args.isCreationAllowed : undefined; @@ -175,6 +175,8 @@ export class OrgIdpOidc extends pulumi.CustomResource { resourceInputs["scopes"] = args ? args.scopes : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clientSecret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(OrgIdpOidc.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/orgMember.ts b/sdk/nodejs/orgMember.ts index 087a302..e230dfd 100644 --- a/sdk/nodejs/orgMember.ts +++ b/sdk/nodejs/orgMember.ts @@ -22,7 +22,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/orgMember:OrgMember imported '123456789012345678:123456789012345678' diff --git a/sdk/nodejs/package.json b/sdk/nodejs/package.json index 9f176b9..d0ab876 100644 --- a/sdk/nodejs/package.json +++ b/sdk/nodejs/package.json @@ -11,8 +11,7 @@ "repository": "https://github.com/pulumiverse/pulumi-zitadel", "license": "Apache-2.0", "scripts": { - "build": "tsc", - "install": "node scripts/install-pulumi-plugin.js resource zitadel ${VERSION}" + "build": "tsc" }, "dependencies": { "@pulumi/pulumi": "^3.0.0" diff --git a/sdk/nodejs/personalAccessToken.ts b/sdk/nodejs/personalAccessToken.ts index 95ad2e8..529dbdf 100644 --- a/sdk/nodejs/personalAccessToken.ts +++ b/sdk/nodejs/personalAccessToken.ts @@ -22,7 +22,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/personalAccessToken:PersonalAccessToken imported '123456789012345678:123456789012345678:123456789012345678:LHt79...' @@ -101,6 +101,8 @@ export class PersonalAccessToken extends pulumi.CustomResource { resourceInputs["token"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["token"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(PersonalAccessToken.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/privacyPolicy.ts b/sdk/nodejs/privacyPolicy.ts index 64d781a..e3e1aae 100644 --- a/sdk/nodejs/privacyPolicy.ts +++ b/sdk/nodejs/privacyPolicy.ts @@ -24,7 +24,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + * terraform The resource can be imported using the ID format `<[org_id]>`, e.g. * * ```sh * $ pulumi import zitadel:index/privacyPolicy:PrivacyPolicy imported '123456789012345678' @@ -58,14 +58,14 @@ export class PrivacyPolicy extends pulumi.CustomResource { return obj['__pulumiType'] === PrivacyPolicy.__pulumiType; } - public readonly helpLink!: pulumi.Output; + public readonly helpLink!: pulumi.Output; /** * ID of the organization */ public readonly orgId!: pulumi.Output; - public readonly privacyLink!: pulumi.Output; - public readonly supportEmail!: pulumi.Output; - public readonly tosLink!: pulumi.Output; + public readonly privacyLink!: pulumi.Output; + public readonly supportEmail!: pulumi.Output; + public readonly tosLink!: pulumi.Output; /** * Create a PrivacyPolicy resource with the given unique name, arguments, and options. @@ -74,7 +74,7 @@ export class PrivacyPolicy extends pulumi.CustomResource { * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ - constructor(name: string, args: PrivacyPolicyArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, args?: PrivacyPolicyArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: PrivacyPolicyArgs | PrivacyPolicyState, opts?: pulumi.CustomResourceOptions) { let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; @@ -87,18 +87,6 @@ export class PrivacyPolicy extends pulumi.CustomResource { resourceInputs["tosLink"] = state ? state.tosLink : undefined; } else { const args = argsOrState as PrivacyPolicyArgs | undefined; - if ((!args || args.helpLink === undefined) && !opts.urn) { - throw new Error("Missing required property 'helpLink'"); - } - if ((!args || args.privacyLink === undefined) && !opts.urn) { - throw new Error("Missing required property 'privacyLink'"); - } - if ((!args || args.supportEmail === undefined) && !opts.urn) { - throw new Error("Missing required property 'supportEmail'"); - } - if ((!args || args.tosLink === undefined) && !opts.urn) { - throw new Error("Missing required property 'tosLink'"); - } resourceInputs["helpLink"] = args ? args.helpLink : undefined; resourceInputs["orgId"] = args ? args.orgId : undefined; resourceInputs["privacyLink"] = args ? args.privacyLink : undefined; @@ -128,12 +116,12 @@ export interface PrivacyPolicyState { * The set of arguments for constructing a PrivacyPolicy resource. */ export interface PrivacyPolicyArgs { - helpLink: pulumi.Input; + helpLink?: pulumi.Input; /** * ID of the organization */ orgId?: pulumi.Input; - privacyLink: pulumi.Input; - supportEmail: pulumi.Input; - tosLink: pulumi.Input; + privacyLink?: pulumi.Input; + supportEmail?: pulumi.Input; + tosLink?: pulumi.Input; } diff --git a/sdk/nodejs/project.ts b/sdk/nodejs/project.ts index 38ea3b1..4aeebba 100644 --- a/sdk/nodejs/project.ts +++ b/sdk/nodejs/project.ts @@ -24,7 +24,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/project:Project imported '123456789012345678:123456789012345678' diff --git a/sdk/nodejs/projectGrant.ts b/sdk/nodejs/projectGrant.ts index d7710af..9cc3e88 100644 --- a/sdk/nodejs/projectGrant.ts +++ b/sdk/nodejs/projectGrant.ts @@ -23,7 +23,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/projectGrant:ProjectGrant imported '123456789012345678:123456789012345678:123456789012345678' diff --git a/sdk/nodejs/projectGrantMember.ts b/sdk/nodejs/projectGrantMember.ts index 93da34e..72750b3 100644 --- a/sdk/nodejs/projectGrantMember.ts +++ b/sdk/nodejs/projectGrantMember.ts @@ -24,7 +24,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/projectGrantMember:ProjectGrantMember imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678' diff --git a/sdk/nodejs/projectMember.ts b/sdk/nodejs/projectMember.ts index 230d8d8..a1785a6 100644 --- a/sdk/nodejs/projectMember.ts +++ b/sdk/nodejs/projectMember.ts @@ -23,7 +23,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/projectMember:ProjectMember imported '123456789012345678:123456789012345678:123456789012345678' diff --git a/sdk/nodejs/projectRole.ts b/sdk/nodejs/projectRole.ts index 4043941..09499f5 100644 --- a/sdk/nodejs/projectRole.ts +++ b/sdk/nodejs/projectRole.ts @@ -24,7 +24,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/projectRole:ProjectRole imported '123456789012345678:my-role-key:123456789012345678' diff --git a/sdk/nodejs/provider.ts b/sdk/nodejs/provider.ts index 5c4ccb5..f2f62ac 100644 --- a/sdk/nodejs/provider.ts +++ b/sdk/nodejs/provider.ts @@ -22,7 +22,7 @@ export class Provider extends pulumi.ProviderResource { if (obj === undefined || obj === null) { return false; } - return obj['__pulumiType'] === Provider.__pulumiType; + return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType; } /** diff --git a/sdk/nodejs/scripts/install-pulumi-plugin.js b/sdk/nodejs/scripts/install-pulumi-plugin.js deleted file mode 100644 index a4c1667..0000000 --- a/sdk/nodejs/scripts/install-pulumi-plugin.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; -var childProcess = require("child_process"); - -var args = process.argv.slice(2); - -if (args.indexOf("${VERSION}") !== -1) { - process.exit(0); -} - -var res = childProcess.spawnSync("pulumi", ["plugin", "install", "--server", "github://api.github.com/pulumiverse"].concat(args), { - stdio: ["ignore", "inherit", "inherit"] -}); - -if (res.error && res.error.code === "ENOENT") { - console.error("\nThere was an error installing the resource provider plugin. " + - "It looks like `pulumi` is not installed on your system. " + - "Please visit https://pulumi.com/ to install the Pulumi CLI.\n" + - "You may try manually installing the plugin by running " + - "`pulumi plugin install " + args.join(" ") + "`"); -} else if (res.error || res.status !== 0) { - console.error("\nThere was an error installing the resource provider plugin. " + - "You may try to manually installing the plugin by running " + - "`pulumi plugin install " + args.join(" ") + "`"); -} - -process.exit(0); diff --git a/sdk/nodejs/smsProviderTwilio.ts b/sdk/nodejs/smsProviderTwilio.ts index 19dda04..b1e7522 100644 --- a/sdk/nodejs/smsProviderTwilio.ts +++ b/sdk/nodejs/smsProviderTwilio.ts @@ -11,9 +11,9 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as zitadel from "@pulumi/zitadel"; + * import * as zitadel from "@pulumiverse/zitadel"; * - * const defaultSmsProviderTwilio = new zitadel.SmsProviderTwilio("default", { + * const _default = new zitadel.SmsProviderTwilio("default", { * senderNumber: "019920892", * sid: "sid", * token: "twilio_token", @@ -22,7 +22,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/smsProviderTwilio:SmsProviderTwilio imported '123456789012345678:12345678901234567890123456abcdef' @@ -98,9 +98,11 @@ export class SmsProviderTwilio extends pulumi.CustomResource { } resourceInputs["senderNumber"] = args ? args.senderNumber : undefined; resourceInputs["sid"] = args ? args.sid : undefined; - resourceInputs["token"] = args ? args.token : undefined; + resourceInputs["token"] = args?.token ? pulumi.secret(args.token) : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["token"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(SmsProviderTwilio.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/smtpConfig.ts b/sdk/nodejs/smtpConfig.ts index 2d4ce75..5f2af73 100644 --- a/sdk/nodejs/smtpConfig.ts +++ b/sdk/nodejs/smtpConfig.ts @@ -11,11 +11,12 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; - * import * as zitadel from "@pulumi/zitadel"; + * import * as zitadel from "@pulumiverse/zitadel"; * - * const defaultSmtpConfig = new zitadel.SmtpConfig("default", { + * const _default = new zitadel.SmtpConfig("default", { * host: "localhost:25", * password: "secret_password", + * replyToAddress: "replyto@example.com", * senderAddress: "sender@example.com", * senderName: "no-reply", * tls: true, @@ -25,7 +26,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format `<[password]>`, e.g. + * terraform The resource can be imported using the ID format `<[password]>`, e.g. * * ```sh * $ pulumi import zitadel:index/smtpConfig:SmtpConfig imported 'p4ssw0rd' @@ -67,6 +68,10 @@ export class SmtpConfig extends pulumi.CustomResource { * Password used to communicate with your SMTP server. */ public readonly password!: pulumi.Output; + /** + * Address to reply to. + */ + public readonly replyToAddress!: pulumi.Output; /** * Address used to send emails. */ @@ -99,6 +104,7 @@ export class SmtpConfig extends pulumi.CustomResource { const state = argsOrState as SmtpConfigState | undefined; resourceInputs["host"] = state ? state.host : undefined; resourceInputs["password"] = state ? state.password : undefined; + resourceInputs["replyToAddress"] = state ? state.replyToAddress : undefined; resourceInputs["senderAddress"] = state ? state.senderAddress : undefined; resourceInputs["senderName"] = state ? state.senderName : undefined; resourceInputs["tls"] = state ? state.tls : undefined; @@ -115,13 +121,16 @@ export class SmtpConfig extends pulumi.CustomResource { throw new Error("Missing required property 'senderName'"); } resourceInputs["host"] = args ? args.host : undefined; - resourceInputs["password"] = args ? args.password : undefined; + resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined; + resourceInputs["replyToAddress"] = args ? args.replyToAddress : undefined; resourceInputs["senderAddress"] = args ? args.senderAddress : undefined; resourceInputs["senderName"] = args ? args.senderName : undefined; resourceInputs["tls"] = args ? args.tls : undefined; resourceInputs["user"] = args ? args.user : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["password"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(SmtpConfig.__pulumiType, name, resourceInputs, opts); } } @@ -138,6 +147,10 @@ export interface SmtpConfigState { * Password used to communicate with your SMTP server. */ password?: pulumi.Input; + /** + * Address to reply to. + */ + replyToAddress?: pulumi.Input; /** * Address used to send emails. */ @@ -168,6 +181,10 @@ export interface SmtpConfigArgs { * Password used to communicate with your SMTP server. */ password?: pulumi.Input; + /** + * Address to reply to. + */ + replyToAddress?: pulumi.Input; /** * Address used to send emails. */ diff --git a/sdk/nodejs/triggerActions.ts b/sdk/nodejs/triggerActions.ts index bf629b6..f85603e 100644 --- a/sdk/nodejs/triggerActions.ts +++ b/sdk/nodejs/triggerActions.ts @@ -23,7 +23,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/triggerActions:TriggerActions imported 'FLOW_TYPE_EXTERNAL_AUTHENTICATION:TRIGGER_TYPE_POST_CREATION:123456789012345678' diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 69c340f..49df35c 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -24,6 +24,7 @@ "defaultLockoutPolicy.ts", "defaultLoginPolicy.ts", "defaultNotificationPolicy.ts", + "defaultOidcSettings.ts", "defaultPasswordComplexityPolicy.ts", "defaultPrivacyPolicy.ts", "domain.ts", @@ -31,6 +32,7 @@ "getAction.ts", "getApplicationApi.ts", "getApplicationOidc.ts", + "getDefaultOidcSettings.ts", "getHumanUser.ts", "getIdpAzureAd.ts", "getIdpGithub.ts", @@ -50,6 +52,7 @@ "getOrgIdpLdap.ts", "getOrgJwtIdp.ts", "getOrgOidcIdp.ts", + "getOrgs.ts", "getProject.ts", "getProjectRole.ts", "getTriggerActions.ts", diff --git a/sdk/nodejs/userGrant.ts b/sdk/nodejs/userGrant.ts index 2e5728e..6883c6d 100644 --- a/sdk/nodejs/userGrant.ts +++ b/sdk/nodejs/userGrant.ts @@ -23,7 +23,7 @@ import * as utilities from "./utilities"; * * ## Import * - * terraform # The resource can be imported using the ID format ``, e.g. + * terraform The resource can be imported using the ID format ``, e.g. * * ```sh * $ pulumi import zitadel:index/userGrant:UserGrant imported '123456789012345678:123456789012345678:123456789012345678' diff --git a/sdk/nodejs/utilities.ts b/sdk/nodejs/utilities.ts index bf238c9..ff05d49 100644 --- a/sdk/nodejs/utilities.ts +++ b/sdk/nodejs/utilities.ts @@ -52,3 +52,15 @@ export function getVersion(): string { export function resourceOptsDefaults(): any { return { version: getVersion(), pluginDownloadURL: "github://api.github.com/pulumiverse" }; } + +/** @internal */ +export function lazyLoad(exports: any, props: string[], loadModule: any) { + for (let property of props) { + Object.defineProperty(exports, property, { + enumerable: true, + get: function() { + return loadModule()[property]; + }, + }); + } +} diff --git a/sdk/python/pulumiverse_zitadel/__init__.py b/sdk/python/pulumiverse_zitadel/__init__.py index 35971e6..b6bd874 100644 --- a/sdk/python/pulumiverse_zitadel/__init__.py +++ b/sdk/python/pulumiverse_zitadel/__init__.py @@ -14,6 +14,7 @@ from .default_lockout_policy import * from .default_login_policy import * from .default_notification_policy import * +from .default_oidc_settings import * from .default_password_complexity_policy import * from .default_privacy_policy import * from .domain import * @@ -21,6 +22,7 @@ from .get_action import * from .get_application_api import * from .get_application_oidc import * +from .get_default_oidc_settings import * from .get_human_user import * from .get_idp_azure_ad import * from .get_idp_github import * @@ -40,6 +42,7 @@ from .get_org_idp_ldap import * from .get_org_jwt_idp import * from .get_org_oidc_idp import * +from .get_orgs import * from .get_project import * from .get_project_role import * from .get_trigger_actions import * @@ -165,6 +168,14 @@ "zitadel:index/defaultNotificationPolicy:DefaultNotificationPolicy": "DefaultNotificationPolicy" } }, + { + "pkg": "zitadel", + "mod": "index/defaultOidcSettings", + "fqn": "pulumiverse_zitadel", + "classes": { + "zitadel:index/defaultOidcSettings:DefaultOidcSettings": "DefaultOidcSettings" + } + }, { "pkg": "zitadel", "mod": "index/defaultPasswordComplexityPolicy", diff --git a/sdk/python/pulumiverse_zitadel/action.py b/sdk/python/pulumiverse_zitadel/action.py index 7925bb8..bd1f87d 100644 --- a/sdk/python/pulumiverse_zitadel/action.py +++ b/sdk/python/pulumiverse_zitadel/action.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ActionArgs', 'Action'] @@ -25,13 +25,36 @@ def __init__(__self__, *, :param pulumi.Input[str] timeout: after which time the action will be terminated if not finished :param pulumi.Input[str] org_id: ID of the organization """ - pulumi.set(__self__, "allowed_to_fail", allowed_to_fail) - pulumi.set(__self__, "script", script) - pulumi.set(__self__, "timeout", timeout) + ActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_to_fail=allowed_to_fail, + script=script, + timeout=timeout, + name=name, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_to_fail: pulumi.Input[bool], + script: pulumi.Input[str], + timeout: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowedToFail' in kwargs: + allowed_to_fail = kwargs['allowedToFail'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("allowed_to_fail", allowed_to_fail) + _setter("script", script) + _setter("timeout", timeout) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter(name="allowedToFail") @@ -104,18 +127,43 @@ def __init__(__self__, *, :param pulumi.Input[int] state: the state of the action :param pulumi.Input[str] timeout: after which time the action will be terminated if not finished """ + _ActionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_to_fail=allowed_to_fail, + name=name, + org_id=org_id, + script=script, + state=state, + timeout=timeout, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_to_fail: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + script: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[int]] = None, + timeout: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowedToFail' in kwargs: + allowed_to_fail = kwargs['allowedToFail'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if allowed_to_fail is not None: - pulumi.set(__self__, "allowed_to_fail", allowed_to_fail) + _setter("allowed_to_fail", allowed_to_fail) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if script is not None: - pulumi.set(__self__, "script", script) + _setter("script", script) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if timeout is not None: - pulumi.set(__self__, "timeout", timeout) + _setter("timeout", timeout) @property @pulumi.getter(name="allowedToFail") @@ -213,7 +261,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/action:Action imported '123456789012345678:123456789012345678' @@ -249,7 +297,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/action:Action imported '123456789012345678:123456789012345678' @@ -265,6 +313,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ActionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/application_api.py b/sdk/python/pulumiverse_zitadel/application_api.py index bcade91..4e90ed1 100644 --- a/sdk/python/pulumiverse_zitadel/application_api.py +++ b/sdk/python/pulumiverse_zitadel/application_api.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ApplicationApiArgs', 'ApplicationApi'] @@ -25,13 +25,36 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the application :param pulumi.Input[str] org_id: ID of the organization """ - pulumi.set(__self__, "project_id", project_id) + ApplicationApiArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + project_id=project_id, + auth_method_type=auth_method_type, + name=name, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + project_id: pulumi.Input[str], + auth_method_type: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'authMethodType' in kwargs: + auth_method_type = kwargs['authMethodType'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("project_id", project_id) if auth_method_type is not None: - pulumi.set(__self__, "auth_method_type", auth_method_type) + _setter("auth_method_type", auth_method_type) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter(name="projectId") @@ -100,18 +123,49 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[str] project_id: ID of the project """ + _ApplicationApiState._configure( + lambda key, value: pulumi.set(__self__, key, value), + auth_method_type=auth_method_type, + client_id=client_id, + client_secret=client_secret, + name=name, + org_id=org_id, + project_id=project_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auth_method_type: Optional[pulumi.Input[str]] = None, + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authMethodType' in kwargs: + auth_method_type = kwargs['authMethodType'] + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if auth_method_type is not None: - pulumi.set(__self__, "auth_method_type", auth_method_type) + _setter("auth_method_type", auth_method_type) if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) @property @pulumi.getter(name="authMethodType") @@ -213,7 +267,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/applicationApi:ApplicationApi imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df' @@ -249,7 +303,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/applicationApi:ApplicationApi imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df' @@ -265,6 +319,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ApplicationApiArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -291,6 +349,8 @@ def _internal_init(__self__, __props__.__dict__["project_id"] = project_id __props__.__dict__["client_id"] = None __props__.__dict__["client_secret"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientId", "clientSecret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(ApplicationApi, __self__).__init__( 'zitadel:index/applicationApi:ApplicationApi', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/application_key.py b/sdk/python/pulumiverse_zitadel/application_key.py index 7a17563..a69fbfe 100644 --- a/sdk/python/pulumiverse_zitadel/application_key.py +++ b/sdk/python/pulumiverse_zitadel/application_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ApplicationKeyArgs', 'ApplicationKey'] @@ -27,12 +27,41 @@ def __init__(__self__, *, :param pulumi.Input[str] project_id: ID of the project :param pulumi.Input[str] org_id: ID of the organization """ - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "expiration_date", expiration_date) - pulumi.set(__self__, "key_type", key_type) - pulumi.set(__self__, "project_id", project_id) + ApplicationKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_id=app_id, + expiration_date=expiration_date, + key_type=key_type, + project_id=project_id, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_id: pulumi.Input[str], + expiration_date: pulumi.Input[str], + key_type: pulumi.Input[str], + project_id: pulumi.Input[str], + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'appId' in kwargs: + app_id = kwargs['appId'] + if 'expirationDate' in kwargs: + expiration_date = kwargs['expirationDate'] + if 'keyType' in kwargs: + key_type = kwargs['keyType'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("app_id", app_id) + _setter("expiration_date", expiration_date) + _setter("key_type", key_type) + _setter("project_id", project_id) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter(name="appId") @@ -113,18 +142,51 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[str] project_id: ID of the project """ + _ApplicationKeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_id=app_id, + expiration_date=expiration_date, + key_details=key_details, + key_type=key_type, + org_id=org_id, + project_id=project_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_id: Optional[pulumi.Input[str]] = None, + expiration_date: Optional[pulumi.Input[str]] = None, + key_details: Optional[pulumi.Input[str]] = None, + key_type: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'appId' in kwargs: + app_id = kwargs['appId'] + if 'expirationDate' in kwargs: + expiration_date = kwargs['expirationDate'] + if 'keyDetails' in kwargs: + key_details = kwargs['keyDetails'] + if 'keyType' in kwargs: + key_type = kwargs['keyType'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if app_id is not None: - pulumi.set(__self__, "app_id", app_id) + _setter("app_id", app_id) if expiration_date is not None: - pulumi.set(__self__, "expiration_date", expiration_date) + _setter("expiration_date", expiration_date) if key_details is not None: - pulumi.set(__self__, "key_details", key_details) + _setter("key_details", key_details) if key_type is not None: - pulumi.set(__self__, "key_type", key_type) + _setter("key_type", key_type) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) @property @pulumi.getter(name="appId") @@ -229,7 +291,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``. # You can use __SEMICOLON__ to escape :, e.g. + terraform The resource can be imported using the ID format ``. You can use __SEMICOLON__ to escape :, e.g. ```sh $ pulumi import zitadel:index/applicationKey:ApplicationKey imported "123456789012345678:123456789012345678:123456789012345678:123456789012345678:$(cat ~/Downloads/123456789012345678.json | sed -e 's/:/__SEMICOLON__/g')" @@ -268,7 +330,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``. # You can use __SEMICOLON__ to escape :, e.g. + terraform The resource can be imported using the ID format ``. You can use __SEMICOLON__ to escape :, e.g. ```sh $ pulumi import zitadel:index/applicationKey:ApplicationKey imported "123456789012345678:123456789012345678:123456789012345678:123456789012345678:$(cat ~/Downloads/123456789012345678.json | sed -e 's/:/__SEMICOLON__/g')" @@ -284,6 +346,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ApplicationKeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -317,6 +383,8 @@ def _internal_init(__self__, raise TypeError("Missing required property 'project_id'") __props__.__dict__["project_id"] = project_id __props__.__dict__["key_details"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["keyDetails"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(ApplicationKey, __self__).__init__( 'zitadel:index/applicationKey:ApplicationKey', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/application_oidc.py b/sdk/python/pulumiverse_zitadel/application_oidc.py index 7ba7272..92371ed 100644 --- a/sdk/python/pulumiverse_zitadel/application_oidc.py +++ b/sdk/python/pulumiverse_zitadel/application_oidc.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ApplicationOidcArgs', 'ApplicationOidc'] @@ -51,36 +51,109 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] post_logout_redirect_uris: Post logout redirect URIs :param pulumi.Input[str] version: Version, supported values: OIDC*VERSION*1_0 """ - pulumi.set(__self__, "grant_types", grant_types) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "redirect_uris", redirect_uris) - pulumi.set(__self__, "response_types", response_types) + ApplicationOidcArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + grant_types=grant_types, + project_id=project_id, + redirect_uris=redirect_uris, + response_types=response_types, + access_token_role_assertion=access_token_role_assertion, + access_token_type=access_token_type, + additional_origins=additional_origins, + app_type=app_type, + auth_method_type=auth_method_type, + clock_skew=clock_skew, + dev_mode=dev_mode, + id_token_role_assertion=id_token_role_assertion, + id_token_userinfo_assertion=id_token_userinfo_assertion, + name=name, + org_id=org_id, + post_logout_redirect_uris=post_logout_redirect_uris, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + grant_types: pulumi.Input[Sequence[pulumi.Input[str]]], + project_id: pulumi.Input[str], + redirect_uris: pulumi.Input[Sequence[pulumi.Input[str]]], + response_types: pulumi.Input[Sequence[pulumi.Input[str]]], + access_token_role_assertion: Optional[pulumi.Input[bool]] = None, + access_token_type: Optional[pulumi.Input[str]] = None, + additional_origins: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + app_type: Optional[pulumi.Input[str]] = None, + auth_method_type: Optional[pulumi.Input[str]] = None, + clock_skew: Optional[pulumi.Input[str]] = None, + dev_mode: Optional[pulumi.Input[bool]] = None, + id_token_role_assertion: Optional[pulumi.Input[bool]] = None, + id_token_userinfo_assertion: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + post_logout_redirect_uris: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'grantTypes' in kwargs: + grant_types = kwargs['grantTypes'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'redirectUris' in kwargs: + redirect_uris = kwargs['redirectUris'] + if 'responseTypes' in kwargs: + response_types = kwargs['responseTypes'] + if 'accessTokenRoleAssertion' in kwargs: + access_token_role_assertion = kwargs['accessTokenRoleAssertion'] + if 'accessTokenType' in kwargs: + access_token_type = kwargs['accessTokenType'] + if 'additionalOrigins' in kwargs: + additional_origins = kwargs['additionalOrigins'] + if 'appType' in kwargs: + app_type = kwargs['appType'] + if 'authMethodType' in kwargs: + auth_method_type = kwargs['authMethodType'] + if 'clockSkew' in kwargs: + clock_skew = kwargs['clockSkew'] + if 'devMode' in kwargs: + dev_mode = kwargs['devMode'] + if 'idTokenRoleAssertion' in kwargs: + id_token_role_assertion = kwargs['idTokenRoleAssertion'] + if 'idTokenUserinfoAssertion' in kwargs: + id_token_userinfo_assertion = kwargs['idTokenUserinfoAssertion'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'postLogoutRedirectUris' in kwargs: + post_logout_redirect_uris = kwargs['postLogoutRedirectUris'] + + _setter("grant_types", grant_types) + _setter("project_id", project_id) + _setter("redirect_uris", redirect_uris) + _setter("response_types", response_types) if access_token_role_assertion is not None: - pulumi.set(__self__, "access_token_role_assertion", access_token_role_assertion) + _setter("access_token_role_assertion", access_token_role_assertion) if access_token_type is not None: - pulumi.set(__self__, "access_token_type", access_token_type) + _setter("access_token_type", access_token_type) if additional_origins is not None: - pulumi.set(__self__, "additional_origins", additional_origins) + _setter("additional_origins", additional_origins) if app_type is not None: - pulumi.set(__self__, "app_type", app_type) + _setter("app_type", app_type) if auth_method_type is not None: - pulumi.set(__self__, "auth_method_type", auth_method_type) + _setter("auth_method_type", auth_method_type) if clock_skew is not None: - pulumi.set(__self__, "clock_skew", clock_skew) + _setter("clock_skew", clock_skew) if dev_mode is not None: - pulumi.set(__self__, "dev_mode", dev_mode) + _setter("dev_mode", dev_mode) if id_token_role_assertion is not None: - pulumi.set(__self__, "id_token_role_assertion", id_token_role_assertion) + _setter("id_token_role_assertion", id_token_role_assertion) if id_token_userinfo_assertion is not None: - pulumi.set(__self__, "id_token_userinfo_assertion", id_token_userinfo_assertion) + _setter("id_token_userinfo_assertion", id_token_userinfo_assertion) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if post_logout_redirect_uris is not None: - pulumi.set(__self__, "post_logout_redirect_uris", post_logout_redirect_uris) + _setter("post_logout_redirect_uris", post_logout_redirect_uris) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="grantTypes") @@ -331,44 +404,125 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] response_types: Response type, supported values: OIDC*RESPONSE*TYPE*CODE, OIDC*RESPONSE*TYPE*ID*TOKEN, OIDC*RESPONSE*TYPE*ID*TOKEN*TOKEN :param pulumi.Input[str] version: Version, supported values: OIDC*VERSION*1_0 """ + _ApplicationOidcState._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_token_role_assertion=access_token_role_assertion, + access_token_type=access_token_type, + additional_origins=additional_origins, + app_type=app_type, + auth_method_type=auth_method_type, + client_id=client_id, + client_secret=client_secret, + clock_skew=clock_skew, + dev_mode=dev_mode, + grant_types=grant_types, + id_token_role_assertion=id_token_role_assertion, + id_token_userinfo_assertion=id_token_userinfo_assertion, + name=name, + org_id=org_id, + post_logout_redirect_uris=post_logout_redirect_uris, + project_id=project_id, + redirect_uris=redirect_uris, + response_types=response_types, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_token_role_assertion: Optional[pulumi.Input[bool]] = None, + access_token_type: Optional[pulumi.Input[str]] = None, + additional_origins: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + app_type: Optional[pulumi.Input[str]] = None, + auth_method_type: Optional[pulumi.Input[str]] = None, + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + clock_skew: Optional[pulumi.Input[str]] = None, + dev_mode: Optional[pulumi.Input[bool]] = None, + grant_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + id_token_role_assertion: Optional[pulumi.Input[bool]] = None, + id_token_userinfo_assertion: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + post_logout_redirect_uris: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + project_id: Optional[pulumi.Input[str]] = None, + redirect_uris: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + response_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessTokenRoleAssertion' in kwargs: + access_token_role_assertion = kwargs['accessTokenRoleAssertion'] + if 'accessTokenType' in kwargs: + access_token_type = kwargs['accessTokenType'] + if 'additionalOrigins' in kwargs: + additional_origins = kwargs['additionalOrigins'] + if 'appType' in kwargs: + app_type = kwargs['appType'] + if 'authMethodType' in kwargs: + auth_method_type = kwargs['authMethodType'] + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'clockSkew' in kwargs: + clock_skew = kwargs['clockSkew'] + if 'devMode' in kwargs: + dev_mode = kwargs['devMode'] + if 'grantTypes' in kwargs: + grant_types = kwargs['grantTypes'] + if 'idTokenRoleAssertion' in kwargs: + id_token_role_assertion = kwargs['idTokenRoleAssertion'] + if 'idTokenUserinfoAssertion' in kwargs: + id_token_userinfo_assertion = kwargs['idTokenUserinfoAssertion'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'postLogoutRedirectUris' in kwargs: + post_logout_redirect_uris = kwargs['postLogoutRedirectUris'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'redirectUris' in kwargs: + redirect_uris = kwargs['redirectUris'] + if 'responseTypes' in kwargs: + response_types = kwargs['responseTypes'] + if access_token_role_assertion is not None: - pulumi.set(__self__, "access_token_role_assertion", access_token_role_assertion) + _setter("access_token_role_assertion", access_token_role_assertion) if access_token_type is not None: - pulumi.set(__self__, "access_token_type", access_token_type) + _setter("access_token_type", access_token_type) if additional_origins is not None: - pulumi.set(__self__, "additional_origins", additional_origins) + _setter("additional_origins", additional_origins) if app_type is not None: - pulumi.set(__self__, "app_type", app_type) + _setter("app_type", app_type) if auth_method_type is not None: - pulumi.set(__self__, "auth_method_type", auth_method_type) + _setter("auth_method_type", auth_method_type) if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if clock_skew is not None: - pulumi.set(__self__, "clock_skew", clock_skew) + _setter("clock_skew", clock_skew) if dev_mode is not None: - pulumi.set(__self__, "dev_mode", dev_mode) + _setter("dev_mode", dev_mode) if grant_types is not None: - pulumi.set(__self__, "grant_types", grant_types) + _setter("grant_types", grant_types) if id_token_role_assertion is not None: - pulumi.set(__self__, "id_token_role_assertion", id_token_role_assertion) + _setter("id_token_role_assertion", id_token_role_assertion) if id_token_userinfo_assertion is not None: - pulumi.set(__self__, "id_token_userinfo_assertion", id_token_userinfo_assertion) + _setter("id_token_userinfo_assertion", id_token_userinfo_assertion) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if post_logout_redirect_uris is not None: - pulumi.set(__self__, "post_logout_redirect_uris", post_logout_redirect_uris) + _setter("post_logout_redirect_uris", post_logout_redirect_uris) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if redirect_uris is not None: - pulumi.set(__self__, "redirect_uris", redirect_uris) + _setter("redirect_uris", redirect_uris) if response_types is not None: - pulumi.set(__self__, "response_types", response_types) + _setter("response_types", response_types) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="accessTokenRoleAssertion") @@ -652,7 +806,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/applicationOidc:ApplicationOidc imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df' @@ -714,7 +868,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/applicationOidc:ApplicationOidc imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df' @@ -730,6 +884,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ApplicationOidcArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -788,6 +946,8 @@ def _internal_init(__self__, __props__.__dict__["version"] = version __props__.__dict__["client_id"] = None __props__.__dict__["client_secret"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientId", "clientSecret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(ApplicationOidc, __self__).__init__( 'zitadel:index/applicationOidc:ApplicationOidc', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/config/__init__.pyi b/sdk/python/pulumiverse_zitadel/config/__init__.pyi index 4d1e15b..171782c 100644 --- a/sdk/python/pulumiverse_zitadel/config/__init__.pyi +++ b/sdk/python/pulumiverse_zitadel/config/__init__.pyi @@ -6,7 +6,7 @@ import copy import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities domain: Optional[str] diff --git a/sdk/python/pulumiverse_zitadel/config/vars.py b/sdk/python/pulumiverse_zitadel/config/vars.py index d0ff35c..6043a4b 100644 --- a/sdk/python/pulumiverse_zitadel/config/vars.py +++ b/sdk/python/pulumiverse_zitadel/config/vars.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities import types diff --git a/sdk/python/pulumiverse_zitadel/default_domain_policy.py b/sdk/python/pulumiverse_zitadel/default_domain_policy.py index c349148..52ae98f 100644 --- a/sdk/python/pulumiverse_zitadel/default_domain_policy.py +++ b/sdk/python/pulumiverse_zitadel/default_domain_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['DefaultDomainPolicyArgs', 'DefaultDomainPolicy'] @@ -22,9 +22,30 @@ def __init__(__self__, *, :param pulumi.Input[bool] user_login_must_be_domain: User login must be domain :param pulumi.Input[bool] validate_org_domains: Validate organization domains """ - pulumi.set(__self__, "smtp_sender_address_matches_instance_domain", smtp_sender_address_matches_instance_domain) - pulumi.set(__self__, "user_login_must_be_domain", user_login_must_be_domain) - pulumi.set(__self__, "validate_org_domains", validate_org_domains) + DefaultDomainPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + smtp_sender_address_matches_instance_domain=smtp_sender_address_matches_instance_domain, + user_login_must_be_domain=user_login_must_be_domain, + validate_org_domains=validate_org_domains, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + smtp_sender_address_matches_instance_domain: pulumi.Input[bool], + user_login_must_be_domain: pulumi.Input[bool], + validate_org_domains: pulumi.Input[bool], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'smtpSenderAddressMatchesInstanceDomain' in kwargs: + smtp_sender_address_matches_instance_domain = kwargs['smtpSenderAddressMatchesInstanceDomain'] + if 'userLoginMustBeDomain' in kwargs: + user_login_must_be_domain = kwargs['userLoginMustBeDomain'] + if 'validateOrgDomains' in kwargs: + validate_org_domains = kwargs['validateOrgDomains'] + + _setter("smtp_sender_address_matches_instance_domain", smtp_sender_address_matches_instance_domain) + _setter("user_login_must_be_domain", user_login_must_be_domain) + _setter("validate_org_domains", validate_org_domains) @property @pulumi.getter(name="smtpSenderAddressMatchesInstanceDomain") @@ -71,12 +92,33 @@ def __init__(__self__, *, :param pulumi.Input[bool] user_login_must_be_domain: User login must be domain :param pulumi.Input[bool] validate_org_domains: Validate organization domains """ + _DefaultDomainPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + smtp_sender_address_matches_instance_domain=smtp_sender_address_matches_instance_domain, + user_login_must_be_domain=user_login_must_be_domain, + validate_org_domains=validate_org_domains, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + smtp_sender_address_matches_instance_domain: Optional[pulumi.Input[bool]] = None, + user_login_must_be_domain: Optional[pulumi.Input[bool]] = None, + validate_org_domains: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'smtpSenderAddressMatchesInstanceDomain' in kwargs: + smtp_sender_address_matches_instance_domain = kwargs['smtpSenderAddressMatchesInstanceDomain'] + if 'userLoginMustBeDomain' in kwargs: + user_login_must_be_domain = kwargs['userLoginMustBeDomain'] + if 'validateOrgDomains' in kwargs: + validate_org_domains = kwargs['validateOrgDomains'] + if smtp_sender_address_matches_instance_domain is not None: - pulumi.set(__self__, "smtp_sender_address_matches_instance_domain", smtp_sender_address_matches_instance_domain) + _setter("smtp_sender_address_matches_instance_domain", smtp_sender_address_matches_instance_domain) if user_login_must_be_domain is not None: - pulumi.set(__self__, "user_login_must_be_domain", user_login_must_be_domain) + _setter("user_login_must_be_domain", user_login_must_be_domain) if validate_org_domains is not None: - pulumi.set(__self__, "validate_org_domains", validate_org_domains) + _setter("validate_org_domains", validate_org_domains) @property @pulumi.getter(name="smtpSenderAddressMatchesInstanceDomain") @@ -138,7 +180,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<>`, e.g. + terraform The resource can be imported using the ID format `<>`, e.g. ```sh $ pulumi import zitadel:index/defaultDomainPolicy:DefaultDomainPolicy imported '' @@ -172,7 +214,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<>`, e.g. + terraform The resource can be imported using the ID format `<>`, e.g. ```sh $ pulumi import zitadel:index/defaultDomainPolicy:DefaultDomainPolicy imported '' @@ -188,6 +230,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DefaultDomainPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/default_label_policy.py b/sdk/python/pulumiverse_zitadel/default_label_policy.py index e9b0b92..dab6a69 100644 --- a/sdk/python/pulumiverse_zitadel/default_label_policy.py +++ b/sdk/python/pulumiverse_zitadel/default_label_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['DefaultLabelPolicyArgs', 'DefaultLabelPolicy'] @@ -49,38 +49,131 @@ def __init__(__self__, *, :param pulumi.Input[str] warn_color_dark: hex value for warn color dark theme :param pulumi.Input[bool] set_active: set the label policy active after creating/updating """ - pulumi.set(__self__, "background_color", background_color) - pulumi.set(__self__, "background_color_dark", background_color_dark) - pulumi.set(__self__, "disable_watermark", disable_watermark) - pulumi.set(__self__, "font_color", font_color) - pulumi.set(__self__, "font_color_dark", font_color_dark) - pulumi.set(__self__, "hide_login_name_suffix", hide_login_name_suffix) - pulumi.set(__self__, "primary_color", primary_color) - pulumi.set(__self__, "primary_color_dark", primary_color_dark) - pulumi.set(__self__, "warn_color", warn_color) - pulumi.set(__self__, "warn_color_dark", warn_color_dark) + DefaultLabelPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + background_color=background_color, + background_color_dark=background_color_dark, + disable_watermark=disable_watermark, + font_color=font_color, + font_color_dark=font_color_dark, + hide_login_name_suffix=hide_login_name_suffix, + primary_color=primary_color, + primary_color_dark=primary_color_dark, + warn_color=warn_color, + warn_color_dark=warn_color_dark, + font_hash=font_hash, + font_path=font_path, + icon_dark_hash=icon_dark_hash, + icon_dark_path=icon_dark_path, + icon_hash=icon_hash, + icon_path=icon_path, + logo_dark_hash=logo_dark_hash, + logo_dark_path=logo_dark_path, + logo_hash=logo_hash, + logo_path=logo_path, + set_active=set_active, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + background_color: pulumi.Input[str], + background_color_dark: pulumi.Input[str], + disable_watermark: pulumi.Input[bool], + font_color: pulumi.Input[str], + font_color_dark: pulumi.Input[str], + hide_login_name_suffix: pulumi.Input[bool], + primary_color: pulumi.Input[str], + primary_color_dark: pulumi.Input[str], + warn_color: pulumi.Input[str], + warn_color_dark: pulumi.Input[str], + font_hash: Optional[pulumi.Input[str]] = None, + font_path: Optional[pulumi.Input[str]] = None, + icon_dark_hash: Optional[pulumi.Input[str]] = None, + icon_dark_path: Optional[pulumi.Input[str]] = None, + icon_hash: Optional[pulumi.Input[str]] = None, + icon_path: Optional[pulumi.Input[str]] = None, + logo_dark_hash: Optional[pulumi.Input[str]] = None, + logo_dark_path: Optional[pulumi.Input[str]] = None, + logo_hash: Optional[pulumi.Input[str]] = None, + logo_path: Optional[pulumi.Input[str]] = None, + set_active: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'backgroundColor' in kwargs: + background_color = kwargs['backgroundColor'] + if 'backgroundColorDark' in kwargs: + background_color_dark = kwargs['backgroundColorDark'] + if 'disableWatermark' in kwargs: + disable_watermark = kwargs['disableWatermark'] + if 'fontColor' in kwargs: + font_color = kwargs['fontColor'] + if 'fontColorDark' in kwargs: + font_color_dark = kwargs['fontColorDark'] + if 'hideLoginNameSuffix' in kwargs: + hide_login_name_suffix = kwargs['hideLoginNameSuffix'] + if 'primaryColor' in kwargs: + primary_color = kwargs['primaryColor'] + if 'primaryColorDark' in kwargs: + primary_color_dark = kwargs['primaryColorDark'] + if 'warnColor' in kwargs: + warn_color = kwargs['warnColor'] + if 'warnColorDark' in kwargs: + warn_color_dark = kwargs['warnColorDark'] + if 'fontHash' in kwargs: + font_hash = kwargs['fontHash'] + if 'fontPath' in kwargs: + font_path = kwargs['fontPath'] + if 'iconDarkHash' in kwargs: + icon_dark_hash = kwargs['iconDarkHash'] + if 'iconDarkPath' in kwargs: + icon_dark_path = kwargs['iconDarkPath'] + if 'iconHash' in kwargs: + icon_hash = kwargs['iconHash'] + if 'iconPath' in kwargs: + icon_path = kwargs['iconPath'] + if 'logoDarkHash' in kwargs: + logo_dark_hash = kwargs['logoDarkHash'] + if 'logoDarkPath' in kwargs: + logo_dark_path = kwargs['logoDarkPath'] + if 'logoHash' in kwargs: + logo_hash = kwargs['logoHash'] + if 'logoPath' in kwargs: + logo_path = kwargs['logoPath'] + if 'setActive' in kwargs: + set_active = kwargs['setActive'] + + _setter("background_color", background_color) + _setter("background_color_dark", background_color_dark) + _setter("disable_watermark", disable_watermark) + _setter("font_color", font_color) + _setter("font_color_dark", font_color_dark) + _setter("hide_login_name_suffix", hide_login_name_suffix) + _setter("primary_color", primary_color) + _setter("primary_color_dark", primary_color_dark) + _setter("warn_color", warn_color) + _setter("warn_color_dark", warn_color_dark) if font_hash is not None: - pulumi.set(__self__, "font_hash", font_hash) + _setter("font_hash", font_hash) if font_path is not None: - pulumi.set(__self__, "font_path", font_path) + _setter("font_path", font_path) if icon_dark_hash is not None: - pulumi.set(__self__, "icon_dark_hash", icon_dark_hash) + _setter("icon_dark_hash", icon_dark_hash) if icon_dark_path is not None: - pulumi.set(__self__, "icon_dark_path", icon_dark_path) + _setter("icon_dark_path", icon_dark_path) if icon_hash is not None: - pulumi.set(__self__, "icon_hash", icon_hash) + _setter("icon_hash", icon_hash) if icon_path is not None: - pulumi.set(__self__, "icon_path", icon_path) + _setter("icon_path", icon_path) if logo_dark_hash is not None: - pulumi.set(__self__, "logo_dark_hash", logo_dark_hash) + _setter("logo_dark_hash", logo_dark_hash) if logo_dark_path is not None: - pulumi.set(__self__, "logo_dark_path", logo_dark_path) + _setter("logo_dark_path", logo_dark_path) if logo_hash is not None: - pulumi.set(__self__, "logo_hash", logo_hash) + _setter("logo_hash", logo_hash) if logo_path is not None: - pulumi.set(__self__, "logo_path", logo_path) + _setter("logo_path", logo_path) if set_active is not None: - pulumi.set(__self__, "set_active", set_active) + _setter("set_active", set_active) @property @pulumi.getter(name="backgroundColor") @@ -348,58 +441,171 @@ def __init__(__self__, *, :param pulumi.Input[str] warn_color: hex value for warn color :param pulumi.Input[str] warn_color_dark: hex value for warn color dark theme """ + _DefaultLabelPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + background_color=background_color, + background_color_dark=background_color_dark, + disable_watermark=disable_watermark, + font_color=font_color, + font_color_dark=font_color_dark, + font_hash=font_hash, + font_path=font_path, + font_url=font_url, + hide_login_name_suffix=hide_login_name_suffix, + icon_dark_hash=icon_dark_hash, + icon_dark_path=icon_dark_path, + icon_hash=icon_hash, + icon_path=icon_path, + icon_url=icon_url, + icon_url_dark=icon_url_dark, + logo_dark_hash=logo_dark_hash, + logo_dark_path=logo_dark_path, + logo_hash=logo_hash, + logo_path=logo_path, + logo_url=logo_url, + logo_url_dark=logo_url_dark, + primary_color=primary_color, + primary_color_dark=primary_color_dark, + set_active=set_active, + warn_color=warn_color, + warn_color_dark=warn_color_dark, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + background_color: Optional[pulumi.Input[str]] = None, + background_color_dark: Optional[pulumi.Input[str]] = None, + disable_watermark: Optional[pulumi.Input[bool]] = None, + font_color: Optional[pulumi.Input[str]] = None, + font_color_dark: Optional[pulumi.Input[str]] = None, + font_hash: Optional[pulumi.Input[str]] = None, + font_path: Optional[pulumi.Input[str]] = None, + font_url: Optional[pulumi.Input[str]] = None, + hide_login_name_suffix: Optional[pulumi.Input[bool]] = None, + icon_dark_hash: Optional[pulumi.Input[str]] = None, + icon_dark_path: Optional[pulumi.Input[str]] = None, + icon_hash: Optional[pulumi.Input[str]] = None, + icon_path: Optional[pulumi.Input[str]] = None, + icon_url: Optional[pulumi.Input[str]] = None, + icon_url_dark: Optional[pulumi.Input[str]] = None, + logo_dark_hash: Optional[pulumi.Input[str]] = None, + logo_dark_path: Optional[pulumi.Input[str]] = None, + logo_hash: Optional[pulumi.Input[str]] = None, + logo_path: Optional[pulumi.Input[str]] = None, + logo_url: Optional[pulumi.Input[str]] = None, + logo_url_dark: Optional[pulumi.Input[str]] = None, + primary_color: Optional[pulumi.Input[str]] = None, + primary_color_dark: Optional[pulumi.Input[str]] = None, + set_active: Optional[pulumi.Input[bool]] = None, + warn_color: Optional[pulumi.Input[str]] = None, + warn_color_dark: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'backgroundColor' in kwargs: + background_color = kwargs['backgroundColor'] + if 'backgroundColorDark' in kwargs: + background_color_dark = kwargs['backgroundColorDark'] + if 'disableWatermark' in kwargs: + disable_watermark = kwargs['disableWatermark'] + if 'fontColor' in kwargs: + font_color = kwargs['fontColor'] + if 'fontColorDark' in kwargs: + font_color_dark = kwargs['fontColorDark'] + if 'fontHash' in kwargs: + font_hash = kwargs['fontHash'] + if 'fontPath' in kwargs: + font_path = kwargs['fontPath'] + if 'fontUrl' in kwargs: + font_url = kwargs['fontUrl'] + if 'hideLoginNameSuffix' in kwargs: + hide_login_name_suffix = kwargs['hideLoginNameSuffix'] + if 'iconDarkHash' in kwargs: + icon_dark_hash = kwargs['iconDarkHash'] + if 'iconDarkPath' in kwargs: + icon_dark_path = kwargs['iconDarkPath'] + if 'iconHash' in kwargs: + icon_hash = kwargs['iconHash'] + if 'iconPath' in kwargs: + icon_path = kwargs['iconPath'] + if 'iconUrl' in kwargs: + icon_url = kwargs['iconUrl'] + if 'iconUrlDark' in kwargs: + icon_url_dark = kwargs['iconUrlDark'] + if 'logoDarkHash' in kwargs: + logo_dark_hash = kwargs['logoDarkHash'] + if 'logoDarkPath' in kwargs: + logo_dark_path = kwargs['logoDarkPath'] + if 'logoHash' in kwargs: + logo_hash = kwargs['logoHash'] + if 'logoPath' in kwargs: + logo_path = kwargs['logoPath'] + if 'logoUrl' in kwargs: + logo_url = kwargs['logoUrl'] + if 'logoUrlDark' in kwargs: + logo_url_dark = kwargs['logoUrlDark'] + if 'primaryColor' in kwargs: + primary_color = kwargs['primaryColor'] + if 'primaryColorDark' in kwargs: + primary_color_dark = kwargs['primaryColorDark'] + if 'setActive' in kwargs: + set_active = kwargs['setActive'] + if 'warnColor' in kwargs: + warn_color = kwargs['warnColor'] + if 'warnColorDark' in kwargs: + warn_color_dark = kwargs['warnColorDark'] + if background_color is not None: - pulumi.set(__self__, "background_color", background_color) + _setter("background_color", background_color) if background_color_dark is not None: - pulumi.set(__self__, "background_color_dark", background_color_dark) + _setter("background_color_dark", background_color_dark) if disable_watermark is not None: - pulumi.set(__self__, "disable_watermark", disable_watermark) + _setter("disable_watermark", disable_watermark) if font_color is not None: - pulumi.set(__self__, "font_color", font_color) + _setter("font_color", font_color) if font_color_dark is not None: - pulumi.set(__self__, "font_color_dark", font_color_dark) + _setter("font_color_dark", font_color_dark) if font_hash is not None: - pulumi.set(__self__, "font_hash", font_hash) + _setter("font_hash", font_hash) if font_path is not None: - pulumi.set(__self__, "font_path", font_path) + _setter("font_path", font_path) if font_url is not None: - pulumi.set(__self__, "font_url", font_url) + _setter("font_url", font_url) if hide_login_name_suffix is not None: - pulumi.set(__self__, "hide_login_name_suffix", hide_login_name_suffix) + _setter("hide_login_name_suffix", hide_login_name_suffix) if icon_dark_hash is not None: - pulumi.set(__self__, "icon_dark_hash", icon_dark_hash) + _setter("icon_dark_hash", icon_dark_hash) if icon_dark_path is not None: - pulumi.set(__self__, "icon_dark_path", icon_dark_path) + _setter("icon_dark_path", icon_dark_path) if icon_hash is not None: - pulumi.set(__self__, "icon_hash", icon_hash) + _setter("icon_hash", icon_hash) if icon_path is not None: - pulumi.set(__self__, "icon_path", icon_path) + _setter("icon_path", icon_path) if icon_url is not None: - pulumi.set(__self__, "icon_url", icon_url) + _setter("icon_url", icon_url) if icon_url_dark is not None: - pulumi.set(__self__, "icon_url_dark", icon_url_dark) + _setter("icon_url_dark", icon_url_dark) if logo_dark_hash is not None: - pulumi.set(__self__, "logo_dark_hash", logo_dark_hash) + _setter("logo_dark_hash", logo_dark_hash) if logo_dark_path is not None: - pulumi.set(__self__, "logo_dark_path", logo_dark_path) + _setter("logo_dark_path", logo_dark_path) if logo_hash is not None: - pulumi.set(__self__, "logo_hash", logo_hash) + _setter("logo_hash", logo_hash) if logo_path is not None: - pulumi.set(__self__, "logo_path", logo_path) + _setter("logo_path", logo_path) if logo_url is not None: - pulumi.set(__self__, "logo_url", logo_url) + _setter("logo_url", logo_url) if logo_url_dark is not None: - pulumi.set(__self__, "logo_url_dark", logo_url_dark) + _setter("logo_url_dark", logo_url_dark) if primary_color is not None: - pulumi.set(__self__, "primary_color", primary_color) + _setter("primary_color", primary_color) if primary_color_dark is not None: - pulumi.set(__self__, "primary_color_dark", primary_color_dark) + _setter("primary_color_dark", primary_color_dark) if set_active is not None: - pulumi.set(__self__, "set_active", set_active) + _setter("set_active", set_active) if warn_color is not None: - pulumi.set(__self__, "warn_color", warn_color) + _setter("warn_color", warn_color) if warn_color_dark is not None: - pulumi.set(__self__, "warn_color_dark", warn_color_dark) + _setter("warn_color_dark", warn_color_dark) @property @pulumi.getter(name="backgroundColor") @@ -701,7 +907,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<>`, e.g. + terraform The resource can be imported using the ID format `<>`, e.g. ```sh $ pulumi import zitadel:index/defaultLabelPolicy:DefaultLabelPolicy imported '' @@ -732,7 +938,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<>`, e.g. + terraform The resource can be imported using the ID format `<>`, e.g. ```sh $ pulumi import zitadel:index/defaultLabelPolicy:DefaultLabelPolicy imported '' @@ -748,6 +954,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DefaultLabelPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/default_lockout_policy.py b/sdk/python/pulumiverse_zitadel/default_lockout_policy.py index 13b4987..115713a 100644 --- a/sdk/python/pulumiverse_zitadel/default_lockout_policy.py +++ b/sdk/python/pulumiverse_zitadel/default_lockout_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['DefaultLockoutPolicyArgs', 'DefaultLockoutPolicy'] @@ -19,7 +19,20 @@ def __init__(__self__, *, The set of arguments for constructing a DefaultLockoutPolicy resource. :param pulumi.Input[int] max_password_attempts: Maximum password check attempts before the account gets locked. Attempts are reset as soon as the password is entered correctly or the password is reset. """ - pulumi.set(__self__, "max_password_attempts", max_password_attempts) + DefaultLockoutPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_password_attempts=max_password_attempts, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_password_attempts: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxPasswordAttempts' in kwargs: + max_password_attempts = kwargs['maxPasswordAttempts'] + + _setter("max_password_attempts", max_password_attempts) @property @pulumi.getter(name="maxPasswordAttempts") @@ -42,8 +55,21 @@ def __init__(__self__, *, Input properties used for looking up and filtering DefaultLockoutPolicy resources. :param pulumi.Input[int] max_password_attempts: Maximum password check attempts before the account gets locked. Attempts are reset as soon as the password is entered correctly or the password is reset. """ + _DefaultLockoutPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_password_attempts=max_password_attempts, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_password_attempts: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxPasswordAttempts' in kwargs: + max_password_attempts = kwargs['maxPasswordAttempts'] + if max_password_attempts is not None: - pulumi.set(__self__, "max_password_attempts", max_password_attempts) + _setter("max_password_attempts", max_password_attempts) @property @pulumi.getter(name="maxPasswordAttempts") @@ -79,7 +105,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<>`, e.g. + terraform The resource can be imported using the ID format `<>`, e.g. ```sh $ pulumi import zitadel:index/defaultLockoutPolicy:DefaultLockoutPolicy imported '' @@ -109,7 +135,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<>`, e.g. + terraform The resource can be imported using the ID format `<>`, e.g. ```sh $ pulumi import zitadel:index/defaultLockoutPolicy:DefaultLockoutPolicy imported '' @@ -125,6 +151,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DefaultLockoutPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/default_login_policy.py b/sdk/python/pulumiverse_zitadel/default_login_policy.py index 46d2118..b2309d1 100644 --- a/sdk/python/pulumiverse_zitadel/default_login_policy.py +++ b/sdk/python/pulumiverse_zitadel/default_login_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['DefaultLoginPolicyArgs', 'DefaultLoginPolicy'] @@ -52,32 +52,119 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] multi_factors: allowed multi factors :param pulumi.Input[Sequence[pulumi.Input[str]]] second_factors: allowed second factors """ - pulumi.set(__self__, "allow_external_idp", allow_external_idp) - pulumi.set(__self__, "allow_register", allow_register) - pulumi.set(__self__, "default_redirect_uri", default_redirect_uri) - pulumi.set(__self__, "external_login_check_lifetime", external_login_check_lifetime) - pulumi.set(__self__, "force_mfa", force_mfa) - pulumi.set(__self__, "force_mfa_local_only", force_mfa_local_only) - pulumi.set(__self__, "hide_password_reset", hide_password_reset) - pulumi.set(__self__, "ignore_unknown_usernames", ignore_unknown_usernames) - pulumi.set(__self__, "mfa_init_skip_lifetime", mfa_init_skip_lifetime) - pulumi.set(__self__, "multi_factor_check_lifetime", multi_factor_check_lifetime) - pulumi.set(__self__, "password_check_lifetime", password_check_lifetime) - pulumi.set(__self__, "passwordless_type", passwordless_type) - pulumi.set(__self__, "second_factor_check_lifetime", second_factor_check_lifetime) - pulumi.set(__self__, "user_login", user_login) + DefaultLoginPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_external_idp=allow_external_idp, + allow_register=allow_register, + default_redirect_uri=default_redirect_uri, + external_login_check_lifetime=external_login_check_lifetime, + force_mfa=force_mfa, + force_mfa_local_only=force_mfa_local_only, + hide_password_reset=hide_password_reset, + ignore_unknown_usernames=ignore_unknown_usernames, + mfa_init_skip_lifetime=mfa_init_skip_lifetime, + multi_factor_check_lifetime=multi_factor_check_lifetime, + password_check_lifetime=password_check_lifetime, + passwordless_type=passwordless_type, + second_factor_check_lifetime=second_factor_check_lifetime, + user_login=user_login, + allow_domain_discovery=allow_domain_discovery, + disable_login_with_email=disable_login_with_email, + disable_login_with_phone=disable_login_with_phone, + idps=idps, + multi_factors=multi_factors, + second_factors=second_factors, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_external_idp: pulumi.Input[bool], + allow_register: pulumi.Input[bool], + default_redirect_uri: pulumi.Input[str], + external_login_check_lifetime: pulumi.Input[str], + force_mfa: pulumi.Input[bool], + force_mfa_local_only: pulumi.Input[bool], + hide_password_reset: pulumi.Input[bool], + ignore_unknown_usernames: pulumi.Input[bool], + mfa_init_skip_lifetime: pulumi.Input[str], + multi_factor_check_lifetime: pulumi.Input[str], + password_check_lifetime: pulumi.Input[str], + passwordless_type: pulumi.Input[str], + second_factor_check_lifetime: pulumi.Input[str], + user_login: pulumi.Input[bool], + allow_domain_discovery: Optional[pulumi.Input[bool]] = None, + disable_login_with_email: Optional[pulumi.Input[bool]] = None, + disable_login_with_phone: Optional[pulumi.Input[bool]] = None, + idps: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + multi_factors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + second_factors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowExternalIdp' in kwargs: + allow_external_idp = kwargs['allowExternalIdp'] + if 'allowRegister' in kwargs: + allow_register = kwargs['allowRegister'] + if 'defaultRedirectUri' in kwargs: + default_redirect_uri = kwargs['defaultRedirectUri'] + if 'externalLoginCheckLifetime' in kwargs: + external_login_check_lifetime = kwargs['externalLoginCheckLifetime'] + if 'forceMfa' in kwargs: + force_mfa = kwargs['forceMfa'] + if 'forceMfaLocalOnly' in kwargs: + force_mfa_local_only = kwargs['forceMfaLocalOnly'] + if 'hidePasswordReset' in kwargs: + hide_password_reset = kwargs['hidePasswordReset'] + if 'ignoreUnknownUsernames' in kwargs: + ignore_unknown_usernames = kwargs['ignoreUnknownUsernames'] + if 'mfaInitSkipLifetime' in kwargs: + mfa_init_skip_lifetime = kwargs['mfaInitSkipLifetime'] + if 'multiFactorCheckLifetime' in kwargs: + multi_factor_check_lifetime = kwargs['multiFactorCheckLifetime'] + if 'passwordCheckLifetime' in kwargs: + password_check_lifetime = kwargs['passwordCheckLifetime'] + if 'passwordlessType' in kwargs: + passwordless_type = kwargs['passwordlessType'] + if 'secondFactorCheckLifetime' in kwargs: + second_factor_check_lifetime = kwargs['secondFactorCheckLifetime'] + if 'userLogin' in kwargs: + user_login = kwargs['userLogin'] + if 'allowDomainDiscovery' in kwargs: + allow_domain_discovery = kwargs['allowDomainDiscovery'] + if 'disableLoginWithEmail' in kwargs: + disable_login_with_email = kwargs['disableLoginWithEmail'] + if 'disableLoginWithPhone' in kwargs: + disable_login_with_phone = kwargs['disableLoginWithPhone'] + if 'multiFactors' in kwargs: + multi_factors = kwargs['multiFactors'] + if 'secondFactors' in kwargs: + second_factors = kwargs['secondFactors'] + + _setter("allow_external_idp", allow_external_idp) + _setter("allow_register", allow_register) + _setter("default_redirect_uri", default_redirect_uri) + _setter("external_login_check_lifetime", external_login_check_lifetime) + _setter("force_mfa", force_mfa) + _setter("force_mfa_local_only", force_mfa_local_only) + _setter("hide_password_reset", hide_password_reset) + _setter("ignore_unknown_usernames", ignore_unknown_usernames) + _setter("mfa_init_skip_lifetime", mfa_init_skip_lifetime) + _setter("multi_factor_check_lifetime", multi_factor_check_lifetime) + _setter("password_check_lifetime", password_check_lifetime) + _setter("passwordless_type", passwordless_type) + _setter("second_factor_check_lifetime", second_factor_check_lifetime) + _setter("user_login", user_login) if allow_domain_discovery is not None: - pulumi.set(__self__, "allow_domain_discovery", allow_domain_discovery) + _setter("allow_domain_discovery", allow_domain_discovery) if disable_login_with_email is not None: - pulumi.set(__self__, "disable_login_with_email", disable_login_with_email) + _setter("disable_login_with_email", disable_login_with_email) if disable_login_with_phone is not None: - pulumi.set(__self__, "disable_login_with_phone", disable_login_with_phone) + _setter("disable_login_with_phone", disable_login_with_phone) if idps is not None: - pulumi.set(__self__, "idps", idps) + _setter("idps", idps) if multi_factors is not None: - pulumi.set(__self__, "multi_factors", multi_factors) + _setter("multi_factors", multi_factors) if second_factors is not None: - pulumi.set(__self__, "second_factors", second_factors) + _setter("second_factors", second_factors) @property @pulumi.getter(name="allowExternalIdp") @@ -346,46 +433,133 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] second_factors: allowed second factors :param pulumi.Input[bool] user_login: defines if a user is allowed to login with his username and password """ + _DefaultLoginPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_domain_discovery=allow_domain_discovery, + allow_external_idp=allow_external_idp, + allow_register=allow_register, + default_redirect_uri=default_redirect_uri, + disable_login_with_email=disable_login_with_email, + disable_login_with_phone=disable_login_with_phone, + external_login_check_lifetime=external_login_check_lifetime, + force_mfa=force_mfa, + force_mfa_local_only=force_mfa_local_only, + hide_password_reset=hide_password_reset, + idps=idps, + ignore_unknown_usernames=ignore_unknown_usernames, + mfa_init_skip_lifetime=mfa_init_skip_lifetime, + multi_factor_check_lifetime=multi_factor_check_lifetime, + multi_factors=multi_factors, + password_check_lifetime=password_check_lifetime, + passwordless_type=passwordless_type, + second_factor_check_lifetime=second_factor_check_lifetime, + second_factors=second_factors, + user_login=user_login, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_domain_discovery: Optional[pulumi.Input[bool]] = None, + allow_external_idp: Optional[pulumi.Input[bool]] = None, + allow_register: Optional[pulumi.Input[bool]] = None, + default_redirect_uri: Optional[pulumi.Input[str]] = None, + disable_login_with_email: Optional[pulumi.Input[bool]] = None, + disable_login_with_phone: Optional[pulumi.Input[bool]] = None, + external_login_check_lifetime: Optional[pulumi.Input[str]] = None, + force_mfa: Optional[pulumi.Input[bool]] = None, + force_mfa_local_only: Optional[pulumi.Input[bool]] = None, + hide_password_reset: Optional[pulumi.Input[bool]] = None, + idps: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ignore_unknown_usernames: Optional[pulumi.Input[bool]] = None, + mfa_init_skip_lifetime: Optional[pulumi.Input[str]] = None, + multi_factor_check_lifetime: Optional[pulumi.Input[str]] = None, + multi_factors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + password_check_lifetime: Optional[pulumi.Input[str]] = None, + passwordless_type: Optional[pulumi.Input[str]] = None, + second_factor_check_lifetime: Optional[pulumi.Input[str]] = None, + second_factors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + user_login: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowDomainDiscovery' in kwargs: + allow_domain_discovery = kwargs['allowDomainDiscovery'] + if 'allowExternalIdp' in kwargs: + allow_external_idp = kwargs['allowExternalIdp'] + if 'allowRegister' in kwargs: + allow_register = kwargs['allowRegister'] + if 'defaultRedirectUri' in kwargs: + default_redirect_uri = kwargs['defaultRedirectUri'] + if 'disableLoginWithEmail' in kwargs: + disable_login_with_email = kwargs['disableLoginWithEmail'] + if 'disableLoginWithPhone' in kwargs: + disable_login_with_phone = kwargs['disableLoginWithPhone'] + if 'externalLoginCheckLifetime' in kwargs: + external_login_check_lifetime = kwargs['externalLoginCheckLifetime'] + if 'forceMfa' in kwargs: + force_mfa = kwargs['forceMfa'] + if 'forceMfaLocalOnly' in kwargs: + force_mfa_local_only = kwargs['forceMfaLocalOnly'] + if 'hidePasswordReset' in kwargs: + hide_password_reset = kwargs['hidePasswordReset'] + if 'ignoreUnknownUsernames' in kwargs: + ignore_unknown_usernames = kwargs['ignoreUnknownUsernames'] + if 'mfaInitSkipLifetime' in kwargs: + mfa_init_skip_lifetime = kwargs['mfaInitSkipLifetime'] + if 'multiFactorCheckLifetime' in kwargs: + multi_factor_check_lifetime = kwargs['multiFactorCheckLifetime'] + if 'multiFactors' in kwargs: + multi_factors = kwargs['multiFactors'] + if 'passwordCheckLifetime' in kwargs: + password_check_lifetime = kwargs['passwordCheckLifetime'] + if 'passwordlessType' in kwargs: + passwordless_type = kwargs['passwordlessType'] + if 'secondFactorCheckLifetime' in kwargs: + second_factor_check_lifetime = kwargs['secondFactorCheckLifetime'] + if 'secondFactors' in kwargs: + second_factors = kwargs['secondFactors'] + if 'userLogin' in kwargs: + user_login = kwargs['userLogin'] + if allow_domain_discovery is not None: - pulumi.set(__self__, "allow_domain_discovery", allow_domain_discovery) + _setter("allow_domain_discovery", allow_domain_discovery) if allow_external_idp is not None: - pulumi.set(__self__, "allow_external_idp", allow_external_idp) + _setter("allow_external_idp", allow_external_idp) if allow_register is not None: - pulumi.set(__self__, "allow_register", allow_register) + _setter("allow_register", allow_register) if default_redirect_uri is not None: - pulumi.set(__self__, "default_redirect_uri", default_redirect_uri) + _setter("default_redirect_uri", default_redirect_uri) if disable_login_with_email is not None: - pulumi.set(__self__, "disable_login_with_email", disable_login_with_email) + _setter("disable_login_with_email", disable_login_with_email) if disable_login_with_phone is not None: - pulumi.set(__self__, "disable_login_with_phone", disable_login_with_phone) + _setter("disable_login_with_phone", disable_login_with_phone) if external_login_check_lifetime is not None: - pulumi.set(__self__, "external_login_check_lifetime", external_login_check_lifetime) + _setter("external_login_check_lifetime", external_login_check_lifetime) if force_mfa is not None: - pulumi.set(__self__, "force_mfa", force_mfa) + _setter("force_mfa", force_mfa) if force_mfa_local_only is not None: - pulumi.set(__self__, "force_mfa_local_only", force_mfa_local_only) + _setter("force_mfa_local_only", force_mfa_local_only) if hide_password_reset is not None: - pulumi.set(__self__, "hide_password_reset", hide_password_reset) + _setter("hide_password_reset", hide_password_reset) if idps is not None: - pulumi.set(__self__, "idps", idps) + _setter("idps", idps) if ignore_unknown_usernames is not None: - pulumi.set(__self__, "ignore_unknown_usernames", ignore_unknown_usernames) + _setter("ignore_unknown_usernames", ignore_unknown_usernames) if mfa_init_skip_lifetime is not None: - pulumi.set(__self__, "mfa_init_skip_lifetime", mfa_init_skip_lifetime) + _setter("mfa_init_skip_lifetime", mfa_init_skip_lifetime) if multi_factor_check_lifetime is not None: - pulumi.set(__self__, "multi_factor_check_lifetime", multi_factor_check_lifetime) + _setter("multi_factor_check_lifetime", multi_factor_check_lifetime) if multi_factors is not None: - pulumi.set(__self__, "multi_factors", multi_factors) + _setter("multi_factors", multi_factors) if password_check_lifetime is not None: - pulumi.set(__self__, "password_check_lifetime", password_check_lifetime) + _setter("password_check_lifetime", password_check_lifetime) if passwordless_type is not None: - pulumi.set(__self__, "passwordless_type", passwordless_type) + _setter("passwordless_type", passwordless_type) if second_factor_check_lifetime is not None: - pulumi.set(__self__, "second_factor_check_lifetime", second_factor_check_lifetime) + _setter("second_factor_check_lifetime", second_factor_check_lifetime) if second_factors is not None: - pulumi.set(__self__, "second_factors", second_factors) + _setter("second_factors", second_factors) if user_login is not None: - pulumi.set(__self__, "user_login", user_login) + _setter("user_login", user_login) @property @pulumi.getter(name="allowDomainDiscovery") @@ -679,7 +853,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<>`, e.g. + terraform The resource can be imported using the ID format `<>`, e.g. ```sh $ pulumi import zitadel:index/defaultLoginPolicy:DefaultLoginPolicy imported '' @@ -749,7 +923,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<>`, e.g. + terraform The resource can be imported using the ID format `<>`, e.g. ```sh $ pulumi import zitadel:index/defaultLoginPolicy:DefaultLoginPolicy imported '' @@ -765,6 +939,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DefaultLoginPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/default_notification_policy.py b/sdk/python/pulumiverse_zitadel/default_notification_policy.py index 475791a..5142880 100644 --- a/sdk/python/pulumiverse_zitadel/default_notification_policy.py +++ b/sdk/python/pulumiverse_zitadel/default_notification_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['DefaultNotificationPolicyArgs', 'DefaultNotificationPolicy'] @@ -19,7 +19,20 @@ def __init__(__self__, *, The set of arguments for constructing a DefaultNotificationPolicy resource. :param pulumi.Input[bool] password_change: Send notification if a user changes his password """ - pulumi.set(__self__, "password_change", password_change) + DefaultNotificationPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + password_change=password_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password_change: pulumi.Input[bool], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'passwordChange' in kwargs: + password_change = kwargs['passwordChange'] + + _setter("password_change", password_change) @property @pulumi.getter(name="passwordChange") @@ -42,8 +55,21 @@ def __init__(__self__, *, Input properties used for looking up and filtering DefaultNotificationPolicy resources. :param pulumi.Input[bool] password_change: Send notification if a user changes his password """ + _DefaultNotificationPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + password_change=password_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password_change: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'passwordChange' in kwargs: + password_change = kwargs['passwordChange'] + if password_change is not None: - pulumi.set(__self__, "password_change", password_change) + _setter("password_change", password_change) @property @pulumi.getter(name="passwordChange") @@ -79,7 +105,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<>`, e.g. + terraform The resource can be imported using the ID format `<>`, e.g. ```sh $ pulumi import zitadel:index/defaultNotificationPolicy:DefaultNotificationPolicy imported '' @@ -109,7 +135,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<>`, e.g. + terraform The resource can be imported using the ID format `<>`, e.g. ```sh $ pulumi import zitadel:index/defaultNotificationPolicy:DefaultNotificationPolicy imported '' @@ -125,6 +151,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DefaultNotificationPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/default_oidc_settings.py b/sdk/python/pulumiverse_zitadel/default_oidc_settings.py new file mode 100644 index 0000000..df4d895 --- /dev/null +++ b/sdk/python/pulumiverse_zitadel/default_oidc_settings.py @@ -0,0 +1,370 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = ['DefaultOidcSettingsArgs', 'DefaultOidcSettings'] + +@pulumi.input_type +class DefaultOidcSettingsArgs: + def __init__(__self__, *, + access_token_lifetime: pulumi.Input[str], + id_token_lifetime: pulumi.Input[str], + refresh_token_expiration: pulumi.Input[str], + refresh_token_idle_expiration: pulumi.Input[str]): + """ + The set of arguments for constructing a DefaultOidcSettings resource. + :param pulumi.Input[str] access_token_lifetime: lifetime duration of access tokens + :param pulumi.Input[str] id_token_lifetime: lifetime duration of id tokens + :param pulumi.Input[str] refresh_token_expiration: expiration duration of refresh tokens + :param pulumi.Input[str] refresh_token_idle_expiration: expiration duration of idle refresh tokens + """ + DefaultOidcSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_token_lifetime=access_token_lifetime, + id_token_lifetime=id_token_lifetime, + refresh_token_expiration=refresh_token_expiration, + refresh_token_idle_expiration=refresh_token_idle_expiration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_token_lifetime: pulumi.Input[str], + id_token_lifetime: pulumi.Input[str], + refresh_token_expiration: pulumi.Input[str], + refresh_token_idle_expiration: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessTokenLifetime' in kwargs: + access_token_lifetime = kwargs['accessTokenLifetime'] + if 'idTokenLifetime' in kwargs: + id_token_lifetime = kwargs['idTokenLifetime'] + if 'refreshTokenExpiration' in kwargs: + refresh_token_expiration = kwargs['refreshTokenExpiration'] + if 'refreshTokenIdleExpiration' in kwargs: + refresh_token_idle_expiration = kwargs['refreshTokenIdleExpiration'] + + _setter("access_token_lifetime", access_token_lifetime) + _setter("id_token_lifetime", id_token_lifetime) + _setter("refresh_token_expiration", refresh_token_expiration) + _setter("refresh_token_idle_expiration", refresh_token_idle_expiration) + + @property + @pulumi.getter(name="accessTokenLifetime") + def access_token_lifetime(self) -> pulumi.Input[str]: + """ + lifetime duration of access tokens + """ + return pulumi.get(self, "access_token_lifetime") + + @access_token_lifetime.setter + def access_token_lifetime(self, value: pulumi.Input[str]): + pulumi.set(self, "access_token_lifetime", value) + + @property + @pulumi.getter(name="idTokenLifetime") + def id_token_lifetime(self) -> pulumi.Input[str]: + """ + lifetime duration of id tokens + """ + return pulumi.get(self, "id_token_lifetime") + + @id_token_lifetime.setter + def id_token_lifetime(self, value: pulumi.Input[str]): + pulumi.set(self, "id_token_lifetime", value) + + @property + @pulumi.getter(name="refreshTokenExpiration") + def refresh_token_expiration(self) -> pulumi.Input[str]: + """ + expiration duration of refresh tokens + """ + return pulumi.get(self, "refresh_token_expiration") + + @refresh_token_expiration.setter + def refresh_token_expiration(self, value: pulumi.Input[str]): + pulumi.set(self, "refresh_token_expiration", value) + + @property + @pulumi.getter(name="refreshTokenIdleExpiration") + def refresh_token_idle_expiration(self) -> pulumi.Input[str]: + """ + expiration duration of idle refresh tokens + """ + return pulumi.get(self, "refresh_token_idle_expiration") + + @refresh_token_idle_expiration.setter + def refresh_token_idle_expiration(self, value: pulumi.Input[str]): + pulumi.set(self, "refresh_token_idle_expiration", value) + + +@pulumi.input_type +class _DefaultOidcSettingsState: + def __init__(__self__, *, + access_token_lifetime: Optional[pulumi.Input[str]] = None, + id_token_lifetime: Optional[pulumi.Input[str]] = None, + refresh_token_expiration: Optional[pulumi.Input[str]] = None, + refresh_token_idle_expiration: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering DefaultOidcSettings resources. + :param pulumi.Input[str] access_token_lifetime: lifetime duration of access tokens + :param pulumi.Input[str] id_token_lifetime: lifetime duration of id tokens + :param pulumi.Input[str] refresh_token_expiration: expiration duration of refresh tokens + :param pulumi.Input[str] refresh_token_idle_expiration: expiration duration of idle refresh tokens + """ + _DefaultOidcSettingsState._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_token_lifetime=access_token_lifetime, + id_token_lifetime=id_token_lifetime, + refresh_token_expiration=refresh_token_expiration, + refresh_token_idle_expiration=refresh_token_idle_expiration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_token_lifetime: Optional[pulumi.Input[str]] = None, + id_token_lifetime: Optional[pulumi.Input[str]] = None, + refresh_token_expiration: Optional[pulumi.Input[str]] = None, + refresh_token_idle_expiration: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessTokenLifetime' in kwargs: + access_token_lifetime = kwargs['accessTokenLifetime'] + if 'idTokenLifetime' in kwargs: + id_token_lifetime = kwargs['idTokenLifetime'] + if 'refreshTokenExpiration' in kwargs: + refresh_token_expiration = kwargs['refreshTokenExpiration'] + if 'refreshTokenIdleExpiration' in kwargs: + refresh_token_idle_expiration = kwargs['refreshTokenIdleExpiration'] + + if access_token_lifetime is not None: + _setter("access_token_lifetime", access_token_lifetime) + if id_token_lifetime is not None: + _setter("id_token_lifetime", id_token_lifetime) + if refresh_token_expiration is not None: + _setter("refresh_token_expiration", refresh_token_expiration) + if refresh_token_idle_expiration is not None: + _setter("refresh_token_idle_expiration", refresh_token_idle_expiration) + + @property + @pulumi.getter(name="accessTokenLifetime") + def access_token_lifetime(self) -> Optional[pulumi.Input[str]]: + """ + lifetime duration of access tokens + """ + return pulumi.get(self, "access_token_lifetime") + + @access_token_lifetime.setter + def access_token_lifetime(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "access_token_lifetime", value) + + @property + @pulumi.getter(name="idTokenLifetime") + def id_token_lifetime(self) -> Optional[pulumi.Input[str]]: + """ + lifetime duration of id tokens + """ + return pulumi.get(self, "id_token_lifetime") + + @id_token_lifetime.setter + def id_token_lifetime(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id_token_lifetime", value) + + @property + @pulumi.getter(name="refreshTokenExpiration") + def refresh_token_expiration(self) -> Optional[pulumi.Input[str]]: + """ + expiration duration of refresh tokens + """ + return pulumi.get(self, "refresh_token_expiration") + + @refresh_token_expiration.setter + def refresh_token_expiration(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "refresh_token_expiration", value) + + @property + @pulumi.getter(name="refreshTokenIdleExpiration") + def refresh_token_idle_expiration(self) -> Optional[pulumi.Input[str]]: + """ + expiration duration of idle refresh tokens + """ + return pulumi.get(self, "refresh_token_idle_expiration") + + @refresh_token_idle_expiration.setter + def refresh_token_idle_expiration(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "refresh_token_idle_expiration", value) + + +class DefaultOidcSettings(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + access_token_lifetime: Optional[pulumi.Input[str]] = None, + id_token_lifetime: Optional[pulumi.Input[str]] = None, + refresh_token_expiration: Optional[pulumi.Input[str]] = None, + refresh_token_idle_expiration: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Resource representing the default oidc settings. + + ## Example Usage + + ```python + import pulumi + import pulumiverse_zitadel as zitadel + + default = zitadel.DefaultOidcSettings("default", + access_token_lifetime="12h0m0s", + id_token_lifetime="12h0m0s", + refresh_token_expiration="720h0m0s", + refresh_token_idle_expiration="2160h0m0s") + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] access_token_lifetime: lifetime duration of access tokens + :param pulumi.Input[str] id_token_lifetime: lifetime duration of id tokens + :param pulumi.Input[str] refresh_token_expiration: expiration duration of refresh tokens + :param pulumi.Input[str] refresh_token_idle_expiration: expiration duration of idle refresh tokens + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: DefaultOidcSettingsArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Resource representing the default oidc settings. + + ## Example Usage + + ```python + import pulumi + import pulumiverse_zitadel as zitadel + + default = zitadel.DefaultOidcSettings("default", + access_token_lifetime="12h0m0s", + id_token_lifetime="12h0m0s", + refresh_token_expiration="720h0m0s", + refresh_token_idle_expiration="2160h0m0s") + ``` + + :param str resource_name: The name of the resource. + :param DefaultOidcSettingsArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(DefaultOidcSettingsArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DefaultOidcSettingsArgs._configure(_setter, **kwargs) + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + access_token_lifetime: Optional[pulumi.Input[str]] = None, + id_token_lifetime: Optional[pulumi.Input[str]] = None, + refresh_token_expiration: Optional[pulumi.Input[str]] = None, + refresh_token_idle_expiration: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = DefaultOidcSettingsArgs.__new__(DefaultOidcSettingsArgs) + + if access_token_lifetime is None and not opts.urn: + raise TypeError("Missing required property 'access_token_lifetime'") + __props__.__dict__["access_token_lifetime"] = access_token_lifetime + if id_token_lifetime is None and not opts.urn: + raise TypeError("Missing required property 'id_token_lifetime'") + __props__.__dict__["id_token_lifetime"] = id_token_lifetime + if refresh_token_expiration is None and not opts.urn: + raise TypeError("Missing required property 'refresh_token_expiration'") + __props__.__dict__["refresh_token_expiration"] = refresh_token_expiration + if refresh_token_idle_expiration is None and not opts.urn: + raise TypeError("Missing required property 'refresh_token_idle_expiration'") + __props__.__dict__["refresh_token_idle_expiration"] = refresh_token_idle_expiration + super(DefaultOidcSettings, __self__).__init__( + 'zitadel:index/defaultOidcSettings:DefaultOidcSettings', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + access_token_lifetime: Optional[pulumi.Input[str]] = None, + id_token_lifetime: Optional[pulumi.Input[str]] = None, + refresh_token_expiration: Optional[pulumi.Input[str]] = None, + refresh_token_idle_expiration: Optional[pulumi.Input[str]] = None) -> 'DefaultOidcSettings': + """ + Get an existing DefaultOidcSettings resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] access_token_lifetime: lifetime duration of access tokens + :param pulumi.Input[str] id_token_lifetime: lifetime duration of id tokens + :param pulumi.Input[str] refresh_token_expiration: expiration duration of refresh tokens + :param pulumi.Input[str] refresh_token_idle_expiration: expiration duration of idle refresh tokens + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _DefaultOidcSettingsState.__new__(_DefaultOidcSettingsState) + + __props__.__dict__["access_token_lifetime"] = access_token_lifetime + __props__.__dict__["id_token_lifetime"] = id_token_lifetime + __props__.__dict__["refresh_token_expiration"] = refresh_token_expiration + __props__.__dict__["refresh_token_idle_expiration"] = refresh_token_idle_expiration + return DefaultOidcSettings(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="accessTokenLifetime") + def access_token_lifetime(self) -> pulumi.Output[str]: + """ + lifetime duration of access tokens + """ + return pulumi.get(self, "access_token_lifetime") + + @property + @pulumi.getter(name="idTokenLifetime") + def id_token_lifetime(self) -> pulumi.Output[str]: + """ + lifetime duration of id tokens + """ + return pulumi.get(self, "id_token_lifetime") + + @property + @pulumi.getter(name="refreshTokenExpiration") + def refresh_token_expiration(self) -> pulumi.Output[str]: + """ + expiration duration of refresh tokens + """ + return pulumi.get(self, "refresh_token_expiration") + + @property + @pulumi.getter(name="refreshTokenIdleExpiration") + def refresh_token_idle_expiration(self) -> pulumi.Output[str]: + """ + expiration duration of idle refresh tokens + """ + return pulumi.get(self, "refresh_token_idle_expiration") + diff --git a/sdk/python/pulumiverse_zitadel/default_password_complexity_policy.py b/sdk/python/pulumiverse_zitadel/default_password_complexity_policy.py index cbae361..1954328 100644 --- a/sdk/python/pulumiverse_zitadel/default_password_complexity_policy.py +++ b/sdk/python/pulumiverse_zitadel/default_password_complexity_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['DefaultPasswordComplexityPolicyArgs', 'DefaultPasswordComplexityPolicy'] @@ -27,11 +27,40 @@ def __init__(__self__, *, :param pulumi.Input[bool] has_uppercase: defines if the password MUST contain an upper case letter :param pulumi.Input[int] min_length: Minimal length for the password """ - pulumi.set(__self__, "has_lowercase", has_lowercase) - pulumi.set(__self__, "has_number", has_number) - pulumi.set(__self__, "has_symbol", has_symbol) - pulumi.set(__self__, "has_uppercase", has_uppercase) - pulumi.set(__self__, "min_length", min_length) + DefaultPasswordComplexityPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + has_lowercase=has_lowercase, + has_number=has_number, + has_symbol=has_symbol, + has_uppercase=has_uppercase, + min_length=min_length, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + has_lowercase: pulumi.Input[bool], + has_number: pulumi.Input[bool], + has_symbol: pulumi.Input[bool], + has_uppercase: pulumi.Input[bool], + min_length: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'hasLowercase' in kwargs: + has_lowercase = kwargs['hasLowercase'] + if 'hasNumber' in kwargs: + has_number = kwargs['hasNumber'] + if 'hasSymbol' in kwargs: + has_symbol = kwargs['hasSymbol'] + if 'hasUppercase' in kwargs: + has_uppercase = kwargs['hasUppercase'] + if 'minLength' in kwargs: + min_length = kwargs['minLength'] + + _setter("has_lowercase", has_lowercase) + _setter("has_number", has_number) + _setter("has_symbol", has_symbol) + _setter("has_uppercase", has_uppercase) + _setter("min_length", min_length) @property @pulumi.getter(name="hasLowercase") @@ -110,16 +139,45 @@ def __init__(__self__, *, :param pulumi.Input[bool] has_uppercase: defines if the password MUST contain an upper case letter :param pulumi.Input[int] min_length: Minimal length for the password """ + _DefaultPasswordComplexityPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + has_lowercase=has_lowercase, + has_number=has_number, + has_symbol=has_symbol, + has_uppercase=has_uppercase, + min_length=min_length, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + has_lowercase: Optional[pulumi.Input[bool]] = None, + has_number: Optional[pulumi.Input[bool]] = None, + has_symbol: Optional[pulumi.Input[bool]] = None, + has_uppercase: Optional[pulumi.Input[bool]] = None, + min_length: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'hasLowercase' in kwargs: + has_lowercase = kwargs['hasLowercase'] + if 'hasNumber' in kwargs: + has_number = kwargs['hasNumber'] + if 'hasSymbol' in kwargs: + has_symbol = kwargs['hasSymbol'] + if 'hasUppercase' in kwargs: + has_uppercase = kwargs['hasUppercase'] + if 'minLength' in kwargs: + min_length = kwargs['minLength'] + if has_lowercase is not None: - pulumi.set(__self__, "has_lowercase", has_lowercase) + _setter("has_lowercase", has_lowercase) if has_number is not None: - pulumi.set(__self__, "has_number", has_number) + _setter("has_number", has_number) if has_symbol is not None: - pulumi.set(__self__, "has_symbol", has_symbol) + _setter("has_symbol", has_symbol) if has_uppercase is not None: - pulumi.set(__self__, "has_uppercase", has_uppercase) + _setter("has_uppercase", has_uppercase) if min_length is not None: - pulumi.set(__self__, "min_length", min_length) + _setter("min_length", min_length) @property @pulumi.getter(name="hasLowercase") @@ -212,7 +270,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<>`, e.g. + terraform The resource can be imported using the ID format `<>`, e.g. ```sh $ pulumi import zitadel:index/defaultPasswordComplexityPolicy:DefaultPasswordComplexityPolicy imported '' @@ -251,7 +309,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<>`, e.g. + terraform The resource can be imported using the ID format `<>`, e.g. ```sh $ pulumi import zitadel:index/defaultPasswordComplexityPolicy:DefaultPasswordComplexityPolicy imported '' @@ -267,6 +325,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DefaultPasswordComplexityPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/default_privacy_policy.py b/sdk/python/pulumiverse_zitadel/default_privacy_policy.py index 095e1d7..3bf8a02 100644 --- a/sdk/python/pulumiverse_zitadel/default_privacy_policy.py +++ b/sdk/python/pulumiverse_zitadel/default_privacy_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['DefaultPrivacyPolicyArgs', 'DefaultPrivacyPolicy'] @@ -14,52 +14,81 @@ @pulumi.input_type class DefaultPrivacyPolicyArgs: def __init__(__self__, *, - help_link: pulumi.Input[str], - privacy_link: pulumi.Input[str], - support_email: pulumi.Input[str], - tos_link: pulumi.Input[str]): + help_link: Optional[pulumi.Input[str]] = None, + privacy_link: Optional[pulumi.Input[str]] = None, + support_email: Optional[pulumi.Input[str]] = None, + tos_link: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a DefaultPrivacyPolicy resource. """ - pulumi.set(__self__, "help_link", help_link) - pulumi.set(__self__, "privacy_link", privacy_link) - pulumi.set(__self__, "support_email", support_email) - pulumi.set(__self__, "tos_link", tos_link) + DefaultPrivacyPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + help_link=help_link, + privacy_link=privacy_link, + support_email=support_email, + tos_link=tos_link, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + help_link: Optional[pulumi.Input[str]] = None, + privacy_link: Optional[pulumi.Input[str]] = None, + support_email: Optional[pulumi.Input[str]] = None, + tos_link: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'helpLink' in kwargs: + help_link = kwargs['helpLink'] + if 'privacyLink' in kwargs: + privacy_link = kwargs['privacyLink'] + if 'supportEmail' in kwargs: + support_email = kwargs['supportEmail'] + if 'tosLink' in kwargs: + tos_link = kwargs['tosLink'] + + if help_link is not None: + _setter("help_link", help_link) + if privacy_link is not None: + _setter("privacy_link", privacy_link) + if support_email is not None: + _setter("support_email", support_email) + if tos_link is not None: + _setter("tos_link", tos_link) @property @pulumi.getter(name="helpLink") - def help_link(self) -> pulumi.Input[str]: + def help_link(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "help_link") @help_link.setter - def help_link(self, value: pulumi.Input[str]): + def help_link(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "help_link", value) @property @pulumi.getter(name="privacyLink") - def privacy_link(self) -> pulumi.Input[str]: + def privacy_link(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "privacy_link") @privacy_link.setter - def privacy_link(self, value: pulumi.Input[str]): + def privacy_link(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "privacy_link", value) @property @pulumi.getter(name="supportEmail") - def support_email(self) -> pulumi.Input[str]: + def support_email(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "support_email") @support_email.setter - def support_email(self, value: pulumi.Input[str]): + def support_email(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "support_email", value) @property @pulumi.getter(name="tosLink") - def tos_link(self) -> pulumi.Input[str]: + def tos_link(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "tos_link") @tos_link.setter - def tos_link(self, value: pulumi.Input[str]): + def tos_link(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "tos_link", value) @@ -73,14 +102,39 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering DefaultPrivacyPolicy resources. """ + _DefaultPrivacyPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + help_link=help_link, + privacy_link=privacy_link, + support_email=support_email, + tos_link=tos_link, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + help_link: Optional[pulumi.Input[str]] = None, + privacy_link: Optional[pulumi.Input[str]] = None, + support_email: Optional[pulumi.Input[str]] = None, + tos_link: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'helpLink' in kwargs: + help_link = kwargs['helpLink'] + if 'privacyLink' in kwargs: + privacy_link = kwargs['privacyLink'] + if 'supportEmail' in kwargs: + support_email = kwargs['supportEmail'] + if 'tosLink' in kwargs: + tos_link = kwargs['tosLink'] + if help_link is not None: - pulumi.set(__self__, "help_link", help_link) + _setter("help_link", help_link) if privacy_link is not None: - pulumi.set(__self__, "privacy_link", privacy_link) + _setter("privacy_link", privacy_link) if support_email is not None: - pulumi.set(__self__, "support_email", support_email) + _setter("support_email", support_email) if tos_link is not None: - pulumi.set(__self__, "tos_link", tos_link) + _setter("tos_link", tos_link) @property @pulumi.getter(name="helpLink") @@ -147,7 +201,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<>`, e.g. + terraform The resource can be imported using the ID format `<>`, e.g. ```sh $ pulumi import zitadel:index/defaultPrivacyPolicy:DefaultPrivacyPolicy imported '' @@ -160,7 +214,7 @@ def __init__(__self__, @overload def __init__(__self__, resource_name: str, - args: DefaultPrivacyPolicyArgs, + args: Optional[DefaultPrivacyPolicyArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ Resource representing the default privacy policy. @@ -180,7 +234,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<>`, e.g. + terraform The resource can be imported using the ID format `<>`, e.g. ```sh $ pulumi import zitadel:index/defaultPrivacyPolicy:DefaultPrivacyPolicy imported '' @@ -196,6 +250,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DefaultPrivacyPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -214,17 +272,9 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = DefaultPrivacyPolicyArgs.__new__(DefaultPrivacyPolicyArgs) - if help_link is None and not opts.urn: - raise TypeError("Missing required property 'help_link'") __props__.__dict__["help_link"] = help_link - if privacy_link is None and not opts.urn: - raise TypeError("Missing required property 'privacy_link'") __props__.__dict__["privacy_link"] = privacy_link - if support_email is None and not opts.urn: - raise TypeError("Missing required property 'support_email'") __props__.__dict__["support_email"] = support_email - if tos_link is None and not opts.urn: - raise TypeError("Missing required property 'tos_link'") __props__.__dict__["tos_link"] = tos_link super(DefaultPrivacyPolicy, __self__).__init__( 'zitadel:index/defaultPrivacyPolicy:DefaultPrivacyPolicy', @@ -260,21 +310,21 @@ def get(resource_name: str, @property @pulumi.getter(name="helpLink") - def help_link(self) -> pulumi.Output[str]: + def help_link(self) -> pulumi.Output[Optional[str]]: return pulumi.get(self, "help_link") @property @pulumi.getter(name="privacyLink") - def privacy_link(self) -> pulumi.Output[str]: + def privacy_link(self) -> pulumi.Output[Optional[str]]: return pulumi.get(self, "privacy_link") @property @pulumi.getter(name="supportEmail") - def support_email(self) -> pulumi.Output[str]: + def support_email(self) -> pulumi.Output[Optional[str]]: return pulumi.get(self, "support_email") @property @pulumi.getter(name="tosLink") - def tos_link(self) -> pulumi.Output[str]: + def tos_link(self) -> pulumi.Output[Optional[str]]: return pulumi.get(self, "tos_link") diff --git a/sdk/python/pulumiverse_zitadel/domain.py b/sdk/python/pulumiverse_zitadel/domain.py index 447faa0..cf737dd 100644 --- a/sdk/python/pulumiverse_zitadel/domain.py +++ b/sdk/python/pulumiverse_zitadel/domain.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['DomainArgs', 'Domain'] @@ -23,12 +23,31 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the domain :param pulumi.Input[str] org_id: ID of the organization """ + DomainArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_primary=is_primary, + name=name, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_primary: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'isPrimary' in kwargs: + is_primary = kwargs['isPrimary'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if is_primary is not None: - pulumi.set(__self__, "is_primary", is_primary) + _setter("is_primary", is_primary) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter(name="isPrimary") @@ -83,16 +102,43 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[int] validation_type: Validation type """ + _DomainState._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_primary=is_primary, + is_verified=is_verified, + name=name, + org_id=org_id, + validation_type=validation_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_primary: Optional[pulumi.Input[bool]] = None, + is_verified: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + validation_type: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'isPrimary' in kwargs: + is_primary = kwargs['isPrimary'] + if 'isVerified' in kwargs: + is_verified = kwargs['isVerified'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'validationType' in kwargs: + validation_type = kwargs['validationType'] + if is_primary is not None: - pulumi.set(__self__, "is_primary", is_primary) + _setter("is_primary", is_primary) if is_verified is not None: - pulumi.set(__self__, "is_verified", is_verified) + _setter("is_verified", is_verified) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if validation_type is not None: - pulumi.set(__self__, "validation_type", validation_type) + _setter("validation_type", validation_type) @property @pulumi.getter(name="isPrimary") @@ -180,7 +226,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `name[:org_id]`, e.g. + terraform The resource can be imported using the ID format `name[:org_id]`, e.g. ```sh $ pulumi import zitadel:index/domain:Domain imported 'example.com:123456789012345678' @@ -214,7 +260,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `name[:org_id]`, e.g. + terraform The resource can be imported using the ID format `name[:org_id]`, e.g. ```sh $ pulumi import zitadel:index/domain:Domain imported 'example.com:123456789012345678' @@ -230,6 +276,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/domain_policy.py b/sdk/python/pulumiverse_zitadel/domain_policy.py index 2d644da..41ef492 100644 --- a/sdk/python/pulumiverse_zitadel/domain_policy.py +++ b/sdk/python/pulumiverse_zitadel/domain_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['DomainPolicyArgs', 'DomainPolicy'] @@ -24,11 +24,36 @@ def __init__(__self__, *, :param pulumi.Input[bool] validate_org_domains: Validate organization domains :param pulumi.Input[str] org_id: ID of the organization """ - pulumi.set(__self__, "smtp_sender_address_matches_instance_domain", smtp_sender_address_matches_instance_domain) - pulumi.set(__self__, "user_login_must_be_domain", user_login_must_be_domain) - pulumi.set(__self__, "validate_org_domains", validate_org_domains) + DomainPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + smtp_sender_address_matches_instance_domain=smtp_sender_address_matches_instance_domain, + user_login_must_be_domain=user_login_must_be_domain, + validate_org_domains=validate_org_domains, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + smtp_sender_address_matches_instance_domain: pulumi.Input[bool], + user_login_must_be_domain: pulumi.Input[bool], + validate_org_domains: pulumi.Input[bool], + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'smtpSenderAddressMatchesInstanceDomain' in kwargs: + smtp_sender_address_matches_instance_domain = kwargs['smtpSenderAddressMatchesInstanceDomain'] + if 'userLoginMustBeDomain' in kwargs: + user_login_must_be_domain = kwargs['userLoginMustBeDomain'] + if 'validateOrgDomains' in kwargs: + validate_org_domains = kwargs['validateOrgDomains'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("smtp_sender_address_matches_instance_domain", smtp_sender_address_matches_instance_domain) + _setter("user_login_must_be_domain", user_login_must_be_domain) + _setter("validate_org_domains", validate_org_domains) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter(name="smtpSenderAddressMatchesInstanceDomain") @@ -89,14 +114,39 @@ def __init__(__self__, *, :param pulumi.Input[bool] user_login_must_be_domain: User login must be domain :param pulumi.Input[bool] validate_org_domains: Validate organization domains """ + _DomainPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + org_id=org_id, + smtp_sender_address_matches_instance_domain=smtp_sender_address_matches_instance_domain, + user_login_must_be_domain=user_login_must_be_domain, + validate_org_domains=validate_org_domains, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + org_id: Optional[pulumi.Input[str]] = None, + smtp_sender_address_matches_instance_domain: Optional[pulumi.Input[bool]] = None, + user_login_must_be_domain: Optional[pulumi.Input[bool]] = None, + validate_org_domains: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'smtpSenderAddressMatchesInstanceDomain' in kwargs: + smtp_sender_address_matches_instance_domain = kwargs['smtpSenderAddressMatchesInstanceDomain'] + if 'userLoginMustBeDomain' in kwargs: + user_login_must_be_domain = kwargs['userLoginMustBeDomain'] + if 'validateOrgDomains' in kwargs: + validate_org_domains = kwargs['validateOrgDomains'] + if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if smtp_sender_address_matches_instance_domain is not None: - pulumi.set(__self__, "smtp_sender_address_matches_instance_domain", smtp_sender_address_matches_instance_domain) + _setter("smtp_sender_address_matches_instance_domain", smtp_sender_address_matches_instance_domain) if user_login_must_be_domain is not None: - pulumi.set(__self__, "user_login_must_be_domain", user_login_must_be_domain) + _setter("user_login_must_be_domain", user_login_must_be_domain) if validate_org_domains is not None: - pulumi.set(__self__, "validate_org_domains", validate_org_domains) + _setter("validate_org_domains", validate_org_domains) @property @pulumi.getter(name="orgId") @@ -172,7 +222,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + terraform The resource can be imported using the ID format `<[org_id]>`, e.g. ```sh $ pulumi import zitadel:index/domainPolicy:DomainPolicy imported '123456789012345678' @@ -208,7 +258,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + terraform The resource can be imported using the ID format `<[org_id]>`, e.g. ```sh $ pulumi import zitadel:index/domainPolicy:DomainPolicy imported '123456789012345678' @@ -224,6 +274,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/get_action.py b/sdk/python/pulumiverse_zitadel/get_action.py index 2682fda..65fd0ce 100644 --- a/sdk/python/pulumiverse_zitadel/get_action.py +++ b/sdk/python/pulumiverse_zitadel/get_action.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -150,14 +150,14 @@ def get_action(action_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getAction:getAction', __args__, opts=opts, typ=GetActionResult).value return AwaitableGetActionResult( - action_id=__ret__.action_id, - allowed_to_fail=__ret__.allowed_to_fail, - id=__ret__.id, - name=__ret__.name, - org_id=__ret__.org_id, - script=__ret__.script, - state=__ret__.state, - timeout=__ret__.timeout) + action_id=pulumi.get(__ret__, 'action_id'), + allowed_to_fail=pulumi.get(__ret__, 'allowed_to_fail'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + org_id=pulumi.get(__ret__, 'org_id'), + script=pulumi.get(__ret__, 'script'), + state=pulumi.get(__ret__, 'state'), + timeout=pulumi.get(__ret__, 'timeout')) @_utilities.lift_output_func(get_action) diff --git a/sdk/python/pulumiverse_zitadel/get_application_api.py b/sdk/python/pulumiverse_zitadel/get_application_api.py index 132a2d1..be0e999 100644 --- a/sdk/python/pulumiverse_zitadel/get_application_api.py +++ b/sdk/python/pulumiverse_zitadel/get_application_api.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -136,12 +136,12 @@ def get_application_api(app_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getApplicationApi:getApplicationApi', __args__, opts=opts, typ=GetApplicationApiResult).value return AwaitableGetApplicationApiResult( - app_id=__ret__.app_id, - auth_method_type=__ret__.auth_method_type, - id=__ret__.id, - name=__ret__.name, - org_id=__ret__.org_id, - project_id=__ret__.project_id) + app_id=pulumi.get(__ret__, 'app_id'), + auth_method_type=pulumi.get(__ret__, 'auth_method_type'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + org_id=pulumi.get(__ret__, 'org_id'), + project_id=pulumi.get(__ret__, 'project_id')) @_utilities.lift_output_func(get_application_api) diff --git a/sdk/python/pulumiverse_zitadel/get_application_oidc.py b/sdk/python/pulumiverse_zitadel/get_application_oidc.py index 9ecf939..f02f6d7 100644 --- a/sdk/python/pulumiverse_zitadel/get_application_oidc.py +++ b/sdk/python/pulumiverse_zitadel/get_application_oidc.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -292,25 +292,25 @@ def get_application_oidc(app_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getApplicationOidc:getApplicationOidc', __args__, opts=opts, typ=GetApplicationOidcResult).value return AwaitableGetApplicationOidcResult( - access_token_role_assertion=__ret__.access_token_role_assertion, - access_token_type=__ret__.access_token_type, - additional_origins=__ret__.additional_origins, - app_id=__ret__.app_id, - app_type=__ret__.app_type, - auth_method_type=__ret__.auth_method_type, - clock_skew=__ret__.clock_skew, - dev_mode=__ret__.dev_mode, - grant_types=__ret__.grant_types, - id=__ret__.id, - id_token_role_assertion=__ret__.id_token_role_assertion, - id_token_userinfo_assertion=__ret__.id_token_userinfo_assertion, - name=__ret__.name, - org_id=__ret__.org_id, - post_logout_redirect_uris=__ret__.post_logout_redirect_uris, - project_id=__ret__.project_id, - redirect_uris=__ret__.redirect_uris, - response_types=__ret__.response_types, - version=__ret__.version) + access_token_role_assertion=pulumi.get(__ret__, 'access_token_role_assertion'), + access_token_type=pulumi.get(__ret__, 'access_token_type'), + additional_origins=pulumi.get(__ret__, 'additional_origins'), + app_id=pulumi.get(__ret__, 'app_id'), + app_type=pulumi.get(__ret__, 'app_type'), + auth_method_type=pulumi.get(__ret__, 'auth_method_type'), + clock_skew=pulumi.get(__ret__, 'clock_skew'), + dev_mode=pulumi.get(__ret__, 'dev_mode'), + grant_types=pulumi.get(__ret__, 'grant_types'), + id=pulumi.get(__ret__, 'id'), + id_token_role_assertion=pulumi.get(__ret__, 'id_token_role_assertion'), + id_token_userinfo_assertion=pulumi.get(__ret__, 'id_token_userinfo_assertion'), + name=pulumi.get(__ret__, 'name'), + org_id=pulumi.get(__ret__, 'org_id'), + post_logout_redirect_uris=pulumi.get(__ret__, 'post_logout_redirect_uris'), + project_id=pulumi.get(__ret__, 'project_id'), + redirect_uris=pulumi.get(__ret__, 'redirect_uris'), + response_types=pulumi.get(__ret__, 'response_types'), + version=pulumi.get(__ret__, 'version')) @_utilities.lift_output_func(get_application_oidc) diff --git a/sdk/python/pulumiverse_zitadel/get_default_oidc_settings.py b/sdk/python/pulumiverse_zitadel/get_default_oidc_settings.py new file mode 100644 index 0000000..b5ff85e --- /dev/null +++ b/sdk/python/pulumiverse_zitadel/get_default_oidc_settings.py @@ -0,0 +1,136 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = [ + 'GetDefaultOidcSettingsResult', + 'AwaitableGetDefaultOidcSettingsResult', + 'get_default_oidc_settings', + 'get_default_oidc_settings_output', +] + +@pulumi.output_type +class GetDefaultOidcSettingsResult: + """ + A collection of values returned by getDefaultOidcSettings. + """ + def __init__(__self__, access_token_lifetime=None, id=None, id_token_lifetime=None, refresh_token_expiration=None, refresh_token_idle_expiration=None): + if access_token_lifetime and not isinstance(access_token_lifetime, str): + raise TypeError("Expected argument 'access_token_lifetime' to be a str") + pulumi.set(__self__, "access_token_lifetime", access_token_lifetime) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if id_token_lifetime and not isinstance(id_token_lifetime, str): + raise TypeError("Expected argument 'id_token_lifetime' to be a str") + pulumi.set(__self__, "id_token_lifetime", id_token_lifetime) + if refresh_token_expiration and not isinstance(refresh_token_expiration, str): + raise TypeError("Expected argument 'refresh_token_expiration' to be a str") + pulumi.set(__self__, "refresh_token_expiration", refresh_token_expiration) + if refresh_token_idle_expiration and not isinstance(refresh_token_idle_expiration, str): + raise TypeError("Expected argument 'refresh_token_idle_expiration' to be a str") + pulumi.set(__self__, "refresh_token_idle_expiration", refresh_token_idle_expiration) + + @property + @pulumi.getter(name="accessTokenLifetime") + def access_token_lifetime(self) -> str: + """ + lifetime duration of access tokens + """ + return pulumi.get(self, "access_token_lifetime") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="idTokenLifetime") + def id_token_lifetime(self) -> str: + """ + lifetime duration of id tokens + """ + return pulumi.get(self, "id_token_lifetime") + + @property + @pulumi.getter(name="refreshTokenExpiration") + def refresh_token_expiration(self) -> str: + """ + expiration duration of refresh tokens + """ + return pulumi.get(self, "refresh_token_expiration") + + @property + @pulumi.getter(name="refreshTokenIdleExpiration") + def refresh_token_idle_expiration(self) -> str: + """ + expiration duration of idle refresh tokens + """ + return pulumi.get(self, "refresh_token_idle_expiration") + + +class AwaitableGetDefaultOidcSettingsResult(GetDefaultOidcSettingsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDefaultOidcSettingsResult( + access_token_lifetime=self.access_token_lifetime, + id=self.id, + id_token_lifetime=self.id_token_lifetime, + refresh_token_expiration=self.refresh_token_expiration, + refresh_token_idle_expiration=self.refresh_token_idle_expiration) + + +def get_default_oidc_settings(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDefaultOidcSettingsResult: + """ + Datasource representing the default oidc settings. + + ## Example Usage + + ```python + import pulumi + import pulumi_zitadel as zitadel + + default = zitadel.get_default_oidc_settings() + pulumi.export("oidcSettings", default) + ``` + """ + __args__ = dict() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('zitadel:index/getDefaultOidcSettings:getDefaultOidcSettings', __args__, opts=opts, typ=GetDefaultOidcSettingsResult).value + + return AwaitableGetDefaultOidcSettingsResult( + access_token_lifetime=pulumi.get(__ret__, 'access_token_lifetime'), + id=pulumi.get(__ret__, 'id'), + id_token_lifetime=pulumi.get(__ret__, 'id_token_lifetime'), + refresh_token_expiration=pulumi.get(__ret__, 'refresh_token_expiration'), + refresh_token_idle_expiration=pulumi.get(__ret__, 'refresh_token_idle_expiration')) + + +@_utilities.lift_output_func(get_default_oidc_settings) +def get_default_oidc_settings_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDefaultOidcSettingsResult]: + """ + Datasource representing the default oidc settings. + + ## Example Usage + + ```python + import pulumi + import pulumi_zitadel as zitadel + + default = zitadel.get_default_oidc_settings() + pulumi.export("oidcSettings", default) + ``` + """ + ... diff --git a/sdk/python/pulumiverse_zitadel/get_human_user.py b/sdk/python/pulumiverse_zitadel/get_human_user.py index fff191a..1ce8761 100644 --- a/sdk/python/pulumiverse_zitadel/get_human_user.py +++ b/sdk/python/pulumiverse_zitadel/get_human_user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -264,23 +264,23 @@ def get_human_user(org_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getHumanUser:getHumanUser', __args__, opts=opts, typ=GetHumanUserResult).value return AwaitableGetHumanUserResult( - display_name=__ret__.display_name, - email=__ret__.email, - first_name=__ret__.first_name, - gender=__ret__.gender, - id=__ret__.id, - is_email_verified=__ret__.is_email_verified, - is_phone_verified=__ret__.is_phone_verified, - last_name=__ret__.last_name, - login_names=__ret__.login_names, - nick_name=__ret__.nick_name, - org_id=__ret__.org_id, - phone=__ret__.phone, - preferred_language=__ret__.preferred_language, - preferred_login_name=__ret__.preferred_login_name, - state=__ret__.state, - user_id=__ret__.user_id, - user_name=__ret__.user_name) + display_name=pulumi.get(__ret__, 'display_name'), + email=pulumi.get(__ret__, 'email'), + first_name=pulumi.get(__ret__, 'first_name'), + gender=pulumi.get(__ret__, 'gender'), + id=pulumi.get(__ret__, 'id'), + is_email_verified=pulumi.get(__ret__, 'is_email_verified'), + is_phone_verified=pulumi.get(__ret__, 'is_phone_verified'), + last_name=pulumi.get(__ret__, 'last_name'), + login_names=pulumi.get(__ret__, 'login_names'), + nick_name=pulumi.get(__ret__, 'nick_name'), + org_id=pulumi.get(__ret__, 'org_id'), + phone=pulumi.get(__ret__, 'phone'), + preferred_language=pulumi.get(__ret__, 'preferred_language'), + preferred_login_name=pulumi.get(__ret__, 'preferred_login_name'), + state=pulumi.get(__ret__, 'state'), + user_id=pulumi.get(__ret__, 'user_id'), + user_name=pulumi.get(__ret__, 'user_name')) @_utilities.lift_output_func(get_human_user) diff --git a/sdk/python/pulumiverse_zitadel/get_idp_azure_ad.py b/sdk/python/pulumiverse_zitadel/get_idp_azure_ad.py index 84eeefd..91213e3 100644 --- a/sdk/python/pulumiverse_zitadel/get_idp_azure_ad.py +++ b/sdk/python/pulumiverse_zitadel/get_idp_azure_ad.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -199,18 +199,18 @@ def get_idp_azure_ad(id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getIdpAzureAd:getIdpAzureAd', __args__, opts=opts, typ=GetIdpAzureAdResult).value return AwaitableGetIdpAzureAdResult( - client_id=__ret__.client_id, - client_secret=__ret__.client_secret, - email_verified=__ret__.email_verified, - id=__ret__.id, - is_auto_creation=__ret__.is_auto_creation, - is_auto_update=__ret__.is_auto_update, - is_creation_allowed=__ret__.is_creation_allowed, - is_linking_allowed=__ret__.is_linking_allowed, - name=__ret__.name, - scopes=__ret__.scopes, - tenant_id=__ret__.tenant_id, - tenant_type=__ret__.tenant_type) + client_id=pulumi.get(__ret__, 'client_id'), + client_secret=pulumi.get(__ret__, 'client_secret'), + email_verified=pulumi.get(__ret__, 'email_verified'), + id=pulumi.get(__ret__, 'id'), + is_auto_creation=pulumi.get(__ret__, 'is_auto_creation'), + is_auto_update=pulumi.get(__ret__, 'is_auto_update'), + is_creation_allowed=pulumi.get(__ret__, 'is_creation_allowed'), + is_linking_allowed=pulumi.get(__ret__, 'is_linking_allowed'), + name=pulumi.get(__ret__, 'name'), + scopes=pulumi.get(__ret__, 'scopes'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + tenant_type=pulumi.get(__ret__, 'tenant_type')) @_utilities.lift_output_func(get_idp_azure_ad) diff --git a/sdk/python/pulumiverse_zitadel/get_idp_github.py b/sdk/python/pulumiverse_zitadel/get_idp_github.py index 3ff298b..cd30a9f 100644 --- a/sdk/python/pulumiverse_zitadel/get_idp_github.py +++ b/sdk/python/pulumiverse_zitadel/get_idp_github.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -163,15 +163,15 @@ def get_idp_github(id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getIdpGithub:getIdpGithub', __args__, opts=opts, typ=GetIdpGithubResult).value return AwaitableGetIdpGithubResult( - client_id=__ret__.client_id, - client_secret=__ret__.client_secret, - id=__ret__.id, - is_auto_creation=__ret__.is_auto_creation, - is_auto_update=__ret__.is_auto_update, - is_creation_allowed=__ret__.is_creation_allowed, - is_linking_allowed=__ret__.is_linking_allowed, - name=__ret__.name, - scopes=__ret__.scopes) + client_id=pulumi.get(__ret__, 'client_id'), + client_secret=pulumi.get(__ret__, 'client_secret'), + id=pulumi.get(__ret__, 'id'), + is_auto_creation=pulumi.get(__ret__, 'is_auto_creation'), + is_auto_update=pulumi.get(__ret__, 'is_auto_update'), + is_creation_allowed=pulumi.get(__ret__, 'is_creation_allowed'), + is_linking_allowed=pulumi.get(__ret__, 'is_linking_allowed'), + name=pulumi.get(__ret__, 'name'), + scopes=pulumi.get(__ret__, 'scopes')) @_utilities.lift_output_func(get_idp_github) diff --git a/sdk/python/pulumiverse_zitadel/get_idp_github_es.py b/sdk/python/pulumiverse_zitadel/get_idp_github_es.py index d46feb9..b483892 100644 --- a/sdk/python/pulumiverse_zitadel/get_idp_github_es.py +++ b/sdk/python/pulumiverse_zitadel/get_idp_github_es.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -199,18 +199,18 @@ def get_idp_github_es(id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getIdpGithubEs:getIdpGithubEs', __args__, opts=opts, typ=GetIdpGithubEsResult).value return AwaitableGetIdpGithubEsResult( - authorization_endpoint=__ret__.authorization_endpoint, - client_id=__ret__.client_id, - client_secret=__ret__.client_secret, - id=__ret__.id, - is_auto_creation=__ret__.is_auto_creation, - is_auto_update=__ret__.is_auto_update, - is_creation_allowed=__ret__.is_creation_allowed, - is_linking_allowed=__ret__.is_linking_allowed, - name=__ret__.name, - scopes=__ret__.scopes, - token_endpoint=__ret__.token_endpoint, - user_endpoint=__ret__.user_endpoint) + authorization_endpoint=pulumi.get(__ret__, 'authorization_endpoint'), + client_id=pulumi.get(__ret__, 'client_id'), + client_secret=pulumi.get(__ret__, 'client_secret'), + id=pulumi.get(__ret__, 'id'), + is_auto_creation=pulumi.get(__ret__, 'is_auto_creation'), + is_auto_update=pulumi.get(__ret__, 'is_auto_update'), + is_creation_allowed=pulumi.get(__ret__, 'is_creation_allowed'), + is_linking_allowed=pulumi.get(__ret__, 'is_linking_allowed'), + name=pulumi.get(__ret__, 'name'), + scopes=pulumi.get(__ret__, 'scopes'), + token_endpoint=pulumi.get(__ret__, 'token_endpoint'), + user_endpoint=pulumi.get(__ret__, 'user_endpoint')) @_utilities.lift_output_func(get_idp_github_es) diff --git a/sdk/python/pulumiverse_zitadel/get_idp_gitlab.py b/sdk/python/pulumiverse_zitadel/get_idp_gitlab.py index d243fc7..d661d9e 100644 --- a/sdk/python/pulumiverse_zitadel/get_idp_gitlab.py +++ b/sdk/python/pulumiverse_zitadel/get_idp_gitlab.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -163,15 +163,15 @@ def get_idp_gitlab(id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getIdpGitlab:getIdpGitlab', __args__, opts=opts, typ=GetIdpGitlabResult).value return AwaitableGetIdpGitlabResult( - client_id=__ret__.client_id, - client_secret=__ret__.client_secret, - id=__ret__.id, - is_auto_creation=__ret__.is_auto_creation, - is_auto_update=__ret__.is_auto_update, - is_creation_allowed=__ret__.is_creation_allowed, - is_linking_allowed=__ret__.is_linking_allowed, - name=__ret__.name, - scopes=__ret__.scopes) + client_id=pulumi.get(__ret__, 'client_id'), + client_secret=pulumi.get(__ret__, 'client_secret'), + id=pulumi.get(__ret__, 'id'), + is_auto_creation=pulumi.get(__ret__, 'is_auto_creation'), + is_auto_update=pulumi.get(__ret__, 'is_auto_update'), + is_creation_allowed=pulumi.get(__ret__, 'is_creation_allowed'), + is_linking_allowed=pulumi.get(__ret__, 'is_linking_allowed'), + name=pulumi.get(__ret__, 'name'), + scopes=pulumi.get(__ret__, 'scopes')) @_utilities.lift_output_func(get_idp_gitlab) diff --git a/sdk/python/pulumiverse_zitadel/get_idp_gitlab_self_hosted.py b/sdk/python/pulumiverse_zitadel/get_idp_gitlab_self_hosted.py index be3b72d..cd66f00 100644 --- a/sdk/python/pulumiverse_zitadel/get_idp_gitlab_self_hosted.py +++ b/sdk/python/pulumiverse_zitadel/get_idp_gitlab_self_hosted.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -175,16 +175,16 @@ def get_idp_gitlab_self_hosted(id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getIdpGitlabSelfHosted:getIdpGitlabSelfHosted', __args__, opts=opts, typ=GetIdpGitlabSelfHostedResult).value return AwaitableGetIdpGitlabSelfHostedResult( - client_id=__ret__.client_id, - client_secret=__ret__.client_secret, - id=__ret__.id, - is_auto_creation=__ret__.is_auto_creation, - is_auto_update=__ret__.is_auto_update, - is_creation_allowed=__ret__.is_creation_allowed, - is_linking_allowed=__ret__.is_linking_allowed, - issuer=__ret__.issuer, - name=__ret__.name, - scopes=__ret__.scopes) + client_id=pulumi.get(__ret__, 'client_id'), + client_secret=pulumi.get(__ret__, 'client_secret'), + id=pulumi.get(__ret__, 'id'), + is_auto_creation=pulumi.get(__ret__, 'is_auto_creation'), + is_auto_update=pulumi.get(__ret__, 'is_auto_update'), + is_creation_allowed=pulumi.get(__ret__, 'is_creation_allowed'), + is_linking_allowed=pulumi.get(__ret__, 'is_linking_allowed'), + issuer=pulumi.get(__ret__, 'issuer'), + name=pulumi.get(__ret__, 'name'), + scopes=pulumi.get(__ret__, 'scopes')) @_utilities.lift_output_func(get_idp_gitlab_self_hosted) diff --git a/sdk/python/pulumiverse_zitadel/get_idp_google.py b/sdk/python/pulumiverse_zitadel/get_idp_google.py index 83e61b7..d282d7b 100644 --- a/sdk/python/pulumiverse_zitadel/get_idp_google.py +++ b/sdk/python/pulumiverse_zitadel/get_idp_google.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -163,15 +163,15 @@ def get_idp_google(id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getIdpGoogle:getIdpGoogle', __args__, opts=opts, typ=GetIdpGoogleResult).value return AwaitableGetIdpGoogleResult( - client_id=__ret__.client_id, - client_secret=__ret__.client_secret, - id=__ret__.id, - is_auto_creation=__ret__.is_auto_creation, - is_auto_update=__ret__.is_auto_update, - is_creation_allowed=__ret__.is_creation_allowed, - is_linking_allowed=__ret__.is_linking_allowed, - name=__ret__.name, - scopes=__ret__.scopes) + client_id=pulumi.get(__ret__, 'client_id'), + client_secret=pulumi.get(__ret__, 'client_secret'), + id=pulumi.get(__ret__, 'id'), + is_auto_creation=pulumi.get(__ret__, 'is_auto_creation'), + is_auto_update=pulumi.get(__ret__, 'is_auto_update'), + is_creation_allowed=pulumi.get(__ret__, 'is_creation_allowed'), + is_linking_allowed=pulumi.get(__ret__, 'is_linking_allowed'), + name=pulumi.get(__ret__, 'name'), + scopes=pulumi.get(__ret__, 'scopes')) @_utilities.lift_output_func(get_idp_google) diff --git a/sdk/python/pulumiverse_zitadel/get_idp_ldap.py b/sdk/python/pulumiverse_zitadel/get_idp_ldap.py index b0349ee..e706603 100644 --- a/sdk/python/pulumiverse_zitadel/get_idp_ldap.py +++ b/sdk/python/pulumiverse_zitadel/get_idp_ldap.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -391,34 +391,34 @@ def get_idp_ldap(id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getIdpLdap:getIdpLdap', __args__, opts=opts, typ=GetIdpLdapResult).value return AwaitableGetIdpLdapResult( - avatar_url_attribute=__ret__.avatar_url_attribute, - base_dn=__ret__.base_dn, - bind_dn=__ret__.bind_dn, - bind_password=__ret__.bind_password, - display_name_attribute=__ret__.display_name_attribute, - email_attribute=__ret__.email_attribute, - email_verified_attribute=__ret__.email_verified_attribute, - first_name_attribute=__ret__.first_name_attribute, - id=__ret__.id, - id_attribute=__ret__.id_attribute, - is_auto_creation=__ret__.is_auto_creation, - is_auto_update=__ret__.is_auto_update, - is_creation_allowed=__ret__.is_creation_allowed, - is_linking_allowed=__ret__.is_linking_allowed, - last_name_attribute=__ret__.last_name_attribute, - name=__ret__.name, - nick_name_attribute=__ret__.nick_name_attribute, - phone_attribute=__ret__.phone_attribute, - phone_verified_attribute=__ret__.phone_verified_attribute, - preferred_language_attribute=__ret__.preferred_language_attribute, - preferred_username_attribute=__ret__.preferred_username_attribute, - profile_attribute=__ret__.profile_attribute, - servers=__ret__.servers, - start_tls=__ret__.start_tls, - timeout=__ret__.timeout, - user_base=__ret__.user_base, - user_filters=__ret__.user_filters, - user_object_classes=__ret__.user_object_classes) + avatar_url_attribute=pulumi.get(__ret__, 'avatar_url_attribute'), + base_dn=pulumi.get(__ret__, 'base_dn'), + bind_dn=pulumi.get(__ret__, 'bind_dn'), + bind_password=pulumi.get(__ret__, 'bind_password'), + display_name_attribute=pulumi.get(__ret__, 'display_name_attribute'), + email_attribute=pulumi.get(__ret__, 'email_attribute'), + email_verified_attribute=pulumi.get(__ret__, 'email_verified_attribute'), + first_name_attribute=pulumi.get(__ret__, 'first_name_attribute'), + id=pulumi.get(__ret__, 'id'), + id_attribute=pulumi.get(__ret__, 'id_attribute'), + is_auto_creation=pulumi.get(__ret__, 'is_auto_creation'), + is_auto_update=pulumi.get(__ret__, 'is_auto_update'), + is_creation_allowed=pulumi.get(__ret__, 'is_creation_allowed'), + is_linking_allowed=pulumi.get(__ret__, 'is_linking_allowed'), + last_name_attribute=pulumi.get(__ret__, 'last_name_attribute'), + name=pulumi.get(__ret__, 'name'), + nick_name_attribute=pulumi.get(__ret__, 'nick_name_attribute'), + phone_attribute=pulumi.get(__ret__, 'phone_attribute'), + phone_verified_attribute=pulumi.get(__ret__, 'phone_verified_attribute'), + preferred_language_attribute=pulumi.get(__ret__, 'preferred_language_attribute'), + preferred_username_attribute=pulumi.get(__ret__, 'preferred_username_attribute'), + profile_attribute=pulumi.get(__ret__, 'profile_attribute'), + servers=pulumi.get(__ret__, 'servers'), + start_tls=pulumi.get(__ret__, 'start_tls'), + timeout=pulumi.get(__ret__, 'timeout'), + user_base=pulumi.get(__ret__, 'user_base'), + user_filters=pulumi.get(__ret__, 'user_filters'), + user_object_classes=pulumi.get(__ret__, 'user_object_classes')) @_utilities.lift_output_func(get_idp_ldap) diff --git a/sdk/python/pulumiverse_zitadel/get_machine_user.py b/sdk/python/pulumiverse_zitadel/get_machine_user.py index fc6c964..642b602 100644 --- a/sdk/python/pulumiverse_zitadel/get_machine_user.py +++ b/sdk/python/pulumiverse_zitadel/get_machine_user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -180,16 +180,16 @@ def get_machine_user(org_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getMachineUser:getMachineUser', __args__, opts=opts, typ=GetMachineUserResult).value return AwaitableGetMachineUserResult( - access_token_type=__ret__.access_token_type, - description=__ret__.description, - id=__ret__.id, - login_names=__ret__.login_names, - name=__ret__.name, - org_id=__ret__.org_id, - preferred_login_name=__ret__.preferred_login_name, - state=__ret__.state, - user_id=__ret__.user_id, - user_name=__ret__.user_name) + access_token_type=pulumi.get(__ret__, 'access_token_type'), + description=pulumi.get(__ret__, 'description'), + id=pulumi.get(__ret__, 'id'), + login_names=pulumi.get(__ret__, 'login_names'), + name=pulumi.get(__ret__, 'name'), + org_id=pulumi.get(__ret__, 'org_id'), + preferred_login_name=pulumi.get(__ret__, 'preferred_login_name'), + state=pulumi.get(__ret__, 'state'), + user_id=pulumi.get(__ret__, 'user_id'), + user_name=pulumi.get(__ret__, 'user_name')) @_utilities.lift_output_func(get_machine_user) diff --git a/sdk/python/pulumiverse_zitadel/get_org.py b/sdk/python/pulumiverse_zitadel/get_org.py index baf9d83..4c4bae5 100644 --- a/sdk/python/pulumiverse_zitadel/get_org.py +++ b/sdk/python/pulumiverse_zitadel/get_org.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -21,10 +21,13 @@ class GetOrgResult: """ A collection of values returned by getOrg. """ - def __init__(__self__, id=None, name=None, primary_domain=None, state=None): + def __init__(__self__, id=None, is_default=None, name=None, primary_domain=None, state=None): if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) + if is_default and not isinstance(is_default, bool): + raise TypeError("Expected argument 'is_default' to be a bool") + pulumi.set(__self__, "is_default", is_default) if name and not isinstance(name, str): raise TypeError("Expected argument 'name' to be a str") pulumi.set(__self__, "name", name) @@ -43,6 +46,14 @@ def id(self) -> str: """ return pulumi.get(self, "id") + @property + @pulumi.getter(name="isDefault") + def is_default(self) -> bool: + """ + Indicates whether the org is the default org of the instance. + """ + return pulumi.get(self, "is_default") + @property @pulumi.getter def name(self) -> str: @@ -75,6 +86,7 @@ def __await__(self): yield self return GetOrgResult( id=self.id, + is_default=self.is_default, name=self.name, primary_domain=self.primary_domain, state=self.state) @@ -104,10 +116,11 @@ def get_org(id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getOrg:getOrg', __args__, opts=opts, typ=GetOrgResult).value return AwaitableGetOrgResult( - id=__ret__.id, - name=__ret__.name, - primary_domain=__ret__.primary_domain, - state=__ret__.state) + id=pulumi.get(__ret__, 'id'), + is_default=pulumi.get(__ret__, 'is_default'), + name=pulumi.get(__ret__, 'name'), + primary_domain=pulumi.get(__ret__, 'primary_domain'), + state=pulumi.get(__ret__, 'state')) @_utilities.lift_output_func(get_org) diff --git a/sdk/python/pulumiverse_zitadel/get_org_idp_azure_ad.py b/sdk/python/pulumiverse_zitadel/get_org_idp_azure_ad.py index ad58721..57b0ac3 100644 --- a/sdk/python/pulumiverse_zitadel/get_org_idp_azure_ad.py +++ b/sdk/python/pulumiverse_zitadel/get_org_idp_azure_ad.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -215,19 +215,19 @@ def get_org_idp_azure_ad(id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getOrgIdpAzureAd:getOrgIdpAzureAd', __args__, opts=opts, typ=GetOrgIdpAzureAdResult).value return AwaitableGetOrgIdpAzureAdResult( - client_id=__ret__.client_id, - client_secret=__ret__.client_secret, - email_verified=__ret__.email_verified, - id=__ret__.id, - is_auto_creation=__ret__.is_auto_creation, - is_auto_update=__ret__.is_auto_update, - is_creation_allowed=__ret__.is_creation_allowed, - is_linking_allowed=__ret__.is_linking_allowed, - name=__ret__.name, - org_id=__ret__.org_id, - scopes=__ret__.scopes, - tenant_id=__ret__.tenant_id, - tenant_type=__ret__.tenant_type) + client_id=pulumi.get(__ret__, 'client_id'), + client_secret=pulumi.get(__ret__, 'client_secret'), + email_verified=pulumi.get(__ret__, 'email_verified'), + id=pulumi.get(__ret__, 'id'), + is_auto_creation=pulumi.get(__ret__, 'is_auto_creation'), + is_auto_update=pulumi.get(__ret__, 'is_auto_update'), + is_creation_allowed=pulumi.get(__ret__, 'is_creation_allowed'), + is_linking_allowed=pulumi.get(__ret__, 'is_linking_allowed'), + name=pulumi.get(__ret__, 'name'), + org_id=pulumi.get(__ret__, 'org_id'), + scopes=pulumi.get(__ret__, 'scopes'), + tenant_id=pulumi.get(__ret__, 'tenant_id'), + tenant_type=pulumi.get(__ret__, 'tenant_type')) @_utilities.lift_output_func(get_org_idp_azure_ad) diff --git a/sdk/python/pulumiverse_zitadel/get_org_idp_github.py b/sdk/python/pulumiverse_zitadel/get_org_idp_github.py index f66a18f..db1db65 100644 --- a/sdk/python/pulumiverse_zitadel/get_org_idp_github.py +++ b/sdk/python/pulumiverse_zitadel/get_org_idp_github.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -179,16 +179,16 @@ def get_org_idp_github(id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getOrgIdpGithub:getOrgIdpGithub', __args__, opts=opts, typ=GetOrgIdpGithubResult).value return AwaitableGetOrgIdpGithubResult( - client_id=__ret__.client_id, - client_secret=__ret__.client_secret, - id=__ret__.id, - is_auto_creation=__ret__.is_auto_creation, - is_auto_update=__ret__.is_auto_update, - is_creation_allowed=__ret__.is_creation_allowed, - is_linking_allowed=__ret__.is_linking_allowed, - name=__ret__.name, - org_id=__ret__.org_id, - scopes=__ret__.scopes) + client_id=pulumi.get(__ret__, 'client_id'), + client_secret=pulumi.get(__ret__, 'client_secret'), + id=pulumi.get(__ret__, 'id'), + is_auto_creation=pulumi.get(__ret__, 'is_auto_creation'), + is_auto_update=pulumi.get(__ret__, 'is_auto_update'), + is_creation_allowed=pulumi.get(__ret__, 'is_creation_allowed'), + is_linking_allowed=pulumi.get(__ret__, 'is_linking_allowed'), + name=pulumi.get(__ret__, 'name'), + org_id=pulumi.get(__ret__, 'org_id'), + scopes=pulumi.get(__ret__, 'scopes')) @_utilities.lift_output_func(get_org_idp_github) diff --git a/sdk/python/pulumiverse_zitadel/get_org_idp_github_es.py b/sdk/python/pulumiverse_zitadel/get_org_idp_github_es.py index e1679a1..2d621c8 100644 --- a/sdk/python/pulumiverse_zitadel/get_org_idp_github_es.py +++ b/sdk/python/pulumiverse_zitadel/get_org_idp_github_es.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -215,19 +215,19 @@ def get_org_idp_github_es(id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getOrgIdpGithubEs:getOrgIdpGithubEs', __args__, opts=opts, typ=GetOrgIdpGithubEsResult).value return AwaitableGetOrgIdpGithubEsResult( - authorization_endpoint=__ret__.authorization_endpoint, - client_id=__ret__.client_id, - client_secret=__ret__.client_secret, - id=__ret__.id, - is_auto_creation=__ret__.is_auto_creation, - is_auto_update=__ret__.is_auto_update, - is_creation_allowed=__ret__.is_creation_allowed, - is_linking_allowed=__ret__.is_linking_allowed, - name=__ret__.name, - org_id=__ret__.org_id, - scopes=__ret__.scopes, - token_endpoint=__ret__.token_endpoint, - user_endpoint=__ret__.user_endpoint) + authorization_endpoint=pulumi.get(__ret__, 'authorization_endpoint'), + client_id=pulumi.get(__ret__, 'client_id'), + client_secret=pulumi.get(__ret__, 'client_secret'), + id=pulumi.get(__ret__, 'id'), + is_auto_creation=pulumi.get(__ret__, 'is_auto_creation'), + is_auto_update=pulumi.get(__ret__, 'is_auto_update'), + is_creation_allowed=pulumi.get(__ret__, 'is_creation_allowed'), + is_linking_allowed=pulumi.get(__ret__, 'is_linking_allowed'), + name=pulumi.get(__ret__, 'name'), + org_id=pulumi.get(__ret__, 'org_id'), + scopes=pulumi.get(__ret__, 'scopes'), + token_endpoint=pulumi.get(__ret__, 'token_endpoint'), + user_endpoint=pulumi.get(__ret__, 'user_endpoint')) @_utilities.lift_output_func(get_org_idp_github_es) diff --git a/sdk/python/pulumiverse_zitadel/get_org_idp_gitlab.py b/sdk/python/pulumiverse_zitadel/get_org_idp_gitlab.py index 48906d8..d63412e 100644 --- a/sdk/python/pulumiverse_zitadel/get_org_idp_gitlab.py +++ b/sdk/python/pulumiverse_zitadel/get_org_idp_gitlab.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -179,16 +179,16 @@ def get_org_idp_gitlab(id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getOrgIdpGitlab:getOrgIdpGitlab', __args__, opts=opts, typ=GetOrgIdpGitlabResult).value return AwaitableGetOrgIdpGitlabResult( - client_id=__ret__.client_id, - client_secret=__ret__.client_secret, - id=__ret__.id, - is_auto_creation=__ret__.is_auto_creation, - is_auto_update=__ret__.is_auto_update, - is_creation_allowed=__ret__.is_creation_allowed, - is_linking_allowed=__ret__.is_linking_allowed, - name=__ret__.name, - org_id=__ret__.org_id, - scopes=__ret__.scopes) + client_id=pulumi.get(__ret__, 'client_id'), + client_secret=pulumi.get(__ret__, 'client_secret'), + id=pulumi.get(__ret__, 'id'), + is_auto_creation=pulumi.get(__ret__, 'is_auto_creation'), + is_auto_update=pulumi.get(__ret__, 'is_auto_update'), + is_creation_allowed=pulumi.get(__ret__, 'is_creation_allowed'), + is_linking_allowed=pulumi.get(__ret__, 'is_linking_allowed'), + name=pulumi.get(__ret__, 'name'), + org_id=pulumi.get(__ret__, 'org_id'), + scopes=pulumi.get(__ret__, 'scopes')) @_utilities.lift_output_func(get_org_idp_gitlab) diff --git a/sdk/python/pulumiverse_zitadel/get_org_idp_gitlab_self_hosted.py b/sdk/python/pulumiverse_zitadel/get_org_idp_gitlab_self_hosted.py index 11d6760..3ba3444 100644 --- a/sdk/python/pulumiverse_zitadel/get_org_idp_gitlab_self_hosted.py +++ b/sdk/python/pulumiverse_zitadel/get_org_idp_gitlab_self_hosted.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -191,17 +191,17 @@ def get_org_idp_gitlab_self_hosted(id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getOrgIdpGitlabSelfHosted:getOrgIdpGitlabSelfHosted', __args__, opts=opts, typ=GetOrgIdpGitlabSelfHostedResult).value return AwaitableGetOrgIdpGitlabSelfHostedResult( - client_id=__ret__.client_id, - client_secret=__ret__.client_secret, - id=__ret__.id, - is_auto_creation=__ret__.is_auto_creation, - is_auto_update=__ret__.is_auto_update, - is_creation_allowed=__ret__.is_creation_allowed, - is_linking_allowed=__ret__.is_linking_allowed, - issuer=__ret__.issuer, - name=__ret__.name, - org_id=__ret__.org_id, - scopes=__ret__.scopes) + client_id=pulumi.get(__ret__, 'client_id'), + client_secret=pulumi.get(__ret__, 'client_secret'), + id=pulumi.get(__ret__, 'id'), + is_auto_creation=pulumi.get(__ret__, 'is_auto_creation'), + is_auto_update=pulumi.get(__ret__, 'is_auto_update'), + is_creation_allowed=pulumi.get(__ret__, 'is_creation_allowed'), + is_linking_allowed=pulumi.get(__ret__, 'is_linking_allowed'), + issuer=pulumi.get(__ret__, 'issuer'), + name=pulumi.get(__ret__, 'name'), + org_id=pulumi.get(__ret__, 'org_id'), + scopes=pulumi.get(__ret__, 'scopes')) @_utilities.lift_output_func(get_org_idp_gitlab_self_hosted) diff --git a/sdk/python/pulumiverse_zitadel/get_org_idp_google.py b/sdk/python/pulumiverse_zitadel/get_org_idp_google.py index 62558b4..b171d4e 100644 --- a/sdk/python/pulumiverse_zitadel/get_org_idp_google.py +++ b/sdk/python/pulumiverse_zitadel/get_org_idp_google.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -179,16 +179,16 @@ def get_org_idp_google(id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getOrgIdpGoogle:getOrgIdpGoogle', __args__, opts=opts, typ=GetOrgIdpGoogleResult).value return AwaitableGetOrgIdpGoogleResult( - client_id=__ret__.client_id, - client_secret=__ret__.client_secret, - id=__ret__.id, - is_auto_creation=__ret__.is_auto_creation, - is_auto_update=__ret__.is_auto_update, - is_creation_allowed=__ret__.is_creation_allowed, - is_linking_allowed=__ret__.is_linking_allowed, - name=__ret__.name, - org_id=__ret__.org_id, - scopes=__ret__.scopes) + client_id=pulumi.get(__ret__, 'client_id'), + client_secret=pulumi.get(__ret__, 'client_secret'), + id=pulumi.get(__ret__, 'id'), + is_auto_creation=pulumi.get(__ret__, 'is_auto_creation'), + is_auto_update=pulumi.get(__ret__, 'is_auto_update'), + is_creation_allowed=pulumi.get(__ret__, 'is_creation_allowed'), + is_linking_allowed=pulumi.get(__ret__, 'is_linking_allowed'), + name=pulumi.get(__ret__, 'name'), + org_id=pulumi.get(__ret__, 'org_id'), + scopes=pulumi.get(__ret__, 'scopes')) @_utilities.lift_output_func(get_org_idp_google) diff --git a/sdk/python/pulumiverse_zitadel/get_org_idp_ldap.py b/sdk/python/pulumiverse_zitadel/get_org_idp_ldap.py index 02d5bda..851ab87 100644 --- a/sdk/python/pulumiverse_zitadel/get_org_idp_ldap.py +++ b/sdk/python/pulumiverse_zitadel/get_org_idp_ldap.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -407,35 +407,35 @@ def get_org_idp_ldap(id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getOrgIdpLdap:getOrgIdpLdap', __args__, opts=opts, typ=GetOrgIdpLdapResult).value return AwaitableGetOrgIdpLdapResult( - avatar_url_attribute=__ret__.avatar_url_attribute, - base_dn=__ret__.base_dn, - bind_dn=__ret__.bind_dn, - bind_password=__ret__.bind_password, - display_name_attribute=__ret__.display_name_attribute, - email_attribute=__ret__.email_attribute, - email_verified_attribute=__ret__.email_verified_attribute, - first_name_attribute=__ret__.first_name_attribute, - id=__ret__.id, - id_attribute=__ret__.id_attribute, - is_auto_creation=__ret__.is_auto_creation, - is_auto_update=__ret__.is_auto_update, - is_creation_allowed=__ret__.is_creation_allowed, - is_linking_allowed=__ret__.is_linking_allowed, - last_name_attribute=__ret__.last_name_attribute, - name=__ret__.name, - nick_name_attribute=__ret__.nick_name_attribute, - org_id=__ret__.org_id, - phone_attribute=__ret__.phone_attribute, - phone_verified_attribute=__ret__.phone_verified_attribute, - preferred_language_attribute=__ret__.preferred_language_attribute, - preferred_username_attribute=__ret__.preferred_username_attribute, - profile_attribute=__ret__.profile_attribute, - servers=__ret__.servers, - start_tls=__ret__.start_tls, - timeout=__ret__.timeout, - user_base=__ret__.user_base, - user_filters=__ret__.user_filters, - user_object_classes=__ret__.user_object_classes) + avatar_url_attribute=pulumi.get(__ret__, 'avatar_url_attribute'), + base_dn=pulumi.get(__ret__, 'base_dn'), + bind_dn=pulumi.get(__ret__, 'bind_dn'), + bind_password=pulumi.get(__ret__, 'bind_password'), + display_name_attribute=pulumi.get(__ret__, 'display_name_attribute'), + email_attribute=pulumi.get(__ret__, 'email_attribute'), + email_verified_attribute=pulumi.get(__ret__, 'email_verified_attribute'), + first_name_attribute=pulumi.get(__ret__, 'first_name_attribute'), + id=pulumi.get(__ret__, 'id'), + id_attribute=pulumi.get(__ret__, 'id_attribute'), + is_auto_creation=pulumi.get(__ret__, 'is_auto_creation'), + is_auto_update=pulumi.get(__ret__, 'is_auto_update'), + is_creation_allowed=pulumi.get(__ret__, 'is_creation_allowed'), + is_linking_allowed=pulumi.get(__ret__, 'is_linking_allowed'), + last_name_attribute=pulumi.get(__ret__, 'last_name_attribute'), + name=pulumi.get(__ret__, 'name'), + nick_name_attribute=pulumi.get(__ret__, 'nick_name_attribute'), + org_id=pulumi.get(__ret__, 'org_id'), + phone_attribute=pulumi.get(__ret__, 'phone_attribute'), + phone_verified_attribute=pulumi.get(__ret__, 'phone_verified_attribute'), + preferred_language_attribute=pulumi.get(__ret__, 'preferred_language_attribute'), + preferred_username_attribute=pulumi.get(__ret__, 'preferred_username_attribute'), + profile_attribute=pulumi.get(__ret__, 'profile_attribute'), + servers=pulumi.get(__ret__, 'servers'), + start_tls=pulumi.get(__ret__, 'start_tls'), + timeout=pulumi.get(__ret__, 'timeout'), + user_base=pulumi.get(__ret__, 'user_base'), + user_filters=pulumi.get(__ret__, 'user_filters'), + user_object_classes=pulumi.get(__ret__, 'user_object_classes')) @_utilities.lift_output_func(get_org_idp_ldap) diff --git a/sdk/python/pulumiverse_zitadel/get_org_jwt_idp.py b/sdk/python/pulumiverse_zitadel/get_org_jwt_idp.py index 9c828ed..ace273e 100644 --- a/sdk/python/pulumiverse_zitadel/get_org_jwt_idp.py +++ b/sdk/python/pulumiverse_zitadel/get_org_jwt_idp.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -169,16 +169,16 @@ def get_org_jwt_idp(idp_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getOrgJwtIdp:getOrgJwtIdp', __args__, opts=opts, typ=GetOrgJwtIdpResult).value return AwaitableGetOrgJwtIdpResult( - auto_register=__ret__.auto_register, - header_name=__ret__.header_name, - id=__ret__.id, - idp_id=__ret__.idp_id, - issuer=__ret__.issuer, - jwt_endpoint=__ret__.jwt_endpoint, - keys_endpoint=__ret__.keys_endpoint, - name=__ret__.name, - org_id=__ret__.org_id, - styling_type=__ret__.styling_type) + auto_register=pulumi.get(__ret__, 'auto_register'), + header_name=pulumi.get(__ret__, 'header_name'), + id=pulumi.get(__ret__, 'id'), + idp_id=pulumi.get(__ret__, 'idp_id'), + issuer=pulumi.get(__ret__, 'issuer'), + jwt_endpoint=pulumi.get(__ret__, 'jwt_endpoint'), + keys_endpoint=pulumi.get(__ret__, 'keys_endpoint'), + name=pulumi.get(__ret__, 'name'), + org_id=pulumi.get(__ret__, 'org_id'), + styling_type=pulumi.get(__ret__, 'styling_type')) @_utilities.lift_output_func(get_org_jwt_idp) diff --git a/sdk/python/pulumiverse_zitadel/get_org_oidc_idp.py b/sdk/python/pulumiverse_zitadel/get_org_oidc_idp.py index 131d517..ab3fdc6 100644 --- a/sdk/python/pulumiverse_zitadel/get_org_oidc_idp.py +++ b/sdk/python/pulumiverse_zitadel/get_org_oidc_idp.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -204,18 +204,18 @@ def get_org_oidc_idp(id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getOrgOidcIdp:getOrgOidcIdp', __args__, opts=opts, typ=GetOrgOidcIdpResult).value return AwaitableGetOrgOidcIdpResult( - client_id=__ret__.client_id, - client_secret=__ret__.client_secret, - id=__ret__.id, - is_auto_creation=__ret__.is_auto_creation, - is_auto_update=__ret__.is_auto_update, - is_creation_allowed=__ret__.is_creation_allowed, - is_id_token_mapping=__ret__.is_id_token_mapping, - is_linking_allowed=__ret__.is_linking_allowed, - issuer=__ret__.issuer, - name=__ret__.name, - org_id=__ret__.org_id, - scopes=__ret__.scopes) + client_id=pulumi.get(__ret__, 'client_id'), + client_secret=pulumi.get(__ret__, 'client_secret'), + id=pulumi.get(__ret__, 'id'), + is_auto_creation=pulumi.get(__ret__, 'is_auto_creation'), + is_auto_update=pulumi.get(__ret__, 'is_auto_update'), + is_creation_allowed=pulumi.get(__ret__, 'is_creation_allowed'), + is_id_token_mapping=pulumi.get(__ret__, 'is_id_token_mapping'), + is_linking_allowed=pulumi.get(__ret__, 'is_linking_allowed'), + issuer=pulumi.get(__ret__, 'issuer'), + name=pulumi.get(__ret__, 'name'), + org_id=pulumi.get(__ret__, 'org_id'), + scopes=pulumi.get(__ret__, 'scopes')) @_utilities.lift_output_func(get_org_oidc_idp) diff --git a/sdk/python/pulumiverse_zitadel/get_orgs.py b/sdk/python/pulumiverse_zitadel/get_orgs.py new file mode 100644 index 0000000..bff508c --- /dev/null +++ b/sdk/python/pulumiverse_zitadel/get_orgs.py @@ -0,0 +1,184 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = [ + 'GetOrgsResult', + 'AwaitableGetOrgsResult', + 'get_orgs', + 'get_orgs_output', +] + +@pulumi.output_type +class GetOrgsResult: + """ + A collection of values returned by getOrgs. + """ + def __init__(__self__, domain=None, domain_method=None, id=None, ids=None, name=None, name_method=None, primary_domain=None, state=None): + if domain and not isinstance(domain, str): + raise TypeError("Expected argument 'domain' to be a str") + pulumi.set(__self__, "domain", domain) + if domain_method and not isinstance(domain_method, str): + raise TypeError("Expected argument 'domain_method' to be a str") + pulumi.set(__self__, "domain_method", domain_method) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if ids and not isinstance(ids, list): + raise TypeError("Expected argument 'ids' to be a list") + pulumi.set(__self__, "ids", ids) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if name_method and not isinstance(name_method, str): + raise TypeError("Expected argument 'name_method' to be a str") + pulumi.set(__self__, "name_method", name_method) + if primary_domain and not isinstance(primary_domain, str): + raise TypeError("Expected argument 'primary_domain' to be a str") + pulumi.set(__self__, "primary_domain", primary_domain) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def domain(self) -> Optional[str]: + """ + A domain of the org. + """ + return pulumi.get(self, "domain") + + @property + @pulumi.getter(name="domainMethod") + def domain_method(self) -> Optional[str]: + """ + Method for querying orgs by domain, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + """ + return pulumi.get(self, "domain_method") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def ids(self) -> Sequence[str]: + """ + A set of all organization IDs. + """ + return pulumi.get(self, "ids") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the org. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="nameMethod") + def name_method(self) -> Optional[str]: + """ + Method for querying orgs by name, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + """ + return pulumi.get(self, "name_method") + + @property + @pulumi.getter(name="primaryDomain") + def primary_domain(self) -> str: + """ + Primary domain of the org + """ + return pulumi.get(self, "primary_domain") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + State of the org, supported values: ORG*STATE*UNSPECIFIED, ORG*STATE*ACTIVE, ORG*STATE*INACTIVE, ORG*STATE*REMOVED + """ + return pulumi.get(self, "state") + + +class AwaitableGetOrgsResult(GetOrgsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetOrgsResult( + domain=self.domain, + domain_method=self.domain_method, + id=self.id, + ids=self.ids, + name=self.name, + name_method=self.name_method, + primary_domain=self.primary_domain, + state=self.state) + + +def get_orgs(domain: Optional[str] = None, + domain_method: Optional[str] = None, + name: Optional[str] = None, + name_method: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrgsResult: + """ + Datasource representing an organization in ZITADEL, which is the highest level after the instance and contains several other resource including policies if the configuration differs to the default policies on the instance. + + + :param str domain: A domain of the org. + :param str domain_method: Method for querying orgs by domain, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + :param str name: Name of the org. + :param str name_method: Method for querying orgs by name, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + :param str state: State of the org, supported values: ORG*STATE*UNSPECIFIED, ORG*STATE*ACTIVE, ORG*STATE*INACTIVE, ORG*STATE*REMOVED + """ + __args__ = dict() + __args__['domain'] = domain + __args__['domainMethod'] = domain_method + __args__['name'] = name + __args__['nameMethod'] = name_method + __args__['state'] = state + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('zitadel:index/getOrgs:getOrgs', __args__, opts=opts, typ=GetOrgsResult).value + + return AwaitableGetOrgsResult( + domain=pulumi.get(__ret__, 'domain'), + domain_method=pulumi.get(__ret__, 'domain_method'), + id=pulumi.get(__ret__, 'id'), + ids=pulumi.get(__ret__, 'ids'), + name=pulumi.get(__ret__, 'name'), + name_method=pulumi.get(__ret__, 'name_method'), + primary_domain=pulumi.get(__ret__, 'primary_domain'), + state=pulumi.get(__ret__, 'state')) + + +@_utilities.lift_output_func(get_orgs) +def get_orgs_output(domain: Optional[pulumi.Input[Optional[str]]] = None, + domain_method: Optional[pulumi.Input[Optional[str]]] = None, + name: Optional[pulumi.Input[Optional[str]]] = None, + name_method: Optional[pulumi.Input[Optional[str]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOrgsResult]: + """ + Datasource representing an organization in ZITADEL, which is the highest level after the instance and contains several other resource including policies if the configuration differs to the default policies on the instance. + + + :param str domain: A domain of the org. + :param str domain_method: Method for querying orgs by domain, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + :param str name: Name of the org. + :param str name_method: Method for querying orgs by name, supported values: TEXT*QUERY*METHOD*EQUALS, TEXT*QUERY*METHOD*EQUALS*IGNORE*CASE, TEXT*QUERY*METHOD*STARTS*WITH, TEXT*QUERY*METHOD*STARTS*WITH*IGNORE*CASE, TEXT*QUERY*METHOD*CONTAINS, TEXT*QUERY*METHOD*CONTAINS*IGNORE*CASE, TEXT*QUERY*METHOD*ENDS*WITH, TEXT*QUERY*METHOD*ENDS*WITH*IGNORE*CASE + :param str state: State of the org, supported values: ORG*STATE*UNSPECIFIED, ORG*STATE*ACTIVE, ORG*STATE*INACTIVE, ORG*STATE*REMOVED + """ + ... diff --git a/sdk/python/pulumiverse_zitadel/get_project.py b/sdk/python/pulumiverse_zitadel/get_project.py index 25bf599..8d006e1 100644 --- a/sdk/python/pulumiverse_zitadel/get_project.py +++ b/sdk/python/pulumiverse_zitadel/get_project.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -168,15 +168,15 @@ def get_project(org_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getProject:getProject', __args__, opts=opts, typ=GetProjectResult).value return AwaitableGetProjectResult( - has_project_check=__ret__.has_project_check, - id=__ret__.id, - name=__ret__.name, - org_id=__ret__.org_id, - private_labeling_setting=__ret__.private_labeling_setting, - project_id=__ret__.project_id, - project_role_assertion=__ret__.project_role_assertion, - project_role_check=__ret__.project_role_check, - state=__ret__.state) + has_project_check=pulumi.get(__ret__, 'has_project_check'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + org_id=pulumi.get(__ret__, 'org_id'), + private_labeling_setting=pulumi.get(__ret__, 'private_labeling_setting'), + project_id=pulumi.get(__ret__, 'project_id'), + project_role_assertion=pulumi.get(__ret__, 'project_role_assertion'), + project_role_check=pulumi.get(__ret__, 'project_role_check'), + state=pulumi.get(__ret__, 'state')) @_utilities.lift_output_func(get_project) diff --git a/sdk/python/pulumiverse_zitadel/get_project_role.py b/sdk/python/pulumiverse_zitadel/get_project_role.py index 516c27b..99e41c2 100644 --- a/sdk/python/pulumiverse_zitadel/get_project_role.py +++ b/sdk/python/pulumiverse_zitadel/get_project_role.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -136,12 +136,12 @@ def get_project_role(org_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getProjectRole:getProjectRole', __args__, opts=opts, typ=GetProjectRoleResult).value return AwaitableGetProjectRoleResult( - display_name=__ret__.display_name, - group=__ret__.group, - id=__ret__.id, - org_id=__ret__.org_id, - project_id=__ret__.project_id, - role_key=__ret__.role_key) + display_name=pulumi.get(__ret__, 'display_name'), + group=pulumi.get(__ret__, 'group'), + id=pulumi.get(__ret__, 'id'), + org_id=pulumi.get(__ret__, 'org_id'), + project_id=pulumi.get(__ret__, 'project_id'), + role_key=pulumi.get(__ret__, 'role_key')) @_utilities.lift_output_func(get_project_role) diff --git a/sdk/python/pulumiverse_zitadel/get_trigger_actions.py b/sdk/python/pulumiverse_zitadel/get_trigger_actions.py index e9032d6..9785c5e 100644 --- a/sdk/python/pulumiverse_zitadel/get_trigger_actions.py +++ b/sdk/python/pulumiverse_zitadel/get_trigger_actions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ @@ -124,11 +124,11 @@ def get_trigger_actions(flow_type: Optional[str] = None, __ret__ = pulumi.runtime.invoke('zitadel:index/getTriggerActions:getTriggerActions', __args__, opts=opts, typ=GetTriggerActionsResult).value return AwaitableGetTriggerActionsResult( - action_ids=__ret__.action_ids, - flow_type=__ret__.flow_type, - id=__ret__.id, - org_id=__ret__.org_id, - trigger_type=__ret__.trigger_type) + action_ids=pulumi.get(__ret__, 'action_ids'), + flow_type=pulumi.get(__ret__, 'flow_type'), + id=pulumi.get(__ret__, 'id'), + org_id=pulumi.get(__ret__, 'org_id'), + trigger_type=pulumi.get(__ret__, 'trigger_type')) @_utilities.lift_output_func(get_trigger_actions) diff --git a/sdk/python/pulumiverse_zitadel/human_user.py b/sdk/python/pulumiverse_zitadel/human_user.py index fbb16c4..4524583 100644 --- a/sdk/python/pulumiverse_zitadel/human_user.py +++ b/sdk/python/pulumiverse_zitadel/human_user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['HumanUserArgs', 'HumanUser'] @@ -43,28 +43,83 @@ def __init__(__self__, *, :param pulumi.Input[str] phone: Phone of the user :param pulumi.Input[str] preferred_language: Preferred language of the user """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "user_name", user_name) + HumanUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + first_name=first_name, + last_name=last_name, + user_name=user_name, + display_name=display_name, + gender=gender, + initial_password=initial_password, + is_email_verified=is_email_verified, + is_phone_verified=is_phone_verified, + nick_name=nick_name, + org_id=org_id, + phone=phone, + preferred_language=preferred_language, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: pulumi.Input[str], + first_name: pulumi.Input[str], + last_name: pulumi.Input[str], + user_name: pulumi.Input[str], + display_name: Optional[pulumi.Input[str]] = None, + gender: Optional[pulumi.Input[str]] = None, + initial_password: Optional[pulumi.Input[str]] = None, + is_email_verified: Optional[pulumi.Input[bool]] = None, + is_phone_verified: Optional[pulumi.Input[bool]] = None, + nick_name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + phone: Optional[pulumi.Input[str]] = None, + preferred_language: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'firstName' in kwargs: + first_name = kwargs['firstName'] + if 'lastName' in kwargs: + last_name = kwargs['lastName'] + if 'userName' in kwargs: + user_name = kwargs['userName'] + if 'displayName' in kwargs: + display_name = kwargs['displayName'] + if 'initialPassword' in kwargs: + initial_password = kwargs['initialPassword'] + if 'isEmailVerified' in kwargs: + is_email_verified = kwargs['isEmailVerified'] + if 'isPhoneVerified' in kwargs: + is_phone_verified = kwargs['isPhoneVerified'] + if 'nickName' in kwargs: + nick_name = kwargs['nickName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'preferredLanguage' in kwargs: + preferred_language = kwargs['preferredLanguage'] + + _setter("email", email) + _setter("first_name", first_name) + _setter("last_name", last_name) + _setter("user_name", user_name) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if gender is not None: - pulumi.set(__self__, "gender", gender) + _setter("gender", gender) if initial_password is not None: - pulumi.set(__self__, "initial_password", initial_password) + _setter("initial_password", initial_password) if is_email_verified is not None: - pulumi.set(__self__, "is_email_verified", is_email_verified) + _setter("is_email_verified", is_email_verified) if is_phone_verified is not None: - pulumi.set(__self__, "is_phone_verified", is_phone_verified) + _setter("is_phone_verified", is_phone_verified) if nick_name is not None: - pulumi.set(__self__, "nick_name", nick_name) + _setter("nick_name", nick_name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if phone is not None: - pulumi.set(__self__, "phone", phone) + _setter("phone", phone) if preferred_language is not None: - pulumi.set(__self__, "preferred_language", preferred_language) + _setter("preferred_language", preferred_language) @property @pulumi.getter @@ -261,38 +316,103 @@ def __init__(__self__, *, :param pulumi.Input[str] state: State of the user :param pulumi.Input[str] user_name: Username """ + _HumanUserState._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + email=email, + first_name=first_name, + gender=gender, + initial_password=initial_password, + is_email_verified=is_email_verified, + is_phone_verified=is_phone_verified, + last_name=last_name, + login_names=login_names, + nick_name=nick_name, + org_id=org_id, + phone=phone, + preferred_language=preferred_language, + preferred_login_name=preferred_login_name, + state=state, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + email: Optional[pulumi.Input[str]] = None, + first_name: Optional[pulumi.Input[str]] = None, + gender: Optional[pulumi.Input[str]] = None, + initial_password: Optional[pulumi.Input[str]] = None, + is_email_verified: Optional[pulumi.Input[bool]] = None, + is_phone_verified: Optional[pulumi.Input[bool]] = None, + last_name: Optional[pulumi.Input[str]] = None, + login_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + nick_name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + phone: Optional[pulumi.Input[str]] = None, + preferred_language: Optional[pulumi.Input[str]] = None, + preferred_login_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'displayName' in kwargs: + display_name = kwargs['displayName'] + if 'firstName' in kwargs: + first_name = kwargs['firstName'] + if 'initialPassword' in kwargs: + initial_password = kwargs['initialPassword'] + if 'isEmailVerified' in kwargs: + is_email_verified = kwargs['isEmailVerified'] + if 'isPhoneVerified' in kwargs: + is_phone_verified = kwargs['isPhoneVerified'] + if 'lastName' in kwargs: + last_name = kwargs['lastName'] + if 'loginNames' in kwargs: + login_names = kwargs['loginNames'] + if 'nickName' in kwargs: + nick_name = kwargs['nickName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'preferredLanguage' in kwargs: + preferred_language = kwargs['preferredLanguage'] + if 'preferredLoginName' in kwargs: + preferred_login_name = kwargs['preferredLoginName'] + if 'userName' in kwargs: + user_name = kwargs['userName'] + if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if email is not None: - pulumi.set(__self__, "email", email) + _setter("email", email) if first_name is not None: - pulumi.set(__self__, "first_name", first_name) + _setter("first_name", first_name) if gender is not None: - pulumi.set(__self__, "gender", gender) + _setter("gender", gender) if initial_password is not None: - pulumi.set(__self__, "initial_password", initial_password) + _setter("initial_password", initial_password) if is_email_verified is not None: - pulumi.set(__self__, "is_email_verified", is_email_verified) + _setter("is_email_verified", is_email_verified) if is_phone_verified is not None: - pulumi.set(__self__, "is_phone_verified", is_phone_verified) + _setter("is_phone_verified", is_phone_verified) if last_name is not None: - pulumi.set(__self__, "last_name", last_name) + _setter("last_name", last_name) if login_names is not None: - pulumi.set(__self__, "login_names", login_names) + _setter("login_names", login_names) if nick_name is not None: - pulumi.set(__self__, "nick_name", nick_name) + _setter("nick_name", nick_name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if phone is not None: - pulumi.set(__self__, "phone", phone) + _setter("phone", phone) if preferred_language is not None: - pulumi.set(__self__, "preferred_language", preferred_language) + _setter("preferred_language", preferred_language) if preferred_login_name is not None: - pulumi.set(__self__, "preferred_login_name", preferred_login_name) + _setter("preferred_login_name", preferred_login_name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) @property @pulumi.getter(name="displayName") @@ -535,7 +655,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `id[:org_id][:initial_password]>`, e.g. + terraform The resource can be imported using the ID format `id[:org_id][:initial_password]>`, e.g. ```sh $ pulumi import zitadel:index/humanUser:HumanUser imported '123456789012345678:123456789012345678:Password1!' @@ -592,7 +712,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `id[:org_id][:initial_password]>`, e.g. + terraform The resource can be imported using the ID format `id[:org_id][:initial_password]>`, e.g. ```sh $ pulumi import zitadel:index/humanUser:HumanUser imported '123456789012345678:123456789012345678:Password1!' @@ -608,6 +728,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + HumanUserArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -643,7 +767,7 @@ def _internal_init(__self__, raise TypeError("Missing required property 'first_name'") __props__.__dict__["first_name"] = first_name __props__.__dict__["gender"] = gender - __props__.__dict__["initial_password"] = initial_password + __props__.__dict__["initial_password"] = None if initial_password is None else pulumi.Output.secret(initial_password) __props__.__dict__["is_email_verified"] = is_email_verified __props__.__dict__["is_phone_verified"] = is_phone_verified if last_name is None and not opts.urn: @@ -659,6 +783,8 @@ def _internal_init(__self__, __props__.__dict__["login_names"] = None __props__.__dict__["preferred_login_name"] = None __props__.__dict__["state"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["initialPassword"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(HumanUser, __self__).__init__( 'zitadel:index/humanUser:HumanUser', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/idp_azure_ad.py b/sdk/python/pulumiverse_zitadel/idp_azure_ad.py index 7f5abb5..4c1585e 100644 --- a/sdk/python/pulumiverse_zitadel/idp_azure_ad.py +++ b/sdk/python/pulumiverse_zitadel/idp_azure_ad.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['IdpAzureAdArgs', 'IdpAzureAd'] @@ -39,21 +39,70 @@ def __init__(__self__, *, :param pulumi.Input[str] tenant_id: if tenant*id is not set, the tenant*type is used :param pulumi.Input[str] tenant_type: the azure ad tenant type """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "email_verified", email_verified) - pulumi.set(__self__, "is_auto_creation", is_auto_creation) - pulumi.set(__self__, "is_auto_update", is_auto_update) - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + IdpAzureAdArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + email_verified=email_verified, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + name=name, + scopes=scopes, + tenant_id=tenant_id, + tenant_type=tenant_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: pulumi.Input[str], + client_secret: pulumi.Input[str], + email_verified: pulumi.Input[bool], + is_auto_creation: pulumi.Input[bool], + is_auto_update: pulumi.Input[bool], + is_creation_allowed: pulumi.Input[bool], + is_linking_allowed: pulumi.Input[bool], + name: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + tenant_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'emailVerified' in kwargs: + email_verified = kwargs['emailVerified'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'tenantType' in kwargs: + tenant_type = kwargs['tenantType'] + + _setter("client_id", client_id) + _setter("client_secret", client_secret) + _setter("email_verified", email_verified) + _setter("is_auto_creation", is_auto_creation) + _setter("is_auto_update", is_auto_update) + _setter("is_creation_allowed", is_creation_allowed) + _setter("is_linking_allowed", is_linking_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) if tenant_id is not None: - pulumi.set(__self__, "tenant_id", tenant_id) + _setter("tenant_id", tenant_id) if tenant_type is not None: - pulumi.set(__self__, "tenant_type", tenant_type) + _setter("tenant_type", tenant_type) @property @pulumi.getter(name="clientId") @@ -216,28 +265,77 @@ def __init__(__self__, *, :param pulumi.Input[str] tenant_id: if tenant*id is not set, the tenant*type is used :param pulumi.Input[str] tenant_type: the azure ad tenant type """ + _IdpAzureAdState._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + email_verified=email_verified, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + name=name, + scopes=scopes, + tenant_id=tenant_id, + tenant_type=tenant_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + email_verified: Optional[pulumi.Input[bool]] = None, + is_auto_creation: Optional[pulumi.Input[bool]] = None, + is_auto_update: Optional[pulumi.Input[bool]] = None, + is_creation_allowed: Optional[pulumi.Input[bool]] = None, + is_linking_allowed: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + tenant_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'emailVerified' in kwargs: + email_verified = kwargs['emailVerified'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'tenantType' in kwargs: + tenant_type = kwargs['tenantType'] + if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if email_verified is not None: - pulumi.set(__self__, "email_verified", email_verified) + _setter("email_verified", email_verified) if is_auto_creation is not None: - pulumi.set(__self__, "is_auto_creation", is_auto_creation) + _setter("is_auto_creation", is_auto_creation) if is_auto_update is not None: - pulumi.set(__self__, "is_auto_update", is_auto_update) + _setter("is_auto_update", is_auto_update) if is_creation_allowed is not None: - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) + _setter("is_creation_allowed", is_creation_allowed) if is_linking_allowed is not None: - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + _setter("is_linking_allowed", is_linking_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) if tenant_id is not None: - pulumi.set(__self__, "tenant_id", tenant_id) + _setter("tenant_id", tenant_id) if tenant_type is not None: - pulumi.set(__self__, "tenant_type", tenant_type) + _setter("tenant_type", tenant_type) @property @pulumi.getter(name="clientId") @@ -417,7 +515,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/idpAzureAd:IdpAzureAd imported '123456789012345678:12345678-1234-1234-1234-123456789012' @@ -471,7 +569,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/idpAzureAd:IdpAzureAd imported '123456789012345678:12345678-1234-1234-1234-123456789012' @@ -487,6 +585,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + IdpAzureAdArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -517,7 +619,7 @@ def _internal_init(__self__, __props__.__dict__["client_id"] = client_id if client_secret is None and not opts.urn: raise TypeError("Missing required property 'client_secret'") - __props__.__dict__["client_secret"] = client_secret + __props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret) if email_verified is None and not opts.urn: raise TypeError("Missing required property 'email_verified'") __props__.__dict__["email_verified"] = email_verified @@ -537,6 +639,8 @@ def _internal_init(__self__, __props__.__dict__["scopes"] = scopes __props__.__dict__["tenant_id"] = tenant_id __props__.__dict__["tenant_type"] = tenant_type + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientSecret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(IdpAzureAd, __self__).__init__( 'zitadel:index/idpAzureAd:IdpAzureAd', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/idp_github.py b/sdk/python/pulumiverse_zitadel/idp_github.py index 0cb5db0..9955db4 100644 --- a/sdk/python/pulumiverse_zitadel/idp_github.py +++ b/sdk/python/pulumiverse_zitadel/idp_github.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['IdpGithubArgs', 'IdpGithub'] @@ -33,16 +33,53 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the IDP :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "is_auto_creation", is_auto_creation) - pulumi.set(__self__, "is_auto_update", is_auto_update) - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + IdpGithubArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + name=name, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: pulumi.Input[str], + client_secret: pulumi.Input[str], + is_auto_creation: pulumi.Input[bool], + is_auto_update: pulumi.Input[bool], + is_creation_allowed: pulumi.Input[bool], + is_linking_allowed: pulumi.Input[bool], + name: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + + _setter("client_id", client_id) + _setter("client_secret", client_secret) + _setter("is_auto_creation", is_auto_creation) + _setter("is_auto_update", is_auto_update) + _setter("is_creation_allowed", is_creation_allowed) + _setter("is_linking_allowed", is_linking_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="clientId") @@ -163,22 +200,59 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the IDP :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ + _IdpGithubState._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + name=name, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + is_auto_creation: Optional[pulumi.Input[bool]] = None, + is_auto_update: Optional[pulumi.Input[bool]] = None, + is_creation_allowed: Optional[pulumi.Input[bool]] = None, + is_linking_allowed: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if is_auto_creation is not None: - pulumi.set(__self__, "is_auto_creation", is_auto_creation) + _setter("is_auto_creation", is_auto_creation) if is_auto_update is not None: - pulumi.set(__self__, "is_auto_update", is_auto_update) + _setter("is_auto_update", is_auto_update) if is_creation_allowed is not None: - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) + _setter("is_creation_allowed", is_creation_allowed) if is_linking_allowed is not None: - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + _setter("is_linking_allowed", is_linking_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="clientId") @@ -316,7 +390,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/idpGithub:IdpGithub imported '123456789012345678:1234567890123456781234567890123456787890' @@ -364,7 +438,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/idpGithub:IdpGithub imported '123456789012345678:1234567890123456781234567890123456787890' @@ -380,6 +454,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + IdpGithubArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -407,7 +485,7 @@ def _internal_init(__self__, __props__.__dict__["client_id"] = client_id if client_secret is None and not opts.urn: raise TypeError("Missing required property 'client_secret'") - __props__.__dict__["client_secret"] = client_secret + __props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret) if is_auto_creation is None and not opts.urn: raise TypeError("Missing required property 'is_auto_creation'") __props__.__dict__["is_auto_creation"] = is_auto_creation @@ -422,6 +500,8 @@ def _internal_init(__self__, __props__.__dict__["is_linking_allowed"] = is_linking_allowed __props__.__dict__["name"] = name __props__.__dict__["scopes"] = scopes + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientSecret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(IdpGithub, __self__).__init__( 'zitadel:index/idpGithub:IdpGithub', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/idp_github_es.py b/sdk/python/pulumiverse_zitadel/idp_github_es.py index aa89c30..56e13ad 100644 --- a/sdk/python/pulumiverse_zitadel/idp_github_es.py +++ b/sdk/python/pulumiverse_zitadel/idp_github_es.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['IdpGithubEsArgs', 'IdpGithubEs'] @@ -39,19 +39,68 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the IDP :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ - pulumi.set(__self__, "authorization_endpoint", authorization_endpoint) - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "is_auto_creation", is_auto_creation) - pulumi.set(__self__, "is_auto_update", is_auto_update) - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) - pulumi.set(__self__, "token_endpoint", token_endpoint) - pulumi.set(__self__, "user_endpoint", user_endpoint) + IdpGithubEsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorization_endpoint=authorization_endpoint, + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + token_endpoint=token_endpoint, + user_endpoint=user_endpoint, + name=name, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorization_endpoint: pulumi.Input[str], + client_id: pulumi.Input[str], + client_secret: pulumi.Input[str], + is_auto_creation: pulumi.Input[bool], + is_auto_update: pulumi.Input[bool], + is_creation_allowed: pulumi.Input[bool], + is_linking_allowed: pulumi.Input[bool], + token_endpoint: pulumi.Input[str], + user_endpoint: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authorizationEndpoint' in kwargs: + authorization_endpoint = kwargs['authorizationEndpoint'] + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'tokenEndpoint' in kwargs: + token_endpoint = kwargs['tokenEndpoint'] + if 'userEndpoint' in kwargs: + user_endpoint = kwargs['userEndpoint'] + + _setter("authorization_endpoint", authorization_endpoint) + _setter("client_id", client_id) + _setter("client_secret", client_secret) + _setter("is_auto_creation", is_auto_creation) + _setter("is_auto_update", is_auto_update) + _setter("is_creation_allowed", is_creation_allowed) + _setter("is_linking_allowed", is_linking_allowed) + _setter("token_endpoint", token_endpoint) + _setter("user_endpoint", user_endpoint) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="authorizationEndpoint") @@ -214,28 +263,77 @@ def __init__(__self__, *, :param pulumi.Input[str] token_endpoint: the providers token endpoint :param pulumi.Input[str] user_endpoint: the providers user endpoint """ + _IdpGithubEsState._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorization_endpoint=authorization_endpoint, + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + name=name, + scopes=scopes, + token_endpoint=token_endpoint, + user_endpoint=user_endpoint, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorization_endpoint: Optional[pulumi.Input[str]] = None, + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + is_auto_creation: Optional[pulumi.Input[bool]] = None, + is_auto_update: Optional[pulumi.Input[bool]] = None, + is_creation_allowed: Optional[pulumi.Input[bool]] = None, + is_linking_allowed: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + token_endpoint: Optional[pulumi.Input[str]] = None, + user_endpoint: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authorizationEndpoint' in kwargs: + authorization_endpoint = kwargs['authorizationEndpoint'] + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'tokenEndpoint' in kwargs: + token_endpoint = kwargs['tokenEndpoint'] + if 'userEndpoint' in kwargs: + user_endpoint = kwargs['userEndpoint'] + if authorization_endpoint is not None: - pulumi.set(__self__, "authorization_endpoint", authorization_endpoint) + _setter("authorization_endpoint", authorization_endpoint) if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if is_auto_creation is not None: - pulumi.set(__self__, "is_auto_creation", is_auto_creation) + _setter("is_auto_creation", is_auto_creation) if is_auto_update is not None: - pulumi.set(__self__, "is_auto_update", is_auto_update) + _setter("is_auto_update", is_auto_update) if is_creation_allowed is not None: - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) + _setter("is_creation_allowed", is_creation_allowed) if is_linking_allowed is not None: - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + _setter("is_linking_allowed", is_linking_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) if token_endpoint is not None: - pulumi.set(__self__, "token_endpoint", token_endpoint) + _setter("token_endpoint", token_endpoint) if user_endpoint is not None: - pulumi.set(__self__, "user_endpoint", user_endpoint) + _setter("user_endpoint", user_endpoint) @property @pulumi.getter(name="authorizationEndpoint") @@ -415,7 +513,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/idpGithubEs:IdpGithubEs imported '123456789012345678:1234567890123456781234567890123456787890' @@ -469,7 +567,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/idpGithubEs:IdpGithubEs imported '123456789012345678:1234567890123456781234567890123456787890' @@ -485,6 +583,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + IdpGithubEsArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -518,7 +620,7 @@ def _internal_init(__self__, __props__.__dict__["client_id"] = client_id if client_secret is None and not opts.urn: raise TypeError("Missing required property 'client_secret'") - __props__.__dict__["client_secret"] = client_secret + __props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret) if is_auto_creation is None and not opts.urn: raise TypeError("Missing required property 'is_auto_creation'") __props__.__dict__["is_auto_creation"] = is_auto_creation @@ -539,6 +641,8 @@ def _internal_init(__self__, if user_endpoint is None and not opts.urn: raise TypeError("Missing required property 'user_endpoint'") __props__.__dict__["user_endpoint"] = user_endpoint + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientSecret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(IdpGithubEs, __self__).__init__( 'zitadel:index/idpGithubEs:IdpGithubEs', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/idp_gitlab.py b/sdk/python/pulumiverse_zitadel/idp_gitlab.py index c38b668..6ea4f12 100644 --- a/sdk/python/pulumiverse_zitadel/idp_gitlab.py +++ b/sdk/python/pulumiverse_zitadel/idp_gitlab.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['IdpGitlabArgs', 'IdpGitlab'] @@ -33,16 +33,53 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the IDP :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "is_auto_creation", is_auto_creation) - pulumi.set(__self__, "is_auto_update", is_auto_update) - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + IdpGitlabArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + name=name, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: pulumi.Input[str], + client_secret: pulumi.Input[str], + is_auto_creation: pulumi.Input[bool], + is_auto_update: pulumi.Input[bool], + is_creation_allowed: pulumi.Input[bool], + is_linking_allowed: pulumi.Input[bool], + name: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + + _setter("client_id", client_id) + _setter("client_secret", client_secret) + _setter("is_auto_creation", is_auto_creation) + _setter("is_auto_update", is_auto_update) + _setter("is_creation_allowed", is_creation_allowed) + _setter("is_linking_allowed", is_linking_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="clientId") @@ -163,22 +200,59 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the IDP :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ + _IdpGitlabState._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + name=name, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + is_auto_creation: Optional[pulumi.Input[bool]] = None, + is_auto_update: Optional[pulumi.Input[bool]] = None, + is_creation_allowed: Optional[pulumi.Input[bool]] = None, + is_linking_allowed: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if is_auto_creation is not None: - pulumi.set(__self__, "is_auto_creation", is_auto_creation) + _setter("is_auto_creation", is_auto_creation) if is_auto_update is not None: - pulumi.set(__self__, "is_auto_update", is_auto_update) + _setter("is_auto_update", is_auto_update) if is_creation_allowed is not None: - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) + _setter("is_creation_allowed", is_creation_allowed) if is_linking_allowed is not None: - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + _setter("is_linking_allowed", is_linking_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="clientId") @@ -316,7 +390,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/idpGitlab:IdpGitlab imported '123456789012345678:1234567890abcdef' @@ -364,7 +438,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/idpGitlab:IdpGitlab imported '123456789012345678:1234567890abcdef' @@ -380,6 +454,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + IdpGitlabArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -407,7 +485,7 @@ def _internal_init(__self__, __props__.__dict__["client_id"] = client_id if client_secret is None and not opts.urn: raise TypeError("Missing required property 'client_secret'") - __props__.__dict__["client_secret"] = client_secret + __props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret) if is_auto_creation is None and not opts.urn: raise TypeError("Missing required property 'is_auto_creation'") __props__.__dict__["is_auto_creation"] = is_auto_creation @@ -422,6 +500,8 @@ def _internal_init(__self__, __props__.__dict__["is_linking_allowed"] = is_linking_allowed __props__.__dict__["name"] = name __props__.__dict__["scopes"] = scopes + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientSecret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(IdpGitlab, __self__).__init__( 'zitadel:index/idpGitlab:IdpGitlab', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/idp_gitlab_self_hosted.py b/sdk/python/pulumiverse_zitadel/idp_gitlab_self_hosted.py index a02f29b..fc9f67a 100644 --- a/sdk/python/pulumiverse_zitadel/idp_gitlab_self_hosted.py +++ b/sdk/python/pulumiverse_zitadel/idp_gitlab_self_hosted.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['IdpGitlabSelfHostedArgs', 'IdpGitlabSelfHosted'] @@ -35,17 +35,56 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the IDP :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "is_auto_creation", is_auto_creation) - pulumi.set(__self__, "is_auto_update", is_auto_update) - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) - pulumi.set(__self__, "issuer", issuer) + IdpGitlabSelfHostedArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + issuer=issuer, + name=name, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: pulumi.Input[str], + client_secret: pulumi.Input[str], + is_auto_creation: pulumi.Input[bool], + is_auto_update: pulumi.Input[bool], + is_creation_allowed: pulumi.Input[bool], + is_linking_allowed: pulumi.Input[bool], + issuer: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + + _setter("client_id", client_id) + _setter("client_secret", client_secret) + _setter("is_auto_creation", is_auto_creation) + _setter("is_auto_update", is_auto_update) + _setter("is_creation_allowed", is_creation_allowed) + _setter("is_linking_allowed", is_linking_allowed) + _setter("issuer", issuer) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="clientId") @@ -180,24 +219,63 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the IDP :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ + _IdpGitlabSelfHostedState._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + issuer=issuer, + name=name, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + is_auto_creation: Optional[pulumi.Input[bool]] = None, + is_auto_update: Optional[pulumi.Input[bool]] = None, + is_creation_allowed: Optional[pulumi.Input[bool]] = None, + is_linking_allowed: Optional[pulumi.Input[bool]] = None, + issuer: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if is_auto_creation is not None: - pulumi.set(__self__, "is_auto_creation", is_auto_creation) + _setter("is_auto_creation", is_auto_creation) if is_auto_update is not None: - pulumi.set(__self__, "is_auto_update", is_auto_update) + _setter("is_auto_update", is_auto_update) if is_creation_allowed is not None: - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) + _setter("is_creation_allowed", is_creation_allowed) if is_linking_allowed is not None: - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + _setter("is_linking_allowed", is_linking_allowed) if issuer is not None: - pulumi.set(__self__, "issuer", issuer) + _setter("issuer", issuer) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="clientId") @@ -349,7 +427,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/idpGitlabSelfHosted:IdpGitlabSelfHosted imported '123456789012345678:1234567890abcdef' @@ -399,7 +477,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/idpGitlabSelfHosted:IdpGitlabSelfHosted imported '123456789012345678:1234567890abcdef' @@ -415,6 +493,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + IdpGitlabSelfHostedArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -443,7 +525,7 @@ def _internal_init(__self__, __props__.__dict__["client_id"] = client_id if client_secret is None and not opts.urn: raise TypeError("Missing required property 'client_secret'") - __props__.__dict__["client_secret"] = client_secret + __props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret) if is_auto_creation is None and not opts.urn: raise TypeError("Missing required property 'is_auto_creation'") __props__.__dict__["is_auto_creation"] = is_auto_creation @@ -461,6 +543,8 @@ def _internal_init(__self__, __props__.__dict__["issuer"] = issuer __props__.__dict__["name"] = name __props__.__dict__["scopes"] = scopes + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientSecret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(IdpGitlabSelfHosted, __self__).__init__( 'zitadel:index/idpGitlabSelfHosted:IdpGitlabSelfHosted', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/idp_google.py b/sdk/python/pulumiverse_zitadel/idp_google.py index 28a21b9..7478254 100644 --- a/sdk/python/pulumiverse_zitadel/idp_google.py +++ b/sdk/python/pulumiverse_zitadel/idp_google.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['IdpGoogleArgs', 'IdpGoogle'] @@ -33,16 +33,53 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the IDP :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "is_auto_creation", is_auto_creation) - pulumi.set(__self__, "is_auto_update", is_auto_update) - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + IdpGoogleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + name=name, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: pulumi.Input[str], + client_secret: pulumi.Input[str], + is_auto_creation: pulumi.Input[bool], + is_auto_update: pulumi.Input[bool], + is_creation_allowed: pulumi.Input[bool], + is_linking_allowed: pulumi.Input[bool], + name: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + + _setter("client_id", client_id) + _setter("client_secret", client_secret) + _setter("is_auto_creation", is_auto_creation) + _setter("is_auto_update", is_auto_update) + _setter("is_creation_allowed", is_creation_allowed) + _setter("is_linking_allowed", is_linking_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="clientId") @@ -163,22 +200,59 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the IDP :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ + _IdpGoogleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + name=name, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + is_auto_creation: Optional[pulumi.Input[bool]] = None, + is_auto_update: Optional[pulumi.Input[bool]] = None, + is_creation_allowed: Optional[pulumi.Input[bool]] = None, + is_linking_allowed: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if is_auto_creation is not None: - pulumi.set(__self__, "is_auto_creation", is_auto_creation) + _setter("is_auto_creation", is_auto_creation) if is_auto_update is not None: - pulumi.set(__self__, "is_auto_update", is_auto_update) + _setter("is_auto_update", is_auto_update) if is_creation_allowed is not None: - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) + _setter("is_creation_allowed", is_creation_allowed) if is_linking_allowed is not None: - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + _setter("is_linking_allowed", is_linking_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="clientId") @@ -316,7 +390,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/idpGoogle:IdpGoogle imported '123456789012345678:G1234567890123' @@ -364,7 +438,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/idpGoogle:IdpGoogle imported '123456789012345678:G1234567890123' @@ -380,6 +454,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + IdpGoogleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -407,7 +485,7 @@ def _internal_init(__self__, __props__.__dict__["client_id"] = client_id if client_secret is None and not opts.urn: raise TypeError("Missing required property 'client_secret'") - __props__.__dict__["client_secret"] = client_secret + __props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret) if is_auto_creation is None and not opts.urn: raise TypeError("Missing required property 'is_auto_creation'") __props__.__dict__["is_auto_creation"] = is_auto_creation @@ -422,6 +500,8 @@ def _internal_init(__self__, __props__.__dict__["is_linking_allowed"] = is_linking_allowed __props__.__dict__["name"] = name __props__.__dict__["scopes"] = scopes + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientSecret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(IdpGoogle, __self__).__init__( 'zitadel:index/idpGoogle:IdpGoogle', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/idp_ldap.py b/sdk/python/pulumiverse_zitadel/idp_ldap.py index b709cf5..e4c2e7b 100644 --- a/sdk/python/pulumiverse_zitadel/idp_ldap.py +++ b/sdk/python/pulumiverse_zitadel/idp_ldap.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['IdpLdapArgs', 'IdpLdap'] @@ -71,47 +71,158 @@ def __init__(__self__, *, :param pulumi.Input[str] preferred_username_attribute: User attribute for the preferred username :param pulumi.Input[str] profile_attribute: User attribute for the profile """ - pulumi.set(__self__, "base_dn", base_dn) - pulumi.set(__self__, "bind_dn", bind_dn) - pulumi.set(__self__, "bind_password", bind_password) - pulumi.set(__self__, "is_auto_creation", is_auto_creation) - pulumi.set(__self__, "is_auto_update", is_auto_update) - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) - pulumi.set(__self__, "servers", servers) - pulumi.set(__self__, "start_tls", start_tls) - pulumi.set(__self__, "timeout", timeout) - pulumi.set(__self__, "user_base", user_base) - pulumi.set(__self__, "user_filters", user_filters) - pulumi.set(__self__, "user_object_classes", user_object_classes) + IdpLdapArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + base_dn=base_dn, + bind_dn=bind_dn, + bind_password=bind_password, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + servers=servers, + start_tls=start_tls, + timeout=timeout, + user_base=user_base, + user_filters=user_filters, + user_object_classes=user_object_classes, + avatar_url_attribute=avatar_url_attribute, + display_name_attribute=display_name_attribute, + email_attribute=email_attribute, + email_verified_attribute=email_verified_attribute, + first_name_attribute=first_name_attribute, + id_attribute=id_attribute, + last_name_attribute=last_name_attribute, + name=name, + nick_name_attribute=nick_name_attribute, + phone_attribute=phone_attribute, + phone_verified_attribute=phone_verified_attribute, + preferred_language_attribute=preferred_language_attribute, + preferred_username_attribute=preferred_username_attribute, + profile_attribute=profile_attribute, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base_dn: pulumi.Input[str], + bind_dn: pulumi.Input[str], + bind_password: pulumi.Input[str], + is_auto_creation: pulumi.Input[bool], + is_auto_update: pulumi.Input[bool], + is_creation_allowed: pulumi.Input[bool], + is_linking_allowed: pulumi.Input[bool], + servers: pulumi.Input[Sequence[pulumi.Input[str]]], + start_tls: pulumi.Input[bool], + timeout: pulumi.Input[str], + user_base: pulumi.Input[str], + user_filters: pulumi.Input[Sequence[pulumi.Input[str]]], + user_object_classes: pulumi.Input[Sequence[pulumi.Input[str]]], + avatar_url_attribute: Optional[pulumi.Input[str]] = None, + display_name_attribute: Optional[pulumi.Input[str]] = None, + email_attribute: Optional[pulumi.Input[str]] = None, + email_verified_attribute: Optional[pulumi.Input[str]] = None, + first_name_attribute: Optional[pulumi.Input[str]] = None, + id_attribute: Optional[pulumi.Input[str]] = None, + last_name_attribute: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + nick_name_attribute: Optional[pulumi.Input[str]] = None, + phone_attribute: Optional[pulumi.Input[str]] = None, + phone_verified_attribute: Optional[pulumi.Input[str]] = None, + preferred_language_attribute: Optional[pulumi.Input[str]] = None, + preferred_username_attribute: Optional[pulumi.Input[str]] = None, + profile_attribute: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'baseDn' in kwargs: + base_dn = kwargs['baseDn'] + if 'bindDn' in kwargs: + bind_dn = kwargs['bindDn'] + if 'bindPassword' in kwargs: + bind_password = kwargs['bindPassword'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'startTls' in kwargs: + start_tls = kwargs['startTls'] + if 'userBase' in kwargs: + user_base = kwargs['userBase'] + if 'userFilters' in kwargs: + user_filters = kwargs['userFilters'] + if 'userObjectClasses' in kwargs: + user_object_classes = kwargs['userObjectClasses'] + if 'avatarUrlAttribute' in kwargs: + avatar_url_attribute = kwargs['avatarUrlAttribute'] + if 'displayNameAttribute' in kwargs: + display_name_attribute = kwargs['displayNameAttribute'] + if 'emailAttribute' in kwargs: + email_attribute = kwargs['emailAttribute'] + if 'emailVerifiedAttribute' in kwargs: + email_verified_attribute = kwargs['emailVerifiedAttribute'] + if 'firstNameAttribute' in kwargs: + first_name_attribute = kwargs['firstNameAttribute'] + if 'idAttribute' in kwargs: + id_attribute = kwargs['idAttribute'] + if 'lastNameAttribute' in kwargs: + last_name_attribute = kwargs['lastNameAttribute'] + if 'nickNameAttribute' in kwargs: + nick_name_attribute = kwargs['nickNameAttribute'] + if 'phoneAttribute' in kwargs: + phone_attribute = kwargs['phoneAttribute'] + if 'phoneVerifiedAttribute' in kwargs: + phone_verified_attribute = kwargs['phoneVerifiedAttribute'] + if 'preferredLanguageAttribute' in kwargs: + preferred_language_attribute = kwargs['preferredLanguageAttribute'] + if 'preferredUsernameAttribute' in kwargs: + preferred_username_attribute = kwargs['preferredUsernameAttribute'] + if 'profileAttribute' in kwargs: + profile_attribute = kwargs['profileAttribute'] + + _setter("base_dn", base_dn) + _setter("bind_dn", bind_dn) + _setter("bind_password", bind_password) + _setter("is_auto_creation", is_auto_creation) + _setter("is_auto_update", is_auto_update) + _setter("is_creation_allowed", is_creation_allowed) + _setter("is_linking_allowed", is_linking_allowed) + _setter("servers", servers) + _setter("start_tls", start_tls) + _setter("timeout", timeout) + _setter("user_base", user_base) + _setter("user_filters", user_filters) + _setter("user_object_classes", user_object_classes) if avatar_url_attribute is not None: - pulumi.set(__self__, "avatar_url_attribute", avatar_url_attribute) + _setter("avatar_url_attribute", avatar_url_attribute) if display_name_attribute is not None: - pulumi.set(__self__, "display_name_attribute", display_name_attribute) + _setter("display_name_attribute", display_name_attribute) if email_attribute is not None: - pulumi.set(__self__, "email_attribute", email_attribute) + _setter("email_attribute", email_attribute) if email_verified_attribute is not None: - pulumi.set(__self__, "email_verified_attribute", email_verified_attribute) + _setter("email_verified_attribute", email_verified_attribute) if first_name_attribute is not None: - pulumi.set(__self__, "first_name_attribute", first_name_attribute) + _setter("first_name_attribute", first_name_attribute) if id_attribute is not None: - pulumi.set(__self__, "id_attribute", id_attribute) + _setter("id_attribute", id_attribute) if last_name_attribute is not None: - pulumi.set(__self__, "last_name_attribute", last_name_attribute) + _setter("last_name_attribute", last_name_attribute) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if nick_name_attribute is not None: - pulumi.set(__self__, "nick_name_attribute", nick_name_attribute) + _setter("nick_name_attribute", nick_name_attribute) if phone_attribute is not None: - pulumi.set(__self__, "phone_attribute", phone_attribute) + _setter("phone_attribute", phone_attribute) if phone_verified_attribute is not None: - pulumi.set(__self__, "phone_verified_attribute", phone_verified_attribute) + _setter("phone_verified_attribute", phone_verified_attribute) if preferred_language_attribute is not None: - pulumi.set(__self__, "preferred_language_attribute", preferred_language_attribute) + _setter("preferred_language_attribute", preferred_language_attribute) if preferred_username_attribute is not None: - pulumi.set(__self__, "preferred_username_attribute", preferred_username_attribute) + _setter("preferred_username_attribute", preferred_username_attribute) if profile_attribute is not None: - pulumi.set(__self__, "profile_attribute", profile_attribute) + _setter("profile_attribute", profile_attribute) @property @pulumi.getter(name="baseDn") @@ -498,60 +609,171 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] user_filters: User filters for LDAP connections :param pulumi.Input[Sequence[pulumi.Input[str]]] user_object_classes: User object classes for LDAP connections """ + _IdpLdapState._configure( + lambda key, value: pulumi.set(__self__, key, value), + avatar_url_attribute=avatar_url_attribute, + base_dn=base_dn, + bind_dn=bind_dn, + bind_password=bind_password, + display_name_attribute=display_name_attribute, + email_attribute=email_attribute, + email_verified_attribute=email_verified_attribute, + first_name_attribute=first_name_attribute, + id_attribute=id_attribute, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + last_name_attribute=last_name_attribute, + name=name, + nick_name_attribute=nick_name_attribute, + phone_attribute=phone_attribute, + phone_verified_attribute=phone_verified_attribute, + preferred_language_attribute=preferred_language_attribute, + preferred_username_attribute=preferred_username_attribute, + profile_attribute=profile_attribute, + servers=servers, + start_tls=start_tls, + timeout=timeout, + user_base=user_base, + user_filters=user_filters, + user_object_classes=user_object_classes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + avatar_url_attribute: Optional[pulumi.Input[str]] = None, + base_dn: Optional[pulumi.Input[str]] = None, + bind_dn: Optional[pulumi.Input[str]] = None, + bind_password: Optional[pulumi.Input[str]] = None, + display_name_attribute: Optional[pulumi.Input[str]] = None, + email_attribute: Optional[pulumi.Input[str]] = None, + email_verified_attribute: Optional[pulumi.Input[str]] = None, + first_name_attribute: Optional[pulumi.Input[str]] = None, + id_attribute: Optional[pulumi.Input[str]] = None, + is_auto_creation: Optional[pulumi.Input[bool]] = None, + is_auto_update: Optional[pulumi.Input[bool]] = None, + is_creation_allowed: Optional[pulumi.Input[bool]] = None, + is_linking_allowed: Optional[pulumi.Input[bool]] = None, + last_name_attribute: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + nick_name_attribute: Optional[pulumi.Input[str]] = None, + phone_attribute: Optional[pulumi.Input[str]] = None, + phone_verified_attribute: Optional[pulumi.Input[str]] = None, + preferred_language_attribute: Optional[pulumi.Input[str]] = None, + preferred_username_attribute: Optional[pulumi.Input[str]] = None, + profile_attribute: Optional[pulumi.Input[str]] = None, + servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + start_tls: Optional[pulumi.Input[bool]] = None, + timeout: Optional[pulumi.Input[str]] = None, + user_base: Optional[pulumi.Input[str]] = None, + user_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + user_object_classes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'avatarUrlAttribute' in kwargs: + avatar_url_attribute = kwargs['avatarUrlAttribute'] + if 'baseDn' in kwargs: + base_dn = kwargs['baseDn'] + if 'bindDn' in kwargs: + bind_dn = kwargs['bindDn'] + if 'bindPassword' in kwargs: + bind_password = kwargs['bindPassword'] + if 'displayNameAttribute' in kwargs: + display_name_attribute = kwargs['displayNameAttribute'] + if 'emailAttribute' in kwargs: + email_attribute = kwargs['emailAttribute'] + if 'emailVerifiedAttribute' in kwargs: + email_verified_attribute = kwargs['emailVerifiedAttribute'] + if 'firstNameAttribute' in kwargs: + first_name_attribute = kwargs['firstNameAttribute'] + if 'idAttribute' in kwargs: + id_attribute = kwargs['idAttribute'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'lastNameAttribute' in kwargs: + last_name_attribute = kwargs['lastNameAttribute'] + if 'nickNameAttribute' in kwargs: + nick_name_attribute = kwargs['nickNameAttribute'] + if 'phoneAttribute' in kwargs: + phone_attribute = kwargs['phoneAttribute'] + if 'phoneVerifiedAttribute' in kwargs: + phone_verified_attribute = kwargs['phoneVerifiedAttribute'] + if 'preferredLanguageAttribute' in kwargs: + preferred_language_attribute = kwargs['preferredLanguageAttribute'] + if 'preferredUsernameAttribute' in kwargs: + preferred_username_attribute = kwargs['preferredUsernameAttribute'] + if 'profileAttribute' in kwargs: + profile_attribute = kwargs['profileAttribute'] + if 'startTls' in kwargs: + start_tls = kwargs['startTls'] + if 'userBase' in kwargs: + user_base = kwargs['userBase'] + if 'userFilters' in kwargs: + user_filters = kwargs['userFilters'] + if 'userObjectClasses' in kwargs: + user_object_classes = kwargs['userObjectClasses'] + if avatar_url_attribute is not None: - pulumi.set(__self__, "avatar_url_attribute", avatar_url_attribute) + _setter("avatar_url_attribute", avatar_url_attribute) if base_dn is not None: - pulumi.set(__self__, "base_dn", base_dn) + _setter("base_dn", base_dn) if bind_dn is not None: - pulumi.set(__self__, "bind_dn", bind_dn) + _setter("bind_dn", bind_dn) if bind_password is not None: - pulumi.set(__self__, "bind_password", bind_password) + _setter("bind_password", bind_password) if display_name_attribute is not None: - pulumi.set(__self__, "display_name_attribute", display_name_attribute) + _setter("display_name_attribute", display_name_attribute) if email_attribute is not None: - pulumi.set(__self__, "email_attribute", email_attribute) + _setter("email_attribute", email_attribute) if email_verified_attribute is not None: - pulumi.set(__self__, "email_verified_attribute", email_verified_attribute) + _setter("email_verified_attribute", email_verified_attribute) if first_name_attribute is not None: - pulumi.set(__self__, "first_name_attribute", first_name_attribute) + _setter("first_name_attribute", first_name_attribute) if id_attribute is not None: - pulumi.set(__self__, "id_attribute", id_attribute) + _setter("id_attribute", id_attribute) if is_auto_creation is not None: - pulumi.set(__self__, "is_auto_creation", is_auto_creation) + _setter("is_auto_creation", is_auto_creation) if is_auto_update is not None: - pulumi.set(__self__, "is_auto_update", is_auto_update) + _setter("is_auto_update", is_auto_update) if is_creation_allowed is not None: - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) + _setter("is_creation_allowed", is_creation_allowed) if is_linking_allowed is not None: - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + _setter("is_linking_allowed", is_linking_allowed) if last_name_attribute is not None: - pulumi.set(__self__, "last_name_attribute", last_name_attribute) + _setter("last_name_attribute", last_name_attribute) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if nick_name_attribute is not None: - pulumi.set(__self__, "nick_name_attribute", nick_name_attribute) + _setter("nick_name_attribute", nick_name_attribute) if phone_attribute is not None: - pulumi.set(__self__, "phone_attribute", phone_attribute) + _setter("phone_attribute", phone_attribute) if phone_verified_attribute is not None: - pulumi.set(__self__, "phone_verified_attribute", phone_verified_attribute) + _setter("phone_verified_attribute", phone_verified_attribute) if preferred_language_attribute is not None: - pulumi.set(__self__, "preferred_language_attribute", preferred_language_attribute) + _setter("preferred_language_attribute", preferred_language_attribute) if preferred_username_attribute is not None: - pulumi.set(__self__, "preferred_username_attribute", preferred_username_attribute) + _setter("preferred_username_attribute", preferred_username_attribute) if profile_attribute is not None: - pulumi.set(__self__, "profile_attribute", profile_attribute) + _setter("profile_attribute", profile_attribute) if servers is not None: - pulumi.set(__self__, "servers", servers) + _setter("servers", servers) if start_tls is not None: - pulumi.set(__self__, "start_tls", start_tls) + _setter("start_tls", start_tls) if timeout is not None: - pulumi.set(__self__, "timeout", timeout) + _setter("timeout", timeout) if user_base is not None: - pulumi.set(__self__, "user_base", user_base) + _setter("user_base", user_base) if user_filters is not None: - pulumi.set(__self__, "user_filters", user_filters) + _setter("user_filters", user_filters) if user_object_classes is not None: - pulumi.set(__self__, "user_object_classes", user_object_classes) + _setter("user_object_classes", user_object_classes) @property @pulumi.getter(name="avatarUrlAttribute") @@ -947,7 +1169,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/idpLdap:IdpLdap imported '123456789012345678:b1nd_p4ssw0rd' @@ -1025,7 +1247,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/idpLdap:IdpLdap imported '123456789012345678:b1nd_p4ssw0rd' @@ -1041,6 +1263,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + IdpLdapArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1091,7 +1317,7 @@ def _internal_init(__self__, __props__.__dict__["bind_dn"] = bind_dn if bind_password is None and not opts.urn: raise TypeError("Missing required property 'bind_password'") - __props__.__dict__["bind_password"] = bind_password + __props__.__dict__["bind_password"] = None if bind_password is None else pulumi.Output.secret(bind_password) __props__.__dict__["display_name_attribute"] = display_name_attribute __props__.__dict__["email_attribute"] = email_attribute __props__.__dict__["email_verified_attribute"] = email_verified_attribute @@ -1135,6 +1361,8 @@ def _internal_init(__self__, if user_object_classes is None and not opts.urn: raise TypeError("Missing required property 'user_object_classes'") __props__.__dict__["user_object_classes"] = user_object_classes + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["bindPassword"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(IdpLdap, __self__).__init__( 'zitadel:index/idpLdap:IdpLdap', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/instance_member.py b/sdk/python/pulumiverse_zitadel/instance_member.py index 0f4fed8..1ecc1e1 100644 --- a/sdk/python/pulumiverse_zitadel/instance_member.py +++ b/sdk/python/pulumiverse_zitadel/instance_member.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['InstanceMemberArgs', 'InstanceMember'] @@ -21,8 +21,23 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: List of roles granted, full list available here: https://zitadel.com/docs/guides/manage/console/managers#roles :param pulumi.Input[str] user_id: ID of the user """ - pulumi.set(__self__, "roles", roles) - pulumi.set(__self__, "user_id", user_id) + InstanceMemberArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + roles=roles, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + roles: pulumi.Input[Sequence[pulumi.Input[str]]], + user_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'userId' in kwargs: + user_id = kwargs['userId'] + + _setter("roles", roles) + _setter("user_id", user_id) @property @pulumi.getter @@ -59,10 +74,25 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: List of roles granted, full list available here: https://zitadel.com/docs/guides/manage/console/managers#roles :param pulumi.Input[str] user_id: ID of the user """ + _InstanceMemberState._configure( + lambda key, value: pulumi.set(__self__, key, value), + roles=roles, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'userId' in kwargs: + user_id = kwargs['userId'] + if roles is not None: - pulumi.set(__self__, "roles", roles) + _setter("roles", roles) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter @@ -113,7 +143,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/instanceMember:InstanceMember imported '123456789012345678' @@ -146,7 +176,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/instanceMember:InstanceMember imported '123456789012345678' @@ -162,6 +192,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + InstanceMemberArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/label_policy.py b/sdk/python/pulumiverse_zitadel/label_policy.py index 6107681..9db8083 100644 --- a/sdk/python/pulumiverse_zitadel/label_policy.py +++ b/sdk/python/pulumiverse_zitadel/label_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['LabelPolicyArgs', 'LabelPolicy'] @@ -51,40 +51,137 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[bool] set_active: set the label policy active after creating/updating """ - pulumi.set(__self__, "background_color", background_color) - pulumi.set(__self__, "background_color_dark", background_color_dark) - pulumi.set(__self__, "disable_watermark", disable_watermark) - pulumi.set(__self__, "font_color", font_color) - pulumi.set(__self__, "font_color_dark", font_color_dark) - pulumi.set(__self__, "hide_login_name_suffix", hide_login_name_suffix) - pulumi.set(__self__, "primary_color", primary_color) - pulumi.set(__self__, "primary_color_dark", primary_color_dark) - pulumi.set(__self__, "warn_color", warn_color) - pulumi.set(__self__, "warn_color_dark", warn_color_dark) + LabelPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + background_color=background_color, + background_color_dark=background_color_dark, + disable_watermark=disable_watermark, + font_color=font_color, + font_color_dark=font_color_dark, + hide_login_name_suffix=hide_login_name_suffix, + primary_color=primary_color, + primary_color_dark=primary_color_dark, + warn_color=warn_color, + warn_color_dark=warn_color_dark, + font_hash=font_hash, + font_path=font_path, + icon_dark_hash=icon_dark_hash, + icon_dark_path=icon_dark_path, + icon_hash=icon_hash, + icon_path=icon_path, + logo_dark_hash=logo_dark_hash, + logo_dark_path=logo_dark_path, + logo_hash=logo_hash, + logo_path=logo_path, + org_id=org_id, + set_active=set_active, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + background_color: pulumi.Input[str], + background_color_dark: pulumi.Input[str], + disable_watermark: pulumi.Input[bool], + font_color: pulumi.Input[str], + font_color_dark: pulumi.Input[str], + hide_login_name_suffix: pulumi.Input[bool], + primary_color: pulumi.Input[str], + primary_color_dark: pulumi.Input[str], + warn_color: pulumi.Input[str], + warn_color_dark: pulumi.Input[str], + font_hash: Optional[pulumi.Input[str]] = None, + font_path: Optional[pulumi.Input[str]] = None, + icon_dark_hash: Optional[pulumi.Input[str]] = None, + icon_dark_path: Optional[pulumi.Input[str]] = None, + icon_hash: Optional[pulumi.Input[str]] = None, + icon_path: Optional[pulumi.Input[str]] = None, + logo_dark_hash: Optional[pulumi.Input[str]] = None, + logo_dark_path: Optional[pulumi.Input[str]] = None, + logo_hash: Optional[pulumi.Input[str]] = None, + logo_path: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + set_active: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'backgroundColor' in kwargs: + background_color = kwargs['backgroundColor'] + if 'backgroundColorDark' in kwargs: + background_color_dark = kwargs['backgroundColorDark'] + if 'disableWatermark' in kwargs: + disable_watermark = kwargs['disableWatermark'] + if 'fontColor' in kwargs: + font_color = kwargs['fontColor'] + if 'fontColorDark' in kwargs: + font_color_dark = kwargs['fontColorDark'] + if 'hideLoginNameSuffix' in kwargs: + hide_login_name_suffix = kwargs['hideLoginNameSuffix'] + if 'primaryColor' in kwargs: + primary_color = kwargs['primaryColor'] + if 'primaryColorDark' in kwargs: + primary_color_dark = kwargs['primaryColorDark'] + if 'warnColor' in kwargs: + warn_color = kwargs['warnColor'] + if 'warnColorDark' in kwargs: + warn_color_dark = kwargs['warnColorDark'] + if 'fontHash' in kwargs: + font_hash = kwargs['fontHash'] + if 'fontPath' in kwargs: + font_path = kwargs['fontPath'] + if 'iconDarkHash' in kwargs: + icon_dark_hash = kwargs['iconDarkHash'] + if 'iconDarkPath' in kwargs: + icon_dark_path = kwargs['iconDarkPath'] + if 'iconHash' in kwargs: + icon_hash = kwargs['iconHash'] + if 'iconPath' in kwargs: + icon_path = kwargs['iconPath'] + if 'logoDarkHash' in kwargs: + logo_dark_hash = kwargs['logoDarkHash'] + if 'logoDarkPath' in kwargs: + logo_dark_path = kwargs['logoDarkPath'] + if 'logoHash' in kwargs: + logo_hash = kwargs['logoHash'] + if 'logoPath' in kwargs: + logo_path = kwargs['logoPath'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'setActive' in kwargs: + set_active = kwargs['setActive'] + + _setter("background_color", background_color) + _setter("background_color_dark", background_color_dark) + _setter("disable_watermark", disable_watermark) + _setter("font_color", font_color) + _setter("font_color_dark", font_color_dark) + _setter("hide_login_name_suffix", hide_login_name_suffix) + _setter("primary_color", primary_color) + _setter("primary_color_dark", primary_color_dark) + _setter("warn_color", warn_color) + _setter("warn_color_dark", warn_color_dark) if font_hash is not None: - pulumi.set(__self__, "font_hash", font_hash) + _setter("font_hash", font_hash) if font_path is not None: - pulumi.set(__self__, "font_path", font_path) + _setter("font_path", font_path) if icon_dark_hash is not None: - pulumi.set(__self__, "icon_dark_hash", icon_dark_hash) + _setter("icon_dark_hash", icon_dark_hash) if icon_dark_path is not None: - pulumi.set(__self__, "icon_dark_path", icon_dark_path) + _setter("icon_dark_path", icon_dark_path) if icon_hash is not None: - pulumi.set(__self__, "icon_hash", icon_hash) + _setter("icon_hash", icon_hash) if icon_path is not None: - pulumi.set(__self__, "icon_path", icon_path) + _setter("icon_path", icon_path) if logo_dark_hash is not None: - pulumi.set(__self__, "logo_dark_hash", logo_dark_hash) + _setter("logo_dark_hash", logo_dark_hash) if logo_dark_path is not None: - pulumi.set(__self__, "logo_dark_path", logo_dark_path) + _setter("logo_dark_path", logo_dark_path) if logo_hash is not None: - pulumi.set(__self__, "logo_hash", logo_hash) + _setter("logo_hash", logo_hash) if logo_path is not None: - pulumi.set(__self__, "logo_path", logo_path) + _setter("logo_path", logo_path) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if set_active is not None: - pulumi.set(__self__, "set_active", set_active) + _setter("set_active", set_active) @property @pulumi.getter(name="backgroundColor") @@ -366,60 +463,177 @@ def __init__(__self__, *, :param pulumi.Input[str] warn_color: hex value for warn color :param pulumi.Input[str] warn_color_dark: hex value for warn color dark theme """ + _LabelPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + background_color=background_color, + background_color_dark=background_color_dark, + disable_watermark=disable_watermark, + font_color=font_color, + font_color_dark=font_color_dark, + font_hash=font_hash, + font_path=font_path, + font_url=font_url, + hide_login_name_suffix=hide_login_name_suffix, + icon_dark_hash=icon_dark_hash, + icon_dark_path=icon_dark_path, + icon_hash=icon_hash, + icon_path=icon_path, + icon_url=icon_url, + icon_url_dark=icon_url_dark, + logo_dark_hash=logo_dark_hash, + logo_dark_path=logo_dark_path, + logo_hash=logo_hash, + logo_path=logo_path, + logo_url=logo_url, + logo_url_dark=logo_url_dark, + org_id=org_id, + primary_color=primary_color, + primary_color_dark=primary_color_dark, + set_active=set_active, + warn_color=warn_color, + warn_color_dark=warn_color_dark, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + background_color: Optional[pulumi.Input[str]] = None, + background_color_dark: Optional[pulumi.Input[str]] = None, + disable_watermark: Optional[pulumi.Input[bool]] = None, + font_color: Optional[pulumi.Input[str]] = None, + font_color_dark: Optional[pulumi.Input[str]] = None, + font_hash: Optional[pulumi.Input[str]] = None, + font_path: Optional[pulumi.Input[str]] = None, + font_url: Optional[pulumi.Input[str]] = None, + hide_login_name_suffix: Optional[pulumi.Input[bool]] = None, + icon_dark_hash: Optional[pulumi.Input[str]] = None, + icon_dark_path: Optional[pulumi.Input[str]] = None, + icon_hash: Optional[pulumi.Input[str]] = None, + icon_path: Optional[pulumi.Input[str]] = None, + icon_url: Optional[pulumi.Input[str]] = None, + icon_url_dark: Optional[pulumi.Input[str]] = None, + logo_dark_hash: Optional[pulumi.Input[str]] = None, + logo_dark_path: Optional[pulumi.Input[str]] = None, + logo_hash: Optional[pulumi.Input[str]] = None, + logo_path: Optional[pulumi.Input[str]] = None, + logo_url: Optional[pulumi.Input[str]] = None, + logo_url_dark: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + primary_color: Optional[pulumi.Input[str]] = None, + primary_color_dark: Optional[pulumi.Input[str]] = None, + set_active: Optional[pulumi.Input[bool]] = None, + warn_color: Optional[pulumi.Input[str]] = None, + warn_color_dark: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'backgroundColor' in kwargs: + background_color = kwargs['backgroundColor'] + if 'backgroundColorDark' in kwargs: + background_color_dark = kwargs['backgroundColorDark'] + if 'disableWatermark' in kwargs: + disable_watermark = kwargs['disableWatermark'] + if 'fontColor' in kwargs: + font_color = kwargs['fontColor'] + if 'fontColorDark' in kwargs: + font_color_dark = kwargs['fontColorDark'] + if 'fontHash' in kwargs: + font_hash = kwargs['fontHash'] + if 'fontPath' in kwargs: + font_path = kwargs['fontPath'] + if 'fontUrl' in kwargs: + font_url = kwargs['fontUrl'] + if 'hideLoginNameSuffix' in kwargs: + hide_login_name_suffix = kwargs['hideLoginNameSuffix'] + if 'iconDarkHash' in kwargs: + icon_dark_hash = kwargs['iconDarkHash'] + if 'iconDarkPath' in kwargs: + icon_dark_path = kwargs['iconDarkPath'] + if 'iconHash' in kwargs: + icon_hash = kwargs['iconHash'] + if 'iconPath' in kwargs: + icon_path = kwargs['iconPath'] + if 'iconUrl' in kwargs: + icon_url = kwargs['iconUrl'] + if 'iconUrlDark' in kwargs: + icon_url_dark = kwargs['iconUrlDark'] + if 'logoDarkHash' in kwargs: + logo_dark_hash = kwargs['logoDarkHash'] + if 'logoDarkPath' in kwargs: + logo_dark_path = kwargs['logoDarkPath'] + if 'logoHash' in kwargs: + logo_hash = kwargs['logoHash'] + if 'logoPath' in kwargs: + logo_path = kwargs['logoPath'] + if 'logoUrl' in kwargs: + logo_url = kwargs['logoUrl'] + if 'logoUrlDark' in kwargs: + logo_url_dark = kwargs['logoUrlDark'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'primaryColor' in kwargs: + primary_color = kwargs['primaryColor'] + if 'primaryColorDark' in kwargs: + primary_color_dark = kwargs['primaryColorDark'] + if 'setActive' in kwargs: + set_active = kwargs['setActive'] + if 'warnColor' in kwargs: + warn_color = kwargs['warnColor'] + if 'warnColorDark' in kwargs: + warn_color_dark = kwargs['warnColorDark'] + if background_color is not None: - pulumi.set(__self__, "background_color", background_color) + _setter("background_color", background_color) if background_color_dark is not None: - pulumi.set(__self__, "background_color_dark", background_color_dark) + _setter("background_color_dark", background_color_dark) if disable_watermark is not None: - pulumi.set(__self__, "disable_watermark", disable_watermark) + _setter("disable_watermark", disable_watermark) if font_color is not None: - pulumi.set(__self__, "font_color", font_color) + _setter("font_color", font_color) if font_color_dark is not None: - pulumi.set(__self__, "font_color_dark", font_color_dark) + _setter("font_color_dark", font_color_dark) if font_hash is not None: - pulumi.set(__self__, "font_hash", font_hash) + _setter("font_hash", font_hash) if font_path is not None: - pulumi.set(__self__, "font_path", font_path) + _setter("font_path", font_path) if font_url is not None: - pulumi.set(__self__, "font_url", font_url) + _setter("font_url", font_url) if hide_login_name_suffix is not None: - pulumi.set(__self__, "hide_login_name_suffix", hide_login_name_suffix) + _setter("hide_login_name_suffix", hide_login_name_suffix) if icon_dark_hash is not None: - pulumi.set(__self__, "icon_dark_hash", icon_dark_hash) + _setter("icon_dark_hash", icon_dark_hash) if icon_dark_path is not None: - pulumi.set(__self__, "icon_dark_path", icon_dark_path) + _setter("icon_dark_path", icon_dark_path) if icon_hash is not None: - pulumi.set(__self__, "icon_hash", icon_hash) + _setter("icon_hash", icon_hash) if icon_path is not None: - pulumi.set(__self__, "icon_path", icon_path) + _setter("icon_path", icon_path) if icon_url is not None: - pulumi.set(__self__, "icon_url", icon_url) + _setter("icon_url", icon_url) if icon_url_dark is not None: - pulumi.set(__self__, "icon_url_dark", icon_url_dark) + _setter("icon_url_dark", icon_url_dark) if logo_dark_hash is not None: - pulumi.set(__self__, "logo_dark_hash", logo_dark_hash) + _setter("logo_dark_hash", logo_dark_hash) if logo_dark_path is not None: - pulumi.set(__self__, "logo_dark_path", logo_dark_path) + _setter("logo_dark_path", logo_dark_path) if logo_hash is not None: - pulumi.set(__self__, "logo_hash", logo_hash) + _setter("logo_hash", logo_hash) if logo_path is not None: - pulumi.set(__self__, "logo_path", logo_path) + _setter("logo_path", logo_path) if logo_url is not None: - pulumi.set(__self__, "logo_url", logo_url) + _setter("logo_url", logo_url) if logo_url_dark is not None: - pulumi.set(__self__, "logo_url_dark", logo_url_dark) + _setter("logo_url_dark", logo_url_dark) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if primary_color is not None: - pulumi.set(__self__, "primary_color", primary_color) + _setter("primary_color", primary_color) if primary_color_dark is not None: - pulumi.set(__self__, "primary_color_dark", primary_color_dark) + _setter("primary_color_dark", primary_color_dark) if set_active is not None: - pulumi.set(__self__, "set_active", set_active) + _setter("set_active", set_active) if warn_color is not None: - pulumi.set(__self__, "warn_color", warn_color) + _setter("warn_color", warn_color) if warn_color_dark is not None: - pulumi.set(__self__, "warn_color_dark", warn_color_dark) + _setter("warn_color_dark", warn_color_dark) @property @pulumi.getter(name="backgroundColor") @@ -734,7 +948,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + terraform The resource can be imported using the ID format `<[org_id]>`, e.g. ```sh $ pulumi import zitadel:index/labelPolicy:LabelPolicy imported '123456789012345678' @@ -766,7 +980,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + terraform The resource can be imported using the ID format `<[org_id]>`, e.g. ```sh $ pulumi import zitadel:index/labelPolicy:LabelPolicy imported '123456789012345678' @@ -782,6 +996,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LabelPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/lockout_policy.py b/sdk/python/pulumiverse_zitadel/lockout_policy.py index 06cae3f..6becde4 100644 --- a/sdk/python/pulumiverse_zitadel/lockout_policy.py +++ b/sdk/python/pulumiverse_zitadel/lockout_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['LockoutPolicyArgs', 'LockoutPolicy'] @@ -21,9 +21,26 @@ def __init__(__self__, *, :param pulumi.Input[int] max_password_attempts: Maximum password check attempts before the account gets locked. Attempts are reset as soon as the password is entered correct or the password is reset. :param pulumi.Input[str] org_id: ID of the organization """ - pulumi.set(__self__, "max_password_attempts", max_password_attempts) + LockoutPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_password_attempts=max_password_attempts, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_password_attempts: pulumi.Input[int], + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxPasswordAttempts' in kwargs: + max_password_attempts = kwargs['maxPasswordAttempts'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("max_password_attempts", max_password_attempts) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter(name="maxPasswordAttempts") @@ -60,10 +77,27 @@ def __init__(__self__, *, :param pulumi.Input[int] max_password_attempts: Maximum password check attempts before the account gets locked. Attempts are reset as soon as the password is entered correct or the password is reset. :param pulumi.Input[str] org_id: ID of the organization """ + _LockoutPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_password_attempts=max_password_attempts, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_password_attempts: Optional[pulumi.Input[int]] = None, + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'maxPasswordAttempts' in kwargs: + max_password_attempts = kwargs['maxPasswordAttempts'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if max_password_attempts is not None: - pulumi.set(__self__, "max_password_attempts", max_password_attempts) + _setter("max_password_attempts", max_password_attempts) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter(name="maxPasswordAttempts") @@ -114,7 +148,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + terraform The resource can be imported using the ID format `<[org_id]>`, e.g. ```sh $ pulumi import zitadel:index/lockoutPolicy:LockoutPolicy imported '123456789012345678' @@ -147,7 +181,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + terraform The resource can be imported using the ID format `<[org_id]>`, e.g. ```sh $ pulumi import zitadel:index/lockoutPolicy:LockoutPolicy imported '123456789012345678' @@ -163,6 +197,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LockoutPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/login_policy.py b/sdk/python/pulumiverse_zitadel/login_policy.py index 0bc65c7..a00701c 100644 --- a/sdk/python/pulumiverse_zitadel/login_policy.py +++ b/sdk/python/pulumiverse_zitadel/login_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['LoginPolicyArgs', 'LoginPolicy'] @@ -54,34 +54,125 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[Sequence[pulumi.Input[str]]] second_factors: allowed second factors """ - pulumi.set(__self__, "allow_external_idp", allow_external_idp) - pulumi.set(__self__, "allow_register", allow_register) - pulumi.set(__self__, "default_redirect_uri", default_redirect_uri) - pulumi.set(__self__, "external_login_check_lifetime", external_login_check_lifetime) - pulumi.set(__self__, "force_mfa", force_mfa) - pulumi.set(__self__, "force_mfa_local_only", force_mfa_local_only) - pulumi.set(__self__, "hide_password_reset", hide_password_reset) - pulumi.set(__self__, "ignore_unknown_usernames", ignore_unknown_usernames) - pulumi.set(__self__, "mfa_init_skip_lifetime", mfa_init_skip_lifetime) - pulumi.set(__self__, "multi_factor_check_lifetime", multi_factor_check_lifetime) - pulumi.set(__self__, "password_check_lifetime", password_check_lifetime) - pulumi.set(__self__, "passwordless_type", passwordless_type) - pulumi.set(__self__, "second_factor_check_lifetime", second_factor_check_lifetime) - pulumi.set(__self__, "user_login", user_login) + LoginPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_external_idp=allow_external_idp, + allow_register=allow_register, + default_redirect_uri=default_redirect_uri, + external_login_check_lifetime=external_login_check_lifetime, + force_mfa=force_mfa, + force_mfa_local_only=force_mfa_local_only, + hide_password_reset=hide_password_reset, + ignore_unknown_usernames=ignore_unknown_usernames, + mfa_init_skip_lifetime=mfa_init_skip_lifetime, + multi_factor_check_lifetime=multi_factor_check_lifetime, + password_check_lifetime=password_check_lifetime, + passwordless_type=passwordless_type, + second_factor_check_lifetime=second_factor_check_lifetime, + user_login=user_login, + allow_domain_discovery=allow_domain_discovery, + disable_login_with_email=disable_login_with_email, + disable_login_with_phone=disable_login_with_phone, + idps=idps, + multi_factors=multi_factors, + org_id=org_id, + second_factors=second_factors, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_external_idp: pulumi.Input[bool], + allow_register: pulumi.Input[bool], + default_redirect_uri: pulumi.Input[str], + external_login_check_lifetime: pulumi.Input[str], + force_mfa: pulumi.Input[bool], + force_mfa_local_only: pulumi.Input[bool], + hide_password_reset: pulumi.Input[bool], + ignore_unknown_usernames: pulumi.Input[bool], + mfa_init_skip_lifetime: pulumi.Input[str], + multi_factor_check_lifetime: pulumi.Input[str], + password_check_lifetime: pulumi.Input[str], + passwordless_type: pulumi.Input[str], + second_factor_check_lifetime: pulumi.Input[str], + user_login: pulumi.Input[bool], + allow_domain_discovery: Optional[pulumi.Input[bool]] = None, + disable_login_with_email: Optional[pulumi.Input[bool]] = None, + disable_login_with_phone: Optional[pulumi.Input[bool]] = None, + idps: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + multi_factors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + org_id: Optional[pulumi.Input[str]] = None, + second_factors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowExternalIdp' in kwargs: + allow_external_idp = kwargs['allowExternalIdp'] + if 'allowRegister' in kwargs: + allow_register = kwargs['allowRegister'] + if 'defaultRedirectUri' in kwargs: + default_redirect_uri = kwargs['defaultRedirectUri'] + if 'externalLoginCheckLifetime' in kwargs: + external_login_check_lifetime = kwargs['externalLoginCheckLifetime'] + if 'forceMfa' in kwargs: + force_mfa = kwargs['forceMfa'] + if 'forceMfaLocalOnly' in kwargs: + force_mfa_local_only = kwargs['forceMfaLocalOnly'] + if 'hidePasswordReset' in kwargs: + hide_password_reset = kwargs['hidePasswordReset'] + if 'ignoreUnknownUsernames' in kwargs: + ignore_unknown_usernames = kwargs['ignoreUnknownUsernames'] + if 'mfaInitSkipLifetime' in kwargs: + mfa_init_skip_lifetime = kwargs['mfaInitSkipLifetime'] + if 'multiFactorCheckLifetime' in kwargs: + multi_factor_check_lifetime = kwargs['multiFactorCheckLifetime'] + if 'passwordCheckLifetime' in kwargs: + password_check_lifetime = kwargs['passwordCheckLifetime'] + if 'passwordlessType' in kwargs: + passwordless_type = kwargs['passwordlessType'] + if 'secondFactorCheckLifetime' in kwargs: + second_factor_check_lifetime = kwargs['secondFactorCheckLifetime'] + if 'userLogin' in kwargs: + user_login = kwargs['userLogin'] + if 'allowDomainDiscovery' in kwargs: + allow_domain_discovery = kwargs['allowDomainDiscovery'] + if 'disableLoginWithEmail' in kwargs: + disable_login_with_email = kwargs['disableLoginWithEmail'] + if 'disableLoginWithPhone' in kwargs: + disable_login_with_phone = kwargs['disableLoginWithPhone'] + if 'multiFactors' in kwargs: + multi_factors = kwargs['multiFactors'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'secondFactors' in kwargs: + second_factors = kwargs['secondFactors'] + + _setter("allow_external_idp", allow_external_idp) + _setter("allow_register", allow_register) + _setter("default_redirect_uri", default_redirect_uri) + _setter("external_login_check_lifetime", external_login_check_lifetime) + _setter("force_mfa", force_mfa) + _setter("force_mfa_local_only", force_mfa_local_only) + _setter("hide_password_reset", hide_password_reset) + _setter("ignore_unknown_usernames", ignore_unknown_usernames) + _setter("mfa_init_skip_lifetime", mfa_init_skip_lifetime) + _setter("multi_factor_check_lifetime", multi_factor_check_lifetime) + _setter("password_check_lifetime", password_check_lifetime) + _setter("passwordless_type", passwordless_type) + _setter("second_factor_check_lifetime", second_factor_check_lifetime) + _setter("user_login", user_login) if allow_domain_discovery is not None: - pulumi.set(__self__, "allow_domain_discovery", allow_domain_discovery) + _setter("allow_domain_discovery", allow_domain_discovery) if disable_login_with_email is not None: - pulumi.set(__self__, "disable_login_with_email", disable_login_with_email) + _setter("disable_login_with_email", disable_login_with_email) if disable_login_with_phone is not None: - pulumi.set(__self__, "disable_login_with_phone", disable_login_with_phone) + _setter("disable_login_with_phone", disable_login_with_phone) if idps is not None: - pulumi.set(__self__, "idps", idps) + _setter("idps", idps) if multi_factors is not None: - pulumi.set(__self__, "multi_factors", multi_factors) + _setter("multi_factors", multi_factors) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if second_factors is not None: - pulumi.set(__self__, "second_factors", second_factors) + _setter("second_factors", second_factors) @property @pulumi.getter(name="allowExternalIdp") @@ -364,48 +455,139 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] second_factors: allowed second factors :param pulumi.Input[bool] user_login: defines if a user is allowed to login with his username and password """ + _LoginPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_domain_discovery=allow_domain_discovery, + allow_external_idp=allow_external_idp, + allow_register=allow_register, + default_redirect_uri=default_redirect_uri, + disable_login_with_email=disable_login_with_email, + disable_login_with_phone=disable_login_with_phone, + external_login_check_lifetime=external_login_check_lifetime, + force_mfa=force_mfa, + force_mfa_local_only=force_mfa_local_only, + hide_password_reset=hide_password_reset, + idps=idps, + ignore_unknown_usernames=ignore_unknown_usernames, + mfa_init_skip_lifetime=mfa_init_skip_lifetime, + multi_factor_check_lifetime=multi_factor_check_lifetime, + multi_factors=multi_factors, + org_id=org_id, + password_check_lifetime=password_check_lifetime, + passwordless_type=passwordless_type, + second_factor_check_lifetime=second_factor_check_lifetime, + second_factors=second_factors, + user_login=user_login, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_domain_discovery: Optional[pulumi.Input[bool]] = None, + allow_external_idp: Optional[pulumi.Input[bool]] = None, + allow_register: Optional[pulumi.Input[bool]] = None, + default_redirect_uri: Optional[pulumi.Input[str]] = None, + disable_login_with_email: Optional[pulumi.Input[bool]] = None, + disable_login_with_phone: Optional[pulumi.Input[bool]] = None, + external_login_check_lifetime: Optional[pulumi.Input[str]] = None, + force_mfa: Optional[pulumi.Input[bool]] = None, + force_mfa_local_only: Optional[pulumi.Input[bool]] = None, + hide_password_reset: Optional[pulumi.Input[bool]] = None, + idps: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ignore_unknown_usernames: Optional[pulumi.Input[bool]] = None, + mfa_init_skip_lifetime: Optional[pulumi.Input[str]] = None, + multi_factor_check_lifetime: Optional[pulumi.Input[str]] = None, + multi_factors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + org_id: Optional[pulumi.Input[str]] = None, + password_check_lifetime: Optional[pulumi.Input[str]] = None, + passwordless_type: Optional[pulumi.Input[str]] = None, + second_factor_check_lifetime: Optional[pulumi.Input[str]] = None, + second_factors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + user_login: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'allowDomainDiscovery' in kwargs: + allow_domain_discovery = kwargs['allowDomainDiscovery'] + if 'allowExternalIdp' in kwargs: + allow_external_idp = kwargs['allowExternalIdp'] + if 'allowRegister' in kwargs: + allow_register = kwargs['allowRegister'] + if 'defaultRedirectUri' in kwargs: + default_redirect_uri = kwargs['defaultRedirectUri'] + if 'disableLoginWithEmail' in kwargs: + disable_login_with_email = kwargs['disableLoginWithEmail'] + if 'disableLoginWithPhone' in kwargs: + disable_login_with_phone = kwargs['disableLoginWithPhone'] + if 'externalLoginCheckLifetime' in kwargs: + external_login_check_lifetime = kwargs['externalLoginCheckLifetime'] + if 'forceMfa' in kwargs: + force_mfa = kwargs['forceMfa'] + if 'forceMfaLocalOnly' in kwargs: + force_mfa_local_only = kwargs['forceMfaLocalOnly'] + if 'hidePasswordReset' in kwargs: + hide_password_reset = kwargs['hidePasswordReset'] + if 'ignoreUnknownUsernames' in kwargs: + ignore_unknown_usernames = kwargs['ignoreUnknownUsernames'] + if 'mfaInitSkipLifetime' in kwargs: + mfa_init_skip_lifetime = kwargs['mfaInitSkipLifetime'] + if 'multiFactorCheckLifetime' in kwargs: + multi_factor_check_lifetime = kwargs['multiFactorCheckLifetime'] + if 'multiFactors' in kwargs: + multi_factors = kwargs['multiFactors'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'passwordCheckLifetime' in kwargs: + password_check_lifetime = kwargs['passwordCheckLifetime'] + if 'passwordlessType' in kwargs: + passwordless_type = kwargs['passwordlessType'] + if 'secondFactorCheckLifetime' in kwargs: + second_factor_check_lifetime = kwargs['secondFactorCheckLifetime'] + if 'secondFactors' in kwargs: + second_factors = kwargs['secondFactors'] + if 'userLogin' in kwargs: + user_login = kwargs['userLogin'] + if allow_domain_discovery is not None: - pulumi.set(__self__, "allow_domain_discovery", allow_domain_discovery) + _setter("allow_domain_discovery", allow_domain_discovery) if allow_external_idp is not None: - pulumi.set(__self__, "allow_external_idp", allow_external_idp) + _setter("allow_external_idp", allow_external_idp) if allow_register is not None: - pulumi.set(__self__, "allow_register", allow_register) + _setter("allow_register", allow_register) if default_redirect_uri is not None: - pulumi.set(__self__, "default_redirect_uri", default_redirect_uri) + _setter("default_redirect_uri", default_redirect_uri) if disable_login_with_email is not None: - pulumi.set(__self__, "disable_login_with_email", disable_login_with_email) + _setter("disable_login_with_email", disable_login_with_email) if disable_login_with_phone is not None: - pulumi.set(__self__, "disable_login_with_phone", disable_login_with_phone) + _setter("disable_login_with_phone", disable_login_with_phone) if external_login_check_lifetime is not None: - pulumi.set(__self__, "external_login_check_lifetime", external_login_check_lifetime) + _setter("external_login_check_lifetime", external_login_check_lifetime) if force_mfa is not None: - pulumi.set(__self__, "force_mfa", force_mfa) + _setter("force_mfa", force_mfa) if force_mfa_local_only is not None: - pulumi.set(__self__, "force_mfa_local_only", force_mfa_local_only) + _setter("force_mfa_local_only", force_mfa_local_only) if hide_password_reset is not None: - pulumi.set(__self__, "hide_password_reset", hide_password_reset) + _setter("hide_password_reset", hide_password_reset) if idps is not None: - pulumi.set(__self__, "idps", idps) + _setter("idps", idps) if ignore_unknown_usernames is not None: - pulumi.set(__self__, "ignore_unknown_usernames", ignore_unknown_usernames) + _setter("ignore_unknown_usernames", ignore_unknown_usernames) if mfa_init_skip_lifetime is not None: - pulumi.set(__self__, "mfa_init_skip_lifetime", mfa_init_skip_lifetime) + _setter("mfa_init_skip_lifetime", mfa_init_skip_lifetime) if multi_factor_check_lifetime is not None: - pulumi.set(__self__, "multi_factor_check_lifetime", multi_factor_check_lifetime) + _setter("multi_factor_check_lifetime", multi_factor_check_lifetime) if multi_factors is not None: - pulumi.set(__self__, "multi_factors", multi_factors) + _setter("multi_factors", multi_factors) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if password_check_lifetime is not None: - pulumi.set(__self__, "password_check_lifetime", password_check_lifetime) + _setter("password_check_lifetime", password_check_lifetime) if passwordless_type is not None: - pulumi.set(__self__, "passwordless_type", passwordless_type) + _setter("passwordless_type", passwordless_type) if second_factor_check_lifetime is not None: - pulumi.set(__self__, "second_factor_check_lifetime", second_factor_check_lifetime) + _setter("second_factor_check_lifetime", second_factor_check_lifetime) if second_factors is not None: - pulumi.set(__self__, "second_factors", second_factors) + _setter("second_factors", second_factors) if user_login is not None: - pulumi.set(__self__, "user_login", user_login) + _setter("user_login", user_login) @property @pulumi.getter(name="allowDomainDiscovery") @@ -713,7 +895,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + terraform The resource can be imported using the ID format `<[org_id]>`, e.g. ```sh $ pulumi import zitadel:index/loginPolicy:LoginPolicy imported '123456789012345678' @@ -785,7 +967,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + terraform The resource can be imported using the ID format `<[org_id]>`, e.g. ```sh $ pulumi import zitadel:index/loginPolicy:LoginPolicy imported '123456789012345678' @@ -801,6 +983,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LoginPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/machine_key.py b/sdk/python/pulumiverse_zitadel/machine_key.py index fde1521..d4eb736 100644 --- a/sdk/python/pulumiverse_zitadel/machine_key.py +++ b/sdk/python/pulumiverse_zitadel/machine_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['MachineKeyArgs', 'MachineKey'] @@ -25,12 +25,37 @@ def __init__(__self__, *, :param pulumi.Input[str] expiration_date: Expiration date of the machine key in the RFC3339 format :param pulumi.Input[str] org_id: ID of the organization """ - pulumi.set(__self__, "key_type", key_type) - pulumi.set(__self__, "user_id", user_id) + MachineKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_type=key_type, + user_id=user_id, + expiration_date=expiration_date, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_type: pulumi.Input[str], + user_id: pulumi.Input[str], + expiration_date: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'keyType' in kwargs: + key_type = kwargs['keyType'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if 'expirationDate' in kwargs: + expiration_date = kwargs['expirationDate'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("key_type", key_type) + _setter("user_id", user_id) if expiration_date is not None: - pulumi.set(__self__, "expiration_date", expiration_date) + _setter("expiration_date", expiration_date) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter(name="keyType") @@ -97,16 +122,45 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[str] user_id: ID of the user """ + _MachineKeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + expiration_date=expiration_date, + key_details=key_details, + key_type=key_type, + org_id=org_id, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expiration_date: Optional[pulumi.Input[str]] = None, + key_details: Optional[pulumi.Input[str]] = None, + key_type: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'expirationDate' in kwargs: + expiration_date = kwargs['expirationDate'] + if 'keyDetails' in kwargs: + key_details = kwargs['keyDetails'] + if 'keyType' in kwargs: + key_type = kwargs['keyType'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if expiration_date is not None: - pulumi.set(__self__, "expiration_date", expiration_date) + _setter("expiration_date", expiration_date) if key_details is not None: - pulumi.set(__self__, "key_details", key_details) + _setter("key_details", key_details) if key_type is not None: - pulumi.set(__self__, "key_type", key_type) + _setter("key_type", key_type) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="expirationDate") @@ -197,7 +251,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/machineKey:MachineKey imported '123456789012345678:123456789012345678:123456789012345678:{"type":"serviceaccount","keyId":"123456789012345678","key":"-----BEGIN RSA PRIVATE KEY-----\\nMIIEpQ...-----END RSA PRIVATE KEY-----\\n","userId":"123456789012345678"}' @@ -234,7 +288,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/machineKey:MachineKey imported '123456789012345678:123456789012345678:123456789012345678:{"type":"serviceaccount","keyId":"123456789012345678","key":"-----BEGIN RSA PRIVATE KEY-----\\nMIIEpQ...-----END RSA PRIVATE KEY-----\\n","userId":"123456789012345678"}' @@ -250,6 +304,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MachineKeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -277,6 +335,8 @@ def _internal_init(__self__, raise TypeError("Missing required property 'user_id'") __props__.__dict__["user_id"] = user_id __props__.__dict__["key_details"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["keyDetails"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(MachineKey, __self__).__init__( 'zitadel:index/machineKey:MachineKey', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/machine_user.py b/sdk/python/pulumiverse_zitadel/machine_user.py index 018d1ce..5ffa378 100644 --- a/sdk/python/pulumiverse_zitadel/machine_user.py +++ b/sdk/python/pulumiverse_zitadel/machine_user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['MachineUserArgs', 'MachineUser'] @@ -27,15 +27,40 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the machine user :param pulumi.Input[str] org_id: ID of the organization """ - pulumi.set(__self__, "user_name", user_name) + MachineUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + user_name=user_name, + access_token_type=access_token_type, + description=description, + name=name, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + user_name: pulumi.Input[str], + access_token_type: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'userName' in kwargs: + user_name = kwargs['userName'] + if 'accessTokenType' in kwargs: + access_token_type = kwargs['accessTokenType'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("user_name", user_name) if access_token_type is not None: - pulumi.set(__self__, "access_token_type", access_token_type) + _setter("access_token_type", access_token_type) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter(name="userName") @@ -120,22 +145,57 @@ def __init__(__self__, *, :param pulumi.Input[str] state: State of the user :param pulumi.Input[str] user_name: Username """ + _MachineUserState._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_token_type=access_token_type, + description=description, + login_names=login_names, + name=name, + org_id=org_id, + preferred_login_name=preferred_login_name, + state=state, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_token_type: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + login_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + preferred_login_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'accessTokenType' in kwargs: + access_token_type = kwargs['accessTokenType'] + if 'loginNames' in kwargs: + login_names = kwargs['loginNames'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'preferredLoginName' in kwargs: + preferred_login_name = kwargs['preferredLoginName'] + if 'userName' in kwargs: + user_name = kwargs['userName'] + if access_token_type is not None: - pulumi.set(__self__, "access_token_type", access_token_type) + _setter("access_token_type", access_token_type) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if login_names is not None: - pulumi.set(__self__, "login_names", login_names) + _setter("login_names", login_names) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if preferred_login_name is not None: - pulumi.set(__self__, "preferred_login_name", preferred_login_name) + _setter("preferred_login_name", preferred_login_name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) @property @pulumi.getter(name="accessTokenType") @@ -262,7 +322,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/machineUser:MachineUser imported '123456789012345678:123456789012345678' @@ -299,7 +359,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/machineUser:MachineUser imported '123456789012345678:123456789012345678' @@ -315,6 +375,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MachineUserArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/notification_policy.py b/sdk/python/pulumiverse_zitadel/notification_policy.py index 5480287..1635722 100644 --- a/sdk/python/pulumiverse_zitadel/notification_policy.py +++ b/sdk/python/pulumiverse_zitadel/notification_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['NotificationPolicyArgs', 'NotificationPolicy'] @@ -21,9 +21,26 @@ def __init__(__self__, *, :param pulumi.Input[bool] password_change: Send notification if a user changes his password :param pulumi.Input[str] org_id: ID of the organization """ - pulumi.set(__self__, "password_change", password_change) + NotificationPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + password_change=password_change, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password_change: pulumi.Input[bool], + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'passwordChange' in kwargs: + password_change = kwargs['passwordChange'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("password_change", password_change) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter(name="passwordChange") @@ -60,10 +77,27 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[bool] password_change: Send notification if a user changes his password """ + _NotificationPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + org_id=org_id, + password_change=password_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + org_id: Optional[pulumi.Input[str]] = None, + password_change: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'passwordChange' in kwargs: + password_change = kwargs['passwordChange'] + if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if password_change is not None: - pulumi.set(__self__, "password_change", password_change) + _setter("password_change", password_change) @property @pulumi.getter(name="orgId") @@ -114,7 +148,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + terraform The resource can be imported using the ID format `<[org_id]>`, e.g. ```sh $ pulumi import zitadel:index/notificationPolicy:NotificationPolicy imported '123456789012345678' @@ -147,7 +181,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + terraform The resource can be imported using the ID format `<[org_id]>`, e.g. ```sh $ pulumi import zitadel:index/notificationPolicy:NotificationPolicy imported '123456789012345678' @@ -163,6 +197,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NotificationPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/org.py b/sdk/python/pulumiverse_zitadel/org.py index 17b5ffe..6144b4a 100644 --- a/sdk/python/pulumiverse_zitadel/org.py +++ b/sdk/python/pulumiverse_zitadel/org.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['OrgArgs', 'Org'] @@ -14,13 +14,44 @@ @pulumi.input_type class OrgArgs: def __init__(__self__, *, + is_default: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a Org resource. + :param pulumi.Input[bool] is_default: True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. :param pulumi.Input[str] name: Name of the org """ + OrgArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_default=is_default, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_default: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'isDefault' in kwargs: + is_default = kwargs['isDefault'] + + if is_default is not None: + _setter("is_default", is_default) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) + + @property + @pulumi.getter(name="isDefault") + def is_default(self) -> Optional[pulumi.Input[bool]]: + """ + True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. + """ + return pulumi.get(self, "is_default") + + @is_default.setter + def is_default(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_default", value) @property @pulumi.getter @@ -38,21 +69,58 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type class _OrgState: def __init__(__self__, *, + is_default: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, primary_domain: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering Org resources. + :param pulumi.Input[bool] is_default: True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. :param pulumi.Input[str] name: Name of the org :param pulumi.Input[str] primary_domain: Primary domain of the org :param pulumi.Input[str] state: State of the org """ + _OrgState._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_default=is_default, + name=name, + primary_domain=primary_domain, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_default: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + primary_domain: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'isDefault' in kwargs: + is_default = kwargs['isDefault'] + if 'primaryDomain' in kwargs: + primary_domain = kwargs['primaryDomain'] + + if is_default is not None: + _setter("is_default", is_default) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if primary_domain is not None: - pulumi.set(__self__, "primary_domain", primary_domain) + _setter("primary_domain", primary_domain) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) + + @property + @pulumi.getter(name="isDefault") + def is_default(self) -> Optional[pulumi.Input[bool]]: + """ + True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. + """ + return pulumi.get(self, "is_default") + + @is_default.setter + def is_default(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_default", value) @property @pulumi.getter @@ -96,6 +164,7 @@ class Org(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + is_default: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, __props__=None): """ @@ -112,7 +181,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/org:Org imported '123456789012345678' @@ -120,6 +189,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[bool] is_default: True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. :param pulumi.Input[str] name: Name of the org """ ... @@ -142,7 +212,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/org:Org imported '123456789012345678' @@ -158,11 +228,16 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OrgArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + is_default: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -173,6 +248,7 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = OrgArgs.__new__(OrgArgs) + __props__.__dict__["is_default"] = is_default __props__.__dict__["name"] = name __props__.__dict__["primary_domain"] = None __props__.__dict__["state"] = None @@ -186,6 +262,7 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, + is_default: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, primary_domain: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None) -> 'Org': @@ -196,6 +273,7 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[bool] is_default: True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. :param pulumi.Input[str] name: Name of the org :param pulumi.Input[str] primary_domain: Primary domain of the org :param pulumi.Input[str] state: State of the org @@ -204,11 +282,20 @@ def get(resource_name: str, __props__ = _OrgState.__new__(_OrgState) + __props__.__dict__["is_default"] = is_default __props__.__dict__["name"] = name __props__.__dict__["primary_domain"] = primary_domain __props__.__dict__["state"] = state return Org(resource_name, opts=opts, __props__=__props__) + @property + @pulumi.getter(name="isDefault") + def is_default(self) -> pulumi.Output[Optional[bool]]: + """ + True sets the org as default org for the instance. Only one org can be default org. Nothing happens if you set it to false until you set another org as default org. + """ + return pulumi.get(self, "is_default") + @property @pulumi.getter def name(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumiverse_zitadel/org_idp_azure_ad.py b/sdk/python/pulumiverse_zitadel/org_idp_azure_ad.py index e9cc78e..77c5dc9 100644 --- a/sdk/python/pulumiverse_zitadel/org_idp_azure_ad.py +++ b/sdk/python/pulumiverse_zitadel/org_idp_azure_ad.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['OrgIdpAzureAdArgs', 'OrgIdpAzureAd'] @@ -41,23 +41,76 @@ def __init__(__self__, *, :param pulumi.Input[str] tenant_id: if tenant*id is not set, the tenant*type is used :param pulumi.Input[str] tenant_type: the azure ad tenant type """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "email_verified", email_verified) - pulumi.set(__self__, "is_auto_creation", is_auto_creation) - pulumi.set(__self__, "is_auto_update", is_auto_update) - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + OrgIdpAzureAdArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + email_verified=email_verified, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + name=name, + org_id=org_id, + scopes=scopes, + tenant_id=tenant_id, + tenant_type=tenant_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: pulumi.Input[str], + client_secret: pulumi.Input[str], + email_verified: pulumi.Input[bool], + is_auto_creation: pulumi.Input[bool], + is_auto_update: pulumi.Input[bool], + is_creation_allowed: pulumi.Input[bool], + is_linking_allowed: pulumi.Input[bool], + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + tenant_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'emailVerified' in kwargs: + email_verified = kwargs['emailVerified'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'tenantType' in kwargs: + tenant_type = kwargs['tenantType'] + + _setter("client_id", client_id) + _setter("client_secret", client_secret) + _setter("email_verified", email_verified) + _setter("is_auto_creation", is_auto_creation) + _setter("is_auto_update", is_auto_update) + _setter("is_creation_allowed", is_creation_allowed) + _setter("is_linking_allowed", is_linking_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) if tenant_id is not None: - pulumi.set(__self__, "tenant_id", tenant_id) + _setter("tenant_id", tenant_id) if tenant_type is not None: - pulumi.set(__self__, "tenant_type", tenant_type) + _setter("tenant_type", tenant_type) @property @pulumi.getter(name="clientId") @@ -234,30 +287,83 @@ def __init__(__self__, *, :param pulumi.Input[str] tenant_id: if tenant*id is not set, the tenant*type is used :param pulumi.Input[str] tenant_type: the azure ad tenant type """ + _OrgIdpAzureAdState._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + email_verified=email_verified, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + name=name, + org_id=org_id, + scopes=scopes, + tenant_id=tenant_id, + tenant_type=tenant_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + email_verified: Optional[pulumi.Input[bool]] = None, + is_auto_creation: Optional[pulumi.Input[bool]] = None, + is_auto_update: Optional[pulumi.Input[bool]] = None, + is_creation_allowed: Optional[pulumi.Input[bool]] = None, + is_linking_allowed: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + tenant_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'emailVerified' in kwargs: + email_verified = kwargs['emailVerified'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'tenantId' in kwargs: + tenant_id = kwargs['tenantId'] + if 'tenantType' in kwargs: + tenant_type = kwargs['tenantType'] + if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if email_verified is not None: - pulumi.set(__self__, "email_verified", email_verified) + _setter("email_verified", email_verified) if is_auto_creation is not None: - pulumi.set(__self__, "is_auto_creation", is_auto_creation) + _setter("is_auto_creation", is_auto_creation) if is_auto_update is not None: - pulumi.set(__self__, "is_auto_update", is_auto_update) + _setter("is_auto_update", is_auto_update) if is_creation_allowed is not None: - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) + _setter("is_creation_allowed", is_creation_allowed) if is_linking_allowed is not None: - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + _setter("is_linking_allowed", is_linking_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) if tenant_id is not None: - pulumi.set(__self__, "tenant_id", tenant_id) + _setter("tenant_id", tenant_id) if tenant_type is not None: - pulumi.set(__self__, "tenant_type", tenant_type) + _setter("tenant_type", tenant_type) @property @pulumi.getter(name="clientId") @@ -451,7 +557,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgIdpAzureAd:OrgIdpAzureAd imported '123456789012345678:123456789012345678:12345678-1234-1234-1234-123456789012' @@ -507,7 +613,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgIdpAzureAd:OrgIdpAzureAd imported '123456789012345678:123456789012345678:12345678-1234-1234-1234-123456789012' @@ -523,6 +629,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OrgIdpAzureAdArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -554,7 +664,7 @@ def _internal_init(__self__, __props__.__dict__["client_id"] = client_id if client_secret is None and not opts.urn: raise TypeError("Missing required property 'client_secret'") - __props__.__dict__["client_secret"] = client_secret + __props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret) if email_verified is None and not opts.urn: raise TypeError("Missing required property 'email_verified'") __props__.__dict__["email_verified"] = email_verified @@ -575,6 +685,8 @@ def _internal_init(__self__, __props__.__dict__["scopes"] = scopes __props__.__dict__["tenant_id"] = tenant_id __props__.__dict__["tenant_type"] = tenant_type + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientSecret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(OrgIdpAzureAd, __self__).__init__( 'zitadel:index/orgIdpAzureAd:OrgIdpAzureAd', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/org_idp_github.py b/sdk/python/pulumiverse_zitadel/org_idp_github.py index f2dd4f2..61ae840 100644 --- a/sdk/python/pulumiverse_zitadel/org_idp_github.py +++ b/sdk/python/pulumiverse_zitadel/org_idp_github.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['OrgIdpGithubArgs', 'OrgIdpGithub'] @@ -35,18 +35,59 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "is_auto_creation", is_auto_creation) - pulumi.set(__self__, "is_auto_update", is_auto_update) - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + OrgIdpGithubArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + name=name, + org_id=org_id, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: pulumi.Input[str], + client_secret: pulumi.Input[str], + is_auto_creation: pulumi.Input[bool], + is_auto_update: pulumi.Input[bool], + is_creation_allowed: pulumi.Input[bool], + is_linking_allowed: pulumi.Input[bool], + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("client_id", client_id) + _setter("client_secret", client_secret) + _setter("is_auto_creation", is_auto_creation) + _setter("is_auto_update", is_auto_update) + _setter("is_creation_allowed", is_creation_allowed) + _setter("is_linking_allowed", is_linking_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="clientId") @@ -181,24 +222,65 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ + _OrgIdpGithubState._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + name=name, + org_id=org_id, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + is_auto_creation: Optional[pulumi.Input[bool]] = None, + is_auto_update: Optional[pulumi.Input[bool]] = None, + is_creation_allowed: Optional[pulumi.Input[bool]] = None, + is_linking_allowed: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if is_auto_creation is not None: - pulumi.set(__self__, "is_auto_creation", is_auto_creation) + _setter("is_auto_creation", is_auto_creation) if is_auto_update is not None: - pulumi.set(__self__, "is_auto_update", is_auto_update) + _setter("is_auto_update", is_auto_update) if is_creation_allowed is not None: - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) + _setter("is_creation_allowed", is_creation_allowed) if is_linking_allowed is not None: - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + _setter("is_linking_allowed", is_linking_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="clientId") @@ -350,7 +432,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgIdpGithub:OrgIdpGithub imported '123456789012345678:123456789012345678:1234567890123456781234567890123456787890' @@ -400,7 +482,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgIdpGithub:OrgIdpGithub imported '123456789012345678:123456789012345678:1234567890123456781234567890123456787890' @@ -416,6 +498,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OrgIdpGithubArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -444,7 +530,7 @@ def _internal_init(__self__, __props__.__dict__["client_id"] = client_id if client_secret is None and not opts.urn: raise TypeError("Missing required property 'client_secret'") - __props__.__dict__["client_secret"] = client_secret + __props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret) if is_auto_creation is None and not opts.urn: raise TypeError("Missing required property 'is_auto_creation'") __props__.__dict__["is_auto_creation"] = is_auto_creation @@ -460,6 +546,8 @@ def _internal_init(__self__, __props__.__dict__["name"] = name __props__.__dict__["org_id"] = org_id __props__.__dict__["scopes"] = scopes + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientSecret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(OrgIdpGithub, __self__).__init__( 'zitadel:index/orgIdpGithub:OrgIdpGithub', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/org_idp_github_es.py b/sdk/python/pulumiverse_zitadel/org_idp_github_es.py index 46972f6..f3dddbe 100644 --- a/sdk/python/pulumiverse_zitadel/org_idp_github_es.py +++ b/sdk/python/pulumiverse_zitadel/org_idp_github_es.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['OrgIdpGithubEsArgs', 'OrgIdpGithubEs'] @@ -41,21 +41,74 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ - pulumi.set(__self__, "authorization_endpoint", authorization_endpoint) - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "is_auto_creation", is_auto_creation) - pulumi.set(__self__, "is_auto_update", is_auto_update) - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) - pulumi.set(__self__, "token_endpoint", token_endpoint) - pulumi.set(__self__, "user_endpoint", user_endpoint) + OrgIdpGithubEsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorization_endpoint=authorization_endpoint, + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + token_endpoint=token_endpoint, + user_endpoint=user_endpoint, + name=name, + org_id=org_id, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorization_endpoint: pulumi.Input[str], + client_id: pulumi.Input[str], + client_secret: pulumi.Input[str], + is_auto_creation: pulumi.Input[bool], + is_auto_update: pulumi.Input[bool], + is_creation_allowed: pulumi.Input[bool], + is_linking_allowed: pulumi.Input[bool], + token_endpoint: pulumi.Input[str], + user_endpoint: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authorizationEndpoint' in kwargs: + authorization_endpoint = kwargs['authorizationEndpoint'] + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'tokenEndpoint' in kwargs: + token_endpoint = kwargs['tokenEndpoint'] + if 'userEndpoint' in kwargs: + user_endpoint = kwargs['userEndpoint'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("authorization_endpoint", authorization_endpoint) + _setter("client_id", client_id) + _setter("client_secret", client_secret) + _setter("is_auto_creation", is_auto_creation) + _setter("is_auto_update", is_auto_update) + _setter("is_creation_allowed", is_creation_allowed) + _setter("is_linking_allowed", is_linking_allowed) + _setter("token_endpoint", token_endpoint) + _setter("user_endpoint", user_endpoint) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="authorizationEndpoint") @@ -232,30 +285,83 @@ def __init__(__self__, *, :param pulumi.Input[str] token_endpoint: the providers token endpoint :param pulumi.Input[str] user_endpoint: the providers user endpoint """ + _OrgIdpGithubEsState._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorization_endpoint=authorization_endpoint, + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + name=name, + org_id=org_id, + scopes=scopes, + token_endpoint=token_endpoint, + user_endpoint=user_endpoint, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorization_endpoint: Optional[pulumi.Input[str]] = None, + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + is_auto_creation: Optional[pulumi.Input[bool]] = None, + is_auto_update: Optional[pulumi.Input[bool]] = None, + is_creation_allowed: Optional[pulumi.Input[bool]] = None, + is_linking_allowed: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + token_endpoint: Optional[pulumi.Input[str]] = None, + user_endpoint: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'authorizationEndpoint' in kwargs: + authorization_endpoint = kwargs['authorizationEndpoint'] + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'tokenEndpoint' in kwargs: + token_endpoint = kwargs['tokenEndpoint'] + if 'userEndpoint' in kwargs: + user_endpoint = kwargs['userEndpoint'] + if authorization_endpoint is not None: - pulumi.set(__self__, "authorization_endpoint", authorization_endpoint) + _setter("authorization_endpoint", authorization_endpoint) if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if is_auto_creation is not None: - pulumi.set(__self__, "is_auto_creation", is_auto_creation) + _setter("is_auto_creation", is_auto_creation) if is_auto_update is not None: - pulumi.set(__self__, "is_auto_update", is_auto_update) + _setter("is_auto_update", is_auto_update) if is_creation_allowed is not None: - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) + _setter("is_creation_allowed", is_creation_allowed) if is_linking_allowed is not None: - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + _setter("is_linking_allowed", is_linking_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) if token_endpoint is not None: - pulumi.set(__self__, "token_endpoint", token_endpoint) + _setter("token_endpoint", token_endpoint) if user_endpoint is not None: - pulumi.set(__self__, "user_endpoint", user_endpoint) + _setter("user_endpoint", user_endpoint) @property @pulumi.getter(name="authorizationEndpoint") @@ -449,7 +555,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgIdpGithubEs:OrgIdpGithubEs imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678' @@ -505,7 +611,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgIdpGithubEs:OrgIdpGithubEs imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678' @@ -521,6 +627,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OrgIdpGithubEsArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -555,7 +665,7 @@ def _internal_init(__self__, __props__.__dict__["client_id"] = client_id if client_secret is None and not opts.urn: raise TypeError("Missing required property 'client_secret'") - __props__.__dict__["client_secret"] = client_secret + __props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret) if is_auto_creation is None and not opts.urn: raise TypeError("Missing required property 'is_auto_creation'") __props__.__dict__["is_auto_creation"] = is_auto_creation @@ -577,6 +687,8 @@ def _internal_init(__self__, if user_endpoint is None and not opts.urn: raise TypeError("Missing required property 'user_endpoint'") __props__.__dict__["user_endpoint"] = user_endpoint + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientSecret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(OrgIdpGithubEs, __self__).__init__( 'zitadel:index/orgIdpGithubEs:OrgIdpGithubEs', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/org_idp_gitlab.py b/sdk/python/pulumiverse_zitadel/org_idp_gitlab.py index e2f39db..d608d55 100644 --- a/sdk/python/pulumiverse_zitadel/org_idp_gitlab.py +++ b/sdk/python/pulumiverse_zitadel/org_idp_gitlab.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['OrgIdpGitlabArgs', 'OrgIdpGitlab'] @@ -35,18 +35,59 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "is_auto_creation", is_auto_creation) - pulumi.set(__self__, "is_auto_update", is_auto_update) - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + OrgIdpGitlabArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + name=name, + org_id=org_id, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: pulumi.Input[str], + client_secret: pulumi.Input[str], + is_auto_creation: pulumi.Input[bool], + is_auto_update: pulumi.Input[bool], + is_creation_allowed: pulumi.Input[bool], + is_linking_allowed: pulumi.Input[bool], + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("client_id", client_id) + _setter("client_secret", client_secret) + _setter("is_auto_creation", is_auto_creation) + _setter("is_auto_update", is_auto_update) + _setter("is_creation_allowed", is_creation_allowed) + _setter("is_linking_allowed", is_linking_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="clientId") @@ -181,24 +222,65 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ + _OrgIdpGitlabState._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + name=name, + org_id=org_id, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + is_auto_creation: Optional[pulumi.Input[bool]] = None, + is_auto_update: Optional[pulumi.Input[bool]] = None, + is_creation_allowed: Optional[pulumi.Input[bool]] = None, + is_linking_allowed: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if is_auto_creation is not None: - pulumi.set(__self__, "is_auto_creation", is_auto_creation) + _setter("is_auto_creation", is_auto_creation) if is_auto_update is not None: - pulumi.set(__self__, "is_auto_update", is_auto_update) + _setter("is_auto_update", is_auto_update) if is_creation_allowed is not None: - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) + _setter("is_creation_allowed", is_creation_allowed) if is_linking_allowed is not None: - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + _setter("is_linking_allowed", is_linking_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="clientId") @@ -350,7 +432,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgIdpGitlab:OrgIdpGitlab imported '123456789012345678:123456789012345678:1234567890abcdef' @@ -400,7 +482,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgIdpGitlab:OrgIdpGitlab imported '123456789012345678:123456789012345678:1234567890abcdef' @@ -416,6 +498,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OrgIdpGitlabArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -444,7 +530,7 @@ def _internal_init(__self__, __props__.__dict__["client_id"] = client_id if client_secret is None and not opts.urn: raise TypeError("Missing required property 'client_secret'") - __props__.__dict__["client_secret"] = client_secret + __props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret) if is_auto_creation is None and not opts.urn: raise TypeError("Missing required property 'is_auto_creation'") __props__.__dict__["is_auto_creation"] = is_auto_creation @@ -460,6 +546,8 @@ def _internal_init(__self__, __props__.__dict__["name"] = name __props__.__dict__["org_id"] = org_id __props__.__dict__["scopes"] = scopes + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientSecret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(OrgIdpGitlab, __self__).__init__( 'zitadel:index/orgIdpGitlab:OrgIdpGitlab', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/org_idp_gitlab_self_hosted.py b/sdk/python/pulumiverse_zitadel/org_idp_gitlab_self_hosted.py index a528a20..7e00862 100644 --- a/sdk/python/pulumiverse_zitadel/org_idp_gitlab_self_hosted.py +++ b/sdk/python/pulumiverse_zitadel/org_idp_gitlab_self_hosted.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['OrgIdpGitlabSelfHostedArgs', 'OrgIdpGitlabSelfHosted'] @@ -37,19 +37,62 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "is_auto_creation", is_auto_creation) - pulumi.set(__self__, "is_auto_update", is_auto_update) - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) - pulumi.set(__self__, "issuer", issuer) + OrgIdpGitlabSelfHostedArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + issuer=issuer, + name=name, + org_id=org_id, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: pulumi.Input[str], + client_secret: pulumi.Input[str], + is_auto_creation: pulumi.Input[bool], + is_auto_update: pulumi.Input[bool], + is_creation_allowed: pulumi.Input[bool], + is_linking_allowed: pulumi.Input[bool], + issuer: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("client_id", client_id) + _setter("client_secret", client_secret) + _setter("is_auto_creation", is_auto_creation) + _setter("is_auto_update", is_auto_update) + _setter("is_creation_allowed", is_creation_allowed) + _setter("is_linking_allowed", is_linking_allowed) + _setter("issuer", issuer) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="clientId") @@ -198,26 +241,69 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ + _OrgIdpGitlabSelfHostedState._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + issuer=issuer, + name=name, + org_id=org_id, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + is_auto_creation: Optional[pulumi.Input[bool]] = None, + is_auto_update: Optional[pulumi.Input[bool]] = None, + is_creation_allowed: Optional[pulumi.Input[bool]] = None, + is_linking_allowed: Optional[pulumi.Input[bool]] = None, + issuer: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if is_auto_creation is not None: - pulumi.set(__self__, "is_auto_creation", is_auto_creation) + _setter("is_auto_creation", is_auto_creation) if is_auto_update is not None: - pulumi.set(__self__, "is_auto_update", is_auto_update) + _setter("is_auto_update", is_auto_update) if is_creation_allowed is not None: - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) + _setter("is_creation_allowed", is_creation_allowed) if is_linking_allowed is not None: - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + _setter("is_linking_allowed", is_linking_allowed) if issuer is not None: - pulumi.set(__self__, "issuer", issuer) + _setter("issuer", issuer) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="clientId") @@ -383,7 +469,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgIdpGitlabSelfHosted:OrgIdpGitlabSelfHosted imported '123456789012345678:123456789012345678:1234567890abcdef' @@ -435,7 +521,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgIdpGitlabSelfHosted:OrgIdpGitlabSelfHosted imported '123456789012345678:123456789012345678:1234567890abcdef' @@ -451,6 +537,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OrgIdpGitlabSelfHostedArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -480,7 +570,7 @@ def _internal_init(__self__, __props__.__dict__["client_id"] = client_id if client_secret is None and not opts.urn: raise TypeError("Missing required property 'client_secret'") - __props__.__dict__["client_secret"] = client_secret + __props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret) if is_auto_creation is None and not opts.urn: raise TypeError("Missing required property 'is_auto_creation'") __props__.__dict__["is_auto_creation"] = is_auto_creation @@ -499,6 +589,8 @@ def _internal_init(__self__, __props__.__dict__["name"] = name __props__.__dict__["org_id"] = org_id __props__.__dict__["scopes"] = scopes + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientSecret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(OrgIdpGitlabSelfHosted, __self__).__init__( 'zitadel:index/orgIdpGitlabSelfHosted:OrgIdpGitlabSelfHosted', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/org_idp_google.py b/sdk/python/pulumiverse_zitadel/org_idp_google.py index e6629c0..b563ffc 100644 --- a/sdk/python/pulumiverse_zitadel/org_idp_google.py +++ b/sdk/python/pulumiverse_zitadel/org_idp_google.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['OrgIdpGoogleArgs', 'OrgIdpGoogle'] @@ -35,18 +35,59 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "is_auto_creation", is_auto_creation) - pulumi.set(__self__, "is_auto_update", is_auto_update) - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + OrgIdpGoogleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + name=name, + org_id=org_id, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: pulumi.Input[str], + client_secret: pulumi.Input[str], + is_auto_creation: pulumi.Input[bool], + is_auto_update: pulumi.Input[bool], + is_creation_allowed: pulumi.Input[bool], + is_linking_allowed: pulumi.Input[bool], + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("client_id", client_id) + _setter("client_secret", client_secret) + _setter("is_auto_creation", is_auto_creation) + _setter("is_auto_update", is_auto_update) + _setter("is_creation_allowed", is_creation_allowed) + _setter("is_linking_allowed", is_linking_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="clientId") @@ -181,24 +222,65 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ + _OrgIdpGoogleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + name=name, + org_id=org_id, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + is_auto_creation: Optional[pulumi.Input[bool]] = None, + is_auto_update: Optional[pulumi.Input[bool]] = None, + is_creation_allowed: Optional[pulumi.Input[bool]] = None, + is_linking_allowed: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if is_auto_creation is not None: - pulumi.set(__self__, "is_auto_creation", is_auto_creation) + _setter("is_auto_creation", is_auto_creation) if is_auto_update is not None: - pulumi.set(__self__, "is_auto_update", is_auto_update) + _setter("is_auto_update", is_auto_update) if is_creation_allowed is not None: - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) + _setter("is_creation_allowed", is_creation_allowed) if is_linking_allowed is not None: - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + _setter("is_linking_allowed", is_linking_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="clientId") @@ -350,7 +432,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgIdpGoogle:OrgIdpGoogle imported '123456789012345678:123456789012345678:G1234567890123' @@ -400,7 +482,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgIdpGoogle:OrgIdpGoogle imported '123456789012345678:123456789012345678:G1234567890123' @@ -416,6 +498,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OrgIdpGoogleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -444,7 +530,7 @@ def _internal_init(__self__, __props__.__dict__["client_id"] = client_id if client_secret is None and not opts.urn: raise TypeError("Missing required property 'client_secret'") - __props__.__dict__["client_secret"] = client_secret + __props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret) if is_auto_creation is None and not opts.urn: raise TypeError("Missing required property 'is_auto_creation'") __props__.__dict__["is_auto_creation"] = is_auto_creation @@ -460,6 +546,8 @@ def _internal_init(__self__, __props__.__dict__["name"] = name __props__.__dict__["org_id"] = org_id __props__.__dict__["scopes"] = scopes + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientSecret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(OrgIdpGoogle, __self__).__init__( 'zitadel:index/orgIdpGoogle:OrgIdpGoogle', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/org_idp_jwt.py b/sdk/python/pulumiverse_zitadel/org_idp_jwt.py index 4cd74dd..1266896 100644 --- a/sdk/python/pulumiverse_zitadel/org_idp_jwt.py +++ b/sdk/python/pulumiverse_zitadel/org_idp_jwt.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['OrgIdpJwtArgs', 'OrgIdpJwt'] @@ -33,16 +33,53 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the IDP :param pulumi.Input[str] org_id: ID of the organization """ - pulumi.set(__self__, "auto_register", auto_register) - pulumi.set(__self__, "header_name", header_name) - pulumi.set(__self__, "issuer", issuer) - pulumi.set(__self__, "jwt_endpoint", jwt_endpoint) - pulumi.set(__self__, "keys_endpoint", keys_endpoint) - pulumi.set(__self__, "styling_type", styling_type) + OrgIdpJwtArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_register=auto_register, + header_name=header_name, + issuer=issuer, + jwt_endpoint=jwt_endpoint, + keys_endpoint=keys_endpoint, + styling_type=styling_type, + name=name, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_register: pulumi.Input[bool], + header_name: pulumi.Input[str], + issuer: pulumi.Input[str], + jwt_endpoint: pulumi.Input[str], + keys_endpoint: pulumi.Input[str], + styling_type: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'autoRegister' in kwargs: + auto_register = kwargs['autoRegister'] + if 'headerName' in kwargs: + header_name = kwargs['headerName'] + if 'jwtEndpoint' in kwargs: + jwt_endpoint = kwargs['jwtEndpoint'] + if 'keysEndpoint' in kwargs: + keys_endpoint = kwargs['keysEndpoint'] + if 'stylingType' in kwargs: + styling_type = kwargs['stylingType'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("auto_register", auto_register) + _setter("header_name", header_name) + _setter("issuer", issuer) + _setter("jwt_endpoint", jwt_endpoint) + _setter("keys_endpoint", keys_endpoint) + _setter("styling_type", styling_type) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter(name="autoRegister") @@ -163,22 +200,59 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[str] styling_type: Some identity providers specify the styling of the button to their login, supported values: STYLING*TYPE*UNSPECIFIED, STYLING*TYPE*GOOGLE """ + _OrgIdpJwtState._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_register=auto_register, + header_name=header_name, + issuer=issuer, + jwt_endpoint=jwt_endpoint, + keys_endpoint=keys_endpoint, + name=name, + org_id=org_id, + styling_type=styling_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_register: Optional[pulumi.Input[bool]] = None, + header_name: Optional[pulumi.Input[str]] = None, + issuer: Optional[pulumi.Input[str]] = None, + jwt_endpoint: Optional[pulumi.Input[str]] = None, + keys_endpoint: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + styling_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'autoRegister' in kwargs: + auto_register = kwargs['autoRegister'] + if 'headerName' in kwargs: + header_name = kwargs['headerName'] + if 'jwtEndpoint' in kwargs: + jwt_endpoint = kwargs['jwtEndpoint'] + if 'keysEndpoint' in kwargs: + keys_endpoint = kwargs['keysEndpoint'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'stylingType' in kwargs: + styling_type = kwargs['stylingType'] + if auto_register is not None: - pulumi.set(__self__, "auto_register", auto_register) + _setter("auto_register", auto_register) if header_name is not None: - pulumi.set(__self__, "header_name", header_name) + _setter("header_name", header_name) if issuer is not None: - pulumi.set(__self__, "issuer", issuer) + _setter("issuer", issuer) if jwt_endpoint is not None: - pulumi.set(__self__, "jwt_endpoint", jwt_endpoint) + _setter("jwt_endpoint", jwt_endpoint) if keys_endpoint is not None: - pulumi.set(__self__, "keys_endpoint", keys_endpoint) + _setter("keys_endpoint", keys_endpoint) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if styling_type is not None: - pulumi.set(__self__, "styling_type", styling_type) + _setter("styling_type", styling_type) @property @pulumi.getter(name="autoRegister") @@ -312,7 +386,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgIdpJwt:OrgIdpJwt imported '123456789012345678:123456789012345678' @@ -356,7 +430,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgIdpJwt:OrgIdpJwt imported '123456789012345678:123456789012345678' @@ -372,6 +446,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OrgIdpJwtArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/org_idp_ldap.py b/sdk/python/pulumiverse_zitadel/org_idp_ldap.py index e3d250e..d9d476b 100644 --- a/sdk/python/pulumiverse_zitadel/org_idp_ldap.py +++ b/sdk/python/pulumiverse_zitadel/org_idp_ldap.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['OrgIdpLdapArgs', 'OrgIdpLdap'] @@ -73,49 +73,164 @@ def __init__(__self__, *, :param pulumi.Input[str] preferred_username_attribute: User attribute for the preferred username :param pulumi.Input[str] profile_attribute: User attribute for the profile """ - pulumi.set(__self__, "base_dn", base_dn) - pulumi.set(__self__, "bind_dn", bind_dn) - pulumi.set(__self__, "bind_password", bind_password) - pulumi.set(__self__, "is_auto_creation", is_auto_creation) - pulumi.set(__self__, "is_auto_update", is_auto_update) - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) - pulumi.set(__self__, "servers", servers) - pulumi.set(__self__, "start_tls", start_tls) - pulumi.set(__self__, "timeout", timeout) - pulumi.set(__self__, "user_base", user_base) - pulumi.set(__self__, "user_filters", user_filters) - pulumi.set(__self__, "user_object_classes", user_object_classes) + OrgIdpLdapArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + base_dn=base_dn, + bind_dn=bind_dn, + bind_password=bind_password, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + servers=servers, + start_tls=start_tls, + timeout=timeout, + user_base=user_base, + user_filters=user_filters, + user_object_classes=user_object_classes, + avatar_url_attribute=avatar_url_attribute, + display_name_attribute=display_name_attribute, + email_attribute=email_attribute, + email_verified_attribute=email_verified_attribute, + first_name_attribute=first_name_attribute, + id_attribute=id_attribute, + last_name_attribute=last_name_attribute, + name=name, + nick_name_attribute=nick_name_attribute, + org_id=org_id, + phone_attribute=phone_attribute, + phone_verified_attribute=phone_verified_attribute, + preferred_language_attribute=preferred_language_attribute, + preferred_username_attribute=preferred_username_attribute, + profile_attribute=profile_attribute, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base_dn: pulumi.Input[str], + bind_dn: pulumi.Input[str], + bind_password: pulumi.Input[str], + is_auto_creation: pulumi.Input[bool], + is_auto_update: pulumi.Input[bool], + is_creation_allowed: pulumi.Input[bool], + is_linking_allowed: pulumi.Input[bool], + servers: pulumi.Input[Sequence[pulumi.Input[str]]], + start_tls: pulumi.Input[bool], + timeout: pulumi.Input[str], + user_base: pulumi.Input[str], + user_filters: pulumi.Input[Sequence[pulumi.Input[str]]], + user_object_classes: pulumi.Input[Sequence[pulumi.Input[str]]], + avatar_url_attribute: Optional[pulumi.Input[str]] = None, + display_name_attribute: Optional[pulumi.Input[str]] = None, + email_attribute: Optional[pulumi.Input[str]] = None, + email_verified_attribute: Optional[pulumi.Input[str]] = None, + first_name_attribute: Optional[pulumi.Input[str]] = None, + id_attribute: Optional[pulumi.Input[str]] = None, + last_name_attribute: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + nick_name_attribute: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + phone_attribute: Optional[pulumi.Input[str]] = None, + phone_verified_attribute: Optional[pulumi.Input[str]] = None, + preferred_language_attribute: Optional[pulumi.Input[str]] = None, + preferred_username_attribute: Optional[pulumi.Input[str]] = None, + profile_attribute: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'baseDn' in kwargs: + base_dn = kwargs['baseDn'] + if 'bindDn' in kwargs: + bind_dn = kwargs['bindDn'] + if 'bindPassword' in kwargs: + bind_password = kwargs['bindPassword'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'startTls' in kwargs: + start_tls = kwargs['startTls'] + if 'userBase' in kwargs: + user_base = kwargs['userBase'] + if 'userFilters' in kwargs: + user_filters = kwargs['userFilters'] + if 'userObjectClasses' in kwargs: + user_object_classes = kwargs['userObjectClasses'] + if 'avatarUrlAttribute' in kwargs: + avatar_url_attribute = kwargs['avatarUrlAttribute'] + if 'displayNameAttribute' in kwargs: + display_name_attribute = kwargs['displayNameAttribute'] + if 'emailAttribute' in kwargs: + email_attribute = kwargs['emailAttribute'] + if 'emailVerifiedAttribute' in kwargs: + email_verified_attribute = kwargs['emailVerifiedAttribute'] + if 'firstNameAttribute' in kwargs: + first_name_attribute = kwargs['firstNameAttribute'] + if 'idAttribute' in kwargs: + id_attribute = kwargs['idAttribute'] + if 'lastNameAttribute' in kwargs: + last_name_attribute = kwargs['lastNameAttribute'] + if 'nickNameAttribute' in kwargs: + nick_name_attribute = kwargs['nickNameAttribute'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'phoneAttribute' in kwargs: + phone_attribute = kwargs['phoneAttribute'] + if 'phoneVerifiedAttribute' in kwargs: + phone_verified_attribute = kwargs['phoneVerifiedAttribute'] + if 'preferredLanguageAttribute' in kwargs: + preferred_language_attribute = kwargs['preferredLanguageAttribute'] + if 'preferredUsernameAttribute' in kwargs: + preferred_username_attribute = kwargs['preferredUsernameAttribute'] + if 'profileAttribute' in kwargs: + profile_attribute = kwargs['profileAttribute'] + + _setter("base_dn", base_dn) + _setter("bind_dn", bind_dn) + _setter("bind_password", bind_password) + _setter("is_auto_creation", is_auto_creation) + _setter("is_auto_update", is_auto_update) + _setter("is_creation_allowed", is_creation_allowed) + _setter("is_linking_allowed", is_linking_allowed) + _setter("servers", servers) + _setter("start_tls", start_tls) + _setter("timeout", timeout) + _setter("user_base", user_base) + _setter("user_filters", user_filters) + _setter("user_object_classes", user_object_classes) if avatar_url_attribute is not None: - pulumi.set(__self__, "avatar_url_attribute", avatar_url_attribute) + _setter("avatar_url_attribute", avatar_url_attribute) if display_name_attribute is not None: - pulumi.set(__self__, "display_name_attribute", display_name_attribute) + _setter("display_name_attribute", display_name_attribute) if email_attribute is not None: - pulumi.set(__self__, "email_attribute", email_attribute) + _setter("email_attribute", email_attribute) if email_verified_attribute is not None: - pulumi.set(__self__, "email_verified_attribute", email_verified_attribute) + _setter("email_verified_attribute", email_verified_attribute) if first_name_attribute is not None: - pulumi.set(__self__, "first_name_attribute", first_name_attribute) + _setter("first_name_attribute", first_name_attribute) if id_attribute is not None: - pulumi.set(__self__, "id_attribute", id_attribute) + _setter("id_attribute", id_attribute) if last_name_attribute is not None: - pulumi.set(__self__, "last_name_attribute", last_name_attribute) + _setter("last_name_attribute", last_name_attribute) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if nick_name_attribute is not None: - pulumi.set(__self__, "nick_name_attribute", nick_name_attribute) + _setter("nick_name_attribute", nick_name_attribute) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if phone_attribute is not None: - pulumi.set(__self__, "phone_attribute", phone_attribute) + _setter("phone_attribute", phone_attribute) if phone_verified_attribute is not None: - pulumi.set(__self__, "phone_verified_attribute", phone_verified_attribute) + _setter("phone_verified_attribute", phone_verified_attribute) if preferred_language_attribute is not None: - pulumi.set(__self__, "preferred_language_attribute", preferred_language_attribute) + _setter("preferred_language_attribute", preferred_language_attribute) if preferred_username_attribute is not None: - pulumi.set(__self__, "preferred_username_attribute", preferred_username_attribute) + _setter("preferred_username_attribute", preferred_username_attribute) if profile_attribute is not None: - pulumi.set(__self__, "profile_attribute", profile_attribute) + _setter("profile_attribute", profile_attribute) @property @pulumi.getter(name="baseDn") @@ -516,62 +631,177 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] user_filters: User filters for LDAP connections :param pulumi.Input[Sequence[pulumi.Input[str]]] user_object_classes: User object classes for LDAP connections """ + _OrgIdpLdapState._configure( + lambda key, value: pulumi.set(__self__, key, value), + avatar_url_attribute=avatar_url_attribute, + base_dn=base_dn, + bind_dn=bind_dn, + bind_password=bind_password, + display_name_attribute=display_name_attribute, + email_attribute=email_attribute, + email_verified_attribute=email_verified_attribute, + first_name_attribute=first_name_attribute, + id_attribute=id_attribute, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_linking_allowed=is_linking_allowed, + last_name_attribute=last_name_attribute, + name=name, + nick_name_attribute=nick_name_attribute, + org_id=org_id, + phone_attribute=phone_attribute, + phone_verified_attribute=phone_verified_attribute, + preferred_language_attribute=preferred_language_attribute, + preferred_username_attribute=preferred_username_attribute, + profile_attribute=profile_attribute, + servers=servers, + start_tls=start_tls, + timeout=timeout, + user_base=user_base, + user_filters=user_filters, + user_object_classes=user_object_classes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + avatar_url_attribute: Optional[pulumi.Input[str]] = None, + base_dn: Optional[pulumi.Input[str]] = None, + bind_dn: Optional[pulumi.Input[str]] = None, + bind_password: Optional[pulumi.Input[str]] = None, + display_name_attribute: Optional[pulumi.Input[str]] = None, + email_attribute: Optional[pulumi.Input[str]] = None, + email_verified_attribute: Optional[pulumi.Input[str]] = None, + first_name_attribute: Optional[pulumi.Input[str]] = None, + id_attribute: Optional[pulumi.Input[str]] = None, + is_auto_creation: Optional[pulumi.Input[bool]] = None, + is_auto_update: Optional[pulumi.Input[bool]] = None, + is_creation_allowed: Optional[pulumi.Input[bool]] = None, + is_linking_allowed: Optional[pulumi.Input[bool]] = None, + last_name_attribute: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + nick_name_attribute: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + phone_attribute: Optional[pulumi.Input[str]] = None, + phone_verified_attribute: Optional[pulumi.Input[str]] = None, + preferred_language_attribute: Optional[pulumi.Input[str]] = None, + preferred_username_attribute: Optional[pulumi.Input[str]] = None, + profile_attribute: Optional[pulumi.Input[str]] = None, + servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + start_tls: Optional[pulumi.Input[bool]] = None, + timeout: Optional[pulumi.Input[str]] = None, + user_base: Optional[pulumi.Input[str]] = None, + user_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + user_object_classes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'avatarUrlAttribute' in kwargs: + avatar_url_attribute = kwargs['avatarUrlAttribute'] + if 'baseDn' in kwargs: + base_dn = kwargs['baseDn'] + if 'bindDn' in kwargs: + bind_dn = kwargs['bindDn'] + if 'bindPassword' in kwargs: + bind_password = kwargs['bindPassword'] + if 'displayNameAttribute' in kwargs: + display_name_attribute = kwargs['displayNameAttribute'] + if 'emailAttribute' in kwargs: + email_attribute = kwargs['emailAttribute'] + if 'emailVerifiedAttribute' in kwargs: + email_verified_attribute = kwargs['emailVerifiedAttribute'] + if 'firstNameAttribute' in kwargs: + first_name_attribute = kwargs['firstNameAttribute'] + if 'idAttribute' in kwargs: + id_attribute = kwargs['idAttribute'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'lastNameAttribute' in kwargs: + last_name_attribute = kwargs['lastNameAttribute'] + if 'nickNameAttribute' in kwargs: + nick_name_attribute = kwargs['nickNameAttribute'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'phoneAttribute' in kwargs: + phone_attribute = kwargs['phoneAttribute'] + if 'phoneVerifiedAttribute' in kwargs: + phone_verified_attribute = kwargs['phoneVerifiedAttribute'] + if 'preferredLanguageAttribute' in kwargs: + preferred_language_attribute = kwargs['preferredLanguageAttribute'] + if 'preferredUsernameAttribute' in kwargs: + preferred_username_attribute = kwargs['preferredUsernameAttribute'] + if 'profileAttribute' in kwargs: + profile_attribute = kwargs['profileAttribute'] + if 'startTls' in kwargs: + start_tls = kwargs['startTls'] + if 'userBase' in kwargs: + user_base = kwargs['userBase'] + if 'userFilters' in kwargs: + user_filters = kwargs['userFilters'] + if 'userObjectClasses' in kwargs: + user_object_classes = kwargs['userObjectClasses'] + if avatar_url_attribute is not None: - pulumi.set(__self__, "avatar_url_attribute", avatar_url_attribute) + _setter("avatar_url_attribute", avatar_url_attribute) if base_dn is not None: - pulumi.set(__self__, "base_dn", base_dn) + _setter("base_dn", base_dn) if bind_dn is not None: - pulumi.set(__self__, "bind_dn", bind_dn) + _setter("bind_dn", bind_dn) if bind_password is not None: - pulumi.set(__self__, "bind_password", bind_password) + _setter("bind_password", bind_password) if display_name_attribute is not None: - pulumi.set(__self__, "display_name_attribute", display_name_attribute) + _setter("display_name_attribute", display_name_attribute) if email_attribute is not None: - pulumi.set(__self__, "email_attribute", email_attribute) + _setter("email_attribute", email_attribute) if email_verified_attribute is not None: - pulumi.set(__self__, "email_verified_attribute", email_verified_attribute) + _setter("email_verified_attribute", email_verified_attribute) if first_name_attribute is not None: - pulumi.set(__self__, "first_name_attribute", first_name_attribute) + _setter("first_name_attribute", first_name_attribute) if id_attribute is not None: - pulumi.set(__self__, "id_attribute", id_attribute) + _setter("id_attribute", id_attribute) if is_auto_creation is not None: - pulumi.set(__self__, "is_auto_creation", is_auto_creation) + _setter("is_auto_creation", is_auto_creation) if is_auto_update is not None: - pulumi.set(__self__, "is_auto_update", is_auto_update) + _setter("is_auto_update", is_auto_update) if is_creation_allowed is not None: - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) + _setter("is_creation_allowed", is_creation_allowed) if is_linking_allowed is not None: - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + _setter("is_linking_allowed", is_linking_allowed) if last_name_attribute is not None: - pulumi.set(__self__, "last_name_attribute", last_name_attribute) + _setter("last_name_attribute", last_name_attribute) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if nick_name_attribute is not None: - pulumi.set(__self__, "nick_name_attribute", nick_name_attribute) + _setter("nick_name_attribute", nick_name_attribute) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if phone_attribute is not None: - pulumi.set(__self__, "phone_attribute", phone_attribute) + _setter("phone_attribute", phone_attribute) if phone_verified_attribute is not None: - pulumi.set(__self__, "phone_verified_attribute", phone_verified_attribute) + _setter("phone_verified_attribute", phone_verified_attribute) if preferred_language_attribute is not None: - pulumi.set(__self__, "preferred_language_attribute", preferred_language_attribute) + _setter("preferred_language_attribute", preferred_language_attribute) if preferred_username_attribute is not None: - pulumi.set(__self__, "preferred_username_attribute", preferred_username_attribute) + _setter("preferred_username_attribute", preferred_username_attribute) if profile_attribute is not None: - pulumi.set(__self__, "profile_attribute", profile_attribute) + _setter("profile_attribute", profile_attribute) if servers is not None: - pulumi.set(__self__, "servers", servers) + _setter("servers", servers) if start_tls is not None: - pulumi.set(__self__, "start_tls", start_tls) + _setter("start_tls", start_tls) if timeout is not None: - pulumi.set(__self__, "timeout", timeout) + _setter("timeout", timeout) if user_base is not None: - pulumi.set(__self__, "user_base", user_base) + _setter("user_base", user_base) if user_filters is not None: - pulumi.set(__self__, "user_filters", user_filters) + _setter("user_filters", user_filters) if user_object_classes is not None: - pulumi.set(__self__, "user_object_classes", user_object_classes) + _setter("user_object_classes", user_object_classes) @property @pulumi.getter(name="avatarUrlAttribute") @@ -981,7 +1211,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgIdpLdap:OrgIdpLdap imported '123456789012345678:123456789012345678:b1nd_p4ssw0rd' @@ -1061,7 +1291,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgIdpLdap:OrgIdpLdap imported '123456789012345678:123456789012345678:b1nd_p4ssw0rd' @@ -1077,6 +1307,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OrgIdpLdapArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1128,7 +1362,7 @@ def _internal_init(__self__, __props__.__dict__["bind_dn"] = bind_dn if bind_password is None and not opts.urn: raise TypeError("Missing required property 'bind_password'") - __props__.__dict__["bind_password"] = bind_password + __props__.__dict__["bind_password"] = None if bind_password is None else pulumi.Output.secret(bind_password) __props__.__dict__["display_name_attribute"] = display_name_attribute __props__.__dict__["email_attribute"] = email_attribute __props__.__dict__["email_verified_attribute"] = email_verified_attribute @@ -1173,6 +1407,8 @@ def _internal_init(__self__, if user_object_classes is None and not opts.urn: raise TypeError("Missing required property 'user_object_classes'") __props__.__dict__["user_object_classes"] = user_object_classes + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["bindPassword"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(OrgIdpLdap, __self__).__init__( 'zitadel:index/orgIdpLdap:OrgIdpLdap', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/org_idp_oidc.py b/sdk/python/pulumiverse_zitadel/org_idp_oidc.py index 19c6a68..255b5c0 100644 --- a/sdk/python/pulumiverse_zitadel/org_idp_oidc.py +++ b/sdk/python/pulumiverse_zitadel/org_idp_oidc.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['OrgIdpOidcArgs', 'OrgIdpOidc'] @@ -39,20 +39,67 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "is_auto_creation", is_auto_creation) - pulumi.set(__self__, "is_auto_update", is_auto_update) - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) - pulumi.set(__self__, "is_id_token_mapping", is_id_token_mapping) - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) - pulumi.set(__self__, "issuer", issuer) + OrgIdpOidcArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_id_token_mapping=is_id_token_mapping, + is_linking_allowed=is_linking_allowed, + issuer=issuer, + name=name, + org_id=org_id, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: pulumi.Input[str], + client_secret: pulumi.Input[str], + is_auto_creation: pulumi.Input[bool], + is_auto_update: pulumi.Input[bool], + is_creation_allowed: pulumi.Input[bool], + is_id_token_mapping: pulumi.Input[bool], + is_linking_allowed: pulumi.Input[bool], + issuer: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isIdTokenMapping' in kwargs: + is_id_token_mapping = kwargs['isIdTokenMapping'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("client_id", client_id) + _setter("client_secret", client_secret) + _setter("is_auto_creation", is_auto_creation) + _setter("is_auto_update", is_auto_update) + _setter("is_creation_allowed", is_creation_allowed) + _setter("is_id_token_mapping", is_id_token_mapping) + _setter("is_linking_allowed", is_linking_allowed) + _setter("issuer", issuer) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="clientId") @@ -215,28 +262,75 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: the scopes requested by ZITADEL during the request on the identity provider """ + _OrgIdpOidcState._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret=client_secret, + is_auto_creation=is_auto_creation, + is_auto_update=is_auto_update, + is_creation_allowed=is_creation_allowed, + is_id_token_mapping=is_id_token_mapping, + is_linking_allowed=is_linking_allowed, + issuer=issuer, + name=name, + org_id=org_id, + scopes=scopes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + is_auto_creation: Optional[pulumi.Input[bool]] = None, + is_auto_update: Optional[pulumi.Input[bool]] = None, + is_creation_allowed: Optional[pulumi.Input[bool]] = None, + is_id_token_mapping: Optional[pulumi.Input[bool]] = None, + is_linking_allowed: Optional[pulumi.Input[bool]] = None, + issuer: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'clientId' in kwargs: + client_id = kwargs['clientId'] + if 'clientSecret' in kwargs: + client_secret = kwargs['clientSecret'] + if 'isAutoCreation' in kwargs: + is_auto_creation = kwargs['isAutoCreation'] + if 'isAutoUpdate' in kwargs: + is_auto_update = kwargs['isAutoUpdate'] + if 'isCreationAllowed' in kwargs: + is_creation_allowed = kwargs['isCreationAllowed'] + if 'isIdTokenMapping' in kwargs: + is_id_token_mapping = kwargs['isIdTokenMapping'] + if 'isLinkingAllowed' in kwargs: + is_linking_allowed = kwargs['isLinkingAllowed'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if is_auto_creation is not None: - pulumi.set(__self__, "is_auto_creation", is_auto_creation) + _setter("is_auto_creation", is_auto_creation) if is_auto_update is not None: - pulumi.set(__self__, "is_auto_update", is_auto_update) + _setter("is_auto_update", is_auto_update) if is_creation_allowed is not None: - pulumi.set(__self__, "is_creation_allowed", is_creation_allowed) + _setter("is_creation_allowed", is_creation_allowed) if is_id_token_mapping is not None: - pulumi.set(__self__, "is_id_token_mapping", is_id_token_mapping) + _setter("is_id_token_mapping", is_id_token_mapping) if is_linking_allowed is not None: - pulumi.set(__self__, "is_linking_allowed", is_linking_allowed) + _setter("is_linking_allowed", is_linking_allowed) if issuer is not None: - pulumi.set(__self__, "issuer", issuer) + _setter("issuer", issuer) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) @property @pulumi.getter(name="clientId") @@ -416,7 +510,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgIdpOidc:OrgIdpOidc imported '123456789012345678:123456789012345678:1234567890abcdef' @@ -470,7 +564,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgIdpOidc:OrgIdpOidc imported '123456789012345678:123456789012345678:1234567890abcdef' @@ -486,6 +580,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OrgIdpOidcArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -516,7 +614,7 @@ def _internal_init(__self__, __props__.__dict__["client_id"] = client_id if client_secret is None and not opts.urn: raise TypeError("Missing required property 'client_secret'") - __props__.__dict__["client_secret"] = client_secret + __props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret) if is_auto_creation is None and not opts.urn: raise TypeError("Missing required property 'is_auto_creation'") __props__.__dict__["is_auto_creation"] = is_auto_creation @@ -538,6 +636,8 @@ def _internal_init(__self__, __props__.__dict__["name"] = name __props__.__dict__["org_id"] = org_id __props__.__dict__["scopes"] = scopes + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientSecret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(OrgIdpOidc, __self__).__init__( 'zitadel:index/orgIdpOidc:OrgIdpOidc', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/org_member.py b/sdk/python/pulumiverse_zitadel/org_member.py index 8f093da..518784b 100644 --- a/sdk/python/pulumiverse_zitadel/org_member.py +++ b/sdk/python/pulumiverse_zitadel/org_member.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['OrgMemberArgs', 'OrgMember'] @@ -23,10 +23,29 @@ def __init__(__self__, *, :param pulumi.Input[str] user_id: ID of the user :param pulumi.Input[str] org_id: ID of the organization """ - pulumi.set(__self__, "roles", roles) - pulumi.set(__self__, "user_id", user_id) + OrgMemberArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + roles=roles, + user_id=user_id, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + roles: pulumi.Input[Sequence[pulumi.Input[str]]], + user_id: pulumi.Input[str], + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'userId' in kwargs: + user_id = kwargs['userId'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("roles", roles) + _setter("user_id", user_id) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter @@ -77,12 +96,31 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: List of roles granted :param pulumi.Input[str] user_id: ID of the user """ + _OrgMemberState._configure( + lambda key, value: pulumi.set(__self__, key, value), + org_id=org_id, + roles=roles, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + org_id: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if roles is not None: - pulumi.set(__self__, "roles", roles) + _setter("roles", roles) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="orgId") @@ -147,7 +185,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgMember:OrgMember imported '123456789012345678:123456789012345678' @@ -182,7 +220,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/orgMember:OrgMember imported '123456789012345678:123456789012345678' @@ -198,6 +236,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OrgMemberArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/password_complexity_policy.py b/sdk/python/pulumiverse_zitadel/password_complexity_policy.py index 8bf7ce4..3f429f1 100644 --- a/sdk/python/pulumiverse_zitadel/password_complexity_policy.py +++ b/sdk/python/pulumiverse_zitadel/password_complexity_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['PasswordComplexityPolicyArgs', 'PasswordComplexityPolicy'] @@ -29,13 +29,46 @@ def __init__(__self__, *, :param pulumi.Input[int] min_length: Minimal length for the password :param pulumi.Input[str] org_id: ID of the organization """ - pulumi.set(__self__, "has_lowercase", has_lowercase) - pulumi.set(__self__, "has_number", has_number) - pulumi.set(__self__, "has_symbol", has_symbol) - pulumi.set(__self__, "has_uppercase", has_uppercase) - pulumi.set(__self__, "min_length", min_length) + PasswordComplexityPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + has_lowercase=has_lowercase, + has_number=has_number, + has_symbol=has_symbol, + has_uppercase=has_uppercase, + min_length=min_length, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + has_lowercase: pulumi.Input[bool], + has_number: pulumi.Input[bool], + has_symbol: pulumi.Input[bool], + has_uppercase: pulumi.Input[bool], + min_length: pulumi.Input[int], + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'hasLowercase' in kwargs: + has_lowercase = kwargs['hasLowercase'] + if 'hasNumber' in kwargs: + has_number = kwargs['hasNumber'] + if 'hasSymbol' in kwargs: + has_symbol = kwargs['hasSymbol'] + if 'hasUppercase' in kwargs: + has_uppercase = kwargs['hasUppercase'] + if 'minLength' in kwargs: + min_length = kwargs['minLength'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("has_lowercase", has_lowercase) + _setter("has_number", has_number) + _setter("has_symbol", has_symbol) + _setter("has_uppercase", has_uppercase) + _setter("min_length", min_length) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter(name="hasLowercase") @@ -128,18 +161,51 @@ def __init__(__self__, *, :param pulumi.Input[int] min_length: Minimal length for the password :param pulumi.Input[str] org_id: ID of the organization """ + _PasswordComplexityPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + has_lowercase=has_lowercase, + has_number=has_number, + has_symbol=has_symbol, + has_uppercase=has_uppercase, + min_length=min_length, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + has_lowercase: Optional[pulumi.Input[bool]] = None, + has_number: Optional[pulumi.Input[bool]] = None, + has_symbol: Optional[pulumi.Input[bool]] = None, + has_uppercase: Optional[pulumi.Input[bool]] = None, + min_length: Optional[pulumi.Input[int]] = None, + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'hasLowercase' in kwargs: + has_lowercase = kwargs['hasLowercase'] + if 'hasNumber' in kwargs: + has_number = kwargs['hasNumber'] + if 'hasSymbol' in kwargs: + has_symbol = kwargs['hasSymbol'] + if 'hasUppercase' in kwargs: + has_uppercase = kwargs['hasUppercase'] + if 'minLength' in kwargs: + min_length = kwargs['minLength'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if has_lowercase is not None: - pulumi.set(__self__, "has_lowercase", has_lowercase) + _setter("has_lowercase", has_lowercase) if has_number is not None: - pulumi.set(__self__, "has_number", has_number) + _setter("has_number", has_number) if has_symbol is not None: - pulumi.set(__self__, "has_symbol", has_symbol) + _setter("has_symbol", has_symbol) if has_uppercase is not None: - pulumi.set(__self__, "has_uppercase", has_uppercase) + _setter("has_uppercase", has_uppercase) if min_length is not None: - pulumi.set(__self__, "min_length", min_length) + _setter("min_length", min_length) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter(name="hasLowercase") @@ -287,6 +353,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PasswordComplexityPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/personal_access_token.py b/sdk/python/pulumiverse_zitadel/personal_access_token.py index 23b49d6..077aad7 100644 --- a/sdk/python/pulumiverse_zitadel/personal_access_token.py +++ b/sdk/python/pulumiverse_zitadel/personal_access_token.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['PersonalAccessTokenArgs', 'PersonalAccessToken'] @@ -23,11 +23,32 @@ def __init__(__self__, *, :param pulumi.Input[str] expiration_date: Expiration date of the token in the RFC3339 format :param pulumi.Input[str] org_id: ID of the organization """ - pulumi.set(__self__, "user_id", user_id) + PersonalAccessTokenArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + user_id=user_id, + expiration_date=expiration_date, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + user_id: pulumi.Input[str], + expiration_date: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'userId' in kwargs: + user_id = kwargs['userId'] + if 'expirationDate' in kwargs: + expiration_date = kwargs['expirationDate'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("user_id", user_id) if expiration_date is not None: - pulumi.set(__self__, "expiration_date", expiration_date) + _setter("expiration_date", expiration_date) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter(name="userId") @@ -80,14 +101,37 @@ def __init__(__self__, *, :param pulumi.Input[str] token: Value of the token :param pulumi.Input[str] user_id: ID of the user """ + _PersonalAccessTokenState._configure( + lambda key, value: pulumi.set(__self__, key, value), + expiration_date=expiration_date, + org_id=org_id, + token=token, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expiration_date: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + token: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'expirationDate' in kwargs: + expiration_date = kwargs['expirationDate'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if expiration_date is not None: - pulumi.set(__self__, "expiration_date", expiration_date) + _setter("expiration_date", expiration_date) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if token is not None: - pulumi.set(__self__, "token", token) + _setter("token", token) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="expirationDate") @@ -164,7 +208,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/personalAccessToken:PersonalAccessToken imported '123456789012345678:123456789012345678:123456789012345678:LHt79...' @@ -199,7 +243,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/personalAccessToken:PersonalAccessToken imported '123456789012345678:123456789012345678:123456789012345678:LHt79...' @@ -215,6 +259,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PersonalAccessTokenArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -238,6 +286,8 @@ def _internal_init(__self__, raise TypeError("Missing required property 'user_id'") __props__.__dict__["user_id"] = user_id __props__.__dict__["token"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["token"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(PersonalAccessToken, __self__).__init__( 'zitadel:index/personalAccessToken:PersonalAccessToken', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/privacy_policy.py b/sdk/python/pulumiverse_zitadel/privacy_policy.py index c72f845..5eb4e86 100644 --- a/sdk/python/pulumiverse_zitadel/privacy_policy.py +++ b/sdk/python/pulumiverse_zitadel/privacy_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['PrivacyPolicyArgs', 'PrivacyPolicy'] @@ -14,70 +14,103 @@ @pulumi.input_type class PrivacyPolicyArgs: def __init__(__self__, *, - help_link: pulumi.Input[str], - privacy_link: pulumi.Input[str], - support_email: pulumi.Input[str], - tos_link: pulumi.Input[str], - org_id: Optional[pulumi.Input[str]] = None): + help_link: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + privacy_link: Optional[pulumi.Input[str]] = None, + support_email: Optional[pulumi.Input[str]] = None, + tos_link: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a PrivacyPolicy resource. :param pulumi.Input[str] org_id: ID of the organization """ - pulumi.set(__self__, "help_link", help_link) - pulumi.set(__self__, "privacy_link", privacy_link) - pulumi.set(__self__, "support_email", support_email) - pulumi.set(__self__, "tos_link", tos_link) + PrivacyPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + help_link=help_link, + org_id=org_id, + privacy_link=privacy_link, + support_email=support_email, + tos_link=tos_link, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + help_link: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + privacy_link: Optional[pulumi.Input[str]] = None, + support_email: Optional[pulumi.Input[str]] = None, + tos_link: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'helpLink' in kwargs: + help_link = kwargs['helpLink'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'privacyLink' in kwargs: + privacy_link = kwargs['privacyLink'] + if 'supportEmail' in kwargs: + support_email = kwargs['supportEmail'] + if 'tosLink' in kwargs: + tos_link = kwargs['tosLink'] + + if help_link is not None: + _setter("help_link", help_link) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) + if privacy_link is not None: + _setter("privacy_link", privacy_link) + if support_email is not None: + _setter("support_email", support_email) + if tos_link is not None: + _setter("tos_link", tos_link) @property @pulumi.getter(name="helpLink") - def help_link(self) -> pulumi.Input[str]: + def help_link(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "help_link") @help_link.setter - def help_link(self, value: pulumi.Input[str]): + def help_link(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "help_link", value) + @property + @pulumi.getter(name="orgId") + def org_id(self) -> Optional[pulumi.Input[str]]: + """ + ID of the organization + """ + return pulumi.get(self, "org_id") + + @org_id.setter + def org_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "org_id", value) + @property @pulumi.getter(name="privacyLink") - def privacy_link(self) -> pulumi.Input[str]: + def privacy_link(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "privacy_link") @privacy_link.setter - def privacy_link(self, value: pulumi.Input[str]): + def privacy_link(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "privacy_link", value) @property @pulumi.getter(name="supportEmail") - def support_email(self) -> pulumi.Input[str]: + def support_email(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "support_email") @support_email.setter - def support_email(self, value: pulumi.Input[str]): + def support_email(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "support_email", value) @property @pulumi.getter(name="tosLink") - def tos_link(self) -> pulumi.Input[str]: + def tos_link(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "tos_link") @tos_link.setter - def tos_link(self, value: pulumi.Input[str]): + def tos_link(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "tos_link", value) - @property - @pulumi.getter(name="orgId") - def org_id(self) -> Optional[pulumi.Input[str]]: - """ - ID of the organization - """ - return pulumi.get(self, "org_id") - - @org_id.setter - def org_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "org_id", value) - @pulumi.input_type class _PrivacyPolicyState: @@ -91,16 +124,45 @@ def __init__(__self__, *, Input properties used for looking up and filtering PrivacyPolicy resources. :param pulumi.Input[str] org_id: ID of the organization """ + _PrivacyPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + help_link=help_link, + org_id=org_id, + privacy_link=privacy_link, + support_email=support_email, + tos_link=tos_link, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + help_link: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + privacy_link: Optional[pulumi.Input[str]] = None, + support_email: Optional[pulumi.Input[str]] = None, + tos_link: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'helpLink' in kwargs: + help_link = kwargs['helpLink'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'privacyLink' in kwargs: + privacy_link = kwargs['privacyLink'] + if 'supportEmail' in kwargs: + support_email = kwargs['supportEmail'] + if 'tosLink' in kwargs: + tos_link = kwargs['tosLink'] + if help_link is not None: - pulumi.set(__self__, "help_link", help_link) + _setter("help_link", help_link) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if privacy_link is not None: - pulumi.set(__self__, "privacy_link", privacy_link) + _setter("privacy_link", privacy_link) if support_email is not None: - pulumi.set(__self__, "support_email", support_email) + _setter("support_email", support_email) if tos_link is not None: - pulumi.set(__self__, "tos_link", tos_link) + _setter("tos_link", tos_link) @property @pulumi.getter(name="helpLink") @@ -181,7 +243,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + terraform The resource can be imported using the ID format `<[org_id]>`, e.g. ```sh $ pulumi import zitadel:index/privacyPolicy:PrivacyPolicy imported '123456789012345678' @@ -195,7 +257,7 @@ def __init__(__self__, @overload def __init__(__self__, resource_name: str, - args: PrivacyPolicyArgs, + args: Optional[PrivacyPolicyArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ Resource representing the custom privacy policy of an organization. @@ -216,7 +278,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<[org_id]>`, e.g. + terraform The resource can be imported using the ID format `<[org_id]>`, e.g. ```sh $ pulumi import zitadel:index/privacyPolicy:PrivacyPolicy imported '123456789012345678' @@ -232,6 +294,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PrivacyPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -251,18 +317,10 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = PrivacyPolicyArgs.__new__(PrivacyPolicyArgs) - if help_link is None and not opts.urn: - raise TypeError("Missing required property 'help_link'") __props__.__dict__["help_link"] = help_link __props__.__dict__["org_id"] = org_id - if privacy_link is None and not opts.urn: - raise TypeError("Missing required property 'privacy_link'") __props__.__dict__["privacy_link"] = privacy_link - if support_email is None and not opts.urn: - raise TypeError("Missing required property 'support_email'") __props__.__dict__["support_email"] = support_email - if tos_link is None and not opts.urn: - raise TypeError("Missing required property 'tos_link'") __props__.__dict__["tos_link"] = tos_link super(PrivacyPolicy, __self__).__init__( 'zitadel:index/privacyPolicy:PrivacyPolicy', @@ -301,7 +359,7 @@ def get(resource_name: str, @property @pulumi.getter(name="helpLink") - def help_link(self) -> pulumi.Output[str]: + def help_link(self) -> pulumi.Output[Optional[str]]: return pulumi.get(self, "help_link") @property @@ -314,16 +372,16 @@ def org_id(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="privacyLink") - def privacy_link(self) -> pulumi.Output[str]: + def privacy_link(self) -> pulumi.Output[Optional[str]]: return pulumi.get(self, "privacy_link") @property @pulumi.getter(name="supportEmail") - def support_email(self) -> pulumi.Output[str]: + def support_email(self) -> pulumi.Output[Optional[str]]: return pulumi.get(self, "support_email") @property @pulumi.getter(name="tosLink") - def tos_link(self) -> pulumi.Output[str]: + def tos_link(self) -> pulumi.Output[Optional[str]]: return pulumi.get(self, "tos_link") diff --git a/sdk/python/pulumiverse_zitadel/project.py b/sdk/python/pulumiverse_zitadel/project.py index 027e371..70eb02d 100644 --- a/sdk/python/pulumiverse_zitadel/project.py +++ b/sdk/python/pulumiverse_zitadel/project.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ProjectArgs', 'Project'] @@ -29,18 +29,49 @@ def __init__(__self__, *, :param pulumi.Input[bool] project_role_assertion: describes if roles of user should be added in token :param pulumi.Input[bool] project_role_check: ZITADEL checks if the user has at least one on this project """ + ProjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + has_project_check=has_project_check, + name=name, + org_id=org_id, + private_labeling_setting=private_labeling_setting, + project_role_assertion=project_role_assertion, + project_role_check=project_role_check, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + has_project_check: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + private_labeling_setting: Optional[pulumi.Input[str]] = None, + project_role_assertion: Optional[pulumi.Input[bool]] = None, + project_role_check: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'hasProjectCheck' in kwargs: + has_project_check = kwargs['hasProjectCheck'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'privateLabelingSetting' in kwargs: + private_labeling_setting = kwargs['privateLabelingSetting'] + if 'projectRoleAssertion' in kwargs: + project_role_assertion = kwargs['projectRoleAssertion'] + if 'projectRoleCheck' in kwargs: + project_role_check = kwargs['projectRoleCheck'] + if has_project_check is not None: - pulumi.set(__self__, "has_project_check", has_project_check) + _setter("has_project_check", has_project_check) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if private_labeling_setting is not None: - pulumi.set(__self__, "private_labeling_setting", private_labeling_setting) + _setter("private_labeling_setting", private_labeling_setting) if project_role_assertion is not None: - pulumi.set(__self__, "project_role_assertion", project_role_assertion) + _setter("project_role_assertion", project_role_assertion) if project_role_check is not None: - pulumi.set(__self__, "project_role_check", project_role_check) + _setter("project_role_check", project_role_check) @property @pulumi.getter(name="hasProjectCheck") @@ -135,20 +166,53 @@ def __init__(__self__, *, :param pulumi.Input[bool] project_role_check: ZITADEL checks if the user has at least one on this project :param pulumi.Input[str] state: State of the project """ + _ProjectState._configure( + lambda key, value: pulumi.set(__self__, key, value), + has_project_check=has_project_check, + name=name, + org_id=org_id, + private_labeling_setting=private_labeling_setting, + project_role_assertion=project_role_assertion, + project_role_check=project_role_check, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + has_project_check: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + private_labeling_setting: Optional[pulumi.Input[str]] = None, + project_role_assertion: Optional[pulumi.Input[bool]] = None, + project_role_check: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'hasProjectCheck' in kwargs: + has_project_check = kwargs['hasProjectCheck'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'privateLabelingSetting' in kwargs: + private_labeling_setting = kwargs['privateLabelingSetting'] + if 'projectRoleAssertion' in kwargs: + project_role_assertion = kwargs['projectRoleAssertion'] + if 'projectRoleCheck' in kwargs: + project_role_check = kwargs['projectRoleCheck'] + if has_project_check is not None: - pulumi.set(__self__, "has_project_check", has_project_check) + _setter("has_project_check", has_project_check) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if private_labeling_setting is not None: - pulumi.set(__self__, "private_labeling_setting", private_labeling_setting) + _setter("private_labeling_setting", private_labeling_setting) if project_role_assertion is not None: - pulumi.set(__self__, "project_role_assertion", project_role_assertion) + _setter("project_role_assertion", project_role_assertion) if project_role_check is not None: - pulumi.set(__self__, "project_role_check", project_role_check) + _setter("project_role_check", project_role_check) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="hasProjectCheck") @@ -266,7 +330,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/project:Project imported '123456789012345678:123456789012345678' @@ -306,7 +370,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/project:Project imported '123456789012345678:123456789012345678' @@ -322,6 +386,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProjectArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/project_grant.py b/sdk/python/pulumiverse_zitadel/project_grant.py index eb81094..219e70f 100644 --- a/sdk/python/pulumiverse_zitadel/project_grant.py +++ b/sdk/python/pulumiverse_zitadel/project_grant.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ProjectGrantArgs', 'ProjectGrant'] @@ -25,12 +25,37 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[Sequence[pulumi.Input[str]]] role_keys: List of roles granted """ - pulumi.set(__self__, "granted_org_id", granted_org_id) - pulumi.set(__self__, "project_id", project_id) + ProjectGrantArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + granted_org_id=granted_org_id, + project_id=project_id, + org_id=org_id, + role_keys=role_keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + granted_org_id: pulumi.Input[str], + project_id: pulumi.Input[str], + org_id: Optional[pulumi.Input[str]] = None, + role_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'grantedOrgId' in kwargs: + granted_org_id = kwargs['grantedOrgId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'roleKeys' in kwargs: + role_keys = kwargs['roleKeys'] + + _setter("granted_org_id", granted_org_id) + _setter("project_id", project_id) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if role_keys is not None: - pulumi.set(__self__, "role_keys", role_keys) + _setter("role_keys", role_keys) @property @pulumi.getter(name="grantedOrgId") @@ -95,14 +120,39 @@ def __init__(__self__, *, :param pulumi.Input[str] project_id: ID of the project :param pulumi.Input[Sequence[pulumi.Input[str]]] role_keys: List of roles granted """ + _ProjectGrantState._configure( + lambda key, value: pulumi.set(__self__, key, value), + granted_org_id=granted_org_id, + org_id=org_id, + project_id=project_id, + role_keys=role_keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + granted_org_id: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + role_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'grantedOrgId' in kwargs: + granted_org_id = kwargs['grantedOrgId'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'roleKeys' in kwargs: + role_keys = kwargs['roleKeys'] + if granted_org_id is not None: - pulumi.set(__self__, "granted_org_id", granted_org_id) + _setter("granted_org_id", granted_org_id) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if role_keys is not None: - pulumi.set(__self__, "role_keys", role_keys) + _setter("role_keys", role_keys) @property @pulumi.getter(name="grantedOrgId") @@ -181,7 +231,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/projectGrant:ProjectGrant imported '123456789012345678:123456789012345678:123456789012345678' @@ -218,7 +268,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/projectGrant:ProjectGrant imported '123456789012345678:123456789012345678:123456789012345678' @@ -234,6 +284,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProjectGrantArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/project_grant_member.py b/sdk/python/pulumiverse_zitadel/project_grant_member.py index a106bcb..8c14706 100644 --- a/sdk/python/pulumiverse_zitadel/project_grant_member.py +++ b/sdk/python/pulumiverse_zitadel/project_grant_member.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ProjectGrantMemberArgs', 'ProjectGrantMember'] @@ -27,12 +27,39 @@ def __init__(__self__, *, :param pulumi.Input[str] user_id: ID of the user :param pulumi.Input[str] org_id: ID of the organization """ - pulumi.set(__self__, "grant_id", grant_id) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "roles", roles) - pulumi.set(__self__, "user_id", user_id) + ProjectGrantMemberArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + grant_id=grant_id, + project_id=project_id, + roles=roles, + user_id=user_id, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + grant_id: pulumi.Input[str], + project_id: pulumi.Input[str], + roles: pulumi.Input[Sequence[pulumi.Input[str]]], + user_id: pulumi.Input[str], + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'grantId' in kwargs: + grant_id = kwargs['grantId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("grant_id", grant_id) + _setter("project_id", project_id) + _setter("roles", roles) + _setter("user_id", user_id) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter(name="grantId") @@ -111,16 +138,43 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: List of roles granted :param pulumi.Input[str] user_id: ID of the user """ + _ProjectGrantMemberState._configure( + lambda key, value: pulumi.set(__self__, key, value), + grant_id=grant_id, + org_id=org_id, + project_id=project_id, + roles=roles, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + grant_id: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'grantId' in kwargs: + grant_id = kwargs['grantId'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if grant_id is not None: - pulumi.set(__self__, "grant_id", grant_id) + _setter("grant_id", grant_id) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if roles is not None: - pulumi.set(__self__, "roles", roles) + _setter("roles", roles) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="grantId") @@ -213,7 +267,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/projectGrantMember:ProjectGrantMember imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678' @@ -252,7 +306,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/projectGrantMember:ProjectGrantMember imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678' @@ -268,6 +322,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProjectGrantMemberArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/project_member.py b/sdk/python/pulumiverse_zitadel/project_member.py index 9bccb5d..ac88849 100644 --- a/sdk/python/pulumiverse_zitadel/project_member.py +++ b/sdk/python/pulumiverse_zitadel/project_member.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ProjectMemberArgs', 'ProjectMember'] @@ -25,11 +25,34 @@ def __init__(__self__, *, :param pulumi.Input[str] user_id: ID of the user :param pulumi.Input[str] org_id: ID of the organization """ - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "roles", roles) - pulumi.set(__self__, "user_id", user_id) + ProjectMemberArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + project_id=project_id, + roles=roles, + user_id=user_id, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + project_id: pulumi.Input[str], + roles: pulumi.Input[Sequence[pulumi.Input[str]]], + user_id: pulumi.Input[str], + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("project_id", project_id) + _setter("roles", roles) + _setter("user_id", user_id) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter(name="projectId") @@ -94,14 +117,37 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: List of roles granted :param pulumi.Input[str] user_id: ID of the user """ + _ProjectMemberState._configure( + lambda key, value: pulumi.set(__self__, key, value), + org_id=org_id, + project_id=project_id, + roles=roles, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + org_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if roles is not None: - pulumi.set(__self__, "roles", roles) + _setter("roles", roles) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="orgId") @@ -180,7 +226,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/projectMember:ProjectMember imported '123456789012345678:123456789012345678:123456789012345678' @@ -217,7 +263,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/projectMember:ProjectMember imported '123456789012345678:123456789012345678:123456789012345678' @@ -233,6 +279,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProjectMemberArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/project_role.py b/sdk/python/pulumiverse_zitadel/project_role.py index 7852156..18a1310 100644 --- a/sdk/python/pulumiverse_zitadel/project_role.py +++ b/sdk/python/pulumiverse_zitadel/project_role.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ProjectRoleArgs', 'ProjectRole'] @@ -27,13 +27,40 @@ def __init__(__self__, *, :param pulumi.Input[str] group: Group used for project role :param pulumi.Input[str] org_id: ID of the organization """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "role_key", role_key) + ProjectRoleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + project_id=project_id, + role_key=role_key, + group=group, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: pulumi.Input[str], + project_id: pulumi.Input[str], + role_key: pulumi.Input[str], + group: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'displayName' in kwargs: + display_name = kwargs['displayName'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'roleKey' in kwargs: + role_key = kwargs['roleKey'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("display_name", display_name) + _setter("project_id", project_id) + _setter("role_key", role_key) if group is not None: - pulumi.set(__self__, "group", group) + _setter("group", group) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter(name="displayName") @@ -112,16 +139,43 @@ def __init__(__self__, *, :param pulumi.Input[str] project_id: ID of the project :param pulumi.Input[str] role_key: Key used for project role """ + _ProjectRoleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + group=group, + org_id=org_id, + project_id=project_id, + role_key=role_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + group: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + role_key: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'displayName' in kwargs: + display_name = kwargs['displayName'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'roleKey' in kwargs: + role_key = kwargs['roleKey'] + if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if group is not None: - pulumi.set(__self__, "group", group) + _setter("group", group) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if role_key is not None: - pulumi.set(__self__, "role_key", role_key) + _setter("role_key", role_key) @property @pulumi.getter(name="displayName") @@ -214,7 +268,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/projectRole:ProjectRole imported '123456789012345678:my-role-key:123456789012345678' @@ -253,7 +307,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/projectRole:ProjectRole imported '123456789012345678:my-role-key:123456789012345678' @@ -269,6 +323,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProjectRoleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/provider.py b/sdk/python/pulumiverse_zitadel/provider.py index a4b5707..f9c69e9 100644 --- a/sdk/python/pulumiverse_zitadel/provider.py +++ b/sdk/python/pulumiverse_zitadel/provider.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ProviderArgs', 'Provider'] @@ -30,17 +30,42 @@ def __init__(__self__, *, :param pulumi.Input[str] port: Used port if not the default ports 80 or 443 are configured :param pulumi.Input[str] token: Path to the file containing credentials to connect to ZITADEL """ - pulumi.set(__self__, "domain", domain) + ProviderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain=domain, + insecure=insecure, + jwt_profile_file=jwt_profile_file, + jwt_profile_json=jwt_profile_json, + port=port, + token=token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain: pulumi.Input[str], + insecure: Optional[pulumi.Input[bool]] = None, + jwt_profile_file: Optional[pulumi.Input[str]] = None, + jwt_profile_json: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[str]] = None, + token: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'jwtProfileFile' in kwargs: + jwt_profile_file = kwargs['jwtProfileFile'] + if 'jwtProfileJson' in kwargs: + jwt_profile_json = kwargs['jwtProfileJson'] + + _setter("domain", domain) if insecure is not None: - pulumi.set(__self__, "insecure", insecure) + _setter("insecure", insecure) if jwt_profile_file is not None: - pulumi.set(__self__, "jwt_profile_file", jwt_profile_file) + _setter("jwt_profile_file", jwt_profile_file) if jwt_profile_json is not None: - pulumi.set(__self__, "jwt_profile_json", jwt_profile_json) + _setter("jwt_profile_json", jwt_profile_json) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if token is not None: - pulumi.set(__self__, "token", token) + _setter("token", token) @property @pulumi.getter @@ -166,6 +191,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProviderArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/sms_provider_twilio.py b/sdk/python/pulumiverse_zitadel/sms_provider_twilio.py index 52f2112..e6d4582 100644 --- a/sdk/python/pulumiverse_zitadel/sms_provider_twilio.py +++ b/sdk/python/pulumiverse_zitadel/sms_provider_twilio.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['SmsProviderTwilioArgs', 'SmsProviderTwilio'] @@ -23,9 +23,26 @@ def __init__(__self__, *, :param pulumi.Input[str] sid: SID used to communicate with Twilio. :param pulumi.Input[str] token: Token used to communicate with Twilio. """ - pulumi.set(__self__, "sender_number", sender_number) - pulumi.set(__self__, "sid", sid) - pulumi.set(__self__, "token", token) + SmsProviderTwilioArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + sender_number=sender_number, + sid=sid, + token=token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + sender_number: pulumi.Input[str], + sid: pulumi.Input[str], + token: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'senderNumber' in kwargs: + sender_number = kwargs['senderNumber'] + + _setter("sender_number", sender_number) + _setter("sid", sid) + _setter("token", token) @property @pulumi.getter(name="senderNumber") @@ -76,12 +93,29 @@ def __init__(__self__, *, :param pulumi.Input[str] sid: SID used to communicate with Twilio. :param pulumi.Input[str] token: Token used to communicate with Twilio. """ + _SmsProviderTwilioState._configure( + lambda key, value: pulumi.set(__self__, key, value), + sender_number=sender_number, + sid=sid, + token=token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + sender_number: Optional[pulumi.Input[str]] = None, + sid: Optional[pulumi.Input[str]] = None, + token: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'senderNumber' in kwargs: + sender_number = kwargs['senderNumber'] + if sender_number is not None: - pulumi.set(__self__, "sender_number", sender_number) + _setter("sender_number", sender_number) if sid is not None: - pulumi.set(__self__, "sid", sid) + _setter("sid", sid) if token is not None: - pulumi.set(__self__, "token", token) + _setter("token", token) @property @pulumi.getter(name="senderNumber") @@ -146,7 +180,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/smsProviderTwilio:SmsProviderTwilio imported '123456789012345678:12345678901234567890123456abcdef' @@ -181,7 +215,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/smsProviderTwilio:SmsProviderTwilio imported '123456789012345678:12345678901234567890123456abcdef' @@ -197,6 +231,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SmsProviderTwilioArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -222,7 +260,9 @@ def _internal_init(__self__, __props__.__dict__["sid"] = sid if token is None and not opts.urn: raise TypeError("Missing required property 'token'") - __props__.__dict__["token"] = token + __props__.__dict__["token"] = None if token is None else pulumi.Output.secret(token) + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["token"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(SmsProviderTwilio, __self__).__init__( 'zitadel:index/smsProviderTwilio:SmsProviderTwilio', resource_name, diff --git a/sdk/python/pulumiverse_zitadel/smtp_config.py b/sdk/python/pulumiverse_zitadel/smtp_config.py index 1c5213b..c41d7d3 100644 --- a/sdk/python/pulumiverse_zitadel/smtp_config.py +++ b/sdk/python/pulumiverse_zitadel/smtp_config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['SmtpConfigArgs', 'SmtpConfig'] @@ -18,6 +18,7 @@ def __init__(__self__, *, sender_address: pulumi.Input[str], sender_name: pulumi.Input[str], password: Optional[pulumi.Input[str]] = None, + reply_to_address: Optional[pulumi.Input[str]] = None, tls: Optional[pulumi.Input[bool]] = None, user: Optional[pulumi.Input[str]] = None): """ @@ -26,18 +27,50 @@ def __init__(__self__, *, :param pulumi.Input[str] sender_address: Address used to send emails. :param pulumi.Input[str] sender_name: Sender name used to send emails. :param pulumi.Input[str] password: Password used to communicate with your SMTP server. + :param pulumi.Input[str] reply_to_address: Address to reply to. :param pulumi.Input[bool] tls: TLS used to communicate with your SMTP server. :param pulumi.Input[str] user: User used to communicate with your SMTP server. """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "sender_address", sender_address) - pulumi.set(__self__, "sender_name", sender_name) + SmtpConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + sender_address=sender_address, + sender_name=sender_name, + password=password, + reply_to_address=reply_to_address, + tls=tls, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: pulumi.Input[str], + sender_address: pulumi.Input[str], + sender_name: pulumi.Input[str], + password: Optional[pulumi.Input[str]] = None, + reply_to_address: Optional[pulumi.Input[str]] = None, + tls: Optional[pulumi.Input[bool]] = None, + user: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'senderAddress' in kwargs: + sender_address = kwargs['senderAddress'] + if 'senderName' in kwargs: + sender_name = kwargs['senderName'] + if 'replyToAddress' in kwargs: + reply_to_address = kwargs['replyToAddress'] + + _setter("host", host) + _setter("sender_address", sender_address) + _setter("sender_name", sender_name) if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) + if reply_to_address is not None: + _setter("reply_to_address", reply_to_address) if tls is not None: - pulumi.set(__self__, "tls", tls) + _setter("tls", tls) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter @@ -87,6 +120,18 @@ def password(self) -> Optional[pulumi.Input[str]]: def password(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "password", value) + @property + @pulumi.getter(name="replyToAddress") + def reply_to_address(self) -> Optional[pulumi.Input[str]]: + """ + Address to reply to. + """ + return pulumi.get(self, "reply_to_address") + + @reply_to_address.setter + def reply_to_address(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "reply_to_address", value) + @property @pulumi.getter def tls(self) -> Optional[pulumi.Input[bool]]: @@ -117,6 +162,7 @@ class _SmtpConfigState: def __init__(__self__, *, host: Optional[pulumi.Input[str]] = None, password: Optional[pulumi.Input[str]] = None, + reply_to_address: Optional[pulumi.Input[str]] = None, sender_address: Optional[pulumi.Input[str]] = None, sender_name: Optional[pulumi.Input[str]] = None, tls: Optional[pulumi.Input[bool]] = None, @@ -125,23 +171,55 @@ def __init__(__self__, *, Input properties used for looking up and filtering SmtpConfig resources. :param pulumi.Input[str] host: Host and port address to your SMTP server. :param pulumi.Input[str] password: Password used to communicate with your SMTP server. + :param pulumi.Input[str] reply_to_address: Address to reply to. :param pulumi.Input[str] sender_address: Address used to send emails. :param pulumi.Input[str] sender_name: Sender name used to send emails. :param pulumi.Input[bool] tls: TLS used to communicate with your SMTP server. :param pulumi.Input[str] user: User used to communicate with your SMTP server. """ + _SmtpConfigState._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + password=password, + reply_to_address=reply_to_address, + sender_address=sender_address, + sender_name=sender_name, + tls=tls, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + reply_to_address: Optional[pulumi.Input[str]] = None, + sender_address: Optional[pulumi.Input[str]] = None, + sender_name: Optional[pulumi.Input[str]] = None, + tls: Optional[pulumi.Input[bool]] = None, + user: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'replyToAddress' in kwargs: + reply_to_address = kwargs['replyToAddress'] + if 'senderAddress' in kwargs: + sender_address = kwargs['senderAddress'] + if 'senderName' in kwargs: + sender_name = kwargs['senderName'] + if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) + if reply_to_address is not None: + _setter("reply_to_address", reply_to_address) if sender_address is not None: - pulumi.set(__self__, "sender_address", sender_address) + _setter("sender_address", sender_address) if sender_name is not None: - pulumi.set(__self__, "sender_name", sender_name) + _setter("sender_name", sender_name) if tls is not None: - pulumi.set(__self__, "tls", tls) + _setter("tls", tls) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter @@ -167,6 +245,18 @@ def password(self) -> Optional[pulumi.Input[str]]: def password(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "password", value) + @property + @pulumi.getter(name="replyToAddress") + def reply_to_address(self) -> Optional[pulumi.Input[str]]: + """ + Address to reply to. + """ + return pulumi.get(self, "reply_to_address") + + @reply_to_address.setter + def reply_to_address(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "reply_to_address", value) + @property @pulumi.getter(name="senderAddress") def sender_address(self) -> Optional[pulumi.Input[str]]: @@ -223,6 +313,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None, host: Optional[pulumi.Input[str]] = None, password: Optional[pulumi.Input[str]] = None, + reply_to_address: Optional[pulumi.Input[str]] = None, sender_address: Optional[pulumi.Input[str]] = None, sender_name: Optional[pulumi.Input[str]] = None, tls: Optional[pulumi.Input[bool]] = None, @@ -240,6 +331,7 @@ def __init__(__self__, default = zitadel.SmtpConfig("default", host="localhost:25", password="secret_password", + reply_to_address="replyto@example.com", sender_address="sender@example.com", sender_name="no-reply", tls=True, @@ -248,7 +340,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<[password]>`, e.g. + terraform The resource can be imported using the ID format `<[password]>`, e.g. ```sh $ pulumi import zitadel:index/smtpConfig:SmtpConfig imported 'p4ssw0rd' @@ -258,6 +350,7 @@ def __init__(__self__, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] host: Host and port address to your SMTP server. :param pulumi.Input[str] password: Password used to communicate with your SMTP server. + :param pulumi.Input[str] reply_to_address: Address to reply to. :param pulumi.Input[str] sender_address: Address used to send emails. :param pulumi.Input[str] sender_name: Sender name used to send emails. :param pulumi.Input[bool] tls: TLS used to communicate with your SMTP server. @@ -281,6 +374,7 @@ def __init__(__self__, default = zitadel.SmtpConfig("default", host="localhost:25", password="secret_password", + reply_to_address="replyto@example.com", sender_address="sender@example.com", sender_name="no-reply", tls=True, @@ -289,7 +383,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format `<[password]>`, e.g. + terraform The resource can be imported using the ID format `<[password]>`, e.g. ```sh $ pulumi import zitadel:index/smtpConfig:SmtpConfig imported 'p4ssw0rd' @@ -305,6 +399,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SmtpConfigArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -312,6 +410,7 @@ def _internal_init(__self__, opts: Optional[pulumi.ResourceOptions] = None, host: Optional[pulumi.Input[str]] = None, password: Optional[pulumi.Input[str]] = None, + reply_to_address: Optional[pulumi.Input[str]] = None, sender_address: Optional[pulumi.Input[str]] = None, sender_name: Optional[pulumi.Input[str]] = None, tls: Optional[pulumi.Input[bool]] = None, @@ -328,7 +427,8 @@ def _internal_init(__self__, if host is None and not opts.urn: raise TypeError("Missing required property 'host'") __props__.__dict__["host"] = host - __props__.__dict__["password"] = password + __props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password) + __props__.__dict__["reply_to_address"] = reply_to_address if sender_address is None and not opts.urn: raise TypeError("Missing required property 'sender_address'") __props__.__dict__["sender_address"] = sender_address @@ -337,6 +437,8 @@ def _internal_init(__self__, __props__.__dict__["sender_name"] = sender_name __props__.__dict__["tls"] = tls __props__.__dict__["user"] = user + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(SmtpConfig, __self__).__init__( 'zitadel:index/smtpConfig:SmtpConfig', resource_name, @@ -349,6 +451,7 @@ def get(resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, host: Optional[pulumi.Input[str]] = None, password: Optional[pulumi.Input[str]] = None, + reply_to_address: Optional[pulumi.Input[str]] = None, sender_address: Optional[pulumi.Input[str]] = None, sender_name: Optional[pulumi.Input[str]] = None, tls: Optional[pulumi.Input[bool]] = None, @@ -362,6 +465,7 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] host: Host and port address to your SMTP server. :param pulumi.Input[str] password: Password used to communicate with your SMTP server. + :param pulumi.Input[str] reply_to_address: Address to reply to. :param pulumi.Input[str] sender_address: Address used to send emails. :param pulumi.Input[str] sender_name: Sender name used to send emails. :param pulumi.Input[bool] tls: TLS used to communicate with your SMTP server. @@ -373,6 +477,7 @@ def get(resource_name: str, __props__.__dict__["host"] = host __props__.__dict__["password"] = password + __props__.__dict__["reply_to_address"] = reply_to_address __props__.__dict__["sender_address"] = sender_address __props__.__dict__["sender_name"] = sender_name __props__.__dict__["tls"] = tls @@ -395,6 +500,14 @@ def password(self) -> pulumi.Output[Optional[str]]: """ return pulumi.get(self, "password") + @property + @pulumi.getter(name="replyToAddress") + def reply_to_address(self) -> pulumi.Output[Optional[str]]: + """ + Address to reply to. + """ + return pulumi.get(self, "reply_to_address") + @property @pulumi.getter(name="senderAddress") def sender_address(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumiverse_zitadel/trigger_actions.py b/sdk/python/pulumiverse_zitadel/trigger_actions.py index c3ec6eb..9d6d4a8 100644 --- a/sdk/python/pulumiverse_zitadel/trigger_actions.py +++ b/sdk/python/pulumiverse_zitadel/trigger_actions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['TriggerActionsArgs', 'TriggerActions'] @@ -25,11 +25,36 @@ def __init__(__self__, *, :param pulumi.Input[str] trigger_type: Trigger type on when the actions get triggered, supported values: , TRIGGER*TYPE*POST*AUTHENTICATION, TRIGGER*TYPE*PRE*CREATION, TRIGGER*TYPE*POST*CREATION, TRIGGER*TYPE*PRE*USERINFO_CREATION :param pulumi.Input[str] org_id: ID of the organization """ - pulumi.set(__self__, "action_ids", action_ids) - pulumi.set(__self__, "flow_type", flow_type) - pulumi.set(__self__, "trigger_type", trigger_type) + TriggerActionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_ids=action_ids, + flow_type=flow_type, + trigger_type=trigger_type, + org_id=org_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_ids: pulumi.Input[Sequence[pulumi.Input[str]]], + flow_type: pulumi.Input[str], + trigger_type: pulumi.Input[str], + org_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'actionIds' in kwargs: + action_ids = kwargs['actionIds'] + if 'flowType' in kwargs: + flow_type = kwargs['flowType'] + if 'triggerType' in kwargs: + trigger_type = kwargs['triggerType'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + + _setter("action_ids", action_ids) + _setter("flow_type", flow_type) + _setter("trigger_type", trigger_type) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) @property @pulumi.getter(name="actionIds") @@ -94,14 +119,39 @@ def __init__(__self__, *, :param pulumi.Input[str] org_id: ID of the organization :param pulumi.Input[str] trigger_type: Trigger type on when the actions get triggered, supported values: , TRIGGER*TYPE*POST*AUTHENTICATION, TRIGGER*TYPE*PRE*CREATION, TRIGGER*TYPE*POST*CREATION, TRIGGER*TYPE*PRE*USERINFO_CREATION """ + _TriggerActionsState._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_ids=action_ids, + flow_type=flow_type, + org_id=org_id, + trigger_type=trigger_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + flow_type: Optional[pulumi.Input[str]] = None, + org_id: Optional[pulumi.Input[str]] = None, + trigger_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'actionIds' in kwargs: + action_ids = kwargs['actionIds'] + if 'flowType' in kwargs: + flow_type = kwargs['flowType'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'triggerType' in kwargs: + trigger_type = kwargs['triggerType'] + if action_ids is not None: - pulumi.set(__self__, "action_ids", action_ids) + _setter("action_ids", action_ids) if flow_type is not None: - pulumi.set(__self__, "flow_type", flow_type) + _setter("flow_type", flow_type) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if trigger_type is not None: - pulumi.set(__self__, "trigger_type", trigger_type) + _setter("trigger_type", trigger_type) @property @pulumi.getter(name="actionIds") @@ -180,7 +230,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/triggerActions:TriggerActions imported 'FLOW_TYPE_EXTERNAL_AUTHENTICATION:TRIGGER_TYPE_POST_CREATION:123456789012345678' @@ -217,7 +267,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/triggerActions:TriggerActions imported 'FLOW_TYPE_EXTERNAL_AUTHENTICATION:TRIGGER_TYPE_POST_CREATION:123456789012345678' @@ -233,6 +283,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + TriggerActionsArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_zitadel/user_grant.py b/sdk/python/pulumiverse_zitadel/user_grant.py index 8407924..81979b6 100644 --- a/sdk/python/pulumiverse_zitadel/user_grant.py +++ b/sdk/python/pulumiverse_zitadel/user_grant.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['UserGrantArgs', 'UserGrant'] @@ -27,15 +27,44 @@ def __init__(__self__, *, :param pulumi.Input[str] project_id: ID of the project :param pulumi.Input[Sequence[pulumi.Input[str]]] role_keys: List of roles granted """ - pulumi.set(__self__, "user_id", user_id) + UserGrantArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + user_id=user_id, + org_id=org_id, + project_grant_id=project_grant_id, + project_id=project_id, + role_keys=role_keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + user_id: pulumi.Input[str], + org_id: Optional[pulumi.Input[str]] = None, + project_grant_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + role_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'userId' in kwargs: + user_id = kwargs['userId'] + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'projectGrantId' in kwargs: + project_grant_id = kwargs['projectGrantId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'roleKeys' in kwargs: + role_keys = kwargs['roleKeys'] + + _setter("user_id", user_id) if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if project_grant_id is not None: - pulumi.set(__self__, "project_grant_id", project_grant_id) + _setter("project_grant_id", project_grant_id) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if role_keys is not None: - pulumi.set(__self__, "role_keys", role_keys) + _setter("role_keys", role_keys) @property @pulumi.getter(name="userId") @@ -114,16 +143,45 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] role_keys: List of roles granted :param pulumi.Input[str] user_id: ID of the user """ + _UserGrantState._configure( + lambda key, value: pulumi.set(__self__, key, value), + org_id=org_id, + project_grant_id=project_grant_id, + project_id=project_id, + role_keys=role_keys, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + org_id: Optional[pulumi.Input[str]] = None, + project_grant_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + role_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None, + **kwargs): + if 'orgId' in kwargs: + org_id = kwargs['orgId'] + if 'projectGrantId' in kwargs: + project_grant_id = kwargs['projectGrantId'] + if 'projectId' in kwargs: + project_id = kwargs['projectId'] + if 'roleKeys' in kwargs: + role_keys = kwargs['roleKeys'] + if 'userId' in kwargs: + user_id = kwargs['userId'] + if org_id is not None: - pulumi.set(__self__, "org_id", org_id) + _setter("org_id", org_id) if project_grant_id is not None: - pulumi.set(__self__, "project_grant_id", project_grant_id) + _setter("project_grant_id", project_grant_id) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if role_keys is not None: - pulumi.set(__self__, "role_keys", role_keys) + _setter("role_keys", role_keys) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="orgId") @@ -215,7 +273,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/userGrant:UserGrant imported '123456789012345678:123456789012345678:123456789012345678' @@ -253,7 +311,7 @@ def __init__(__self__, ## Import - terraform # The resource can be imported using the ID format ``, e.g. + terraform The resource can be imported using the ID format ``, e.g. ```sh $ pulumi import zitadel:index/userGrant:UserGrant imported '123456789012345678:123456789012345678:123456789012345678' @@ -269,6 +327,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + UserGrantArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/setup.py b/sdk/python/setup.py index 9031871..449efe6 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -9,26 +9,6 @@ VERSION = "0.0.0" -PLUGIN_VERSION = "0.0.0" - -class InstallPluginCommand(install): - def run(self): - install.run(self) - try: - check_call(['pulumi', 'plugin', 'install', 'resource', 'zitadel', PLUGIN_VERSION, '--server', 'github://api.github.com/pulumiverse']) - except OSError as error: - if error.errno == errno.ENOENT: - print(f""" - There was an error installing the zitadel resource provider plugin. - It looks like `pulumi` is not installed on your system. - Please visit https://pulumi.com/ to install the Pulumi CLI. - You may try manually installing the plugin by running - `pulumi plugin install resource zitadel {PLUGIN_VERSION}` - """) - else: - raise - - def readme(): try: with open('README.md', encoding='utf-8') as f: @@ -38,13 +18,11 @@ def readme(): setup(name='pulumiverse_zitadel', + python_requires='>=3.7', version=VERSION, description="A Pulumi package for creating and managing zitadel cloud resources.", long_description=readme(), long_description_content_type='text/markdown', - cmdclass={ - 'install': InstallPluginCommand, - }, keywords='pulumi zitadel category/cloud', url='https://www.pulumi.com', project_urls={