Learn R Programming

valdr (version 1.0.0)

set_credentials: Set and Save VALD API Credentials

Description

Stores VALD API credentials securely using the system keyring and saves non-sensitive configuration to a config file in the user's home directory for reuse across sessions.

Usage

set_credentials(client_id, client_secret, tenant_id, region)

Value

A logical scalar (TRUE or FALSE), returned invisibly, indicating whether the credentials and configuration were saved successfully. Called primarily for side effects.

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 are never written to disk and are retrieved securely when needed.