Skip to content

Document "<unchanged>" and "<redacted>" values for DataSourceCredentials.connectionString #9877

Open
@heaths

Description

@heaths

The DataSource model requires DataSourceCredentials, but the latter model is not returned from data source APIs. Since it's required, we cannot send back null (at least, the .NET generator does not support this since it's not "x-nullable": true and is, again, authored as required) and if we send an empty value (connectionString is not required), it would either err on the server or, worse, wipe out the existing credentials stored for the data source.

Instead, I'm told, the connectionString should be set to either "<unchanged>" or "<redacted>" to avoid wiping out the credentials. These should be documented in swagger so that callers know what to pass to update a data source.

Metadata

Metadata

Assignees

No one assigned

    Labels

    SearchService AttentionWorkflow: This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions