Skip to content

Commit 794559d

Browse files
authored
Rename AzureAppConfigurationKeyVaultOptions to KeyVaultOptions (#44)
1 parent 68a8458 commit 794559d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/AzureAppConfigurationOptions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Licensed under the MIT license.
33

44
import { AppConfigurationClientOptions } from "@azure/app-configuration";
5-
import { AzureAppConfigurationKeyVaultOptions } from "./keyvault/AzureAppConfigurationKeyVaultOptions";
5+
import { KeyVaultOptions } from "./keyvault/KeyVaultOptions";
66
import { SettingSelector } from "./types";
77

88
export const MaxRetries = 2;
@@ -34,5 +34,5 @@ export interface AzureAppConfigurationOptions {
3434
/**
3535
* Specifies options used to resolve Vey Vault references.
3636
*/
37-
keyVaultOptions?: AzureAppConfigurationKeyVaultOptions;
37+
keyVaultOptions?: KeyVaultOptions;
3838
}

src/keyvault/AzureKeyVaultKeyValueAdapter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import { ConfigurationSetting, isSecretReference, parseSecretReference } from "@azure/app-configuration";
55
import { IKeyValueAdapter } from "../IKeyValueAdapter";
6-
import { AzureAppConfigurationKeyVaultOptions } from "./AzureAppConfigurationKeyVaultOptions";
6+
import { KeyVaultOptions } from "./KeyVaultOptions";
77
import { SecretClient, parseKeyVaultSecretIdentifier } from "@azure/keyvault-secrets";
88

99
export class AzureKeyVaultKeyValueAdapter implements IKeyValueAdapter {
@@ -13,7 +13,7 @@ export class AzureKeyVaultKeyValueAdapter implements IKeyValueAdapter {
1313
private secretClients: Map<string, SecretClient>;
1414

1515
constructor(
16-
private keyVaultOptions: AzureAppConfigurationKeyVaultOptions | undefined
16+
private keyVaultOptions: KeyVaultOptions | undefined
1717
) { }
1818

1919
public canProcess(setting: ConfigurationSetting): boolean {

src/keyvault/AzureAppConfigurationKeyVaultOptions.ts renamed to src/keyvault/KeyVaultOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { SecretClient } from "@azure/keyvault-secrets";
77
/**
88
* Options used to resolve Key Vault references.
99
*/
10-
export interface AzureAppConfigurationKeyVaultOptions {
10+
export interface KeyVaultOptions {
1111
/**
1212
* Specifies the Key Vault secret client used for resolving Key Vault references.
1313
*/

0 commit comments

Comments
 (0)