AWS Client VPN signs people in through a SAML identity provider when the endpoint uses federated authentication. With Trustaige as that provider, AWS VPN Client opens Trustaige in the system browser, the person proves it’s them with their passkey, and the endpoint’s authorization rules admit them by group.
- Person to AWS VPN Client: connects
- AWS VPN Client to Trustaige: AuthnRequest, in the system browser
- Person and Trustaige: passkey
- Trustaige to AWS VPN Client: signed assertion to 127.0.0.1:35001
- AWS VPN Client to Client VPN endpoint: connects with the assertion
- Client VPN endpoint to AWS VPN Client: tunnel up, by authorization rule
AWS fixes both values a service provider usually supplies, so there is nothing to copy from AWS into the hub:
| Value | |
|---|---|
| Audience (entity ID) | urn:amazon:webservices:clientvpn |
| Reply URL, AWS VPN Client | http://127.0.0.1:35001, where the client listens on the person’s own device |
| Reply URL, self-service portal | https://self-service.clientvpn.amazonaws.com/api/auth/sso/saml |
The app accepts both reply URLs, so one app serves the client and the portal.
Before you begin
| You need | Why |
|---|---|
| Permission in AWS to create IAM identity providers and Client VPN endpoints | You create both. |
| AWS VPN Client 1.2.0 or later on every device | It opens sign-in in the system browser, where passkeys work. |
| A first and last name for everyone who connects | Trustaige sends FirstName and LastName from the person’s profile or, when those are empty, their display name split at its first space. |
| The permission to manage apps in Trustaige | You create the app and assign its groups. |
1. Set up the app in the hub
- In the hub, go to Apps. Under Integrations, find AWS Client VPN and click Connect, then Begin setup.
- At Create the SAML provider in IAM, click Download XML and keep the file for the next section.
Choose who can connect. On the app’s page, in the Access section, click Assign groups and choose the groups whose people use the VPN. These are also the groups authorization rules match on.
2. Create the SAML provider in IAM
- In the AWS console, go to IAM → Identity providers and click Add provider.
- Choose SAML, name the provider, for example
Trustaige, and upload the file from Download XML as the metadata document. - Click Add provider.
3. Use it on the Client VPN endpoint
- In VPC → Client VPN endpoints, create an endpoint. Under Authentication, choose Use user-based authentication, then Federated authentication, and choose the provider as the SAML provider ARN.
- To let people download the client and their configuration themselves, turn on the self-service portal and choose the same provider as the Self-service SAML provider ARN.
- Finish the endpoint as you normally would: client CIDR, server certificate, target network associations.
4. Authorize by group
Trustaige sends each assigned group the person belongs to, directly or through
a parent group, in memberOf: the group’s slug, or its name when it has none.
On the endpoint’s Authorization rules, click Add authorization rule for each destination network. Choose Allow access to users in a specific access group and enter the Trustaige group as the Access group ID.
5. Use AWS VPN Client 1.2.0 or later
6. Test a connection
Download the client configuration from the endpoint, or sign in to the self-service portal and download it there, and add it as a profile in AWS VPN Client. Connect: the system browser opens your organization’s Trustaige sign-in; prove it’s you with your passkey, and the client connects. Each sign-in appears in the hub’s Audit log.
Policies on the app apply to this sign-in like any other, device trust included, because it happens in the system browser.
What Trustaige sends
| Name ID | The person’s email in your organization, format emailAddress |
FirstName | First name from their profile |
LastName | Last name from their profile |
memberOf | The app’s assigned groups the person belongs to |
| Signatures | The response and the assertion are both signed |
Troubleshooting
“failed to resolve ACS endpoint: requested ACS URL not registered”
The request asks for a reply URL the app doesn’t have. The app accepts the two in the table at the top of this page; any other comes from a different AWS setup.
“Access denied: you are not assigned to this application”
The person isn’t in any group assigned to the app. Add them to one, or assign a group they’re in.
The person signs in, but can't reach a network
No authorization rule grants their group that destination. Check the Access group ID against the group exactly as Trustaige sends it.
The browser doesn't return to AWS VPN Client
The client listens on 127.0.0.1:35001. Something else on the device holding
that port, or a client older than 1.2.0, stops the hand-back.