Idira Identity: How to authenticate AWS Client VPN users with Idira SAML SSO

Idira Identity: How to authenticate AWS Client VPN users with Idira SAML SSO

95
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:51 PM


Objective


This article will walk through the steps for integrating AWS Client VPN with Idira Identity for user authentication via SAML single sign-on. By enabling SAML authentication, users can use the same directory credentials for authentication, manage access based on Idira Roles or AD groups, and optionally secure VPN access with Idira MFA. 

If you already have a SAML configuration with AWS Console, you need to create a separate SAML app in Idira Identity for AWS Client VPN. You cannot reuse the SAML configuration for AWS Console for AWS Client VPN, because each uses a special ACS URL For both the VPN client and the VPN client self-service portal.


Environment


21.1;21.2;21.3;21.4;21.5;21.6;21.7;21.8;21.9;21.10;21.11;21.12;22.1;22.2;22.3;22.4;22.5;22.6;22.8;22.9;22.10;22.11 Identity App Access Service

Procedure


AWS VPN intro.png
 

self service intro.png

  • Set name "AWS VPN Portal Self Service", on the bottom of the first page unselect the "show in user app list" option
    Shape  Description automatically generated with low confidence
  • Click Trust
  • Click Download Metadata File from IDP section
  • Scroll to Service Provider Configuration and select "Manual Configuration" and make the following changes:
Save the configuration but continue with the additional configuration changes that may require some tweaking for your particular environment.
 

Permissions

Select the correct roles for AWS VPN access.
Table  Description automatically generated
 

policy accountmapping and response.png

optional VPN SAML response.png
 

AWS VPN Client SAML Configuration

In your Identity Admin console go to Web Apps and click the Add Web App button.
Graphical user interface  Description automatically generated with medium confidence
Click custom tab
Graphical user interface, text  Description automatically generated with medium confidence
Scroll and click Add for "SAML" and click Close.
Background pattern  Description automatically generated with low confidence
Perform the following configuration details:
  • Set name "AWS VPN Client Authentication", on the bottom of the first page unselect the "show in user app list" option
    Shape  Description automatically generated with low confidence
  • Click Trust
  • Click Download Metadata File from IDP section
    Graphical user interface, text, application  Description automatically generated
protip.png
  • Scroll to Service Provider Configuration and select "Manual Configuration" and make the following changes:
    • Set "SP Entity ID" to this exact value " urn:amazon:webservices:clientvpn"
    • Set the ACS URL to this exact url http://127.0.0.1:35001
    • Click Close on the warning
      Graphical user interface, text  Description automatically generated
    • Click "Both" for "Sign Response or Assertion"
    • Set NameID Format to "emailAddress"
      Graphical user interface, text, application, email  Description automatically generated
Save the configuration but continue with the additional configuration changes that may require some tweaking for your particular environment.
 

Permissions

Select the correct roles for AWS VPN access.
Table  Description automatically generated
 

AWS VPN SAML policy.png

option1.png

Application  Description automatically generated with low confidence

Option 2: Send all Identity Roles

Click "Add" in the attribute section and perform the following configuration
  • Type "memberOf" in the Attribute Name column
  • Click the down arrow, hover on LoginUser and then pick "RoleNames"
Graphical user interface, text, application  Description automatically generated
 

option3.png

option 4 script.png

var roleFilter = "AWS_";
// create empty array, or start array with default group that all users can have
var attrArray = ['default'];

// Attribute: Role
var roleNames = LoginUser.RoleNames;
for (var i=0; i < roleNames.Length; i++)
{
    if (roleNames[i].indexOf(roleFilter)>=0) {
               attrArray.push(roleNames[i]);
    }
   // else { trace(" role not used "+roleNames[i]);}
}

setAttributeArray('memberOf', attrArray);
 

AWS VPN Client Connection Setup

In your AWS Admin console go to IAM.
You will repeat these instructions for each Metadata file from Identity (you have two if you are choosing the optional Self-Service Portal).
  • Click Identity Providers on the left hand menu and click Add Provider.
  • Enter a descriptive name-eg, CyberArk_for_Portal, CyberArk_forClientAuth
  • Click Choose file and select the Metadata for the appropriate name
  • Save/Add Provider
Graphical user interface, text, application, chat or text message  Description automatically generatedGraphical user interface, text, application  Description automatically generated


In your AWS Admin console navigate to the VPC dashboard.
Scroll the menu and click on Client VPN Endpoints
Graphical user interface, application  Description automatically generated
 
create aws vpn endpoint.png
aws saml config.png
vpn self service banner and group.png
You can then use these VPC security groups (as assigned via the SAML assertion) to apply different network access filtering rules to your end users.
 

AWS VPN bookmark.png

  • Go to Web Apps and click "Add Web Apps"
  • Select Custom
  • Click "Add" for the Bookmark option, click Yes and click close
    Graphical user interface, text, application  Description automatically generated
  • In the URL field paste the following partial URL: https://self-service.clientvpn.amazonaws.com/endpoints/
  • Click to your AWS VPC/VPN Endpoints administration page and copy the "Client VPN endpoint ID" to your clipboard
    Graphical user interface, text, application  Description automatically generated
  • Return to the CyberArk Identity admin tab and paste the value to the end of the partial URL already pasted
    Graphical user interface, text, application, email  Description automatically generated
  • Click Description in the left/middle menu and add a good name and description
    Graphical user interface, text, application, email  Description automatically generated
  • Click Permissions and select the same Identity Roles that are used in the AWS client VPN authentication and self-service portal SAML web apps
Graphical user interface, text, application  Description automatically generated

Click Save.
 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000l5RCAQ&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail