Get a account name from macOS Keychain using the 'security' cli
Keychain password label
Leychain password type. Either "generic" or "internet".
Returns the account value attached to the label.
macOS may require the user to grant access to "security" the first time the function is run for each stored credential. It is important to select "Always allow", which will prevent similar dialogs in the future.
1 2 3 4 5 6
## Not run: # First store a set of credentials in Keychain # now return the account name to the R environment x <- get_kc_account("label") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.