LabVIEW Cloud Toolkits

Showing results for 
Search instead for 
Did you mean: 

Security of AWS Toolkit

Go to solution

I want to verify the security of transferring AWS credentials between LabVIEW and AWS. It looks like the toolkit VIs use HTTP. It is my understanding that LabVIEW is used to send HTTP Queries directly to communicate with AWS, and these queries are encrypted before they are sent to AWS. Can anyone verify that the communications are secure? Thank you.

0 Kudos
Message 1 of 3
Accepted by topic author Dave_F1

The NI Cloud Toolkit for AWS has a LabVIEW based implementation for generating signatures that AWS requires on the HTTP requests. Here's a high level flow of how your AWS secret access key (not your login credentials) is used to sign each request to AWS by following the Signature Version 4 process. More details on how the signatures are generated and used can be found in Amazon's documentation. Signature Version 4 Signing Process


How Signature Version 4 works

  1. Create a canonical request.

  2. Use the canonical request and additional metadata to create a string for signing.

  3. Derive a signing key from your AWS secret access key. Then use the signing key, and the string from the previous step, to create a signature.

  4. Add the resulting signature to the HTTP request in a header or as a query string parameter.

When an AWS service receives the request, it performs the same steps that you did to calculate the signature you sent in your request. AWS then compares its calculated signature to the one you sent with the request. If the signatures match, the request is processed. If the signatures don't match, the request is denied.

Danny Funk -- Group Manager -- LabVIEW R&D -- National Instruments
0 Kudos
Message 2 of 3

That is very helpful. Many thanks!

0 Kudos
Message 3 of 3