Is there a maximum length for a Webhook Shared Secret?
Smartsheet will randomly generate a Shared Secret to use to check signatures on Webhooks to authenticate them. I will need to store that shared secret in a database. I need to know the maximum length that this Shared Secret could be. What is it? Thanks.
Best Answer
-
Hi @sgolux
The general length is usually 26 characters, however I would not suggest limiting your solution to expect that count in case it fluctuates in the future.
You may want to build your database to allow for some extra characters in there just in case, or have some exception handling that would notify you if a shared secret is ever generated that is longer than what you're expecting.
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
Hi @sgolux
The general length is usually 26 characters, however I would not suggest limiting your solution to expect that count in case it fluctuates in the future.
You may want to build your database to allow for some extra characters in there just in case, or have some exception handling that would notify you if a shared secret is ever generated that is longer than what you're expecting.
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Thanks @Genevieve P. - so appreciate it.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives