view_credential_keys: View all available *blastula* credential keys

View source: R/retrieve_credentials.R

view_credential_keysR Documentation

View all available blastula credential keys

Description

To understand which keys have been set using the create_smtp_creds_key() function (and how they are identified), we can use the view_credential_keys() function. What's provided is a tibble with three columns: id, key_name, and username.

Usage

view_credential_keys()

Details

Support for using the view_credential_keys() function (and for doing any credential key management) is provided through the keyring package. This function cannot be used without that package being available on the system. We can use install.packages("keyring") to install keyring.

Examples

# View the available SMTP credentials
# that are in the system's secure
# key-value store; the `id` values
# in the returned tibble provide what's
# necessary to send email through
# `smtp_send()` and the `creds_key()`
# credential helper function

# view_credential_keys()


blastula documentation built on May 29, 2024, 4:22 a.m.