Skip to content

Latest commit

 

History

History
58 lines (52 loc) · 2.66 KB

GenerateCsr.md

File metadata and controls

58 lines (52 loc) · 2.66 KB

Akeyless::GenerateCsr

Properties

Name Type Description Notes
alg String [optional]
alt_names String A comma-separated list of dns alternative names [optional]
certificate_type String The certificate type to be included in the CSR certificate (ssl-client/ssl-server/certificate-signing) [optional]
city String The city to be included in the CSR certificate [optional]
common_name String The common name to be included in the CSR certificate
country String The country to be included in the CSR certificate [optional]
critical Boolean Add critical to the key usage extension (will be false if not added) [optional]
dep String The department to be included in the CSR certificate [optional]
email_addresses String A comma-separated list of email addresses alternative names [optional]
export_private_key Boolean The flag to indicate if the private key should be exported [optional][default to false]
generate_key Boolean Generate a new classic key for the csr [optional]
ip_addresses String A comma-separated list of ip addresses alternative names [optional]
json Boolean Set output format to JSON [optional][default to false]
key_type String The type of the key to generate (classic-key/dfc) [default to 'classic-key']
name String The key name
org String The organization to be included in the CSR certificate [optional]
split_level Integer The number of fragments that the item will be split into (not includes customer fragment) [optional][default to 3]
state String The state to be included in the CSR certificate [optional]
token String Authentication token (see `/auth` and `/configure`) [optional]
uid_token String The universal identity token, Required only for universal_identity authentication [optional]
uri_sans String A comma-separated list of uri alternative names [optional]

Example

require 'akeyless'

instance = Akeyless::GenerateCsr.new(
  alg: null,
  alt_names: null,
  certificate_type: null,
  city: null,
  common_name: null,
  country: null,
  critical: null,
  dep: null,
  email_addresses: null,
  export_private_key: null,
  generate_key: null,
  ip_addresses: null,
  json: null,
  key_type: null,
  name: null,
  org: null,
  split_level: null,
  state: null,
  token: null,
  uid_token: null,
  uri_sans: null
)