akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community
akeyless.getCsr
Explore with Pulumi AI
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community
Generate a new CSR data source
Using getCsr
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCsr(args: GetCsrArgs, opts?: InvokeOptions): Promise<GetCsrResult>
function getCsrOutput(args: GetCsrOutputArgs, opts?: InvokeOptions): Output<GetCsrResult>
def get_csr(alg: Optional[str] = None,
alt_names: Optional[str] = None,
certificate_type: Optional[str] = None,
city: Optional[str] = None,
common_name: Optional[str] = None,
country: Optional[str] = None,
critical: Optional[bool] = None,
dep: Optional[str] = None,
email_addresses: Optional[str] = None,
generate_key: Optional[bool] = None,
id: Optional[str] = None,
ip_addresses: Optional[str] = None,
key_type: Optional[str] = None,
name: Optional[str] = None,
org: Optional[str] = None,
split_level: Optional[float] = None,
state: Optional[str] = None,
uri_sans: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCsrResult
def get_csr_output(alg: Optional[pulumi.Input[str]] = None,
alt_names: Optional[pulumi.Input[str]] = None,
certificate_type: Optional[pulumi.Input[str]] = None,
city: Optional[pulumi.Input[str]] = None,
common_name: Optional[pulumi.Input[str]] = None,
country: Optional[pulumi.Input[str]] = None,
critical: Optional[pulumi.Input[bool]] = None,
dep: Optional[pulumi.Input[str]] = None,
email_addresses: Optional[pulumi.Input[str]] = None,
generate_key: Optional[pulumi.Input[bool]] = None,
id: Optional[pulumi.Input[str]] = None,
ip_addresses: Optional[pulumi.Input[str]] = None,
key_type: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
org: Optional[pulumi.Input[str]] = None,
split_level: Optional[pulumi.Input[float]] = None,
state: Optional[pulumi.Input[str]] = None,
uri_sans: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCsrResult]
func GetCsr(ctx *Context, args *GetCsrArgs, opts ...InvokeOption) (*GetCsrResult, error)
func GetCsrOutput(ctx *Context, args *GetCsrOutputArgs, opts ...InvokeOption) GetCsrResultOutput
> Note: This function is named GetCsr
in the Go SDK.
public static class GetCsr
{
public static Task<GetCsrResult> InvokeAsync(GetCsrArgs args, InvokeOptions? opts = null)
public static Output<GetCsrResult> Invoke(GetCsrInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCsrResult> getCsr(GetCsrArgs args, InvokeOptions options)
public static Output<GetCsrResult> getCsr(GetCsrArgs args, InvokeOptions options)
fn::invoke:
function: akeyless:index/getCsr:getCsr
arguments:
# arguments dictionary
The following arguments are supported:
- Common
Name string - The common name to be included in the CSR certificate
- Name string
- The classic key name
- Alg string
- The algorithm (RSA/Elliptic-curve) to use for generating the new key
- Alt
Names string - A comma-separated list of dns alternative names
- Certificate
Type string - The certificate type to be included in the CSR certificate (ssl-client/ssl-server/certificate-signing)
- City string
- The city to be included in the CSR
- Country string
- The country to be included in the CSR
- Critical bool
- Add critical to the key usage extension (will be false if not added)
- Dep string
- The department to be included in the CSR
- Email
Addresses string - A comma-separated list of email addresses alternative names
- Generate
Key bool - Generate a new classic key for the csr
- Id string
- The ID of this resource.
- Ip
Addresses string - A comma-separated list of ip addresses alternative names
- Key
Type string - The type of the key to generate (classic-key/dfc)
- Org string
- The organization to be included in the CSR
- Split
Level double - The number of fragments that the item will be split into (not includes customer fragment, relevant only for dfc keys)
- State string
- The state to be included in the CSR
- Uri
Sans string - A comma-separated list of uri alternative names
- Common
Name string - The common name to be included in the CSR certificate
- Name string
- The classic key name
- Alg string
- The algorithm (RSA/Elliptic-curve) to use for generating the new key
- Alt
Names string - A comma-separated list of dns alternative names
- Certificate
Type string - The certificate type to be included in the CSR certificate (ssl-client/ssl-server/certificate-signing)
- City string
- The city to be included in the CSR
- Country string
- The country to be included in the CSR
- Critical bool
- Add critical to the key usage extension (will be false if not added)
- Dep string
- The department to be included in the CSR
- Email
Addresses string - A comma-separated list of email addresses alternative names
- Generate
Key bool - Generate a new classic key for the csr
- Id string
- The ID of this resource.
- Ip
Addresses string - A comma-separated list of ip addresses alternative names
- Key
Type string - The type of the key to generate (classic-key/dfc)
- Org string
- The organization to be included in the CSR
- Split
Level float64 - The number of fragments that the item will be split into (not includes customer fragment, relevant only for dfc keys)
- State string
- The state to be included in the CSR
- Uri
Sans string - A comma-separated list of uri alternative names
- common
Name String - The common name to be included in the CSR certificate
- name String
- The classic key name
- alg String
- The algorithm (RSA/Elliptic-curve) to use for generating the new key
- alt
Names String - A comma-separated list of dns alternative names
- certificate
Type String - The certificate type to be included in the CSR certificate (ssl-client/ssl-server/certificate-signing)
- city String
- The city to be included in the CSR
- country String
- The country to be included in the CSR
- critical Boolean
- Add critical to the key usage extension (will be false if not added)
- dep String
- The department to be included in the CSR
- email
Addresses String - A comma-separated list of email addresses alternative names
- generate
Key Boolean - Generate a new classic key for the csr
- id String
- The ID of this resource.
- ip
Addresses String - A comma-separated list of ip addresses alternative names
- key
Type String - The type of the key to generate (classic-key/dfc)
- org String
- The organization to be included in the CSR
- split
Level Double - The number of fragments that the item will be split into (not includes customer fragment, relevant only for dfc keys)
- state String
- The state to be included in the CSR
- uri
Sans String - A comma-separated list of uri alternative names
- common
Name string - The common name to be included in the CSR certificate
- name string
- The classic key name
- alg string
- The algorithm (RSA/Elliptic-curve) to use for generating the new key
- alt
Names string - A comma-separated list of dns alternative names
- certificate
Type string - The certificate type to be included in the CSR certificate (ssl-client/ssl-server/certificate-signing)
- city string
- The city to be included in the CSR
- country string
- The country to be included in the CSR
- critical boolean
- Add critical to the key usage extension (will be false if not added)
- dep string
- The department to be included in the CSR
- email
Addresses string - A comma-separated list of email addresses alternative names
- generate
Key boolean - Generate a new classic key for the csr
- id string
- The ID of this resource.
- ip
Addresses string - A comma-separated list of ip addresses alternative names
- key
Type string - The type of the key to generate (classic-key/dfc)
- org string
- The organization to be included in the CSR
- split
Level number - The number of fragments that the item will be split into (not includes customer fragment, relevant only for dfc keys)
- state string
- The state to be included in the CSR
- uri
Sans string - A comma-separated list of uri alternative names
- common_
name str - The common name to be included in the CSR certificate
- name str
- The classic key name
- alg str
- The algorithm (RSA/Elliptic-curve) to use for generating the new key
- alt_
names str - A comma-separated list of dns alternative names
- certificate_
type str - The certificate type to be included in the CSR certificate (ssl-client/ssl-server/certificate-signing)
- city str
- The city to be included in the CSR
- country str
- The country to be included in the CSR
- critical bool
- Add critical to the key usage extension (will be false if not added)
- dep str
- The department to be included in the CSR
- email_
addresses str - A comma-separated list of email addresses alternative names
- generate_
key bool - Generate a new classic key for the csr
- id str
- The ID of this resource.
- ip_
addresses str - A comma-separated list of ip addresses alternative names
- key_
type str - The type of the key to generate (classic-key/dfc)
- org str
- The organization to be included in the CSR
- split_
level float - The number of fragments that the item will be split into (not includes customer fragment, relevant only for dfc keys)
- state str
- The state to be included in the CSR
- uri_
sans str - A comma-separated list of uri alternative names
- common
Name String - The common name to be included in the CSR certificate
- name String
- The classic key name
- alg String
- The algorithm (RSA/Elliptic-curve) to use for generating the new key
- alt
Names String - A comma-separated list of dns alternative names
- certificate
Type String - The certificate type to be included in the CSR certificate (ssl-client/ssl-server/certificate-signing)
- city String
- The city to be included in the CSR
- country String
- The country to be included in the CSR
- critical Boolean
- Add critical to the key usage extension (will be false if not added)
- dep String
- The department to be included in the CSR
- email
Addresses String - A comma-separated list of email addresses alternative names
- generate
Key Boolean - Generate a new classic key for the csr
- id String
- The ID of this resource.
- ip
Addresses String - A comma-separated list of ip addresses alternative names
- key
Type String - The type of the key to generate (classic-key/dfc)
- org String
- The organization to be included in the CSR
- split
Level Number - The number of fragments that the item will be split into (not includes customer fragment, relevant only for dfc keys)
- state String
- The state to be included in the CSR
- uri
Sans String - A comma-separated list of uri alternative names
getCsr Result
The following output properties are available:
- Common
Name string - The common name to be included in the CSR certificate
- Data string
- Id string
- The ID of this resource.
- Name string
- The classic key name
- Alg string
- The algorithm (RSA/Elliptic-curve) to use for generating the new key
- Alt
Names string - A comma-separated list of dns alternative names
- Certificate
Type string - The certificate type to be included in the CSR certificate (ssl-client/ssl-server/certificate-signing)
- City string
- The city to be included in the CSR
- Country string
- The country to be included in the CSR
- Critical bool
- Add critical to the key usage extension (will be false if not added)
- Dep string
- The department to be included in the CSR
- Email
Addresses string - A comma-separated list of email addresses alternative names
- Generate
Key bool - Generate a new classic key for the csr
- Ip
Addresses string - A comma-separated list of ip addresses alternative names
- Key
Type string - The type of the key to generate (classic-key/dfc)
- Org string
- The organization to be included in the CSR
- Split
Level double - The number of fragments that the item will be split into (not includes customer fragment, relevant only for dfc keys)
- State string
- The state to be included in the CSR
- Uri
Sans string - A comma-separated list of uri alternative names
- Common
Name string - The common name to be included in the CSR certificate
- Data string
- Id string
- The ID of this resource.
- Name string
- The classic key name
- Alg string
- The algorithm (RSA/Elliptic-curve) to use for generating the new key
- Alt
Names string - A comma-separated list of dns alternative names
- Certificate
Type string - The certificate type to be included in the CSR certificate (ssl-client/ssl-server/certificate-signing)
- City string
- The city to be included in the CSR
- Country string
- The country to be included in the CSR
- Critical bool
- Add critical to the key usage extension (will be false if not added)
- Dep string
- The department to be included in the CSR
- Email
Addresses string - A comma-separated list of email addresses alternative names
- Generate
Key bool - Generate a new classic key for the csr
- Ip
Addresses string - A comma-separated list of ip addresses alternative names
- Key
Type string - The type of the key to generate (classic-key/dfc)
- Org string
- The organization to be included in the CSR
- Split
Level float64 - The number of fragments that the item will be split into (not includes customer fragment, relevant only for dfc keys)
- State string
- The state to be included in the CSR
- Uri
Sans string - A comma-separated list of uri alternative names
- common
Name String - The common name to be included in the CSR certificate
- data String
- id String
- The ID of this resource.
- name String
- The classic key name
- alg String
- The algorithm (RSA/Elliptic-curve) to use for generating the new key
- alt
Names String - A comma-separated list of dns alternative names
- certificate
Type String - The certificate type to be included in the CSR certificate (ssl-client/ssl-server/certificate-signing)
- city String
- The city to be included in the CSR
- country String
- The country to be included in the CSR
- critical Boolean
- Add critical to the key usage extension (will be false if not added)
- dep String
- The department to be included in the CSR
- email
Addresses String - A comma-separated list of email addresses alternative names
- generate
Key Boolean - Generate a new classic key for the csr
- ip
Addresses String - A comma-separated list of ip addresses alternative names
- key
Type String - The type of the key to generate (classic-key/dfc)
- org String
- The organization to be included in the CSR
- split
Level Double - The number of fragments that the item will be split into (not includes customer fragment, relevant only for dfc keys)
- state String
- The state to be included in the CSR
- uri
Sans String - A comma-separated list of uri alternative names
- common
Name string - The common name to be included in the CSR certificate
- data string
- id string
- The ID of this resource.
- name string
- The classic key name
- alg string
- The algorithm (RSA/Elliptic-curve) to use for generating the new key
- alt
Names string - A comma-separated list of dns alternative names
- certificate
Type string - The certificate type to be included in the CSR certificate (ssl-client/ssl-server/certificate-signing)
- city string
- The city to be included in the CSR
- country string
- The country to be included in the CSR
- critical boolean
- Add critical to the key usage extension (will be false if not added)
- dep string
- The department to be included in the CSR
- email
Addresses string - A comma-separated list of email addresses alternative names
- generate
Key boolean - Generate a new classic key for the csr
- ip
Addresses string - A comma-separated list of ip addresses alternative names
- key
Type string - The type of the key to generate (classic-key/dfc)
- org string
- The organization to be included in the CSR
- split
Level number - The number of fragments that the item will be split into (not includes customer fragment, relevant only for dfc keys)
- state string
- The state to be included in the CSR
- uri
Sans string - A comma-separated list of uri alternative names
- common_
name str - The common name to be included in the CSR certificate
- data str
- id str
- The ID of this resource.
- name str
- The classic key name
- alg str
- The algorithm (RSA/Elliptic-curve) to use for generating the new key
- alt_
names str - A comma-separated list of dns alternative names
- certificate_
type str - The certificate type to be included in the CSR certificate (ssl-client/ssl-server/certificate-signing)
- city str
- The city to be included in the CSR
- country str
- The country to be included in the CSR
- critical bool
- Add critical to the key usage extension (will be false if not added)
- dep str
- The department to be included in the CSR
- email_
addresses str - A comma-separated list of email addresses alternative names
- generate_
key bool - Generate a new classic key for the csr
- ip_
addresses str - A comma-separated list of ip addresses alternative names
- key_
type str - The type of the key to generate (classic-key/dfc)
- org str
- The organization to be included in the CSR
- split_
level float - The number of fragments that the item will be split into (not includes customer fragment, relevant only for dfc keys)
- state str
- The state to be included in the CSR
- uri_
sans str - A comma-separated list of uri alternative names
- common
Name String - The common name to be included in the CSR certificate
- data String
- id String
- The ID of this resource.
- name String
- The classic key name
- alg String
- The algorithm (RSA/Elliptic-curve) to use for generating the new key
- alt
Names String - A comma-separated list of dns alternative names
- certificate
Type String - The certificate type to be included in the CSR certificate (ssl-client/ssl-server/certificate-signing)
- city String
- The city to be included in the CSR
- country String
- The country to be included in the CSR
- critical Boolean
- Add critical to the key usage extension (will be false if not added)
- dep String
- The department to be included in the CSR
- email
Addresses String - A comma-separated list of email addresses alternative names
- generate
Key Boolean - Generate a new classic key for the csr
- ip
Addresses String - A comma-separated list of ip addresses alternative names
- key
Type String - The type of the key to generate (classic-key/dfc)
- org String
- The organization to be included in the CSR
- split
Level Number - The number of fragments that the item will be split into (not includes customer fragment, relevant only for dfc keys)
- state String
- The state to be included in the CSR
- uri
Sans String - A comma-separated list of uri alternative names
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeyless
Terraform Provider.
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community