cert_key_properties {AzureKeyVault} | R Documentation |
Helper functions for key vault objects
Description
Helper functions for key vault objects
Usage
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
)
Arguments
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 |
Details
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.