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
//! This module defines all of the environment variables
//! used by `cipherstash-client`.
/// Specifies the base URL for ZeroKMS
/// e.g. <http://localhost:3000>
pub static CS_ZEROKMS_HOST: & = &;
/// Specifies the IDP host to use for authentication against ZeroKMS
/// e.g. <https://console.cipherstash.com>
pub static CS_CTS_HOST: & = &;
/// Specifies the ZeroKMS client ID
pub static CS_CLIENT_ID: &str = "CS_CLIENT_ID";
/// Specifies the ZeroKMS client Key
pub static CS_CLIENT_KEY: &str = "CS_CLIENT_KEY";
/// Specifies the ZeroKMS client Access Key used for authentication
pub static CS_CLIENT_ACCESS_KEY: &str = "CS_CLIENT_ACCESS_KEY";
/// Specifies the Workspace ID (must be paired with `CS_REGION`)
/// Alternatively, you can use `CS_WORKSPACE_CRN` to specify the workspace
pub static CS_WORKSPACE_ID: &str = "CS_WORKSPACE_ID";
/// Specifies the Region the workspace is in.
pub static CS_REGION: &str = "CS_REGION";
/// Specifies the Workspace CRN.
/// This is the preferred way to specify the workspace as an alternative to `CS_WORKSPACE_ID` and `CS_REGION`.
pub static CS_WORKSPACE_CRN: &str = "CS_WORKSPACE_CRN";
/// Specifies the path for read/write configs
pub static CS_CONFIG_PATH: &str = "CS_CONFIG_PATH";
/// Specifies whether to enable client-side decryption logging
pub static CS_DECRYPTION_LOG: &str = "CS_DECRYPTION_LOG";
/// Specifies the default keyset ID to use for encryption/decryption
pub static CS_DEFAULT_KEYSET_ID: &str = "CS_DEFAULT_KEYSET_ID";