File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ export class AzureKeyVaultKeyValueAdapter implements IKeyValueAdapter {
3636
3737 const client = this . #getSecretClient( new URL ( vaultUrl ) ) ;
3838 if ( client ) {
39- // If the credential of the secret client is wrong, AuthenticationError will be thrown.
4039 const secret = await client . getSecret ( secretName , { version } ) ;
4140 return [ setting . key , secret . value ] ;
4241 }
@@ -45,8 +44,6 @@ export class AzureKeyVaultKeyValueAdapter implements IKeyValueAdapter {
4544 return [ setting . key , await this . #keyVaultOptions. secretResolver ( new URL ( sourceId ) ) ] ;
4645 }
4746
48- // When code reaches here, it means the key vault secret reference is not resolved.
49-
5047 throw new ArgumentError ( "Failed to process the key vault reference. No key vault secret client, credential or secret resolver callback is configured." ) ;
5148 }
5249
You can’t perform that action at this time.
0 commit comments