% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/auth.R
\name{set_api_key}
\alias{set_api_key}
\title{Set a UniTCM API Key}
\usage{
set_api_key(api_key, keyring = FALSE)
}
\arguments{
\item{api_key}{A character string. The API key (starts with \code{unitcm_}).}

\item{keyring}{Logical. If \code{TRUE}, also store in system keyring.}
}
\value{
Invisible \code{NULL}.
}
\description{
Stores the API key in session memory. Optionally also stores it in the
system keyring (requires the \pkg{keyring} package).
}
\examples{
\dontrun{
set_api_key("unitcm_your_key_here")
}
}
