It may be important to delete a credential key and the delete_credential_key() function makes this possible. To understand which keys are available in the key-value store (and to get their id values), use the view_credential_keys() function.

delete_credential_key(id)

Arguments

id

The identifying label for the credential key. Use the same id that was used to create the key with the create_smtp_creds_key() function.

Details

Support for using the delete_credential_key() 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

# Delete the credential key with # the `id` value of "outlook" # delete_credential_key("outlook")