mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2026-06-19 21:27:29 +02:00
Deploying to gh-pages from @ agdamsbo/REDCapCAST@db75c3313e 🚀
This commit is contained in:
parent
bc2e23a272
commit
0b30252598
171 changed files with 7009 additions and 602 deletions
28
reference/get_api_key.md
Normal file
28
reference/get_api_key.md
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Retrieve project API key if stored, if not, set and retrieve
|
||||
|
||||
Attempting to make secure API key storage so simple, that no other way
|
||||
makes sense. Wrapping
|
||||
[key_get](https://keyring.r-lib.org/reference/key_get.html) and
|
||||
[key_set](https://keyring.r-lib.org/reference/key_get.html) using the
|
||||
[key_list](https://keyring.r-lib.org/reference/key_get.html) to check if
|
||||
key is in storage already.
|
||||
|
||||
## Usage
|
||||
|
||||
``` r
|
||||
get_api_key(key.name, ...)
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
- key.name:
|
||||
|
||||
character vector of key name
|
||||
|
||||
- ...:
|
||||
|
||||
passed to [key_set](https://keyring.r-lib.org/reference/key_get.html)
|
||||
|
||||
## Value
|
||||
|
||||
character vector
|
||||
Loading…
Add table
Add a link
Reference in a new issue