set_credentials | R Documentation |
Securely stores VALD API credentials in the system keyring and saves non-sensitive configuration to a JSON config file in the user's home directory for reuse across sessions.
set_credentials(client_id, client_secret, tenant_id, region)
client_id |
Your VALD API Client ID (stored securely in keyring) |
client_secret |
Your VALD API Client Secret (stored securely in keyring) |
tenant_id |
Your VALD Tenant ID |
region |
The VALD data region code (e.g., "aue", "use", "euw") |
Sensitive values (client ID and secret) are never written to disk and are retrieved securely from the keyring when needed.
Invisibly returns TRUE if credentials and configuration were saved successfully.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.