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
-
type
stringrequired
The integration to authenticate, for example:
appdynamics
-
name
stringrequired
The credential name, for example:
user1
-
credentials
arrayrequired
List of credential details
Show/Hide Child Attributes
-
applicationName
stringrequired
The name of the application
-
controllerHost
stringrequired
The URL of the controller
-
controllerPort
stringrequired
The port used by the host
-
accountName
stringName of account with credentials
-
userName
stringThe user name. Usually identical to
accountName
-
accountPassword
stringThe account password. Also called "Access Key" in the UI
-
useAccessToken
booleanrequired
Set to
false
. IfuseAccessToken
is set totrue
, thenaccountName
,accountPassword
anduserName
become invalid or ignored. However, you need to provide an access token in the credentials (see Authenticate Credentials with Access Token.
-
-
workspaceId
stringrequired
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
-
type
stringrequired
The integration to authenticate, for example:
appdynamics
-
name
stringrequired
The credential name, for example:
token1
-
credentials
arrayrequired
List of credential details
Show/Hide Child Attributes
-
applicationName
stringrequired
The name of the application
-
controllerHost
stringrequired
The URL of the controller
-
controllerPort
stringrequired
The port used by the host
-
accessToken
stringThe temporary access token used to authenticate credentials
-
useAccessToken
booleanrequired
Set to
true
. IfuseAccessToken
is set tofalse
, you need to provideaccountName
,accountPassword
, anduserName
.
-
-
workspaceId
stringrequired
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
}