getCredentials returns credentials for any saved connection (#11029)

* getCredentials returns credentials for any saved connection

* Update doc comment

* Add tests

* cleanup

* cleanup
This commit is contained in:
Charles Gagnon
2020-06-23 11:04:13 -07:00
committed by GitHub
parent 29bf016fb8
commit a303144226
6 changed files with 59 additions and 14 deletions

2
src/sql/azdata.d.ts vendored
View File

@@ -132,7 +132,7 @@ declare module 'azdata' {
export function getConnectionString(connectionId: string, includePassword: boolean): Thenable<string>;
/**
* Get the credentials for an active connection
* Get the credentials for a connection
* @param connectionId The id of the connection
* @returns A dictionary containing the credentials as they would be included in the connection's options dictionary
*/