Files
jose/docs/key/generate_secret/interfaces/GenerateSecretOptions.md
T
2026-03-19 15:41:14 +01:00

798 B

Interface: GenerateSecretOptions

💗 Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.

Secret generation function options.

Properties

extractable?

• optional extractable?: boolean

The value to use as SubtleCrypto.generateKey extractable argument. Default is false.

Note

Because A128CBC-HS256, A192CBC-HS384, and A256CBC-HS512 secrets cannot be represented as CryptoKey this option has no effect for them.