Get Credentials Details
This operation is used to get details of a particular user credential under credentials manager in control panel.
Path Parameters
- credentialName string required
Query Parameters
- propertyLevel int32
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
credentialRecordInfo object[]
recordType integerdescription stringcreatedTime integeradditionalInformation object
dbName stringconnectString stringazureCredInfo object
environment stringtenantId stringapplicationId stringsubscriptionId stringsecurityAssociations object
associations object[]
userOrGroup object[]
userId integer_type_ integeruserName stringuserGroupName stringuserGroupId integerproperties object
isCreatorAssociation booleancategoryPermission object
ownerAssociations object
credentialRecord object
credentialId integercredentialName stringrecord object
userName stringflags object
hasAzureKeyVaultAccess booleanisWorkflowRecord booleanhasAzureKeyVaultStorageAccess booleanhasAzureRSVAccess booleancreateAs object
userGroup object
userGroupId integer_type_ integeruserGroupName stringerror object
errorMessage stringerrorCode integer
{
"credentialRecordInfo": [
{
"recordType": 0,
"description": "string",
"createdTime": 0,
"additionalInformation": {
"dbName": "string",
"connectString": "string",
"azureCredInfo": {
"environment": "string",
"tenantId": "string",
"applicationId": "string",
"subscriptionId": "string"
}
},
"securityAssociations": {
"associations": [
{
"userOrGroup": [
{
"userId": 0,
"_type_": 0,
"userName": "string",
"userGroupName": "string",
"userGroupId": 0
}
],
"properties": {
"isCreatorAssociation": true,
"categoryPermission": {}
}
}
],
"ownerAssociations": {}
},
"credentialRecord": {
"credentialId": 0,
"credentialName": "string"
},
"record": {
"userName": "string"
},
"flags": {
"hasAzureKeyVaultAccess": true,
"isWorkflowRecord": true,
"hasAzureKeyVaultStorageAccess": true,
"hasAzureRSVAccess": true
},
"createAs": {
"userGroup": {
"userGroupId": 0,
"_type_": 0,
"userGroupName": "string"
}
}
}
],
"error": {
"errorMessage": "string",
"errorCode": 0
}
}
{
"credentialRecordInfo": [
{
"recordType": 2,
"description": "test unix",
"createdTime": 1539691717,
"additionalInformation": {
"dbName": "",
"connectString": "",
"azureCredInfo": {
"environment": "",
"tenantId": "",
"applicationId": "",
"subscriptionId": ""
}
},
"securityAssociations": {
"associations": [
{
"userOrGroup": [
{
"userId": 1,
"_type_": 13,
"userName": "testadmin"
}
],
"properties": {
"isCreatorAssociation": true,
"categoryPermission": {}
}
}
],
"ownerAssociations": {}
},
"credentialRecord": {
"credentialId": 2,
"credentialName": "Test2"
},
"record": {
"userName": "root"
},
"flags": {
"hasAzureKeyVaultAccess": false,
"isWorkflowRecord": false,
"hasAzureKeyVaultStorageAccess": false,
"hasAzureRSVAccess": false
},
"createAs": {
"userGroup": {
"userGroupId": 1,
"_type_": 15,
"userGroupName": "master"
}
}
},
{
"recordType": 1,
"description": "Test credential manager",
"createdTime": 1539751050,
"additionalInformation": {
"dbName": "",
"connectString": "",
"azureCredInfo": {
"environment": "",
"tenantId": "",
"applicationId": "",
"subscriptionId": ""
}
},
"securityAssociations": {
"associations": [
{
"userOrGroup": [
{
"userGroupName": "master",
"userGroupId": 1,
"_type_": 15
}
],
"properties": {
"isCreatorAssociation": true,
"categoryPermission": {}
}
}
],
"ownerAssociations": {}
},
"credentialRecord": {
"credentialId": 3,
"credentialName": "Test"
},
"record": {
"userName": "administrator"
},
"flags": {
"hasAzureKeyVaultAccess": false,
"isWorkflowRecord": false,
"hasAzureKeyVaultStorageAccess": false,
"hasAzureRSVAccess": false
},
"createAs": {
"userGroup": {
"userGroupId": 1,
"_type_": 15,
"userGroupName": "master"
}
}
}
],
"error": {
"errorMessage": "",
"errorCode": 0
}
}
Loading...