Hi team,
I want to allow JIRA Forge to safely store a rsa-2048 private key generated by us so that Forge can sign it as a JWT type and generate an assertion at runtime. But it seems that the forge variables
are not allowing me to store something like this at the moment.
forge variables set --encrypt PRIVATE_KEY_USER_VAR "-----BEGIN RSA PRIVATE KEY...
Error: unknown option '-----BEGIN RSA PRIVATE KEY...
WrapperError: unknown option '-----BEGIN RSA PRIVATE KEY...
at /usr/local/lib/node_modules/@forge/cli/out/command-line/command.js:124:19
at Command._exitCallback (/usr/local/lib/node_modules/@forge/cli/out/command-line/command.js:42:44)
at Command._exit (/usr/local/lib/node_modules/@forge/cli/node_modules/commander/index.js:888:12)
at Command._displayError (/usr/local/lib/node_modules/@forge/cli/node_modules/commander/index.js:1729:10)
at Command.unknownOption (/usr/local/lib/node_modules/@forge/cli/node_modules/commander/index.js:1778:10)
at checkForUnknownOptions (/usr/local/lib/node_modules/@forge/cli/node_modules/commander/index.js:1482:16)
at Command._parseCommand (/usr/local/lib/node_modules/@forge/cli/node_modules/commander/index.js:1488:9)
at Command._dispatchSubcommand (/usr/local/lib/node_modules/@forge/cli/node_modules/commander/index.js:1443:18)
at Command._parseCommand (/usr/local/lib/node_modules/@forge/cli/node_modules/commander/index.js:1460:12)
at Command._dispatchSubcommand (/usr/local/lib/node_modules/@forge/cli/node_modules/commander/index.js:1443:18)
at Command._parseCommand (/usr/local/lib/node_modules/@forge/cli/node_modules/commander/index.js:1460:12)
at Command.parse (/usr/local/lib/node_modules/@forge/cli/node_modules/commander/index.js:1292:10)
at Command.parse (/usr/local/lib/node_modules/@forge/cli/out/command-line/command.js:182:22)
at Object.exports.main (/usr/local/lib/node_modules/@forge/cli/out/command-line/index.js:64:20)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
What recommendations would you have? Thank you in advance.