2023-12-20 09:01:40 +01:00
|
|
|
% Generated by roxygen2: do not edit by hand
|
|
|
|
% Please edit documentation in R/easy_redcap.R
|
|
|
|
\name{get_api_key}
|
|
|
|
\alias{get_api_key}
|
|
|
|
\title{Retrieve project API key if stored, if not, set and retrieve}
|
|
|
|
\usage{
|
2024-11-28 14:32:03 +01:00
|
|
|
get_api_key(key.name, ...)
|
2023-12-20 09:01:40 +01:00
|
|
|
}
|
|
|
|
\arguments{
|
|
|
|
\item{key.name}{character vector of key name}
|
2024-11-28 14:32:03 +01:00
|
|
|
|
|
|
|
\item{...}{passed to \link[keyring]{key_set}}
|
2023-12-20 09:01:40 +01:00
|
|
|
}
|
|
|
|
\value{
|
|
|
|
character vector
|
|
|
|
}
|
|
|
|
\description{
|
2024-11-28 14:32:03 +01:00
|
|
|
Attempting to make secure API key storage so simple, that no other way makes
|
|
|
|
sense. Wrapping \link[keyring]{key_get} and \link[keyring]{key_set} using the
|
|
|
|
\link[keyring]{key_list} to check if key is in storage already.
|
2023-12-20 09:01:40 +01:00
|
|
|
}
|