Navision 2017 AWS signature V4

nina77
Member Posts: 5
How to generate amazon signature from Navision?
My code:

ouputs should be:
kDate = '969fbb94feb542b71ede6f87fe4d5fa29c789342b0f407474670f0c2489e0a0d'
kRegion = '69daa0209cd9c5ff5c8ced464a696fd4252e981430b10e3d3fd8e2f197d7a70c'
kService = 'f72cfd46f26bc4643f06a11eabb6c0ba18780c19a8da0c31ace671265e3c87fa'
kSigning = 'f4780e2d9f65fa895f9c67b32ce1baf0b0d8a43505a000a1a9e090d414db404d'
for kDate I get correct string, but for kRegion I get:
kRegion := 'a59e30f9d899c47b3dd68ea1c0ab3bb529e03a8f4ed2f54cb64af547330a22a0'
I tried with online generators https://www.freeformatter.com/hmac-generator.html#ad-output and https://cryptii.com/pipes/hmac.
https://cryptii.com/pipes/hmac get same as amazon, correct string, but https://www.freeformatter.com/hmac-generator.html#ad-output gets same value as I do.
Does anyone knows whats the problem?
My code:

ouputs should be:
kDate = '969fbb94feb542b71ede6f87fe4d5fa29c789342b0f407474670f0c2489e0a0d'
kRegion = '69daa0209cd9c5ff5c8ced464a696fd4252e981430b10e3d3fd8e2f197d7a70c'
kService = 'f72cfd46f26bc4643f06a11eabb6c0ba18780c19a8da0c31ace671265e3c87fa'
kSigning = 'f4780e2d9f65fa895f9c67b32ce1baf0b0d8a43505a000a1a9e090d414db404d'
for kDate I get correct string, but for kRegion I get:
kRegion := 'a59e30f9d899c47b3dd68ea1c0ab3bb529e03a8f4ed2f54cb64af547330a22a0'
I tried with online generators https://www.freeformatter.com/hmac-generator.html#ad-output and https://cryptii.com/pipes/hmac.
https://cryptii.com/pipes/hmac get same as amazon, correct string, but https://www.freeformatter.com/hmac-generator.html#ad-output gets same value as I do.
Does anyone knows whats the problem?
0
Answers
-
[Topic moved from 'NAV Tips & Tricks' forum to 'NAV Three Tier' forum]
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Howdy Nina77
I have the very same problem.
Did you find a soluction?
Dis you manage to connect to Amazon?
Cheers0 -
Hello JJMc,
I found a solution.
I created .dll, It's too complicated to create key from NAV.
If you need help, let me know.
Br,
Nina1 -
Hi, Nina.
Could you please share your solution?
I am working on the similar project.
Thank you in advance.
Regards,
Ari.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions