createKeyring: Create a new secret in default Keyring

View source: R/Keyring.r

createKeyringR Documentation

Create a new secret in default Keyring

Description

This function creates a new secret with a specified keyring ID. If the keyring already exists, it prompts to use ModifyKeyring instead. Notice: the keyringid is postfixed with _epiufkeyring to avoid conflicts

Usage

createKeyring(keyring_id, secret = NULL)

Arguments

keyring_id

A string specifying the keyring ID.

secret

A secret string to be stored. It is not recommended to use this parameters because in that case your secret will be visible in your code. This parameters should be used only for tests

Value

A successful message or a warning message if keyring already exists.


Epiconcept-Paris/STRAP-epiuf documentation built on Aug. 5, 2024, 3:41 a.m.