cipherstash-client 0.34.1-alpha.1

The official CipherStash SDK
Documentation
//! 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: &[&str] = &["CS_ZEROKMS_HOST", "CS_VITUR_HOST"];

/// Specifies the IDP host to use for authentication against ZeroKMS
/// e.g. <https://console.cipherstash.com>
pub static CS_CTS_HOST: &[&str] = &["CS_CTS_HOST", "CS_VITUR_IDP_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";