Updating Datasource Authentication (Discarded)
Function
This API is used to update authentication information.
This API has been discarded and is not recommended.
URI
- URI format
- Parameter description
Table 1 URI parameter Parameter
Mandatory
Type
Description
project_id
Yes
String
Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.
Request
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
auth_info_name |
Yes |
String |
Name of the updated datasource authentication. |
user_name |
No |
String |
New username for logging in to the security cluster |
password |
No |
String |
New password for logging in to the security cluster |
krb5_conf |
No |
String |
OBS path of the krb5 configuration file |
keytab |
No |
String |
OBS path of the keytab configuration file |
truststore_location |
No |
String |
OBS path of the truststore configuration file |
truststore_password |
No |
String |
Password of the truststore configuration file |
keystore_location |
No |
String |
OBS path of the keystore configuration file |
keystore_password |
No |
String |
Password of the keystore configuration file |
Response
Parameter |
Type |
Description |
---|---|---|
is_success |
Boolean |
Whether the request is successfully executed. Value true indicates that the request is successfully executed. |
message |
String |
None |
Example Request
Change the name of datasource authentication to rds3.
{ "auth_info_name": "rds3" }
Example Response
{ "is_success": true, "message": "Update success." }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
Error Codes
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.