set_credentials: Set and Save VALD API Credentials

View source: R/config.R

set_credentialsR Documentation

Set and Save VALD API Credentials

Description

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.

Usage

set_credentials(client_id, client_secret, tenant_id, region)

Arguments

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")

Details

Sensitive values (client ID and secret) are never written to disk and are retrieved securely from the keyring when needed.

Value

Invisibly returns TRUE if credentials and configuration were saved successfully.


valdr documentation built on Aug. 8, 2025, 7:34 p.m.

Related to set_credentials in valdr...