1. Packages
  2. Packages
  3. Akeyless Provider
  4. API Docs
  5. TargetZerossl
Viewing docs for akeyless 2.0.1
published on Monday, Apr 27, 2026 by akeyless-community
Viewing docs for akeyless 2.0.1
published on Monday, Apr 27, 2026 by akeyless-community

    ZeroSSL Target resource

    Create TargetZerossl Resource

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

    Constructor syntax

    new TargetZerossl(name: string, args: TargetZerosslArgs, opts?: CustomResourceOptions);
    @overload
    def TargetZerossl(resource_name: str,
                      args: TargetZerosslArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def TargetZerossl(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      imap_username: Optional[str] = None,
                      imap_fqdn: Optional[str] = None,
                      imap_password: Optional[str] = None,
                      api_key: Optional[str] = None,
                      description: Optional[str] = None,
                      imap_port: Optional[str] = None,
                      imap_target_email: Optional[str] = None,
                      keep_prev_version: Optional[str] = None,
                      key: Optional[str] = None,
                      max_versions: Optional[str] = None,
                      name: Optional[str] = None,
                      target_zerossl_id: Optional[str] = None,
                      timeout: Optional[str] = None)
    func NewTargetZerossl(ctx *Context, name string, args TargetZerosslArgs, opts ...ResourceOption) (*TargetZerossl, error)
    public TargetZerossl(string name, TargetZerosslArgs args, CustomResourceOptions? opts = null)
    public TargetZerossl(String name, TargetZerosslArgs args)
    public TargetZerossl(String name, TargetZerosslArgs args, CustomResourceOptions options)
    
    type: akeyless:TargetZerossl
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args TargetZerosslArgs
    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 TargetZerosslArgs
    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 TargetZerosslArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TargetZerosslArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TargetZerosslArgs
    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 targetZerosslResource = new Akeyless.TargetZerossl("targetZerosslResource", new()
    {
        ImapUsername = "string",
        ImapFqdn = "string",
        ImapPassword = "string",
        ApiKey = "string",
        Description = "string",
        ImapPort = "string",
        ImapTargetEmail = "string",
        KeepPrevVersion = "string",
        Key = "string",
        MaxVersions = "string",
        Name = "string",
        TargetZerosslId = "string",
        Timeout = "string",
    });
    
    example, err := akeyless.NewTargetZerossl(ctx, "targetZerosslResource", &akeyless.TargetZerosslArgs{
    	ImapUsername:    pulumi.String("string"),
    	ImapFqdn:        pulumi.String("string"),
    	ImapPassword:    pulumi.String("string"),
    	ApiKey:          pulumi.String("string"),
    	Description:     pulumi.String("string"),
    	ImapPort:        pulumi.String("string"),
    	ImapTargetEmail: pulumi.String("string"),
    	KeepPrevVersion: pulumi.String("string"),
    	Key:             pulumi.String("string"),
    	MaxVersions:     pulumi.String("string"),
    	Name:            pulumi.String("string"),
    	TargetZerosslId: pulumi.String("string"),
    	Timeout:         pulumi.String("string"),
    })
    
    var targetZerosslResource = new TargetZerossl("targetZerosslResource", TargetZerosslArgs.builder()
        .imapUsername("string")
        .imapFqdn("string")
        .imapPassword("string")
        .apiKey("string")
        .description("string")
        .imapPort("string")
        .imapTargetEmail("string")
        .keepPrevVersion("string")
        .key("string")
        .maxVersions("string")
        .name("string")
        .targetZerosslId("string")
        .timeout("string")
        .build());
    
    target_zerossl_resource = akeyless.TargetZerossl("targetZerosslResource",
        imap_username="string",
        imap_fqdn="string",
        imap_password="string",
        api_key="string",
        description="string",
        imap_port="string",
        imap_target_email="string",
        keep_prev_version="string",
        key="string",
        max_versions="string",
        name="string",
        target_zerossl_id="string",
        timeout="string")
    
    const targetZerosslResource = new akeyless.TargetZerossl("targetZerosslResource", {
        imapUsername: "string",
        imapFqdn: "string",
        imapPassword: "string",
        apiKey: "string",
        description: "string",
        imapPort: "string",
        imapTargetEmail: "string",
        keepPrevVersion: "string",
        key: "string",
        maxVersions: "string",
        name: "string",
        targetZerosslId: "string",
        timeout: "string",
    });
    
    type: akeyless:TargetZerossl
    properties:
        apiKey: string
        description: string
        imapFqdn: string
        imapPassword: string
        imapPort: string
        imapTargetEmail: string
        imapUsername: string
        keepPrevVersion: string
        key: string
        maxVersions: string
        name: string
        targetZerosslId: string
        timeout: string
    

    TargetZerossl 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 TargetZerossl resource accepts the following input properties:

    ApiKey string
    API Key of the ZeroSSLTarget account
    ImapFqdn string
    FQDN or IPv4 address of the IMAP service. Must be FQDN if the IMAP is using TLS
    ImapPassword string
    Password to access the IMAP service
    ImapUsername string
    Username to access the IMAP service
    Description string
    Description of the object
    ImapPort string
    Port of the IMAP service
    ImapTargetEmail string
    Validation email to use when asking ZeroSSL to send a validation email, if empty will use imap-username
    KeepPrevVersion string
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    Key string
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    MaxVersions string
    Set the maximum number of versions, limited by the account settings defaults
    Name string
    Target name
    TargetZerosslId string
    The ID of this resource.
    Timeout string
    Timeout waiting for certificate validation in Duration format (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum 1h
    ApiKey string
    API Key of the ZeroSSLTarget account
    ImapFqdn string
    FQDN or IPv4 address of the IMAP service. Must be FQDN if the IMAP is using TLS
    ImapPassword string
    Password to access the IMAP service
    ImapUsername string
    Username to access the IMAP service
    Description string
    Description of the object
    ImapPort string
    Port of the IMAP service
    ImapTargetEmail string
    Validation email to use when asking ZeroSSL to send a validation email, if empty will use imap-username
    KeepPrevVersion string
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    Key string
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    MaxVersions string
    Set the maximum number of versions, limited by the account settings defaults
    Name string
    Target name
    TargetZerosslId string
    The ID of this resource.
    Timeout string
    Timeout waiting for certificate validation in Duration format (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum 1h
    apiKey String
    API Key of the ZeroSSLTarget account
    imapFqdn String
    FQDN or IPv4 address of the IMAP service. Must be FQDN if the IMAP is using TLS
    imapPassword String
    Password to access the IMAP service
    imapUsername String
    Username to access the IMAP service
    description String
    Description of the object
    imapPort String
    Port of the IMAP service
    imapTargetEmail String
    Validation email to use when asking ZeroSSL to send a validation email, if empty will use imap-username
    keepPrevVersion String
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key String
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    maxVersions String
    Set the maximum number of versions, limited by the account settings defaults
    name String
    Target name
    targetZerosslId String
    The ID of this resource.
    timeout String
    Timeout waiting for certificate validation in Duration format (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum 1h
    apiKey string
    API Key of the ZeroSSLTarget account
    imapFqdn string
    FQDN or IPv4 address of the IMAP service. Must be FQDN if the IMAP is using TLS
    imapPassword string
    Password to access the IMAP service
    imapUsername string
    Username to access the IMAP service
    description string
    Description of the object
    imapPort string
    Port of the IMAP service
    imapTargetEmail string
    Validation email to use when asking ZeroSSL to send a validation email, if empty will use imap-username
    keepPrevVersion string
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key string
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    maxVersions string
    Set the maximum number of versions, limited by the account settings defaults
    name string
    Target name
    targetZerosslId string
    The ID of this resource.
    timeout string
    Timeout waiting for certificate validation in Duration format (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum 1h
    api_key str
    API Key of the ZeroSSLTarget account
    imap_fqdn str
    FQDN or IPv4 address of the IMAP service. Must be FQDN if the IMAP is using TLS
    imap_password str
    Password to access the IMAP service
    imap_username str
    Username to access the IMAP service
    description str
    Description of the object
    imap_port str
    Port of the IMAP service
    imap_target_email str
    Validation email to use when asking ZeroSSL to send a validation email, if empty will use imap-username
    keep_prev_version str
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key str
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    max_versions str
    Set the maximum number of versions, limited by the account settings defaults
    name str
    Target name
    target_zerossl_id str
    The ID of this resource.
    timeout str
    Timeout waiting for certificate validation in Duration format (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum 1h
    apiKey String
    API Key of the ZeroSSLTarget account
    imapFqdn String
    FQDN or IPv4 address of the IMAP service. Must be FQDN if the IMAP is using TLS
    imapPassword String
    Password to access the IMAP service
    imapUsername String
    Username to access the IMAP service
    description String
    Description of the object
    imapPort String
    Port of the IMAP service
    imapTargetEmail String
    Validation email to use when asking ZeroSSL to send a validation email, if empty will use imap-username
    keepPrevVersion String
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key String
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    maxVersions String
    Set the maximum number of versions, limited by the account settings defaults
    name String
    Target name
    targetZerosslId String
    The ID of this resource.
    timeout String
    Timeout waiting for certificate validation in Duration format (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum 1h

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing TargetZerossl Resource

    Get an existing TargetZerossl 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?: TargetZerosslState, opts?: CustomResourceOptions): TargetZerossl
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            api_key: Optional[str] = None,
            description: Optional[str] = None,
            imap_fqdn: Optional[str] = None,
            imap_password: Optional[str] = None,
            imap_port: Optional[str] = None,
            imap_target_email: Optional[str] = None,
            imap_username: Optional[str] = None,
            keep_prev_version: Optional[str] = None,
            key: Optional[str] = None,
            max_versions: Optional[str] = None,
            name: Optional[str] = None,
            target_zerossl_id: Optional[str] = None,
            timeout: Optional[str] = None) -> TargetZerossl
    func GetTargetZerossl(ctx *Context, name string, id IDInput, state *TargetZerosslState, opts ...ResourceOption) (*TargetZerossl, error)
    public static TargetZerossl Get(string name, Input<string> id, TargetZerosslState? state, CustomResourceOptions? opts = null)
    public static TargetZerossl get(String name, Output<String> id, TargetZerosslState state, CustomResourceOptions options)
    resources:  _:    type: akeyless:TargetZerossl    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ApiKey string
    API Key of the ZeroSSLTarget account
    Description string
    Description of the object
    ImapFqdn string
    FQDN or IPv4 address of the IMAP service. Must be FQDN if the IMAP is using TLS
    ImapPassword string
    Password to access the IMAP service
    ImapPort string
    Port of the IMAP service
    ImapTargetEmail string
    Validation email to use when asking ZeroSSL to send a validation email, if empty will use imap-username
    ImapUsername string
    Username to access the IMAP service
    KeepPrevVersion string
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    Key string
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    MaxVersions string
    Set the maximum number of versions, limited by the account settings defaults
    Name string
    Target name
    TargetZerosslId string
    The ID of this resource.
    Timeout string
    Timeout waiting for certificate validation in Duration format (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum 1h
    ApiKey string
    API Key of the ZeroSSLTarget account
    Description string
    Description of the object
    ImapFqdn string
    FQDN or IPv4 address of the IMAP service. Must be FQDN if the IMAP is using TLS
    ImapPassword string
    Password to access the IMAP service
    ImapPort string
    Port of the IMAP service
    ImapTargetEmail string
    Validation email to use when asking ZeroSSL to send a validation email, if empty will use imap-username
    ImapUsername string
    Username to access the IMAP service
    KeepPrevVersion string
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    Key string
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    MaxVersions string
    Set the maximum number of versions, limited by the account settings defaults
    Name string
    Target name
    TargetZerosslId string
    The ID of this resource.
    Timeout string
    Timeout waiting for certificate validation in Duration format (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum 1h
    apiKey String
    API Key of the ZeroSSLTarget account
    description String
    Description of the object
    imapFqdn String
    FQDN or IPv4 address of the IMAP service. Must be FQDN if the IMAP is using TLS
    imapPassword String
    Password to access the IMAP service
    imapPort String
    Port of the IMAP service
    imapTargetEmail String
    Validation email to use when asking ZeroSSL to send a validation email, if empty will use imap-username
    imapUsername String
    Username to access the IMAP service
    keepPrevVersion String
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key String
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    maxVersions String
    Set the maximum number of versions, limited by the account settings defaults
    name String
    Target name
    targetZerosslId String
    The ID of this resource.
    timeout String
    Timeout waiting for certificate validation in Duration format (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum 1h
    apiKey string
    API Key of the ZeroSSLTarget account
    description string
    Description of the object
    imapFqdn string
    FQDN or IPv4 address of the IMAP service. Must be FQDN if the IMAP is using TLS
    imapPassword string
    Password to access the IMAP service
    imapPort string
    Port of the IMAP service
    imapTargetEmail string
    Validation email to use when asking ZeroSSL to send a validation email, if empty will use imap-username
    imapUsername string
    Username to access the IMAP service
    keepPrevVersion string
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key string
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    maxVersions string
    Set the maximum number of versions, limited by the account settings defaults
    name string
    Target name
    targetZerosslId string
    The ID of this resource.
    timeout string
    Timeout waiting for certificate validation in Duration format (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum 1h
    api_key str
    API Key of the ZeroSSLTarget account
    description str
    Description of the object
    imap_fqdn str
    FQDN or IPv4 address of the IMAP service. Must be FQDN if the IMAP is using TLS
    imap_password str
    Password to access the IMAP service
    imap_port str
    Port of the IMAP service
    imap_target_email str
    Validation email to use when asking ZeroSSL to send a validation email, if empty will use imap-username
    imap_username str
    Username to access the IMAP service
    keep_prev_version str
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key str
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    max_versions str
    Set the maximum number of versions, limited by the account settings defaults
    name str
    Target name
    target_zerossl_id str
    The ID of this resource.
    timeout str
    Timeout waiting for certificate validation in Duration format (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum 1h
    apiKey String
    API Key of the ZeroSSLTarget account
    description String
    Description of the object
    imapFqdn String
    FQDN or IPv4 address of the IMAP service. Must be FQDN if the IMAP is using TLS
    imapPassword String
    Password to access the IMAP service
    imapPort String
    Port of the IMAP service
    imapTargetEmail String
    Validation email to use when asking ZeroSSL to send a validation email, if empty will use imap-username
    imapUsername String
    Username to access the IMAP service
    keepPrevVersion String
    Whether to keep previous version [true/false]. If not set, use default according to account settings
    key String
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    maxVersions String
    Set the maximum number of versions, limited by the account settings defaults
    name String
    Target name
    targetZerosslId String
    The ID of this resource.
    timeout String
    Timeout waiting for certificate validation in Duration format (1h - 1 Hour, 20m - 20 Minutes, 33m3s - 33 Minutes and 3 Seconds), maximum 1h

    Package Details

    Repository
    akeyless akeyless-community/terraform-provider-akeyless
    License
    Notes
    This Pulumi package is based on the akeyless Terraform Provider.
    Viewing docs for akeyless 2.0.1
    published on Monday, Apr 27, 2026 by akeyless-community
      Try Pulumi Cloud free. Your team will thank you.