ZotBins Core
Loading...
Searching...
No Matches
Credentials.hpp
1
#ifndef CREDENTIALS_HPP
2
#define CREDENTIALS_HPP
3
4
#ifdef HAS_AWS_CREDENTIALS
5
// These are generated by CMakeLists.txt
6
// https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/build-system.html#embedding-binary-data
7
// AWS root CA certificate
8
extern
const
uint8_t AWS_CA_CRT[]
asm
(
"_binary_ca_crt_start"
);
9
// Device-local certificate
10
extern
const
uint8_t AWS_CLIENT_CRT[]
asm
(
"_binary_client_crt_start"
);
11
// Device-local private key
12
extern
const
uint8_t AWS_CLIENT_KEY[]
asm
(
"_binary_client_key_start"
);
13
// URL of AWS endpoint
14
extern
const
uint8_t AWS_URL[]
asm
(
"_binary_aws_url_start"
);
15
#else
16
const
uint8_t AWS_CA_CRT[] =
""
;
17
// Device-local certificate
18
const
uint8_t AWS_CLIENT_CRT[] =
""
;
19
// Device-local private key
20
const
uint8_t AWS_CLIENT_KEY[] =
""
;
21
// URL of AWS endpoint
22
const
uint8_t AWS_URL[] =
""
;
23
#endif
/* HAS_AWS_CREDENTIALS */
24
25
#endif
components
ClientComponent
include
Credentials.hpp
Generated by
1.13.2