loadSecrets: loadSecrets(secrets)

Description Usage Arguments Value

View source: R/loadSecrets.R

Description

Load a DHIS secrets file which should be a JSON file as below dhis": "baseurl": "http://localhost:8080", "username": "admin", "password": "district"

Usage

1
loadSecrets(config_path = NA)

Arguments

config_path

Location of the configuration file to a DHIS2 server.

Value

Returns a boolean value indicating that the secrets file is valid by accessing /api/me


jason-p-pickering/datim-validation documentation built on Jan. 21, 2019, 12:33 a.m.