copernicus_get_credentials: Get Copernicus Marine credentials

View source: R/setup_copernicus.R

copernicus_get_credentialsR Documentation

Get Copernicus Marine credentials

Description

Retrieves stored Copernicus Marine credentials from session options or environment variables.

Usage

copernicus_get_credentials(mask_password = TRUE)

Arguments

mask_password

Logical. Should password be masked in output? Default: TRUE.

Value

List with username and password (optionally masked).

Examples

# Get credentials (password masked)
copernicus_get_credentials()

# Get credentials (password visible - use with caution)
copernicus_get_credentials(mask_password = FALSE)

copernicusR documentation built on Aug. 8, 2025, 7:06 p.m.