ZotBins Core
Loading...
Searching...
No Matches
Credentials.hpp
1#ifndef CREDENTIALS_HPP
2#define CREDENTIALS_HPP
3
4// These are generated by CMakeLists.txt
5// To make sure compilation succeeds, ensure ca.crt, client.crt, aws.url and client.key exist!
6// https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/build-system.html#embedding-binary-data
7// AWS root CA certificate
8extern const uint8_t AWS_CA_CRT[] asm("_binary_ca_crt_start");
9// Device-local certificate
10extern const uint8_t AWS_CLIENT_CRT[] asm("_binary_client_crt_start");
11// Device-local private key
12extern const uint8_t AWS_CLIENT_KEY[] asm("_binary_client_key_start");
13// URL of AWS endpoint
14extern const uint8_t AWS_URL[] asm("_binary_aws_url_start");
15
16#endif