amcat.save.password: Add or change an entry in the cached authentication file

Description Usage Arguments

View source: R/amcatr.r

Description

amcat-r uses the file '~/.amcatauth' to read credentials for connecting to servers to prevent passwords from appearing in script files. This function will update the .amcatauth file (if present) to add or change the password for the given host

Usage

1
amcat.save.password(host, username, password, passwordfile = "~/.amcatauth")

Arguments

host

the host, e.g. "https://amcat.nl"

username

the AmCAT username to use

password

the password for the AmCAT user

passwordfile

optionally, specify a different password file


amcat/amcat-r documentation built on Dec. 26, 2021, 3:12 a.m.