1. Packages
  2. Akeyless Provider
  3. API Docs
  4. getCsr
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

akeyless.getCsr

Explore with Pulumi AI

akeyless logo
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:

    CommonName 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
    AltNames string
    A comma-separated list of dns alternative names
    CertificateType 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
    EmailAddresses string
    A comma-separated list of email addresses alternative names
    GenerateKey bool
    Generate a new classic key for the csr
    Id string
    The ID of this resource.
    IpAddresses string
    A comma-separated list of ip addresses alternative names
    KeyType string
    The type of the key to generate (classic-key/dfc)
    Org string
    The organization to be included in the CSR
    SplitLevel 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
    UriSans string
    A comma-separated list of uri alternative names
    CommonName 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
    AltNames string
    A comma-separated list of dns alternative names
    CertificateType 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
    EmailAddresses string
    A comma-separated list of email addresses alternative names
    GenerateKey bool
    Generate a new classic key for the csr
    Id string
    The ID of this resource.
    IpAddresses string
    A comma-separated list of ip addresses alternative names
    KeyType string
    The type of the key to generate (classic-key/dfc)
    Org string
    The organization to be included in the CSR
    SplitLevel 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
    UriSans string
    A comma-separated list of uri alternative names
    commonName 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
    altNames String
    A comma-separated list of dns alternative names
    certificateType 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
    emailAddresses String
    A comma-separated list of email addresses alternative names
    generateKey Boolean
    Generate a new classic key for the csr
    id String
    The ID of this resource.
    ipAddresses String
    A comma-separated list of ip addresses alternative names
    keyType String
    The type of the key to generate (classic-key/dfc)
    org String
    The organization to be included in the CSR
    splitLevel 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
    uriSans String
    A comma-separated list of uri alternative names
    commonName 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
    altNames string
    A comma-separated list of dns alternative names
    certificateType 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
    emailAddresses string
    A comma-separated list of email addresses alternative names
    generateKey boolean
    Generate a new classic key for the csr
    id string
    The ID of this resource.
    ipAddresses string
    A comma-separated list of ip addresses alternative names
    keyType string
    The type of the key to generate (classic-key/dfc)
    org string
    The organization to be included in the CSR
    splitLevel 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
    uriSans 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
    commonName 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
    altNames String
    A comma-separated list of dns alternative names
    certificateType 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
    emailAddresses String
    A comma-separated list of email addresses alternative names
    generateKey Boolean
    Generate a new classic key for the csr
    id String
    The ID of this resource.
    ipAddresses String
    A comma-separated list of ip addresses alternative names
    keyType String
    The type of the key to generate (classic-key/dfc)
    org String
    The organization to be included in the CSR
    splitLevel 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
    uriSans String
    A comma-separated list of uri alternative names

    getCsr Result

    The following output properties are available:

    CommonName 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
    AltNames string
    A comma-separated list of dns alternative names
    CertificateType 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
    EmailAddresses string
    A comma-separated list of email addresses alternative names
    GenerateKey bool
    Generate a new classic key for the csr
    IpAddresses string
    A comma-separated list of ip addresses alternative names
    KeyType string
    The type of the key to generate (classic-key/dfc)
    Org string
    The organization to be included in the CSR
    SplitLevel 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
    UriSans string
    A comma-separated list of uri alternative names
    CommonName 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
    AltNames string
    A comma-separated list of dns alternative names
    CertificateType 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
    EmailAddresses string
    A comma-separated list of email addresses alternative names
    GenerateKey bool
    Generate a new classic key for the csr
    IpAddresses string
    A comma-separated list of ip addresses alternative names
    KeyType string
    The type of the key to generate (classic-key/dfc)
    Org string
    The organization to be included in the CSR
    SplitLevel 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
    UriSans string
    A comma-separated list of uri alternative names
    commonName 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
    altNames String
    A comma-separated list of dns alternative names
    certificateType 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
    emailAddresses String
    A comma-separated list of email addresses alternative names
    generateKey Boolean
    Generate a new classic key for the csr
    ipAddresses String
    A comma-separated list of ip addresses alternative names
    keyType String
    The type of the key to generate (classic-key/dfc)
    org String
    The organization to be included in the CSR
    splitLevel 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
    uriSans String
    A comma-separated list of uri alternative names
    commonName 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
    altNames string
    A comma-separated list of dns alternative names
    certificateType 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
    emailAddresses string
    A comma-separated list of email addresses alternative names
    generateKey boolean
    Generate a new classic key for the csr
    ipAddresses string
    A comma-separated list of ip addresses alternative names
    keyType string
    The type of the key to generate (classic-key/dfc)
    org string
    The organization to be included in the CSR
    splitLevel 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
    uriSans 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
    commonName 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
    altNames String
    A comma-separated list of dns alternative names
    certificateType 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
    emailAddresses String
    A comma-separated list of email addresses alternative names
    generateKey Boolean
    Generate a new classic key for the csr
    ipAddresses String
    A comma-separated list of ip addresses alternative names
    keyType String
    The type of the key to generate (classic-key/dfc)
    org String
    The organization to be included in the CSR
    splitLevel 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
    uriSans 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 logo
    akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community