File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
src/client-side-encryption/providers Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -122,34 +122,31 @@ export interface KMSProviders {
122
122
* Configuration options for using 'aws' as your KMS provider
123
123
*/
124
124
aws ?: AWSKMSProviderConfiguration | Record < string , never > ;
125
+ [ key : `aws:${string } `] : AWSKMSProviderConfiguration | Record < string , never > ;
125
126
126
127
/**
127
128
* Configuration options for using 'local' as your KMS provider
128
129
*/
129
130
local ?: LocalKMSProviderConfiguration ;
131
+ [ key : `local:${string } `] : LocalKMSProviderConfiguration ;
130
132
131
133
/**
132
134
* Configuration options for using 'kmip' as your KMS provider
133
135
*/
134
136
kmip ?: KMIPKMSProviderConfiguration ;
137
+ [ key : `kmip:${string } `] : KMIPKMSProviderConfiguration ;
135
138
136
139
/**
137
140
* Configuration options for using 'azure' as your KMS provider
138
141
*/
139
142
azure ?: AzureKMSProviderConfiguration | Record < string , never > ;
143
+ [ key : `azure:${string } `] : AzureKMSProviderConfiguration | Record < string , never > ;
140
144
141
145
/**
142
146
* Configuration options for using 'gcp' as your KMS provider
143
147
*/
144
148
gcp ?: GCPKMSProviderConfiguration | Record < string , never > ;
145
-
146
- [ key : string ] :
147
- | AWSKMSProviderConfiguration
148
- | LocalKMSProviderConfiguration
149
- | KMIPKMSProviderConfiguration
150
- | AzureKMSProviderConfiguration
151
- | GCPKMSProviderConfiguration
152
- | undefined ;
149
+ [ key : `gcp:${string } `] : GCPKMSProviderConfiguration | Record < string , never > ;
153
150
}
154
151
155
152
/**
You can’t perform that action at this time.
0 commit comments