forked from ARMmbed/mbed-os-example-for-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaws_credentials.h
47 lines (41 loc) · 951 Bytes
/
aws_credentials.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// AWS Certificates
#ifndef AWS_CREDENTIALS_H
#define AWS_CREDENTIALS_H
namespace aws {
namespace credentials {
/*
* PEM-encoded root CA certificate
*
* Must include the PEM header and footer:
* "-----BEGIN CERTIFICATE-----"
* "...base64 data..."
* "-----END CERTIFICATE-----";
*/
const char rootCA[] = "-----BEGIN CERTIFICATE-----\n"
"...\n"
"-----END CERTIFICATE-----";
/*
* PEM-encoded client certificate
*
* Must include the PEM header and footer:
* "-----BEGIN CERTIFICATE-----"
* "...base64 data..."
* "-----END CERTIFICATE-----";
*/
const char clientCrt[] = "-----BEGIN CERTIFICATE-----\n"
"...\n"
"-----END CERTIFICATE-----";
/*
* PEM-encoded client private key.
*
* Must include the PEM header and footer:
* "-----BEGIN RSA PRIVATE KEY-----"
* "...base64 data..."
* "-----END RSA PRIVATE KEY-----";
*/
const char clientKey[] = "-----BEGIN RSA PRIVATE KEY-----\n"
"...\n"
"-----END RSA PRIVATE KEY-----";
}
}
#endif