published on Monday, Apr 27, 2026 by akeyless-community
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
- Target
Location string - Target location in Akeyless for imported secrets
- Expiration
Event List<string>Ins - How many days before the expiration of the certificate would you like to be notified
- Gateway
Migration stringCertificate Id - The ID of this resource.
- Name string
- Migration name
- Port
Ranges string - A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
- Protection
Key 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
- Target
Location string - Target location in Akeyless for imported secrets
- Expiration
Event []stringIns - How many days before the expiration of the certificate would you like to be notified
- Gateway
Migration stringCertificate Id - The ID of this resource.
- Name string
- Migration name
- Port
Ranges string - A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
- Protection
Key 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
- target
Location String - Target location in Akeyless for imported secrets
- expiration
Event List<String>Ins - How many days before the expiration of the certificate would you like to be notified
- gateway
Migration StringCertificate Id - The ID of this resource.
- name String
- Migration name
- port
Ranges String - A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
- protection
Key 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
- target
Location string - Target location in Akeyless for imported secrets
- expiration
Event string[]Ins - How many days before the expiration of the certificate would you like to be notified
- gateway
Migration stringCertificate Id - The ID of this resource.
- name string
- Migration name
- port
Ranges string - A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
- protection
Key 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_ Sequence[str]ins - How many days before the expiration of the certificate would you like to be notified
- gateway_
migration_ strcertificate_ id - 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
- target
Location String - Target location in Akeyless for imported secrets
- expiration
Event List<String>Ins - How many days before the expiration of the certificate would you like to be notified
- gateway
Migration StringCertificate Id - The ID of this resource.
- name String
- Migration name
- port
Ranges String - A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
- protection
Key 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.
- Migration
Id string - Migration ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Migration
Id string - Migration ID
- id String
- The provider-assigned unique ID for this managed resource.
- migration
Id String - Migration ID
- id string
- The provider-assigned unique ID for this managed resource.
- migration
Id 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.
- migration
Id 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) -> GatewayMigrationCertificatefunc 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.
- Expiration
Event List<string>Ins - How many days before the expiration of the certificate would you like to be notified
- Gateway
Migration stringCertificate Id - The ID of this resource.
- Hosts string
- A comma separated list of IPs, CIDR ranges, or DNS names to scan
- Migration
Id string - Migration ID
- Name string
- Migration name
- Port
Ranges string - A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
- Protection
Key string - The name of the key that protects the classic key value (if empty, the account default key will be used)
- Target
Location string - Target location in Akeyless for imported secrets
- Expiration
Event []stringIns - How many days before the expiration of the certificate would you like to be notified
- Gateway
Migration stringCertificate Id - The ID of this resource.
- Hosts string
- A comma separated list of IPs, CIDR ranges, or DNS names to scan
- Migration
Id string - Migration ID
- Name string
- Migration name
- Port
Ranges string - A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
- Protection
Key string - The name of the key that protects the classic key value (if empty, the account default key will be used)
- Target
Location string - Target location in Akeyless for imported secrets
- expiration
Event List<String>Ins - How many days before the expiration of the certificate would you like to be notified
- gateway
Migration StringCertificate Id - The ID of this resource.
- hosts String
- A comma separated list of IPs, CIDR ranges, or DNS names to scan
- migration
Id String - Migration ID
- name String
- Migration name
- port
Ranges String - A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
- protection
Key String - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target
Location String - Target location in Akeyless for imported secrets
- expiration
Event string[]Ins - How many days before the expiration of the certificate would you like to be notified
- gateway
Migration stringCertificate Id - The ID of this resource.
- hosts string
- A comma separated list of IPs, CIDR ranges, or DNS names to scan
- migration
Id string - Migration ID
- name string
- Migration name
- port
Ranges string - A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
- protection
Key string - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target
Location string - Target location in Akeyless for imported secrets
- expiration_
event_ Sequence[str]ins - How many days before the expiration of the certificate would you like to be notified
- gateway_
migration_ strcertificate_ id - 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
- expiration
Event List<String>Ins - How many days before the expiration of the certificate would you like to be notified
- gateway
Migration StringCertificate Id - The ID of this resource.
- hosts String
- A comma separated list of IPs, CIDR ranges, or DNS names to scan
- migration
Id String - Migration ID
- name String
- Migration name
- port
Ranges String - A comma separated list of port ranges Examples: "80,443" or "80,443,8080-8090" or "443"
- protection
Key String - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target
Location 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
akeylessTerraform Provider.
published on Monday, Apr 27, 2026 by akeyless-community
