Cognito Identity Provider
Parity grade: A · SDK aws-sdk-go-v2/service/cognitoidentityprovider@v1.75.3 · last audited 2026-10-11 (d522d763f)
Category: Identity & Access · View PARITY.md on GitHub · All Services
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 71 (71 ok) |
| Known gaps | 2 |
| Structural gaps (can't be emulated) | 3 |
| Deferred items | 0 |
| Resource leaks | clean |
Known Gaps
- Federation (gopherstack-49qct.35 follow-up): SAML SHA-1 signatures and digests are rejected, encrypted NameID (EncryptedID) in LogoutRequest is rejected, SLO is single-session per IdP (no cross-IdP fan-out), RSA-1.5 key transport is refused by design. Social providers (Google, Facebook, LoginWithAmazon, SignInWithApple) share the OIDC code path with built-in endpoint defaults; DescribeIdentityProvider does not echo those defaults, Google people-API attributes and Apple's first-login
userform field are not read, and no live provider is exercised in tests. - Passkeys / ESDK: the userpool-id encryption context in custom-sender messages is not published (checked user-pool-lambda-custom-sender-triggers, custom-sms-sender and custom-email-sender pages); attestation verification covers formats go-webauthn supports with no FIDO MDS trust anchors
Structural Gaps
These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.
- AnalyticsMetadata, ContextData and UserContextData are accepted and ignored: no risk engine or Pinpoint analytics consumes them.
- UserPoolAddOns (advanced security) is stored and echoed only: no threat-protection engine exists. SmsConfiguration SnsCallerArn is role-assumed through the STS emulator (trust policy and role existence) before SMS publish, but ExternalId is not matched against the trust policy condition and no IAM permission policy is evaluated for sns:Publish.
- SetUICustomization stores ImageFile but ImageUrl is a CloudFront-hosted URL; no CDN exists to host it.
Audited Operations
71 audited operations
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
InitiateAuth | ok | ok | ok | ok |
AdminInitiateAuth | ok | ok | ok | ok |
RespondToAuthChallenge | ok | ok | ok | ok |
AdminRespondToAuthChallenge | ok | ok | ok | ok |
AssociateSoftwareToken | ok | ok | ok | ok |
VerifySoftwareToken | ok | ok | ok | ok |
SetUserMFAPreference | ok | ok | ok | ok |
AdminSetUserMFAPreference | ok | ok | ok | ok |
CreateUserPool | ok | ok | ok | ok |
DescribeUserPool | ok | ok | ok | ok |
UpdateUserPool | ok | ok | ok | ok |
ListUserPools | ok | ok | ok | ok |
DeleteUserPool | ok | ok | ok | ok |
CreateUserPoolClient | ok | ok | ok | ok |
UpdateUserPoolClient | ok | ok | ok | ok |
DescribeUserPoolClient | ok | ok | ok | ok |
ListUserPoolClients | ok | ok | ok | ok |
DeleteUserPoolClient | ok | ok | ok | ok |
AddUserPoolClientSecret | ok | ok | ok | ok |
DeleteUserPoolClientSecret | ok | ok | ok | ok |
ListUserPoolClientSecrets | ok | ok | ok | ok |
SignUp | ok | ok | ok | ok |
ConfirmSignUp | ok | ok | ok | ok |
AdminConfirmSignUp | ok | ok | ok | ok |
ResendConfirmationCode | ok | ok | ok | ok |
AdminCreateUser | ok | ok | ok | ok |
AdminSetUserPassword | ok | ok | ok | ok |
AdminGetUser | ok | ok | ok | ok |
AdminDeleteUser | ok | ok | ok | ok |
AdminResetUserPassword | ok | ok | ok | ok |
AdminUpdateUserAttributes | ok | ok | ok | ok |
AdminDeleteUserAttributes | ok | ok | ok | ok |
AdminDeleteSoftwareToken | ok | ok | ok | ok |
DescribeTermsByClient | ok | ok | ok | ok |
GetClientToken | ok | ok | ok | ok |
AdminDisableUser | ok | ok | ok | ok |
AdminEnableUser | ok | ok | ok | ok |
AdminUserGlobalSignOut | ok | ok | ok | ok |
GlobalSignOut | ok | ok | ok | ok |
RevokeToken | ok | ok | ok | ok |
ListUsers | ok | ok | fixed | ok |
ListUsersInGroup | ok | ok | ok | ok |
ForgotPassword | ok | ok | ok | ok |
ConfirmForgotPassword | ok | ok | ok | ok |
ChangePassword | ok | ok | ok | ok |
GetUser | ok | ok | ok | ok |
DeleteUser | ok | ok | ok | ok |
DeleteUserAttributes/AdminDeleteUserAttributes | ok | ok | ok | ok |
VerifyUserAttribute/GetUserAttributeVerificationCode | ok | ok | ok | ok |
CreateGroup/DeleteGroup/GetGroup/ListGroups/UpdateGroup | ok | ok | ok | ok |
AdminAddUserToGroup/AdminRemoveUserFromGroup/AdminListGroupsForUser | ok | ok | ok | ok |
CreateResourceServer/DescribeResourceServer/ListResourceServers/UpdateResourceServer/DeleteResourceServer | ok | ok | ok | ok |
CreateIdentityProvider/DescribeIdentityProvider/ListIdentityProviders/UpdateIdentityProvider/DeleteIdentityProvider/GetIdentityProviderByIdentifier | ok | ok | ok | ok |
TagResource/UntagResource/ListTagsForResource | ok | ok | ok | ok |
GetSigningCertificate | ok | ok | ok | ok |
GetUserPoolMfaConfig/SetUserPoolMfaConfig | ok | ok | ok | ok |
jwks_well_known | ok | ok | ok | ok |
AdminGetUserAuthFactors | ok | ok | ok | ok |
user_import_jobs | — | — | — | — |
devices | — | — | — | — |
webauthn | — | — | — | — |
managed_login_branding | — | — | — | — |
risk_config | — | — | — | — |
domains | — | — | — | — |
terms | — | — | — | — |
log_delivery | — | — | — | — |
identity_providers | — | — | — | — |
resource_servers | — | — | — | — |
user_pool_replicas | — | — | — | — |
provisioned_limits | — | — | — | — |
user_auth | — | — | — | — |
