Description Usage Arguments Details
Helper functions for key vault objects
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | cert_key_properties(
type = c("RSA", "EC"),
hardware = FALSE,
ec_curve = NULL,
rsa_key_size = NULL,
key_exportable = TRUE,
reuse_key = FALSE
)
cert_x509_properties(
dns_names = character(),
emails = character(),
upns = character(),
key_usages = c("digitalSignature", "keyEncipherment"),
enhanced_key_usages = c("1.3.6.1.5.5.7.3.1", "1.3.6.1.5.5.7.3.2"),
validity_months = NULL
)
cert_issuer_properties(issuer = "self", cert_type = NULL, transparent = NULL)
cert_expiry_action(remaining = 0.1, action = c("AutoRenew", "EmailContacts"))
vault_object_attrs(
enabled = TRUE,
expiry_date = NULL,
activation_date = NULL,
recovery_level = NULL
)
|
type |
For |
hardware |
For |
ec_curve |
For an EC key, the type of elliptic curve. |
rsa_key_size |
For an RSA key, the key size, either 2048, 3072 or 4096. |
key_exportable |
For a key used in a certificate, whether it should be exportable. |
reuse_key |
For a key used in a certificate, whether it should be reused when renewing the certificate. |
dns_names, emails, upns |
For |
key_usages |
For |
enhanced_key_usages |
For |
validity_months |
For |
issuer |
For |
cert_type |
For |
transparent |
For |
remaining |
For |
action |
For |
enabled |
For |
expiry_date, activation_date |
For |
recovery_level |
For |
These are convenience functions for specifying the properties of objects stored in a key vault. They return lists of fields to pass to the REST API.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.