1. Packages
  2. Packages
  3. Akeyless Provider
  4. API Docs
  5. GatewayMigrationCertificate
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

    Certificate Migration resource

    Create GatewayMigrationCertificate Resource

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

    Constructor syntax

    new GatewayMigrationCertificate(name: string, args: GatewayMigrationCertificateArgs, opts?: CustomResourceOptions);
    @overload
    def GatewayMigrationCertificate(resource_name: str,
                                    args: GatewayMigrationCertificateArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def GatewayMigrationCertificate(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    hosts: Optional[str] = None,
                                    target_location: Optional[str] = None,
                                    expiration_event_ins: Optional[Sequence[str]] = None,
                                    gateway_migration_certificate_id: Optional[str] = None,
                                    name: Optional[str] = None,
                                    port_ranges: Optional[str] = None,
                                    protection_key: Optional[str] = None)
    func NewGatewayMigrationCertificate(ctx *Context, name string, args GatewayMigrationCertificateArgs, opts ...ResourceOption) (*GatewayMigrationCertificate, error)
    public GatewayMigrationCertificate(string name, GatewayMigrationCertificateArgs args, CustomResourceOptions? opts = null)
    public GatewayMigrationCertificate(String name, GatewayMigrationCertificateArgs args)
    public GatewayMigrationCertificate(String name, GatewayMigrationCertificateArgs args, CustomResourceOptions options)
    
    type: akeyless:GatewayMigrationCertificate
    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 GatewayMigrationCertificateArgs
    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 GatewayMigrationCertificateArgs
    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 GatewayMigrationCertificateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GatewayMigrationCertificateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GatewayMigrationCertificateArgs
    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 gatewayMigrationCertificateResource = new Akeyless.GatewayMigrationCertificate("gatewayMigrationCertificateResource", new()
    {
        Hosts = "string",
        TargetLocation = "string",
        ExpirationEventIns = new[]
        {
            "string",
        },
        GatewayMigrationCertificateId = "string",
        Name = "string",
        PortRanges = "string",
        ProtectionKey = "string",
    });
    
    example, err := akeyless.NewGatewayMigrationCertificate(ctx, "gatewayMigrationCertificateResource", &akeyless.GatewayMigrationCertificateArgs{
    	Hosts:          pulumi.String("string"),
    	TargetLocation: pulumi.String("string"),
    	ExpirationEventIns: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	GatewayMigrationCertificateId: pulumi.String("string"),
    	Name:                          pulumi.String("string"),
    	PortRanges:                    pulumi.String("string"),
    	ProtectionKey:                 pulumi.String("string"),
    })
    
    var gatewayMigrationCertificateResource = new GatewayMigrationCertificate("gatewayMigrationCertificateResource", GatewayMigrationCertificateArgs.builder()
        .hosts("string")
        .targetLocation("string")
        .expirationEventIns("string")
        .gatewayMigrationCertificateId("string")
        .name("string")
        .portRanges("string")
        .protectionKey("string")
        .build());
    
    gateway_migration_certificate_resource = akeyless.GatewayMigrationCertificate("gatewayMigrationCertificateResource",
        hosts="string",
        target_location="string",
        expiration_event_ins=["string"],
        gateway_migration_certificate_id="string",
        name="string",
        port_ranges="string",
        protection_key="string")
    
    const gatewayMigrationCertificateResource = new akeyless.GatewayMigrationCertificate("gatewayMigrationCertificateResource", {
        hosts: "string",
        targetLocation: "string",
        expirationEventIns: ["string"],
        gatewayMigrationCertificateId: "string",
        name: "string",
        portRanges: "string",
        protectionKey: "string",
    });
    
    type: akeyless:GatewayMigrationCertificate
    properties:
        expirationEventIns:
            - string
        gatewayMigrationCertificateId: string
        hosts: string
        name: string
        portRanges: string
        protectionKey: string
        targetLocation: string
    

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

    Hosts string
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    TargetLocation string
    Target location in Akeyless for imported secrets
    ExpirationEventIns List<string>
    How many days before the expiration of the certificate would you like to be notified
    GatewayMigrationCertificateId string
    The ID of this resource.
    Name string
    Migration name
    PortRanges string
    A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
    ProtectionKey string
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    Hosts string
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    TargetLocation string
    Target location in Akeyless for imported secrets
    ExpirationEventIns []string
    How many days before the expiration of the certificate would you like to be notified
    GatewayMigrationCertificateId string
    The ID of this resource.
    Name string
    Migration name
    PortRanges string
    A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
    ProtectionKey string
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    hosts String
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    targetLocation String
    Target location in Akeyless for imported secrets
    expirationEventIns List<String>
    How many days before the expiration of the certificate would you like to be notified
    gatewayMigrationCertificateId String
    The ID of this resource.
    name String
    Migration name
    portRanges String
    A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
    protectionKey String
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    hosts string
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    targetLocation string
    Target location in Akeyless for imported secrets
    expirationEventIns string[]
    How many days before the expiration of the certificate would you like to be notified
    gatewayMigrationCertificateId string
    The ID of this resource.
    name string
    Migration name
    portRanges string
    A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
    protectionKey string
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    hosts str
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    target_location str
    Target location in Akeyless for imported secrets
    expiration_event_ins Sequence[str]
    How many days before the expiration of the certificate would you like to be notified
    gateway_migration_certificate_id str
    The ID of this resource.
    name str
    Migration name
    port_ranges str
    A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
    protection_key str
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    hosts String
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    targetLocation String
    Target location in Akeyless for imported secrets
    expirationEventIns List<String>
    How many days before the expiration of the certificate would you like to be notified
    gatewayMigrationCertificateId String
    The ID of this resource.
    name String
    Migration name
    portRanges String
    A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
    protectionKey String
    The name of the key that protects the classic key value (if empty, the account default key will be used)

    Outputs

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

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

    Look up Existing GatewayMigrationCertificate Resource

    Get an existing GatewayMigrationCertificate 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?: GatewayMigrationCertificateState, opts?: CustomResourceOptions): GatewayMigrationCertificate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            expiration_event_ins: Optional[Sequence[str]] = None,
            gateway_migration_certificate_id: Optional[str] = None,
            hosts: Optional[str] = None,
            migration_id: Optional[str] = None,
            name: Optional[str] = None,
            port_ranges: Optional[str] = None,
            protection_key: Optional[str] = None,
            target_location: Optional[str] = None) -> GatewayMigrationCertificate
    func GetGatewayMigrationCertificate(ctx *Context, name string, id IDInput, state *GatewayMigrationCertificateState, opts ...ResourceOption) (*GatewayMigrationCertificate, error)
    public static GatewayMigrationCertificate Get(string name, Input<string> id, GatewayMigrationCertificateState? state, CustomResourceOptions? opts = null)
    public static GatewayMigrationCertificate get(String name, Output<String> id, GatewayMigrationCertificateState state, CustomResourceOptions options)
    resources:  _:    type: akeyless:GatewayMigrationCertificate    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:
    ExpirationEventIns List<string>
    How many days before the expiration of the certificate would you like to be notified
    GatewayMigrationCertificateId string
    The ID of this resource.
    Hosts string
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    MigrationId string
    Migration ID
    Name string
    Migration name
    PortRanges string
    A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
    ProtectionKey string
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    TargetLocation string
    Target location in Akeyless for imported secrets
    ExpirationEventIns []string
    How many days before the expiration of the certificate would you like to be notified
    GatewayMigrationCertificateId string
    The ID of this resource.
    Hosts string
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    MigrationId string
    Migration ID
    Name string
    Migration name
    PortRanges string
    A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
    ProtectionKey string
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    TargetLocation string
    Target location in Akeyless for imported secrets
    expirationEventIns List<String>
    How many days before the expiration of the certificate would you like to be notified
    gatewayMigrationCertificateId String
    The ID of this resource.
    hosts String
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    migrationId String
    Migration ID
    name String
    Migration name
    portRanges String
    A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
    protectionKey String
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    targetLocation String
    Target location in Akeyless for imported secrets
    expirationEventIns string[]
    How many days before the expiration of the certificate would you like to be notified
    gatewayMigrationCertificateId string
    The ID of this resource.
    hosts string
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    migrationId string
    Migration ID
    name string
    Migration name
    portRanges string
    A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
    protectionKey string
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    targetLocation string
    Target location in Akeyless for imported secrets
    expiration_event_ins Sequence[str]
    How many days before the expiration of the certificate would you like to be notified
    gateway_migration_certificate_id str
    The ID of this resource.
    hosts str
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    migration_id str
    Migration ID
    name str
    Migration name
    port_ranges str
    A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
    protection_key str
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    target_location str
    Target location in Akeyless for imported secrets
    expirationEventIns List<String>
    How many days before the expiration of the certificate would you like to be notified
    gatewayMigrationCertificateId String
    The ID of this resource.
    hosts String
    A comma separated list of IPs, CIDR ranges, or DNS names to scan
    migrationId String
    Migration ID
    name String
    Migration name
    portRanges String
    A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
    protectionKey String
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    targetLocation String
    Target location in Akeyless for imported secrets

    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.