1. Registry
  2. Packages
  3. Akeyless Provider
  4. API Docs
  5. CertificateDiscovery
Viewing docs for akeyless 2.1.0
published on Thursday, Nov 19, 2026 by akeyless-community
akeyless
Viewing docs for akeyless 2.1.0
published on Thursday, Nov 19, 2026 by akeyless-community

    Create CertificateDiscovery Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CertificateDiscovery(name: string, args: CertificateDiscoveryArgs, opts?: CustomResourceOptions);
    @overload
    def CertificateDiscovery(resource_name: str,
                             args: CertificateDiscoveryArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def CertificateDiscovery(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             hosts: Optional[str] = None,
                             target_location: Optional[str] = None,
                             certificate_discovery_id: Optional[str] = None,
                             exclude_hosts: Optional[str] = None,
                             expiration_event_ins: Optional[Sequence[str]] = None,
                             port_ranges: Optional[str] = None,
                             protection_key: Optional[str] = None,
                             retry: Optional[CertificateDiscoveryRetryArgs] = None)
    func NewCertificateDiscovery(ctx *Context, name string, args CertificateDiscoveryArgs, opts ...ResourceOption) (*CertificateDiscovery, error)
    public CertificateDiscovery(string name, CertificateDiscoveryArgs args, CustomResourceOptions? opts = null)
    public CertificateDiscovery(String name, CertificateDiscoveryArgs args)
    public CertificateDiscovery(String name, CertificateDiscoveryArgs args, CustomResourceOptions options)
    
    type: akeyless:CertificateDiscovery
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "akeyless_certificate_discovery" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CertificateDiscoveryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CertificateDiscoveryArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CertificateDiscoveryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CertificateDiscoveryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CertificateDiscoveryArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var certificateDiscoveryResource = new Akeyless.CertificateDiscovery("certificateDiscoveryResource", new()
    {
        Hosts = "string",
        TargetLocation = "string",
        CertificateDiscoveryId = "string",
        ExcludeHosts = "string",
        ExpirationEventIns = new[]
        {
            "string",
        },
        PortRanges = "string",
        ProtectionKey = "string",
        Retry = new Akeyless.Inputs.CertificateDiscoveryRetryArgs
        {
            ErrorMessageRegexes = new[]
            {
                "string",
            },
            IntervalSeconds = 0.0,
            MaxIntervalSeconds = 0.0,
            MaxRetries = 0.0,
            RetryOnStatusCodes = new[]
            {
                0.0,
            },
        },
    });
    
    example, err := akeyless.NewCertificateDiscovery(ctx, "certificateDiscoveryResource", &akeyless.CertificateDiscoveryArgs{
    	Hosts:                  pulumi.String("string"),
    	TargetLocation:         pulumi.String("string"),
    	CertificateDiscoveryId: pulumi.String("string"),
    	ExcludeHosts:           pulumi.String("string"),
    	ExpirationEventIns: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	PortRanges:    pulumi.String("string"),
    	ProtectionKey: pulumi.String("string"),
    	Retry: &akeyless.CertificateDiscoveryRetryArgs{
    		ErrorMessageRegexes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		IntervalSeconds:    pulumi.Float64(0),
    		MaxIntervalSeconds: pulumi.Float64(0),
    		MaxRetries:         pulumi.Float64(0),
    		RetryOnStatusCodes: pulumi.Float64Array{
    			pulumi.Float64(0),
    		},
    	},
    })
    
    resource "akeyless_certificate_discovery" "certificateDiscoveryResource" {
      lifecycle {
        create_before_destroy = true
      }
      hosts                    = "string"
      target_location          = "string"
      certificate_discovery_id = "string"
      exclude_hosts            = "string"
      expiration_event_ins     = ["string"]
      port_ranges              = "string"
      protection_key           = "string"
      retry = {
        error_message_regexes = ["string"]
        interval_seconds      = 0
        max_interval_seconds  = 0
        max_retries           = 0
        retry_on_status_codes = [0]
      }
    }
    
    var certificateDiscoveryResource = new CertificateDiscovery("certificateDiscoveryResource", CertificateDiscoveryArgs.builder()
        .hosts("string")
        .targetLocation("string")
        .certificateDiscoveryId("string")
        .excludeHosts("string")
        .expirationEventIns("string")
        .portRanges("string")
        .protectionKey("string")
        .retry(CertificateDiscoveryRetryArgs.builder()
            .errorMessageRegexes("string")
            .intervalSeconds(0.0)
            .maxIntervalSeconds(0.0)
            .maxRetries(0.0)
            .retryOnStatusCodes(0.0)
            .build())
        .build());
    
    certificate_discovery_resource = akeyless.CertificateDiscovery("certificateDiscoveryResource",
        hosts="string",
        target_location="string",
        certificate_discovery_id="string",
        exclude_hosts="string",
        expiration_event_ins=["string"],
        port_ranges="string",
        protection_key="string",
        retry={
            "error_message_regexes": ["string"],
            "interval_seconds": float(0),
            "max_interval_seconds": float(0),
            "max_retries": float(0),
            "retry_on_status_codes": [float(0)],
        })
    
    const certificateDiscoveryResource = new akeyless.CertificateDiscovery("certificateDiscoveryResource", {
        hosts: "string",
        targetLocation: "string",
        certificateDiscoveryId: "string",
        excludeHosts: "string",
        expirationEventIns: ["string"],
        portRanges: "string",
        protectionKey: "string",
        retry: {
            errorMessageRegexes: ["string"],
            intervalSeconds: 0,
            maxIntervalSeconds: 0,
            maxRetries: 0,
            retryOnStatusCodes: [0],
        },
    });
    
    type: akeyless:CertificateDiscovery
    properties:
        certificateDiscoveryId: string
        excludeHosts: string
        expirationEventIns:
            - string
        hosts: string
        portRanges: string
        protectionKey: string
        retry:
            errorMessageRegexes:
                - string
            intervalSeconds: 0
            maxIntervalSeconds: 0
            maxRetries: 0
            retryOnStatusCodes:
                - 0
        targetLocation: string
    

    CertificateDiscovery Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CertificateDiscovery resource accepts the following input properties:

    Hosts string
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    TargetLocation string
    The results will be saved in this folder
    CertificateDiscoveryId string
    The ID of this resource.
    ExcludeHosts string
    A comma separated list of IP addresses, CIDR ranges, or DNS names to exclude from the scan
    ExpirationEventIns List<string>
    How many days before the expiration of the certificate would you like to be notified. To specify multiple events, repeat this argument.
    PortRanges string
    A comma separated list of port ranges. Example: 80,8080-8085
    ProtectionKey string
    The name of the key that protects the certificate value (if empty, the account default key will be used)
    Retry CertificateDiscoveryRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    Hosts string
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    TargetLocation string
    The results will be saved in this folder
    CertificateDiscoveryId string
    The ID of this resource.
    ExcludeHosts string
    A comma separated list of IP addresses, CIDR ranges, or DNS names to exclude from the scan
    ExpirationEventIns []string
    How many days before the expiration of the certificate would you like to be notified. To specify multiple events, repeat this argument.
    PortRanges string
    A comma separated list of port ranges. Example: 80,8080-8085
    ProtectionKey string
    The name of the key that protects the certificate value (if empty, the account default key will be used)
    Retry CertificateDiscoveryRetryArgs
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    hosts string
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    target_location string
    The results will be saved in this folder
    certificate_discovery_id string
    The ID of this resource.
    exclude_hosts string
    A comma separated list of IP addresses, CIDR ranges, or DNS names to exclude from the scan
    expiration_event_ins list(string)
    How many days before the expiration of the certificate would you like to be notified. To specify multiple events, repeat this argument.
    port_ranges string
    A comma separated list of port ranges. Example: 80,8080-8085
    protection_key string
    The name of the key that protects the certificate value (if empty, the account default key will be used)
    retry object
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    hosts String
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    targetLocation String
    The results will be saved in this folder
    certificateDiscoveryId String
    The ID of this resource.
    excludeHosts String
    A comma separated list of IP addresses, CIDR ranges, or DNS names to exclude from the scan
    expirationEventIns List<String>
    How many days before the expiration of the certificate would you like to be notified. To specify multiple events, repeat this argument.
    portRanges String
    A comma separated list of port ranges. Example: 80,8080-8085
    protectionKey String
    The name of the key that protects the certificate value (if empty, the account default key will be used)
    retry CertificateDiscoveryRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    hosts string
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    targetLocation string
    The results will be saved in this folder
    certificateDiscoveryId string
    The ID of this resource.
    excludeHosts string
    A comma separated list of IP addresses, CIDR ranges, or DNS names to exclude from the scan
    expirationEventIns string[]
    How many days before the expiration of the certificate would you like to be notified. To specify multiple events, repeat this argument.
    portRanges string
    A comma separated list of port ranges. Example: 80,8080-8085
    protectionKey string
    The name of the key that protects the certificate value (if empty, the account default key will be used)
    retry CertificateDiscoveryRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    hosts str
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    target_location str
    The results will be saved in this folder
    certificate_discovery_id str
    The ID of this resource.
    exclude_hosts str
    A comma separated list of IP addresses, CIDR ranges, or DNS names to exclude from the scan
    expiration_event_ins Sequence[str]
    How many days before the expiration of the certificate would you like to be notified. To specify multiple events, repeat this argument.
    port_ranges str
    A comma separated list of port ranges. Example: 80,8080-8085
    protection_key str
    The name of the key that protects the certificate value (if empty, the account default key will be used)
    retry CertificateDiscoveryRetryArgs
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    hosts String
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    targetLocation String
    The results will be saved in this folder
    certificateDiscoveryId String
    The ID of this resource.
    excludeHosts String
    A comma separated list of IP addresses, CIDR ranges, or DNS names to exclude from the scan
    expirationEventIns List<String>
    How many days before the expiration of the certificate would you like to be notified. To specify multiple events, repeat this argument.
    portRanges String
    A comma separated list of port ranges. Example: 80,8080-8085
    protectionKey String
    The name of the key that protects the certificate value (if empty, the account default key will be used)
    retry Property Map
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CertificateDiscovery resource produces the following output properties:

    CountExisting double
    Number of existing certificates updated
    CountFailed double
    Number of failed scan targets
    CountHosts double
    Number of hosts scanned
    CountNew double
    Number of new certificates discovered
    Id string
    The provider-assigned unique ID for this managed resource.
    ItemNames List<string>
    Names of certificate items created or updated by the discovery
    CountExisting float64
    Number of existing certificates updated
    CountFailed float64
    Number of failed scan targets
    CountHosts float64
    Number of hosts scanned
    CountNew float64
    Number of new certificates discovered
    Id string
    The provider-assigned unique ID for this managed resource.
    ItemNames []string
    Names of certificate items created or updated by the discovery
    count_existing number
    Number of existing certificates updated
    count_failed number
    Number of failed scan targets
    count_hosts number
    Number of hosts scanned
    count_new number
    Number of new certificates discovered
    id string
    The provider-assigned unique ID for this managed resource.
    item_names list(string)
    Names of certificate items created or updated by the discovery
    countExisting Double
    Number of existing certificates updated
    countFailed Double
    Number of failed scan targets
    countHosts Double
    Number of hosts scanned
    countNew Double
    Number of new certificates discovered
    id String
    The provider-assigned unique ID for this managed resource.
    itemNames List<String>
    Names of certificate items created or updated by the discovery
    countExisting number
    Number of existing certificates updated
    countFailed number
    Number of failed scan targets
    countHosts number
    Number of hosts scanned
    countNew number
    Number of new certificates discovered
    id string
    The provider-assigned unique ID for this managed resource.
    itemNames string[]
    Names of certificate items created or updated by the discovery
    count_existing float
    Number of existing certificates updated
    count_failed float
    Number of failed scan targets
    count_hosts float
    Number of hosts scanned
    count_new float
    Number of new certificates discovered
    id str
    The provider-assigned unique ID for this managed resource.
    item_names Sequence[str]
    Names of certificate items created or updated by the discovery
    countExisting Number
    Number of existing certificates updated
    countFailed Number
    Number of failed scan targets
    countHosts Number
    Number of hosts scanned
    countNew Number
    Number of new certificates discovered
    id String
    The provider-assigned unique ID for this managed resource.
    itemNames List<String>
    Names of certificate items created or updated by the discovery

    Look up Existing CertificateDiscovery Resource

    Get an existing CertificateDiscovery resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CertificateDiscoveryState, opts?: CustomResourceOptions): CertificateDiscovery
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            certificate_discovery_id: Optional[str] = None,
            count_existing: Optional[float] = None,
            count_failed: Optional[float] = None,
            count_hosts: Optional[float] = None,
            count_new: Optional[float] = None,
            exclude_hosts: Optional[str] = None,
            expiration_event_ins: Optional[Sequence[str]] = None,
            hosts: Optional[str] = None,
            item_names: Optional[Sequence[str]] = None,
            port_ranges: Optional[str] = None,
            protection_key: Optional[str] = None,
            retry: Optional[CertificateDiscoveryRetryArgs] = None,
            target_location: Optional[str] = None) -> CertificateDiscovery
    func GetCertificateDiscovery(ctx *Context, name string, id IDInput, state *CertificateDiscoveryState, opts ...ResourceOption) (*CertificateDiscovery, error)
    public static CertificateDiscovery Get(string name, Input<string> id, CertificateDiscoveryState? state, CustomResourceOptions? opts = null)
    public static CertificateDiscovery get(String name, Output<String> id, CertificateDiscoveryState state, CustomResourceOptions options)
    resources:  existingCertificateDiscovery:    type: akeyless:CertificateDiscovery    get:      id: ${id}
    import {
      to = akeyless_certificate_discovery.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state CertificateDiscoveryState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state CertificateDiscoveryState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state CertificateDiscoveryState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state CertificateDiscoveryState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    CertificateDiscoveryId string
    The ID of this resource.
    CountExisting double
    Number of existing certificates updated
    CountFailed double
    Number of failed scan targets
    CountHosts double
    Number of hosts scanned
    CountNew double
    Number of new certificates discovered
    ExcludeHosts string
    A comma separated list of IP addresses, CIDR ranges, or DNS names to exclude from the scan
    ExpirationEventIns List<string>
    How many days before the expiration of the certificate would you like to be notified. To specify multiple events, repeat this argument.
    Hosts string
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    ItemNames List<string>
    Names of certificate items created or updated by the discovery
    PortRanges string
    A comma separated list of port ranges. Example: 80,8080-8085
    ProtectionKey string
    The name of the key that protects the certificate value (if empty, the account default key will be used)
    Retry CertificateDiscoveryRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    TargetLocation string
    The results will be saved in this folder
    CertificateDiscoveryId string
    The ID of this resource.
    CountExisting float64
    Number of existing certificates updated
    CountFailed float64
    Number of failed scan targets
    CountHosts float64
    Number of hosts scanned
    CountNew float64
    Number of new certificates discovered
    ExcludeHosts string
    A comma separated list of IP addresses, CIDR ranges, or DNS names to exclude from the scan
    ExpirationEventIns []string
    How many days before the expiration of the certificate would you like to be notified. To specify multiple events, repeat this argument.
    Hosts string
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    ItemNames []string
    Names of certificate items created or updated by the discovery
    PortRanges string
    A comma separated list of port ranges. Example: 80,8080-8085
    ProtectionKey string
    The name of the key that protects the certificate value (if empty, the account default key will be used)
    Retry CertificateDiscoveryRetryArgs
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    TargetLocation string
    The results will be saved in this folder
    certificate_discovery_id string
    The ID of this resource.
    count_existing number
    Number of existing certificates updated
    count_failed number
    Number of failed scan targets
    count_hosts number
    Number of hosts scanned
    count_new number
    Number of new certificates discovered
    exclude_hosts string
    A comma separated list of IP addresses, CIDR ranges, or DNS names to exclude from the scan
    expiration_event_ins list(string)
    How many days before the expiration of the certificate would you like to be notified. To specify multiple events, repeat this argument.
    hosts string
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    item_names list(string)
    Names of certificate items created or updated by the discovery
    port_ranges string
    A comma separated list of port ranges. Example: 80,8080-8085
    protection_key string
    The name of the key that protects the certificate value (if empty, the account default key will be used)
    retry object
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    target_location string
    The results will be saved in this folder
    certificateDiscoveryId String
    The ID of this resource.
    countExisting Double
    Number of existing certificates updated
    countFailed Double
    Number of failed scan targets
    countHosts Double
    Number of hosts scanned
    countNew Double
    Number of new certificates discovered
    excludeHosts String
    A comma separated list of IP addresses, CIDR ranges, or DNS names to exclude from the scan
    expirationEventIns List<String>
    How many days before the expiration of the certificate would you like to be notified. To specify multiple events, repeat this argument.
    hosts String
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    itemNames List<String>
    Names of certificate items created or updated by the discovery
    portRanges String
    A comma separated list of port ranges. Example: 80,8080-8085
    protectionKey String
    The name of the key that protects the certificate value (if empty, the account default key will be used)
    retry CertificateDiscoveryRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    targetLocation String
    The results will be saved in this folder
    certificateDiscoveryId string
    The ID of this resource.
    countExisting number
    Number of existing certificates updated
    countFailed number
    Number of failed scan targets
    countHosts number
    Number of hosts scanned
    countNew number
    Number of new certificates discovered
    excludeHosts string
    A comma separated list of IP addresses, CIDR ranges, or DNS names to exclude from the scan
    expirationEventIns string[]
    How many days before the expiration of the certificate would you like to be notified. To specify multiple events, repeat this argument.
    hosts string
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    itemNames string[]
    Names of certificate items created or updated by the discovery
    portRanges string
    A comma separated list of port ranges. Example: 80,8080-8085
    protectionKey string
    The name of the key that protects the certificate value (if empty, the account default key will be used)
    retry CertificateDiscoveryRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    targetLocation string
    The results will be saved in this folder
    certificate_discovery_id str
    The ID of this resource.
    count_existing float
    Number of existing certificates updated
    count_failed float
    Number of failed scan targets
    count_hosts float
    Number of hosts scanned
    count_new float
    Number of new certificates discovered
    exclude_hosts str
    A comma separated list of IP addresses, CIDR ranges, or DNS names to exclude from the scan
    expiration_event_ins Sequence[str]
    How many days before the expiration of the certificate would you like to be notified. To specify multiple events, repeat this argument.
    hosts str
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    item_names Sequence[str]
    Names of certificate items created or updated by the discovery
    port_ranges str
    A comma separated list of port ranges. Example: 80,8080-8085
    protection_key str
    The name of the key that protects the certificate value (if empty, the account default key will be used)
    retry CertificateDiscoveryRetryArgs
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    target_location str
    The results will be saved in this folder
    certificateDiscoveryId String
    The ID of this resource.
    countExisting Number
    Number of existing certificates updated
    countFailed Number
    Number of failed scan targets
    countHosts Number
    Number of hosts scanned
    countNew Number
    Number of new certificates discovered
    excludeHosts String
    A comma separated list of IP addresses, CIDR ranges, or DNS names to exclude from the scan
    expirationEventIns List<String>
    How many days before the expiration of the certificate would you like to be notified. To specify multiple events, repeat this argument.
    hosts String
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    itemNames List<String>
    Names of certificate items created or updated by the discovery
    portRanges String
    A comma separated list of port ranges. Example: 80,8080-8085
    protectionKey String
    The name of the key that protects the certificate value (if empty, the account default key will be used)
    retry Property Map
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    targetLocation String
    The results will be saved in this folder

    Supporting Types

    CertificateDiscoveryRetry, CertificateDiscoveryRetryArgs

    ErrorMessageRegexes List<string>
    Regular expressions matched against the error message. If any matches, the operation is retried.
    IntervalSeconds double
    Wait before the first retry, in seconds. The wait doubles on each retry.
    MaxIntervalSeconds double
    Maximum wait between retries, in seconds.
    MaxRetries double
    Maximum number of retries after the first attempt.
    RetryOnStatusCodes List<double>
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    ErrorMessageRegexes []string
    Regular expressions matched against the error message. If any matches, the operation is retried.
    IntervalSeconds float64
    Wait before the first retry, in seconds. The wait doubles on each retry.
    MaxIntervalSeconds float64
    Maximum wait between retries, in seconds.
    MaxRetries float64
    Maximum number of retries after the first attempt.
    RetryOnStatusCodes []float64
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    error_message_regexes list(string)
    Regular expressions matched against the error message. If any matches, the operation is retried.
    interval_seconds number
    Wait before the first retry, in seconds. The wait doubles on each retry.
    max_interval_seconds number
    Maximum wait between retries, in seconds.
    max_retries number
    Maximum number of retries after the first attempt.
    retry_on_status_codes list(number)
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    errorMessageRegexes List<String>
    Regular expressions matched against the error message. If any matches, the operation is retried.
    intervalSeconds Double
    Wait before the first retry, in seconds. The wait doubles on each retry.
    maxIntervalSeconds Double
    Maximum wait between retries, in seconds.
    maxRetries Double
    Maximum number of retries after the first attempt.
    retryOnStatusCodes List<Double>
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    errorMessageRegexes string[]
    Regular expressions matched against the error message. If any matches, the operation is retried.
    intervalSeconds number
    Wait before the first retry, in seconds. The wait doubles on each retry.
    maxIntervalSeconds number
    Maximum wait between retries, in seconds.
    maxRetries number
    Maximum number of retries after the first attempt.
    retryOnStatusCodes number[]
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    error_message_regexes Sequence[str]
    Regular expressions matched against the error message. If any matches, the operation is retried.
    interval_seconds float
    Wait before the first retry, in seconds. The wait doubles on each retry.
    max_interval_seconds float
    Maximum wait between retries, in seconds.
    max_retries float
    Maximum number of retries after the first attempt.
    retry_on_status_codes Sequence[float]
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
    errorMessageRegexes List<String>
    Regular expressions matched against the error message. If any matches, the operation is retried.
    intervalSeconds Number
    Wait before the first retry, in seconds. The wait doubles on each retry.
    maxIntervalSeconds Number
    Maximum wait between retries, in seconds.
    maxRetries Number
    Maximum number of retries after the first attempt.
    retryOnStatusCodes List<Number>
    HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.

    Package Details

    Repository
    akeyless akeyless-community/terraform-provider-akeyless
    License
    Notes
    This Pulumi package is based on the akeyless Terraform Provider.
    akeyless
    Viewing docs for akeyless 2.1.0
    published on Thursday, Nov 19, 2026 by akeyless-community

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial