Authenticate Credentials with User Name and Password

Authenticate integrated apps using user name and account password ("Access Key").

Authenticate with User Name and Password Request Attributes

Attributes

  • typestring

    required

    The integration to authenticate, for example: appdynamics

  • namestring

    required

    The credential name, for example: user1

  • credentialsarray

    required

    List of credential details

  • workspaceIdstring

    required

    The ID of the workspace

Authenticate with User Name and Password

curl 'https://a.blazemeter.com/api/v4/credentials/validate' \
    -X POST \
    -H 'accept: application/json' \
    -H 'Content-Type: application/json' \
    -d '{"type":"appdynamics","name":"user1","credentials":{"applicationName":"test-application","controllerHost":"company1.saas.appdynamics.com","controllerPort":"443","accountName":"gracehopper","userName":"gracehopper","accountPassword":"5531vvp0jq6a","useAccessToken":false},"workspaceId":1234567}'
    

Authenticate with User Name and Password

Authenticate with User Name and Password POST Body (JSON)

{
  "type": "appdynamics",
  "name": "user1",
  "credentials": {
      "applicationName": "test-application",
      "controllerHost": "company1.saas.appdynamics.com",
      "controllerPort": "443", 
      "accountName": "gracehopper",
      "userName":"gracehopper",
      "accountPassword":"5531vvp0jq6a",
      "useAccessToken": "false"
      },
  "workspaceId": 1234567
}

Authenticate Credentials with Access Token

Authenticate integrated apps using a temporary access token.

Authenticate with Access Token Request Attributes

Attributes

  • typestring

    required

    The integration to authenticate, for example: appdynamics

  • namestring

    required

    The credential name, for example: token1

  • credentialsarray

    required

    List of credential details

  • workspaceIdstring

    required

    The ID of the workspace

Authenticate with Access Token

curl 'https://a.blazemeter.com/api/v4/credentials/validate' \
    -X POST \
    -H 'accept: application/json' \
    -H 'Content-Type: application/json' \
    -d '{"type":"appdynamics","name":"token1","credentials":{"applicationName":"test-application","controllerHost":"company1.saas.appdynamics.com","controllerPort":"443","accessToken":"eyJraWQiOiJiNWJlYmZlOC03ODkwLTRkZDMtYjdjYS1lMDgxNDQwZjI5ZWQiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJBcHBEeW5hbWljcyIsImF1ZCI6IkFwcERfQVBJcyIsImp0aSI6IlNZYnBKVGZ3N0FWbzRrcEk3UnhNS1EiLCJzdWIiOiJiemEtY2xpZW50IiwiaWRUeXBlIjoiQVBJX0NMSUVOVCIsImlkIjoiMDExZGVkY2YtYmVjYy00OGVkLTk4YTUtMjFmN2QzMzRjMDk1IiwiYWNjdElkIjoiYjViZWJmZTgtNzg5MC00ZGQzLWI3Y2EtZTA4MTQ0MGYyOWVkIiwidG50SWQiOiJiNWJlYmZlOC03ODkwLTRkZDMtYjdjYS1lMDgxNDQwZjI5ZWQiLCJhY2N0TmFtZSI6ImJpa2VyMjAyMjEwMjUwMTM4MDAzIiwidGVuYW50TmFtZSI6IiIsImZtbVRudElkIjpudWxsLCJhY2N0UGVybSI6W10sInJvbGVJZHMiOltdLCJpYXQiOjE2NzA1MDA2OTEsIm5iZiI6MTY3MDUwMDU3MSwiZXhwIjoxNjcxNTM3NDkxLCJ0b2tlblR5cGUiOiJBQ0NFU1MifQ.x22DC81Dlk_mi2PGpR2ek_a86hCtGe2f7wdrXO4LAgc","useAccessToken":true},"workspaceId":1234567}'

Authenticate with Access Token

Authenticate with Access Token POST Body (JSON)

{
  "type": "appdynamics",
  "name": "user1",
  "credentials": {
      "applicationName": "test-application",
      "controllerHost": "company1.saas.appdynamics.com",
      "controllerPort": "443", 
      "accessToken": "eyJraWQiOiJiNWJlYmZlOC03ODkwLTRkZDMtYjdjYS1lMDgxNDQwZjI5ZWQiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJBcHBEeW5hbWljcyIsImF1ZCI6IkFwcERfQVBJcyIsImp0aSI6IlNZYnBKVGZ3N0FWbzRrcEk3UnhNS1EiLCJzdWIiOiJiemEtY2xpZW50IiwiaWRUeXBlIjoiQVBJX0NMSUVOVCIsImlkIjoiMDExZGVkY2YtYmVjYy00OGVkLTk4YTUtMjFmN2QzMzRjMDk1IiwiYWNjdElkIjoiYjViZWJmZTgtNzg5MC00ZGQzLWI3Y2EtZTA4MTQ0MGYyOWVkIiwidG50SWQiOiJiNWJlYmZlOC03ODkwLTRkZDMtYjdjYS1lMDgxNDQwZjI5ZWQiLCJhY2N0TmFtZSI6ImJpa2VyMjAyMjEwMjUwMTM4MDAzIiwidGVuYW50TmFtZSI6IiIsImZtbVRudElkIjpudWxsLCJhY2N0UGVybSI6W10sInJvbGVJZHMiOltdLCJpYXQiOjE2NzA1MDA2OTEsIm5iZiI6MTY3MDUwMDU3MSwiZXhwIjoxNjcxNTM3NDkxLCJ0b2tlblR5cGUiOiJBQ0NFU1MifQ.x22DC81Dlk_mi2PGpR2ek_a86hCtGe2f7wdrXO4LAgc",
      "useAccessToken": "true"
      },
  "workspaceId": 1234567
}