authentication: Datadog-API - Authentication.

Description Usage Arguments Details Value Author(s) Examples

View source: R/authentification.R

Description

authentication() saves the API- and the APPlication-Key. For each session the key’s need to be set only once.

Usage

1
authentication(set_new = FALSE)

Arguments

set_new

TRUE for setting new credentials.

Details

For each session the key’s will saved in an environment variable, use set_new = TRUE for entering new credentials. For each key pair the length will be checked, Datadog API-Key is expected to have 32 and the Datadog Application-Key is expected to have 40 characters. A warning message occur if the length differs.

Value

"Keys saved."

Author(s)

Benjamin Holzknecht

Examples

1
2
3
4
## Not run: 
authentication(set_new = TRUE)

## End(Not run)

holzben/dogR documentation built on Feb. 21, 2020, 10:25 a.m.