How to calculate the RSA REST API Authentication Response Time
Originally Published: 2021-04-16
Article Number
Applies To
RSA Product/Service Type: Authentication Agent API
RSA Version/Condition: 8.2.1.x, 8.3.x, 8.4.x, 8.5.x
Issue
Tasks
Resolution
- Download the file output.txt attached in this article.
- Place it on a server that can send REST API requests to your authentication manager.
- At the same directory that has this file, open a cmd/CLI and run the below command:
curl -w "@output.txt" -k -d "{\"clientId\":\"AgentName\",\"subjectName\":\"UserID\",\"subjectCredentials\":[{\"methodId\":\"SECURID\",\"collectedInputs\":[{\"name\":\"SECURID\",\"value\":\"1234\"}]}],\"context\":{\"authnAttemptId\":\"\",\"messageId\":\"test52130211962426\",\"inResponseTo\":\"\"}}" -H "client-key: Access Key" -H "Content-Type: application/json" https://IP-Address:5555/mfa/v1_1/authn/initialize
- Replace AgentName with the hostname of an agent added on the Security Console to do the REST API Request, and this agent should have no ip-address.
- UserID is the logon ID of the user you would like to test the Authentication with.
- Replace 1234 with the SecurID Token value to do a test Authentication.
- To get the Access Key value, Go to the Security Console --> Setup --> System Settings --> RSA SecurID Authentication API, and use the Access Key value from there.
- Replace IP-Address with the ip-address or hostname for the Authentication Manager.
- Example from a Windows cmd:
curl -w "@output.txt" -k -d "{\"clientId\":\"Postman\",\"subjectName\":\"Menna\",\"subjectCredentials\":[{\"methodId\":\"SECURID\",\"collectedInputs\":[{\"name\":\"SECURID\",\"value\":\"1234\"}]}],\"context\":{\"authnAttemptId\":\"\",\"messageId\":\"test52130211962426\",\"inResponseTo\":\"\"}}" -H "client-key: xsd7c4pk4x7n3h0546ej6nnl1ayuz1517619p60a5nc91b07lyy68apiopuql86o" -H "Content-Type: application/json" https://192.168.231.4:5555/mfa/v1_1/authn/initialize
Output:
{"context":{"authnAttemptId":"ad20c24b-4e56-422a-bac4-014b75e335c4","messageId":"86a0f6fb-2792-40b7-bade-fd1cd91e7b71","inResponseTo":"test52130211962426"},"credentialValidationResults":[{"methodId":"SECURID","methodResponseCode":"SUCCESS","methodReasonCode":null,"authnAttributes":[]}],"attemptResponseCode":"SUCCESS","attemptReasonCode":"CREDENTIAL_VERIFIED","challengeMethods":{"challenges":[{"methodSetId":null,"requiredMethods":[]}]}}time_namelookup: 0.000001s
time_connect: 0.000001s
time_appconnect: 0.047000s
time_pretransfer: 0.047000s
time_redirect: 0.000000s
time_starttransfer: 0.063000s
----------
time_total: 0.063000sAttachments
If the attachment does not open when clicked, please refresh the page and try again. You must be logged into view the file(s).
Related Articles
Authenticate with On-Demand Authentication (ODA) using REST API authentication on RSA Authentication Manager 8.x 280Number of Views VMWare Unified Access Gateway (UAG) Integration Guide with the Authentication Manager using REST API 302Number of Views Splunk integration with RSA Authentication Manager using REST API 606Number of Views CRL timer permanently stops when LDAP store under load 11Number of Views Integration of Dell EMC Data Domain with RSA Authentication Manager REST API 328Number of Views
Trending Articles
RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide How to download and install the AFX Server Archive in RSA Identity Governance & Lifecycle The Template ({Connector Template Name}) has missing file content error when creating AFX Connectors in RSA Identity Gover… Downloading RSA Authentication Manager license files or RSA Software token seed records Troubleshooting RSA MFA Agent for Microsoft Windows
Don't see what you're looking for?