@jjrawlins/cdk-iam-policy-builder-helper 0.0.106 → 0.0.108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +4 -4
- package/cdkiampolicybuilderhelper/jsii/jsii.go +2 -2
- package/cdkiampolicybuilderhelper/version +1 -1
- package/lib/constructs/Actions.d.ts +22 -2
- package/lib/constructs/Actions.js +23 -3
- package/lib/constructs/ManagedPolicies.d.ts +16 -0
- package/lib/constructs/ManagedPolicies.js +17 -1
- package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +1727 -1132
- package/node_modules/@aws-sdk/client-iam/dist-cjs/runtimeConfig.shared.js +7 -6
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AcceptDelegationRequestCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AddClientIDToOpenIDConnectProviderCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AddRoleToInstanceProfileCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AddUserToGroupCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AssociateDelegationRequestCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AttachGroupPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AttachRolePolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AttachUserPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ChangePasswordCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateAccessKeyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateAccountAliasCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateDelegationRequestCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateGroupCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateInstanceProfileCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateLoginProfileCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateOpenIDConnectProviderCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreatePolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreatePolicyVersionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateRoleCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateSAMLProviderCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateServiceLinkedRoleCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateServiceSpecificCredentialCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateUserCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/CreateVirtualMFADeviceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeactivateMFADeviceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteAccessKeyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteAccountAliasCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteAccountPasswordPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteGroupCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteGroupPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteInstanceProfileCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteLoginProfileCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteOpenIDConnectProviderCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeletePolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeletePolicyVersionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteRoleCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteRolePermissionsBoundaryCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteRolePolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteSAMLProviderCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteSSHPublicKeyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteServerCertificateCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteServiceLinkedRoleCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteServiceSpecificCredentialCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteSigningCertificateCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteUserCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteUserPermissionsBoundaryCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteUserPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DeleteVirtualMFADeviceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DetachGroupPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DetachRolePolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DetachUserPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DisableOrganizationsRootCredentialsManagementCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DisableOrganizationsRootSessionsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/DisableOutboundWebIdentityFederationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/EnableMFADeviceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/EnableOrganizationsRootCredentialsManagementCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/EnableOrganizationsRootSessionsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/EnableOutboundWebIdentityFederationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GenerateCredentialReportCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GenerateOrganizationsAccessReportCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GenerateServiceLastAccessedDetailsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetAccessKeyLastUsedCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetAccountAuthorizationDetailsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetAccountPasswordPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetAccountSummaryCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetContextKeysForCustomPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetContextKeysForPrincipalPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetCredentialReportCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetDelegationRequestCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetGroupCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetGroupPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetHumanReadableSummaryCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetInstanceProfileCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetLoginProfileCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetMFADeviceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetOpenIDConnectProviderCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetOrganizationsAccessReportCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetOutboundWebIdentityFederationInfoCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetPolicyVersionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetRoleCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetRolePolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetSAMLProviderCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetSSHPublicKeyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetServerCertificateCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetServiceLastAccessedDetailsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetServiceLinkedRoleDeletionStatusCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetUserCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetUserPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListAccessKeysCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListAccountAliasesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListAttachedGroupPoliciesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListAttachedRolePoliciesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListAttachedUserPoliciesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListDelegationRequestsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListEntitiesForPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListGroupPoliciesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListGroupsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListGroupsForUserCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListInstanceProfileTagsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListInstanceProfilesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListInstanceProfilesForRoleCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListMFADeviceTagsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListMFADevicesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListOpenIDConnectProviderTagsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListOpenIDConnectProvidersCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListOrganizationsFeaturesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListPoliciesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListPoliciesGrantingServiceAccessCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListPolicyTagsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListPolicyVersionsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListRolePoliciesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListRoleTagsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListRolesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListSAMLProviderTagsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListSAMLProvidersCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListSSHPublicKeysCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListServerCertificateTagsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListServerCertificatesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListServiceSpecificCredentialsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListSigningCertificatesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListUserPoliciesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListUserTagsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListUsersCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListVirtualMFADevicesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/PutGroupPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/PutRolePermissionsBoundaryCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/PutRolePolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/PutUserPermissionsBoundaryCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/PutUserPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/RejectDelegationRequestCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/RemoveClientIDFromOpenIDConnectProviderCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/RemoveRoleFromInstanceProfileCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/RemoveUserFromGroupCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ResetServiceSpecificCredentialCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ResyncMFADeviceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/SendDelegationTokenCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/SetDefaultPolicyVersionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/SetSecurityTokenServicePreferencesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/SimulateCustomPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/SimulatePrincipalPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/TagInstanceProfileCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/TagMFADeviceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/TagOpenIDConnectProviderCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/TagPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/TagRoleCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/TagSAMLProviderCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/TagServerCertificateCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/TagUserCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UntagInstanceProfileCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UntagMFADeviceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UntagOpenIDConnectProviderCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UntagPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UntagRoleCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UntagSAMLProviderCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UntagServerCertificateCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UntagUserCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateAccessKeyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateAccountPasswordPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateAssumeRolePolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateDelegationRequestCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateGroupCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateLoginProfileCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateOpenIDConnectProviderThumbprintCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateRoleCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateRoleDescriptionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateSAMLProviderCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateSSHPublicKeyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateServerCertificateCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateServiceSpecificCredentialCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateSigningCertificateCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateUserCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UploadSSHPublicKeyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UploadServerCertificateCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UploadSigningCertificateCommand.js +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/runtimeConfig.shared.js +7 -6
- package/node_modules/@aws-sdk/client-iam/dist-es/schemas/schemas_0.js +942 -877
- package/node_modules/@aws-sdk/client-iam/dist-types/IAMClient.d.ts +1 -10
- package/node_modules/@aws-sdk/client-iam/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.d.ts +6 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.native.d.ts +6 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/schemas/schemas_0.d.ts +531 -597
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAMClient.d.ts +0 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/schemas/schemas_0.d.ts +530 -598
- package/node_modules/@aws-sdk/client-iam/package.json +35 -35
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +78 -52
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +6 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +6 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +46 -39
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +1 -10
- package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +6 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +6 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/schemas/schemas_0.d.ts +20 -26
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/schemas/schemas_0.d.ts +19 -27
- package/node_modules/@aws-sdk/client-sso/package.json +33 -33
- package/node_modules/@aws-sdk/core/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-http/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +22 -24
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +3 -10
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +4 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +2 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveLoginCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +5 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveWebIdentityCredentials.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -15
- package/node_modules/@aws-sdk/credential-provider-login/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-node/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-process/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +5 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-host-header/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +8 -8
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +48 -37
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +6 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +88 -66
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +6 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +82 -62
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -6
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +6 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +24 -24
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +6 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +44 -37
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +7 -6
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +39 -39
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +1 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +6 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +12 -13
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +1 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +6 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +16 -22
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +1 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +6 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +20 -26
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +0 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +9 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +11 -13
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +0 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +9 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +15 -22
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +0 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +9 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +19 -27
- package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +6 -13
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +2 -9
- package/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +3 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +2 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +3 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +3 -1
- package/node_modules/@aws-sdk/token-providers/package.json +8 -8
- package/node_modules/@aws-sdk/types/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
- package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +10 -38
- package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +6 -6
- package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +5 -5
- package/node_modules/@smithy/core/package.json +10 -8
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +11 -3
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +10 -2
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/createConfigValueProvider.d.ts +2 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/createConfigValueProvider.d.ts +2 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +6 -0
- package/node_modules/@smithy/smithy-client/dist-es/client.js +6 -0
- package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +33 -7
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +33 -7
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +6 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/package.json +3 -3
|
@@ -57,7 +57,7 @@ const isCredentialSourceProfile = (arg, { profile, logger }) => {
|
|
|
57
57
|
}
|
|
58
58
|
return withProviderProfile;
|
|
59
59
|
};
|
|
60
|
-
const resolveAssumeRoleCredentials = async (profileName, profiles, options, visitedProfiles = {}, resolveProfileData) => {
|
|
60
|
+
const resolveAssumeRoleCredentials = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, resolveProfileData) => {
|
|
61
61
|
options.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");
|
|
62
62
|
const profileData = profiles[profileName];
|
|
63
63
|
const { source_profile, region } = profileData;
|
|
@@ -67,8 +67,9 @@ const resolveAssumeRoleCredentials = async (profileName, profiles, options, visi
|
|
|
67
67
|
...options.clientConfig,
|
|
68
68
|
credentialProviderLogger: options.logger,
|
|
69
69
|
parentClientConfig: {
|
|
70
|
+
...callerClientConfig,
|
|
70
71
|
...options?.parentClientConfig,
|
|
71
|
-
region: region ?? options?.parentClientConfig?.region,
|
|
72
|
+
region: region ?? options?.parentClientConfig?.region ?? callerClientConfig?.region,
|
|
72
73
|
},
|
|
73
74
|
}, options.clientPlugins);
|
|
74
75
|
}
|
|
@@ -79,7 +80,7 @@ const resolveAssumeRoleCredentials = async (profileName, profiles, options, visi
|
|
|
79
80
|
}
|
|
80
81
|
options.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`);
|
|
81
82
|
const sourceCredsProvider = source_profile
|
|
82
|
-
? resolveProfileData(source_profile, profiles, options, {
|
|
83
|
+
? resolveProfileData(source_profile, profiles, options, callerClientConfig, {
|
|
83
84
|
...visitedProfiles,
|
|
84
85
|
[source_profile]: true,
|
|
85
86
|
}, isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {}))
|
|
@@ -113,11 +114,11 @@ const isCredentialSourceWithoutRoleArn = (section) => {
|
|
|
113
114
|
const isLoginProfile = (data) => {
|
|
114
115
|
return Boolean(data && data.login_session);
|
|
115
116
|
};
|
|
116
|
-
const resolveLoginCredentials = async (profileName, options) => {
|
|
117
|
+
const resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
|
|
117
118
|
const credentials = await credentialProviderLogin.fromLoginCredentials({
|
|
118
119
|
...options,
|
|
119
120
|
profile: profileName,
|
|
120
|
-
})();
|
|
121
|
+
})({ callerClientConfig });
|
|
121
122
|
return client.setCredentialFeature(credentials, "CREDENTIALS_PROFILE_LOGIN", "AC");
|
|
122
123
|
};
|
|
123
124
|
|
|
@@ -127,14 +128,16 @@ const resolveProcessCredentials = async (options, profile) => import('@aws-sdk/c
|
|
|
127
128
|
profile,
|
|
128
129
|
})().then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v")));
|
|
129
130
|
|
|
130
|
-
const resolveSsoCredentials = async (profile, profileData, options = {}) => {
|
|
131
|
+
const resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
|
|
131
132
|
const { fromSSO } = await import('@aws-sdk/credential-provider-sso');
|
|
132
133
|
return fromSSO({
|
|
133
134
|
profile,
|
|
134
135
|
logger: options.logger,
|
|
135
136
|
parentClientConfig: options.parentClientConfig,
|
|
136
137
|
clientConfig: options.clientConfig,
|
|
137
|
-
})(
|
|
138
|
+
})({
|
|
139
|
+
callerClientConfig,
|
|
140
|
+
}).then((creds) => {
|
|
138
141
|
if (profileData.sso_session) {
|
|
139
142
|
return client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SSO", "r");
|
|
140
143
|
}
|
|
@@ -173,54 +176,49 @@ const isWebIdentityProfile = (arg) => Boolean(arg) &&
|
|
|
173
176
|
typeof arg.web_identity_token_file === "string" &&
|
|
174
177
|
typeof arg.role_arn === "string" &&
|
|
175
178
|
["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
|
176
|
-
const resolveWebIdentityCredentials = async (profile, options) => import('@aws-sdk/credential-provider-web-identity').then(({ fromTokenFile }) => fromTokenFile({
|
|
179
|
+
const resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import('@aws-sdk/credential-provider-web-identity').then(({ fromTokenFile }) => fromTokenFile({
|
|
177
180
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
178
181
|
roleArn: profile.role_arn,
|
|
179
182
|
roleSessionName: profile.role_session_name,
|
|
180
183
|
roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity,
|
|
181
184
|
logger: options.logger,
|
|
182
185
|
parentClientConfig: options.parentClientConfig,
|
|
183
|
-
})(
|
|
186
|
+
})({
|
|
187
|
+
callerClientConfig,
|
|
188
|
+
}).then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN", "q")));
|
|
184
189
|
|
|
185
|
-
const resolveProfileData = async (profileName, profiles, options, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
|
|
190
|
+
const resolveProfileData = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
|
|
186
191
|
const data = profiles[profileName];
|
|
187
192
|
if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
|
|
188
193
|
return resolveStaticCredentials(data, options);
|
|
189
194
|
}
|
|
190
195
|
if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {
|
|
191
|
-
return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles, resolveProfileData);
|
|
196
|
+
return resolveAssumeRoleCredentials(profileName, profiles, options, callerClientConfig, visitedProfiles, resolveProfileData);
|
|
192
197
|
}
|
|
193
198
|
if (isStaticCredsProfile(data)) {
|
|
194
199
|
return resolveStaticCredentials(data, options);
|
|
195
200
|
}
|
|
196
201
|
if (isWebIdentityProfile(data)) {
|
|
197
|
-
return resolveWebIdentityCredentials(data, options);
|
|
202
|
+
return resolveWebIdentityCredentials(data, options, callerClientConfig);
|
|
198
203
|
}
|
|
199
204
|
if (isProcessProfile(data)) {
|
|
200
205
|
return resolveProcessCredentials(options, profileName);
|
|
201
206
|
}
|
|
202
207
|
if (isSsoProfile(data)) {
|
|
203
|
-
return await resolveSsoCredentials(profileName, data, options);
|
|
208
|
+
return await resolveSsoCredentials(profileName, data, options, callerClientConfig);
|
|
204
209
|
}
|
|
205
210
|
if (isLoginProfile(data)) {
|
|
206
|
-
return resolveLoginCredentials(profileName, options);
|
|
211
|
+
return resolveLoginCredentials(profileName, options, callerClientConfig);
|
|
207
212
|
}
|
|
208
213
|
throw new propertyProvider.CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });
|
|
209
214
|
};
|
|
210
215
|
|
|
211
|
-
const fromIni = (
|
|
212
|
-
const init = {
|
|
213
|
-
..._init,
|
|
214
|
-
parentClientConfig: {
|
|
215
|
-
...callerClientConfig,
|
|
216
|
-
..._init.parentClientConfig,
|
|
217
|
-
},
|
|
218
|
-
};
|
|
216
|
+
const fromIni = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
219
217
|
init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");
|
|
220
218
|
const profiles = await sharedIniFileLoader.parseKnownFiles(init);
|
|
221
219
|
return resolveProfileData(sharedIniFileLoader.getProfileName({
|
|
222
|
-
profile:
|
|
223
|
-
}), profiles, init);
|
|
220
|
+
profile: init.profile ?? callerClientConfig?.profile,
|
|
221
|
+
}), profiles, init, callerClientConfig);
|
|
224
222
|
};
|
|
225
223
|
|
|
226
224
|
exports.fromIni = fromIni;
|
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
import { getProfileName, parseKnownFiles } from "@smithy/shared-ini-file-loader";
|
|
2
2
|
import { resolveProfileData } from "./resolveProfileData";
|
|
3
|
-
export const fromIni = (
|
|
4
|
-
const init = {
|
|
5
|
-
..._init,
|
|
6
|
-
parentClientConfig: {
|
|
7
|
-
...callerClientConfig,
|
|
8
|
-
..._init.parentClientConfig,
|
|
9
|
-
},
|
|
10
|
-
};
|
|
3
|
+
export const fromIni = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
11
4
|
init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");
|
|
12
5
|
const profiles = await parseKnownFiles(init);
|
|
13
6
|
return resolveProfileData(getProfileName({
|
|
14
|
-
profile:
|
|
15
|
-
}), profiles, init);
|
|
7
|
+
profile: init.profile ?? callerClientConfig?.profile,
|
|
8
|
+
}), profiles, init, callerClientConfig);
|
|
16
9
|
};
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
CHANGED
|
@@ -25,7 +25,7 @@ const isCredentialSourceProfile = (arg, { profile, logger }) => {
|
|
|
25
25
|
}
|
|
26
26
|
return withProviderProfile;
|
|
27
27
|
};
|
|
28
|
-
export const resolveAssumeRoleCredentials = async (profileName, profiles, options, visitedProfiles = {}, resolveProfileData) => {
|
|
28
|
+
export const resolveAssumeRoleCredentials = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, resolveProfileData) => {
|
|
29
29
|
options.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");
|
|
30
30
|
const profileData = profiles[profileName];
|
|
31
31
|
const { source_profile, region } = profileData;
|
|
@@ -35,8 +35,9 @@ export const resolveAssumeRoleCredentials = async (profileName, profiles, option
|
|
|
35
35
|
...options.clientConfig,
|
|
36
36
|
credentialProviderLogger: options.logger,
|
|
37
37
|
parentClientConfig: {
|
|
38
|
+
...callerClientConfig,
|
|
38
39
|
...options?.parentClientConfig,
|
|
39
|
-
region: region ?? options?.parentClientConfig?.region,
|
|
40
|
+
region: region ?? options?.parentClientConfig?.region ?? callerClientConfig?.region,
|
|
40
41
|
},
|
|
41
42
|
}, options.clientPlugins);
|
|
42
43
|
}
|
|
@@ -47,7 +48,7 @@ export const resolveAssumeRoleCredentials = async (profileName, profiles, option
|
|
|
47
48
|
}
|
|
48
49
|
options.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`);
|
|
49
50
|
const sourceCredsProvider = source_profile
|
|
50
|
-
? resolveProfileData(source_profile, profiles, options, {
|
|
51
|
+
? resolveProfileData(source_profile, profiles, options, callerClientConfig, {
|
|
51
52
|
...visitedProfiles,
|
|
52
53
|
[source_profile]: true,
|
|
53
54
|
}, isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {}))
|
|
@@ -3,10 +3,10 @@ import { fromLoginCredentials } from "@aws-sdk/credential-provider-login";
|
|
|
3
3
|
export const isLoginProfile = (data) => {
|
|
4
4
|
return Boolean(data && data.login_session);
|
|
5
5
|
};
|
|
6
|
-
export const resolveLoginCredentials = async (profileName, options) => {
|
|
6
|
+
export const resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
|
|
7
7
|
const credentials = await fromLoginCredentials({
|
|
8
8
|
...options,
|
|
9
9
|
profile: profileName,
|
|
10
|
-
})();
|
|
10
|
+
})({ callerClientConfig });
|
|
11
11
|
return setCredentialFeature(credentials, "CREDENTIALS_PROFILE_LOGIN", "AC");
|
|
12
12
|
};
|
|
@@ -5,28 +5,28 @@ import { isProcessProfile, resolveProcessCredentials } from "./resolveProcessCre
|
|
|
5
5
|
import { isSsoProfile, resolveSsoCredentials } from "./resolveSsoCredentials";
|
|
6
6
|
import { isStaticCredsProfile, resolveStaticCredentials } from "./resolveStaticCredentials";
|
|
7
7
|
import { isWebIdentityProfile, resolveWebIdentityCredentials } from "./resolveWebIdentityCredentials";
|
|
8
|
-
export const resolveProfileData = async (profileName, profiles, options, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
|
|
8
|
+
export const resolveProfileData = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
|
|
9
9
|
const data = profiles[profileName];
|
|
10
10
|
if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
|
|
11
11
|
return resolveStaticCredentials(data, options);
|
|
12
12
|
}
|
|
13
13
|
if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {
|
|
14
|
-
return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles, resolveProfileData);
|
|
14
|
+
return resolveAssumeRoleCredentials(profileName, profiles, options, callerClientConfig, visitedProfiles, resolveProfileData);
|
|
15
15
|
}
|
|
16
16
|
if (isStaticCredsProfile(data)) {
|
|
17
17
|
return resolveStaticCredentials(data, options);
|
|
18
18
|
}
|
|
19
19
|
if (isWebIdentityProfile(data)) {
|
|
20
|
-
return resolveWebIdentityCredentials(data, options);
|
|
20
|
+
return resolveWebIdentityCredentials(data, options, callerClientConfig);
|
|
21
21
|
}
|
|
22
22
|
if (isProcessProfile(data)) {
|
|
23
23
|
return resolveProcessCredentials(options, profileName);
|
|
24
24
|
}
|
|
25
25
|
if (isSsoProfile(data)) {
|
|
26
|
-
return await resolveSsoCredentials(profileName, data, options);
|
|
26
|
+
return await resolveSsoCredentials(profileName, data, options, callerClientConfig);
|
|
27
27
|
}
|
|
28
28
|
if (isLoginProfile(data)) {
|
|
29
|
-
return resolveLoginCredentials(profileName, options);
|
|
29
|
+
return resolveLoginCredentials(profileName, options, callerClientConfig);
|
|
30
30
|
}
|
|
31
31
|
throw new CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });
|
|
32
32
|
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { setCredentialFeature } from "@aws-sdk/core/client";
|
|
2
|
-
export const resolveSsoCredentials = async (profile, profileData, options = {}) => {
|
|
2
|
+
export const resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
|
|
3
3
|
const { fromSSO } = await import("@aws-sdk/credential-provider-sso");
|
|
4
4
|
return fromSSO({
|
|
5
5
|
profile,
|
|
6
6
|
logger: options.logger,
|
|
7
7
|
parentClientConfig: options.parentClientConfig,
|
|
8
8
|
clientConfig: options.clientConfig,
|
|
9
|
-
})(
|
|
9
|
+
})({
|
|
10
|
+
callerClientConfig,
|
|
11
|
+
}).then((creds) => {
|
|
10
12
|
if (profileData.sso_session) {
|
|
11
13
|
return setCredentialFeature(creds, "CREDENTIALS_PROFILE_SSO", "r");
|
|
12
14
|
}
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
CHANGED
|
@@ -4,11 +4,13 @@ export const isWebIdentityProfile = (arg) => Boolean(arg) &&
|
|
|
4
4
|
typeof arg.web_identity_token_file === "string" &&
|
|
5
5
|
typeof arg.role_arn === "string" &&
|
|
6
6
|
["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
|
7
|
-
export const resolveWebIdentityCredentials = async (profile, options) => import("@aws-sdk/credential-provider-web-identity").then(({ fromTokenFile }) => fromTokenFile({
|
|
7
|
+
export const resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import("@aws-sdk/credential-provider-web-identity").then(({ fromTokenFile }) => fromTokenFile({
|
|
8
8
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
9
9
|
roleArn: profile.role_arn,
|
|
10
10
|
roleSessionName: profile.role_session_name,
|
|
11
11
|
roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity,
|
|
12
12
|
logger: options.logger,
|
|
13
13
|
parentClientConfig: options.parentClientConfig,
|
|
14
|
-
})(
|
|
14
|
+
})({
|
|
15
|
+
callerClientConfig,
|
|
16
|
+
}).then((creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN", "q")));
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { FromLoginCredentialsInit } from "@aws-sdk/credential-provider-login";
|
|
2
2
|
import type { AssumeRoleWithWebIdentityParams } from "@aws-sdk/credential-provider-web-identity";
|
|
3
|
-
import type { CredentialProviderOptions } from "@aws-sdk/types";
|
|
4
|
-
import type { RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
|
|
3
|
+
import type { CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
|
|
5
4
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
6
5
|
import type { AwsCredentialIdentity, Pluggable } from "@smithy/types";
|
|
7
6
|
import { AssumeRoleParams } from "./resolveAssumeRoleCredentials";
|
|
@@ -53,4 +52,4 @@ export interface FromIniInit extends SourceProfileInit, CredentialProviderOption
|
|
|
53
52
|
* Creates a credential provider that will read from ini files and supports
|
|
54
53
|
* role assumption and multi-factor authentication.
|
|
55
54
|
*/
|
|
56
|
-
export declare const fromIni: (
|
|
55
|
+
export declare const fromIni: (init?: FromIniInit) => RuntimeConfigAwsCredentialIdentityProvider;
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import type { AwsIdentityProperties } from "@aws-sdk/types";
|
|
1
2
|
import { Logger, ParsedIniData } from "@smithy/types";
|
|
2
3
|
import { FromIniInit } from "./fromIni";
|
|
3
4
|
import type { ResolveProfileData } from "./resolveProfileData";
|
|
4
5
|
/**
|
|
5
6
|
* @internal
|
|
6
7
|
*
|
|
7
|
-
* @see
|
|
8
|
-
* TODO update the above to link to V3 docs
|
|
8
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sts/command/AssumeRoleCommand/
|
|
9
9
|
*/
|
|
10
10
|
export interface AssumeRoleParams {
|
|
11
11
|
/**
|
|
@@ -45,4 +45,4 @@ export declare const isAssumeRoleProfile: (arg: any, { profile, logger }?: {
|
|
|
45
45
|
/**
|
|
46
46
|
* @internal
|
|
47
47
|
*/
|
|
48
|
-
export declare const resolveAssumeRoleCredentials: (profileName: string, profiles: ParsedIniData, options: FromIniInit, visitedProfiles: Record<string, true> | undefined, resolveProfileData: ResolveProfileData) => Promise<import("@aws-sdk/types").AttributedAwsCredentialIdentity>;
|
|
48
|
+
export declare const resolveAssumeRoleCredentials: (profileName: string, profiles: ParsedIniData, options: FromIniInit, callerClientConfig: AwsIdentityProperties["callerClientConfig"] | undefined, visitedProfiles: Record<string, true> | undefined, resolveProfileData: ResolveProfileData) => Promise<import("@aws-sdk/types").AttributedAwsCredentialIdentity>;
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveLoginCredentials.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AwsIdentityProperties } from "@aws-sdk/types";
|
|
1
2
|
import type { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
|
|
2
3
|
import type { FromIniInit } from "./fromIni";
|
|
3
4
|
/**
|
|
@@ -7,4 +8,4 @@ export declare const isLoginProfile: (data: ParsedIniData[string]) => boolean;
|
|
|
7
8
|
/**
|
|
8
9
|
* @internal
|
|
9
10
|
*/
|
|
10
|
-
export declare const resolveLoginCredentials: (profileName: string, options: FromIniInit) => Promise<AwsCredentialIdentity>;
|
|
11
|
+
export declare const resolveLoginCredentials: (profileName: string, options: FromIniInit, callerClientConfig?: AwsIdentityProperties["callerClientConfig"]) => Promise<AwsCredentialIdentity>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AwsIdentityProperties } from "@aws-sdk/types";
|
|
1
2
|
import type { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
|
|
2
3
|
import { FromIniInit } from "./fromIni";
|
|
3
4
|
/**
|
|
@@ -7,7 +8,7 @@ export type ResolveProfileData = typeof resolveProfileData;
|
|
|
7
8
|
/**
|
|
8
9
|
* @internal
|
|
9
10
|
*/
|
|
10
|
-
export declare const resolveProfileData: (profileName: string, profiles: ParsedIniData, options: FromIniInit, visitedProfiles?: Record<string, true>,
|
|
11
|
+
export declare const resolveProfileData: (profileName: string, profiles: ParsedIniData, options: FromIniInit, callerClientConfig?: AwsIdentityProperties["callerClientConfig"], visitedProfiles?: Record<string, true>,
|
|
11
12
|
/**
|
|
12
13
|
* This override comes from recursive calls only.
|
|
13
14
|
* It is used to flag a recursive profile section
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { SsoProfile } from "@aws-sdk/credential-provider-sso";
|
|
2
|
+
import type { AwsIdentityProperties } from "@aws-sdk/types";
|
|
2
3
|
import type { IniSection, Profile } from "@smithy/types";
|
|
3
4
|
import type { FromIniInit } from "./fromIni";
|
|
4
5
|
/**
|
|
5
6
|
* @internal
|
|
6
7
|
*/
|
|
7
|
-
export declare const resolveSsoCredentials: (profile: string, profileData: IniSection, options?: FromIniInit) => Promise<import("@aws-sdk/types").AttributedAwsCredentialIdentity>;
|
|
8
|
+
export declare const resolveSsoCredentials: (profile: string, profileData: IniSection, options?: FromIniInit, callerClientConfig?: AwsIdentityProperties["callerClientConfig"]) => Promise<import("@aws-sdk/types").AttributedAwsCredentialIdentity>;
|
|
8
9
|
/**
|
|
9
10
|
* @internal
|
|
10
11
|
* duplicated from \@aws-sdk/credential-provider-sso to defer import.
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AwsIdentityProperties } from "@aws-sdk/types";
|
|
1
2
|
import { AwsCredentialIdentity, Profile } from "@smithy/types";
|
|
2
3
|
import { FromIniInit } from "./fromIni";
|
|
3
4
|
/**
|
|
@@ -15,4 +16,4 @@ export declare const isWebIdentityProfile: (arg: any) => arg is WebIdentityProfi
|
|
|
15
16
|
/**
|
|
16
17
|
* @internal
|
|
17
18
|
*/
|
|
18
|
-
export declare const resolveWebIdentityCredentials: (profile: WebIdentityProfile, options: FromIniInit) => Promise<AwsCredentialIdentity>;
|
|
19
|
+
export declare const resolveWebIdentityCredentials: (profile: WebIdentityProfile, options: FromIniInit, callerClientConfig?: AwsIdentityProperties["callerClientConfig"]) => Promise<AwsCredentialIdentity>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { FromLoginCredentialsInit } from "@aws-sdk/credential-provider-login";
|
|
2
2
|
import { AssumeRoleWithWebIdentityParams } from "@aws-sdk/credential-provider-web-identity";
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import {
|
|
4
|
+
CredentialProviderOptions,
|
|
5
|
+
RuntimeConfigAwsCredentialIdentityProvider,
|
|
6
|
+
} from "@aws-sdk/types";
|
|
5
7
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
6
8
|
import { AwsCredentialIdentity, Pluggable } from "@smithy/types";
|
|
7
9
|
import { AssumeRoleParams } from "./resolveAssumeRoleCredentials";
|
|
@@ -22,5 +24,5 @@ export interface FromIniInit
|
|
|
22
24
|
ignoreCache?: boolean;
|
|
23
25
|
}
|
|
24
26
|
export declare const fromIni: (
|
|
25
|
-
|
|
27
|
+
init?: FromIniInit
|
|
26
28
|
) => RuntimeConfigAwsCredentialIdentityProvider;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsIdentityProperties } from "@aws-sdk/types";
|
|
1
2
|
import { Logger, ParsedIniData } from "@smithy/types";
|
|
2
3
|
import { FromIniInit } from "./fromIni";
|
|
3
4
|
import { ResolveProfileData } from "./resolveProfileData";
|
|
@@ -23,6 +24,7 @@ export declare const resolveAssumeRoleCredentials: (
|
|
|
23
24
|
profileName: string,
|
|
24
25
|
profiles: ParsedIniData,
|
|
25
26
|
options: FromIniInit,
|
|
27
|
+
callerClientConfig: AwsIdentityProperties["callerClientConfig"] | undefined,
|
|
26
28
|
visitedProfiles: Record<string, true> | undefined,
|
|
27
29
|
resolveProfileData: ResolveProfileData
|
|
28
30
|
) => Promise<import("@aws-sdk/types").AttributedAwsCredentialIdentity>;
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { AwsIdentityProperties } from "@aws-sdk/types";
|
|
1
2
|
import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
|
|
2
3
|
import { FromIniInit } from "./fromIni";
|
|
3
4
|
export declare const isLoginProfile: (data: ParsedIniData[string]) => boolean;
|
|
4
5
|
export declare const resolveLoginCredentials: (
|
|
5
6
|
profileName: string,
|
|
6
|
-
options: FromIniInit
|
|
7
|
+
options: FromIniInit,
|
|
8
|
+
callerClientConfig?: AwsIdentityProperties["callerClientConfig"]
|
|
7
9
|
) => Promise<AwsCredentialIdentity>;
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsIdentityProperties } from "@aws-sdk/types";
|
|
1
2
|
import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
|
|
2
3
|
import { FromIniInit } from "./fromIni";
|
|
3
4
|
export type ResolveProfileData = typeof resolveProfileData;
|
|
@@ -5,6 +6,7 @@ export declare const resolveProfileData: (
|
|
|
5
6
|
profileName: string,
|
|
6
7
|
profiles: ParsedIniData,
|
|
7
8
|
options: FromIniInit,
|
|
9
|
+
callerClientConfig?: AwsIdentityProperties["callerClientConfig"],
|
|
8
10
|
visitedProfiles?: Record<string, true>,
|
|
9
11
|
isAssumeRoleRecursiveCall?: boolean
|
|
10
12
|
) => Promise<AwsCredentialIdentity>;
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { SsoProfile } from "@aws-sdk/credential-provider-sso";
|
|
2
|
+
import { AwsIdentityProperties } from "@aws-sdk/types";
|
|
2
3
|
import { IniSection, Profile } from "@smithy/types";
|
|
3
4
|
import { FromIniInit } from "./fromIni";
|
|
4
5
|
export declare const resolveSsoCredentials: (
|
|
5
6
|
profile: string,
|
|
6
7
|
profileData: IniSection,
|
|
7
|
-
options?: FromIniInit
|
|
8
|
+
options?: FromIniInit,
|
|
9
|
+
callerClientConfig?: AwsIdentityProperties["callerClientConfig"]
|
|
8
10
|
) => Promise<import("@aws-sdk/types").AttributedAwsCredentialIdentity>;
|
|
9
11
|
export declare const isSsoProfile: (arg: Profile) => arg is Partial<SsoProfile>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsIdentityProperties } from "@aws-sdk/types";
|
|
1
2
|
import { AwsCredentialIdentity, Profile } from "@smithy/types";
|
|
2
3
|
import { FromIniInit } from "./fromIni";
|
|
3
4
|
export interface WebIdentityProfile extends Profile {
|
|
@@ -10,5 +11,6 @@ export declare const isWebIdentityProfile: (
|
|
|
10
11
|
) => arg is WebIdentityProfile;
|
|
11
12
|
export declare const resolveWebIdentityCredentials: (
|
|
12
13
|
profile: WebIdentityProfile,
|
|
13
|
-
options: FromIniInit
|
|
14
|
+
options: FromIniInit,
|
|
15
|
+
callerClientConfig?: AwsIdentityProperties["callerClientConfig"]
|
|
14
16
|
) => Promise<AwsCredentialIdentity>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.953.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"build": "concurrently 'yarn:build:
|
|
8
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
9
9
|
"build:cjs": "node ../../scripts/compilation/inline credential-provider-ini",
|
|
10
10
|
"build:es": "tsc -p tsconfig.es.json",
|
|
11
11
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
@@ -28,19 +28,19 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-login": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
37
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
38
|
-
"@aws-sdk/nested-clients": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@smithy/credential-provider-imds": "^4.2.
|
|
41
|
-
"@smithy/property-provider": "^4.2.
|
|
42
|
-
"@smithy/shared-ini-file-loader": "^4.4.
|
|
43
|
-
"@smithy/types": "^4.
|
|
31
|
+
"@aws-sdk/core": "3.953.0",
|
|
32
|
+
"@aws-sdk/credential-provider-env": "3.953.0",
|
|
33
|
+
"@aws-sdk/credential-provider-http": "3.953.0",
|
|
34
|
+
"@aws-sdk/credential-provider-login": "3.953.0",
|
|
35
|
+
"@aws-sdk/credential-provider-process": "3.953.0",
|
|
36
|
+
"@aws-sdk/credential-provider-sso": "3.953.0",
|
|
37
|
+
"@aws-sdk/credential-provider-web-identity": "3.953.0",
|
|
38
|
+
"@aws-sdk/nested-clients": "3.953.0",
|
|
39
|
+
"@aws-sdk/types": "3.953.0",
|
|
40
|
+
"@smithy/credential-provider-imds": "^4.2.6",
|
|
41
|
+
"@smithy/property-provider": "^4.2.6",
|
|
42
|
+
"@smithy/shared-ini-file-loader": "^4.4.1",
|
|
43
|
+
"@smithy/types": "^4.10.0",
|
|
44
44
|
"tslib": "^2.6.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-login",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.953.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from aws login cached tokens",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"build": "concurrently 'yarn:build:
|
|
8
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
9
9
|
"build:cjs": "node ../../scripts/compilation/inline credential-provider-login",
|
|
10
10
|
"build:es": "tsc -p tsconfig.es.json",
|
|
11
11
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
32
|
-
"@aws-sdk/nested-clients": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@smithy/property-provider": "^4.2.
|
|
35
|
-
"@smithy/protocol-http": "^5.3.
|
|
36
|
-
"@smithy/shared-ini-file-loader": "^4.4.
|
|
37
|
-
"@smithy/types": "^4.
|
|
31
|
+
"@aws-sdk/core": "3.953.0",
|
|
32
|
+
"@aws-sdk/nested-clients": "3.953.0",
|
|
33
|
+
"@aws-sdk/types": "3.953.0",
|
|
34
|
+
"@smithy/property-provider": "^4.2.6",
|
|
35
|
+
"@smithy/protocol-http": "^5.3.6",
|
|
36
|
+
"@smithy/shared-ini-file-loader": "^4.4.1",
|
|
37
|
+
"@smithy/types": "^4.10.0",
|
|
38
38
|
"tslib": "^2.6.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.953.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"main": "./dist-cjs/index.js",
|
|
9
9
|
"module": "./dist-es/index.js",
|
|
10
10
|
"scripts": {
|
|
11
|
-
"build": "concurrently 'yarn:build:
|
|
11
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
12
12
|
"build:cjs": "node ../../scripts/compilation/inline credential-provider-node",
|
|
13
13
|
"build:es": "tsc -p tsconfig.es.json",
|
|
14
14
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
@@ -31,17 +31,17 @@
|
|
|
31
31
|
},
|
|
32
32
|
"license": "Apache-2.0",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
37
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
38
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
39
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@smithy/credential-provider-imds": "^4.2.
|
|
42
|
-
"@smithy/property-provider": "^4.2.
|
|
43
|
-
"@smithy/shared-ini-file-loader": "^4.4.
|
|
44
|
-
"@smithy/types": "^4.
|
|
34
|
+
"@aws-sdk/credential-provider-env": "3.953.0",
|
|
35
|
+
"@aws-sdk/credential-provider-http": "3.953.0",
|
|
36
|
+
"@aws-sdk/credential-provider-ini": "3.953.0",
|
|
37
|
+
"@aws-sdk/credential-provider-process": "3.953.0",
|
|
38
|
+
"@aws-sdk/credential-provider-sso": "3.953.0",
|
|
39
|
+
"@aws-sdk/credential-provider-web-identity": "3.953.0",
|
|
40
|
+
"@aws-sdk/types": "3.953.0",
|
|
41
|
+
"@smithy/credential-provider-imds": "^4.2.6",
|
|
42
|
+
"@smithy/property-provider": "^4.2.6",
|
|
43
|
+
"@smithy/shared-ini-file-loader": "^4.4.1",
|
|
44
|
+
"@smithy/types": "^4.10.0",
|
|
45
45
|
"tslib": "^2.6.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.953.0",
|
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"build": "concurrently 'yarn:build:
|
|
8
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
9
9
|
"build:cjs": "node ../../scripts/compilation/inline credential-provider-process",
|
|
10
10
|
"build:es": "tsc -p tsconfig.es.json",
|
|
11
11
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@smithy/property-provider": "^4.2.
|
|
32
|
-
"@smithy/shared-ini-file-loader": "^4.4.
|
|
33
|
-
"@smithy/types": "^4.
|
|
29
|
+
"@aws-sdk/core": "3.953.0",
|
|
30
|
+
"@aws-sdk/types": "3.953.0",
|
|
31
|
+
"@smithy/property-provider": "^4.2.6",
|
|
32
|
+
"@smithy/shared-ini-file-loader": "^4.4.1",
|
|
33
|
+
"@smithy/types": "^4.10.0",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|