View source: R/unsafe_export.R
unsafe_export | R Documentation |
This functions exports a keyring to a file as a convenience function for production deployments.
unsafe_export(keyring, format, yaml_tag = "shelter", warn = TRUE)
keyring |
character(1); Name of keyring. |
format |
character(1); One of 'yaml' or 'ENV'. |
yaml_tag |
character(1); Tag to use in 'yaml'. Defaults to 'shelter' |
warn |
boolean(1); Should the user be warned of the dangers. Defaults to TRUE. |
WARNING: It is not recommended to use this function unless you are deploying to a hardened secured production environment. To restate, if you are developing on a personal laptop a report or code this function should NOT be used.
For this reason the function is not exported.
A character(1) string of the desired export.
## Not run:
cat(shelter:::unsafe_export('mypersonalkeyring', 'yaml'), file="myproject.yml")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.