How to Generate SIM Authentication Vectors

Warning: Beta software This API is in beta stage and may be subject to change. Therefore, we do not recommend using this in production.

Interested in this feature? Please reach out to mobility-services-developer@cisco.com

Prerequisites

  1. An OAuth 2.0 client
  2. A client access token

Required Scope

  • sim.authentication_vector:generate

Code

If targeting production, you would need to add authentication to the sample code.


#!/usr/bin/env bash
grpcurl \
  -d '{ "imsi": { "value": "133700000000" } }' \
  sandbox.api.shamrock.wgtwo.com:443 \
  wgtwo.sim.v0.SimAuthenticationService/GenerateEapAkaAuthenticationVector

Example result


{
  "authenticationVector": {
    "rand": "XfBxzavLRmy3VL5Ga520EQ==",
    "xres": "9p414DXUfSI=",
    "autn": "qGPxA4L/gAArYZv3K9EztA==",
    "ck": "krRWtmFYikYQcfa01GRfzQ==",
    "ik": "nDFev+JUkFrx/CyQLO5vWA=="
  }
}

Read More