We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3995cf5 commit a1820e7Copy full SHA for a1820e7
src/SecretsManager.ts
@@ -205,14 +205,8 @@ export class SecretsManager {
205
throw Error('slotId must be a integer of at least 0')
206
}
207
208
- if (
209
- !Number.isInteger(minutesUntilExpiration) ||
210
- minutesUntilExpiration < 5 ||
211
- minutesUntilExpiration > 2880
212
- ) {
213
- throw Error(
214
- 'minutesUntilExpiration must be an integer of at least 5 and less than 2880 (48 hours)',
215
- )
+ if (!Number.isInteger(minutesUntilExpiration) || minutesUntilExpiration < 5) {
+ throw Error('minutesUntilExpiration must be an integer of at least 5')
216
217
218
const encryptedSecretsBase64 = Buffer.from(encryptedSecretsHexstring.slice(2), 'hex').toString(
0 commit comments