GetUserAuthConfig

更新时间:
复制 MD 格式

Gets the details of a user authentication credential.

Operation description

This operation gets the details of a specified credential.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

ConnectorId

string

Yes

The connector ID.

connector-5e43ef26b53e4a158529

ConnectorVersion

string

No

The connector version.

1

AuthConfigId

string

Yes

The credential ID.

uac-ac11e0f1db7647ce8469

Response elements

Element

Type

Description

Example

object

The response body.

RequestId

string

The request ID.

458CB9FE-8C71-58A8-AD49-97EF28D58FAB

UserAuthConfig

object

Contains the credential details.

ConnectorId

string

The connector ID.

connector-172176821387

ConnectorVersion

string

The connector version.

1

AuthConfigId

string

The credential ID.

uac-111111111

AuthConfigName

string

The credential name.

dingtlak_name

AuthType

string

The authentication type.

ApiKey

AuthConfig

string

The auth config, specified as a JSON string.

{\"apiKey":\"xxxxxxxxxx\"}

Examples

Success response

JSON format

{
  "RequestId": "458CB9FE-8C71-58A8-AD49-97EF28D58FAB",
  "UserAuthConfig": {
    "ConnectorId": "connector-172176821387",
    "ConnectorVersion": "1",
    "AuthConfigId": "uac-111111111",
    "AuthConfigName": "dingtlak_name",
    "AuthType": "ApiKey",
    "AuthConfig": "{\\\"apiKey\":\\\"xxxxxxxxxx\\\"}"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.