Skip to main content

Check out Interactive Visual Stories to gain hands-on experience with the SSE product features. Click here.

Skyhigh Security

Authenticate to CNAPP APIs

 To perform API operations with the CNAPP APIs it is required to use an access/refresh token. The token has a limited lifetime and can be obtained using one the following methods.

Get an Access Token with a username and password

API: POST  https://www.myshn.net/neo/neo-auth-s..._type=password

Request Headers:   x-auth-username: <<Email of SSE user>> 
                                    x-auth-password: <<Password of SSE user>> 

Response : 

{
    "access_token": "eyJhbGciOiJSUzI1Ni...IgWkUWn0cQ",
    "token_type": "bearer",
    "refresh_token": "eyJhbGciOiJSUzI1Ni...OkkNirxVO5Q",
    "expires_in": 509,
    "scope": "read write",
    "tenantName": "My test",
    "tenantID": 12345,
    "user": "abc@xyz.com",
    "userId": 141839,
    "email": "abc@xyz.com",
    "jti": "eecb9530-2ae5-4fa5-a128-1f436940c5c4"
}

Get an Access Token with IAM token

API: POST  https://www.myshn.net/neo/neo-auth-s...type=iam_token

Request Headers: x-iam-token: <<Token issued by SKYHIGH IAM service>> 

Response : 

{
    "access_token": "eyJhbGciOiJSUzI1Ni...IgWkUWn0cQ",
    "token_type": "bearer",
    "refresh_token": "eyJhbGciOiJSUzI1Ni...OkkNirxVO5Q",
    "expires_in": 509,
    "scope": "read write",
    "tenantName": "My test",
    "tenantID": 12345,
    "user": "abc@xyz.com",
    "userId": 141839,
    "email": "abc@xyz.com",
    "jti": "eecb9530-2ae5-4fa5-a128-1f436940c5c4"
}

  • Was this article helpful?