Skip to content

Latest commit

 

History

History
66 lines (60 loc) · 3.97 KB

CreateDFCKey.md

File metadata and controls

66 lines (60 loc) · 3.97 KB

Akeyless::CreateDFCKey

Properties

Name Type Description Notes
alg String DFCKey type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096]
auto_rotate String Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation [true/false] [optional]
certificate_common_name String Common name for the generated certificate. Relevant only for generate-self-signed-certificate. [optional]
certificate_country String Country name for the generated certificate. Relevant only for generate-self-signed-certificate. [optional]
certificate_digest_algo String Digest algorithm to be used for the certificate key signing. Currently, we support only "sha256" so we hide this option for CLI. [optional]
certificate_format String [optional]
certificate_locality String Locality for the generated certificate. Relevant only for generate-self-signed-certificate. [optional]
certificate_organization String Organization name for the generated certificate. Relevant only for generate-self-signed-certificate. [optional]
certificate_province String Province name for the generated certificate. Relevant only for generate-self-signed-certificate. [optional]
certificate_ttl Integer TTL in days for the generated certificate. Required only for generate-self-signed-certificate. [optional]
conf_file_data String The csr config data in base64 encoding [optional]
customer_frg_id String The customer fragment ID that will be used to create the DFC key (if empty, the key will be created independently of a customer fragment) [optional]
delete_protection String Protection from accidental deletion of this object [true/false] [optional]
description String Description of the object [optional]
expiration_event_in Array<String> How many days before the expiration of the certificate would you like to be notified. [optional]
generate_self_signed_certificate Boolean Whether to generate a self signed certificate with the key. If set, --certificate-ttl must be provided. [optional]
json Boolean Set output format to JSON [optional][default to false]
metadata String Deprecated - use description [optional]
name String DFCKey name
rotation_event_in Array<String> How many days before the rotation of the item would you like to be notified [optional]
rotation_interval String The number of days to wait between every automatic rotation (7-365) [optional]
split_level Integer The number of fragments that the item will be split into (not includes customer fragment) [optional][default to 3]
tag Array<String> List of the tags attached to this DFC key [optional]
token String Authentication token (see `/auth` and `/configure`) [optional]
uid_token String The universal identity token, Required only for universal_identity authentication [optional]

Example

require 'akeyless'

instance = Akeyless::CreateDFCKey.new(
  alg: null,
  auto_rotate: null,
  certificate_common_name: null,
  certificate_country: null,
  certificate_digest_algo: null,
  certificate_format: null,
  certificate_locality: null,
  certificate_organization: null,
  certificate_province: null,
  certificate_ttl: null,
  conf_file_data: null,
  customer_frg_id: null,
  delete_protection: null,
  description: null,
  expiration_event_in: null,
  generate_self_signed_certificate: null,
  json: null,
  metadata: null,
  name: null,
  rotation_event_in: null,
  rotation_interval: null,
  split_level: null,
  tag: null,
  token: null,
  uid_token: null
)