published on Thursday, Nov 19, 2026 by akeyless-community
published on Thursday, Nov 19, 2026 by akeyless-community
Kubernetes Migration resource
Create GatewayMigrationK8s Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayMigrationK8s(name: string, args: GatewayMigrationK8sArgs, opts?: CustomResourceOptions);@overload
def GatewayMigrationK8s(resource_name: str,
args: GatewayMigrationK8sArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GatewayMigrationK8s(resource_name: str,
opts: Optional[ResourceOptions] = None,
target_location: Optional[str] = None,
k8s_skip_system: Optional[bool] = None,
k8s_client_certificates: Optional[Sequence[float]] = None,
k8s_client_keys: Optional[Sequence[float]] = None,
k8s_namespace: Optional[str] = None,
k8s_password: Optional[str] = None,
gateway_migration_k8s_id: Optional[str] = None,
k8s_token: Optional[str] = None,
k8s_url: Optional[str] = None,
k8s_username: Optional[str] = None,
name: Optional[str] = None,
protection_key: Optional[str] = None,
retry: Optional[GatewayMigrationK8sRetryArgs] = None,
k8s_ca_certificates: Optional[Sequence[float]] = None)func NewGatewayMigrationK8s(ctx *Context, name string, args GatewayMigrationK8sArgs, opts ...ResourceOption) (*GatewayMigrationK8s, error)public GatewayMigrationK8s(string name, GatewayMigrationK8sArgs args, CustomResourceOptions? opts = null)
public GatewayMigrationK8s(String name, GatewayMigrationK8sArgs args)
public GatewayMigrationK8s(String name, GatewayMigrationK8sArgs args, CustomResourceOptions options)
type: akeyless:GatewayMigrationK8s
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "akeyless_gateway_migration_k8s" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args GatewayMigrationK8sArgs
- 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 GatewayMigrationK8sArgs
- 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 GatewayMigrationK8sArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayMigrationK8sArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayMigrationK8sArgs
- 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 gatewayMigrationK8sResource = new Akeyless.GatewayMigrationK8s("gatewayMigrationK8sResource", new()
{
TargetLocation = "string",
K8sSkipSystem = false,
K8sClientCertificates = new[]
{
0.0,
},
K8sClientKeys = new[]
{
0.0,
},
K8sNamespace = "string",
K8sPassword = "string",
GatewayMigrationK8sId = "string",
K8sToken = "string",
K8sUrl = "string",
K8sUsername = "string",
Name = "string",
ProtectionKey = "string",
Retry = new Akeyless.Inputs.GatewayMigrationK8sRetryArgs
{
ErrorMessageRegexes = new[]
{
"string",
},
IntervalSeconds = 0.0,
MaxIntervalSeconds = 0.0,
MaxRetries = 0.0,
RetryOnStatusCodes = new[]
{
0.0,
},
},
K8sCaCertificates = new[]
{
0.0,
},
});
example, err := akeyless.NewGatewayMigrationK8s(ctx, "gatewayMigrationK8sResource", &akeyless.GatewayMigrationK8sArgs{
TargetLocation: pulumi.String("string"),
K8sSkipSystem: pulumi.Bool(false),
K8sClientCertificates: pulumi.Float64Array{
pulumi.Float64(0),
},
K8sClientKeys: pulumi.Float64Array{
pulumi.Float64(0),
},
K8sNamespace: pulumi.String("string"),
K8sPassword: pulumi.String("string"),
GatewayMigrationK8sId: pulumi.String("string"),
K8sToken: pulumi.String("string"),
K8sUrl: pulumi.String("string"),
K8sUsername: pulumi.String("string"),
Name: pulumi.String("string"),
ProtectionKey: pulumi.String("string"),
Retry: &akeyless.GatewayMigrationK8sRetryArgs{
ErrorMessageRegexes: pulumi.StringArray{
pulumi.String("string"),
},
IntervalSeconds: pulumi.Float64(0),
MaxIntervalSeconds: pulumi.Float64(0),
MaxRetries: pulumi.Float64(0),
RetryOnStatusCodes: pulumi.Float64Array{
pulumi.Float64(0),
},
},
K8sCaCertificates: pulumi.Float64Array{
pulumi.Float64(0),
},
})
resource "akeyless_gateway_migration_k8s" "gatewayMigrationK8sResource" {
lifecycle {
create_before_destroy = true
}
target_location = "string"
k8s_skip_system = false
k8s_client_certificates = [0]
k8s_client_keys = [0]
k8s_namespace = "string"
k8s_password = "string"
gateway_migration_k8s_id = "string"
k8s_token = "string"
k8s_url = "string"
k8s_username = "string"
name = "string"
protection_key = "string"
retry = {
error_message_regexes = ["string"]
interval_seconds = 0
max_interval_seconds = 0
max_retries = 0
retry_on_status_codes = [0]
}
k8s_ca_certificates = [0]
}
var gatewayMigrationK8sResource = new GatewayMigrationK8s("gatewayMigrationK8sResource", GatewayMigrationK8sArgs.builder()
.targetLocation("string")
.k8sSkipSystem(false)
.k8sClientCertificates(0.0)
.k8sClientKeys(0.0)
.k8sNamespace("string")
.k8sPassword("string")
.gatewayMigrationK8sId("string")
.k8sToken("string")
.k8sUrl("string")
.k8sUsername("string")
.name("string")
.protectionKey("string")
.retry(GatewayMigrationK8sRetryArgs.builder()
.errorMessageRegexes("string")
.intervalSeconds(0.0)
.maxIntervalSeconds(0.0)
.maxRetries(0.0)
.retryOnStatusCodes(0.0)
.build())
.k8sCaCertificates(0.0)
.build());
gateway_migration_k8s_resource = akeyless.GatewayMigrationK8s("gatewayMigrationK8sResource",
target_location="string",
k8s_skip_system=False,
k8s_client_certificates=[float(0)],
k8s_client_keys=[float(0)],
k8s_namespace="string",
k8s_password="string",
gateway_migration_k8s_id="string",
k8s_token="string",
k8s_url="string",
k8s_username="string",
name="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)],
},
k8s_ca_certificates=[float(0)])
const gatewayMigrationK8sResource = new akeyless.GatewayMigrationK8s("gatewayMigrationK8sResource", {
targetLocation: "string",
k8sSkipSystem: false,
k8sClientCertificates: [0],
k8sClientKeys: [0],
k8sNamespace: "string",
k8sPassword: "string",
gatewayMigrationK8sId: "string",
k8sToken: "string",
k8sUrl: "string",
k8sUsername: "string",
name: "string",
protectionKey: "string",
retry: {
errorMessageRegexes: ["string"],
intervalSeconds: 0,
maxIntervalSeconds: 0,
maxRetries: 0,
retryOnStatusCodes: [0],
},
k8sCaCertificates: [0],
});
type: akeyless:GatewayMigrationK8s
properties:
gatewayMigrationK8sId: string
k8sCaCertificates:
- 0
k8sClientCertificates:
- 0
k8sClientKeys:
- 0
k8sNamespace: string
k8sPassword: string
k8sSkipSystem: false
k8sToken: string
k8sUrl: string
k8sUsername: string
name: string
protectionKey: string
retry:
errorMessageRegexes:
- string
intervalSeconds: 0
maxIntervalSeconds: 0
maxRetries: 0
retryOnStatusCodes:
- 0
targetLocation: string
GatewayMigrationK8s 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 GatewayMigrationK8s resource accepts the following input properties:
- Target
Location string - Target location in Akeyless for imported secrets
- Gateway
Migration stringK8s Id - The ID of this resource.
- K8s
Ca List<double>Certificates - For Certificate Authentication method K8s Cluster CA certificate (relevant only for K8s migration with Certificate Authentication method)
- K8s
Client List<double>Certificates - K8s Client certificate with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Certificate Authentication method)
- K8s
Client List<double>Keys - K8s Client key (relevant only for K8s migration with Certificate Authentication method)
- K8s
Namespace string - K8s Namespace, Use this field to import secrets from a particular namespace only. By default, the secrets are imported from all namespaces (relevant only for K8s migration)
- K8s
Password string - K8s Client password (relevant only for K8s migration with Password Authentication method)
- K8s
Skip boolSystem - K8s Skip Control Plane Secrets, This option allows to avoid importing secrets from system namespaces (relevant only for K8s migration)
- K8s
Token string - For Token Authentication method K8s Bearer Token with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Token Authentication method)
- K8s
Url string - K8s API Server URL, e.g. https://k8s-api.mycompany.com:6443 (relevant only for K8s migration)
- K8s
Username string - For Password Authentication method K8s Client username with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Password Authentication method)
- Name string
- Migration name
- Protection
Key string - The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- Retry
Gateway
Migration K8s Retry - 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 - Target location in Akeyless for imported secrets
- Gateway
Migration stringK8s Id - The ID of this resource.
- K8s
Ca []float64Certificates - For Certificate Authentication method K8s Cluster CA certificate (relevant only for K8s migration with Certificate Authentication method)
- K8s
Client []float64Certificates - K8s Client certificate with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Certificate Authentication method)
- K8s
Client []float64Keys - K8s Client key (relevant only for K8s migration with Certificate Authentication method)
- K8s
Namespace string - K8s Namespace, Use this field to import secrets from a particular namespace only. By default, the secrets are imported from all namespaces (relevant only for K8s migration)
- K8s
Password string - K8s Client password (relevant only for K8s migration with Password Authentication method)
- K8s
Skip boolSystem - K8s Skip Control Plane Secrets, This option allows to avoid importing secrets from system namespaces (relevant only for K8s migration)
- K8s
Token string - For Token Authentication method K8s Bearer Token with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Token Authentication method)
- K8s
Url string - K8s API Server URL, e.g. https://k8s-api.mycompany.com:6443 (relevant only for K8s migration)
- K8s
Username string - For Password Authentication method K8s Client username with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Password Authentication method)
- Name string
- Migration name
- Protection
Key string - The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- Retry
Gateway
Migration K8s Retry Args - 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 - Target location in Akeyless for imported secrets
- gateway_
migration_ stringk8s_ id - The ID of this resource.
- k8s_
ca_ list(number)certificates - For Certificate Authentication method K8s Cluster CA certificate (relevant only for K8s migration with Certificate Authentication method)
- k8s_
client_ list(number)certificates - K8s Client certificate with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Certificate Authentication method)
- k8s_
client_ list(number)keys - K8s Client key (relevant only for K8s migration with Certificate Authentication method)
- k8s_
namespace string - K8s Namespace, Use this field to import secrets from a particular namespace only. By default, the secrets are imported from all namespaces (relevant only for K8s migration)
- k8s_
password string - K8s Client password (relevant only for K8s migration with Password Authentication method)
- k8s_
skip_ boolsystem - K8s Skip Control Plane Secrets, This option allows to avoid importing secrets from system namespaces (relevant only for K8s migration)
- k8s_
token string - For Token Authentication method K8s Bearer Token with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Token Authentication method)
- k8s_
url string - K8s API Server URL, e.g. https://k8s-api.mycompany.com:6443 (relevant only for K8s migration)
- k8s_
username string - For Password Authentication method K8s Client username with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Password Authentication method)
- name string
- Migration name
- protection_
key string - The name of a key that used to encrypt the secret value (if empty, the account default protectionKey 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 - Target location in Akeyless for imported secrets
- gateway
Migration StringK8s Id - The ID of this resource.
- k8s
Ca List<Double>Certificates - For Certificate Authentication method K8s Cluster CA certificate (relevant only for K8s migration with Certificate Authentication method)
- k8s
Client List<Double>Certificates - K8s Client certificate with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Certificate Authentication method)
- k8s
Client List<Double>Keys - K8s Client key (relevant only for K8s migration with Certificate Authentication method)
- k8s
Namespace String - K8s Namespace, Use this field to import secrets from a particular namespace only. By default, the secrets are imported from all namespaces (relevant only for K8s migration)
- k8s
Password String - K8s Client password (relevant only for K8s migration with Password Authentication method)
- k8s
Skip BooleanSystem - K8s Skip Control Plane Secrets, This option allows to avoid importing secrets from system namespaces (relevant only for K8s migration)
- k8s
Token String - For Token Authentication method K8s Bearer Token with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Token Authentication method)
- k8s
Url String - K8s API Server URL, e.g. https://k8s-api.mycompany.com:6443 (relevant only for K8s migration)
- k8s
Username String - For Password Authentication method K8s Client username with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Password Authentication method)
- name String
- Migration name
- protection
Key String - The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- retry
Gateway
Migration K8s Retry - 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 - Target location in Akeyless for imported secrets
- gateway
Migration stringK8s Id - The ID of this resource.
- k8s
Ca number[]Certificates - For Certificate Authentication method K8s Cluster CA certificate (relevant only for K8s migration with Certificate Authentication method)
- k8s
Client number[]Certificates - K8s Client certificate with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Certificate Authentication method)
- k8s
Client number[]Keys - K8s Client key (relevant only for K8s migration with Certificate Authentication method)
- k8s
Namespace string - K8s Namespace, Use this field to import secrets from a particular namespace only. By default, the secrets are imported from all namespaces (relevant only for K8s migration)
- k8s
Password string - K8s Client password (relevant only for K8s migration with Password Authentication method)
- k8s
Skip booleanSystem - K8s Skip Control Plane Secrets, This option allows to avoid importing secrets from system namespaces (relevant only for K8s migration)
- k8s
Token string - For Token Authentication method K8s Bearer Token with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Token Authentication method)
- k8s
Url string - K8s API Server URL, e.g. https://k8s-api.mycompany.com:6443 (relevant only for K8s migration)
- k8s
Username string - For Password Authentication method K8s Client username with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Password Authentication method)
- name string
- Migration name
- protection
Key string - The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- retry
Gateway
Migration K8s Retry - 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 - Target location in Akeyless for imported secrets
- gateway_
migration_ strk8s_ id - The ID of this resource.
- k8s_
ca_ Sequence[float]certificates - For Certificate Authentication method K8s Cluster CA certificate (relevant only for K8s migration with Certificate Authentication method)
- k8s_
client_ Sequence[float]certificates - K8s Client certificate with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Certificate Authentication method)
- k8s_
client_ Sequence[float]keys - K8s Client key (relevant only for K8s migration with Certificate Authentication method)
- k8s_
namespace str - K8s Namespace, Use this field to import secrets from a particular namespace only. By default, the secrets are imported from all namespaces (relevant only for K8s migration)
- k8s_
password str - K8s Client password (relevant only for K8s migration with Password Authentication method)
- k8s_
skip_ boolsystem - K8s Skip Control Plane Secrets, This option allows to avoid importing secrets from system namespaces (relevant only for K8s migration)
- k8s_
token str - For Token Authentication method K8s Bearer Token with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Token Authentication method)
- k8s_
url str - K8s API Server URL, e.g. https://k8s-api.mycompany.com:6443 (relevant only for K8s migration)
- k8s_
username str - For Password Authentication method K8s Client username with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Password Authentication method)
- name str
- Migration name
- protection_
key str - The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- retry
Gateway
Migration K8s Retry Args - 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 - Target location in Akeyless for imported secrets
- gateway
Migration StringK8s Id - The ID of this resource.
- k8s
Ca List<Number>Certificates - For Certificate Authentication method K8s Cluster CA certificate (relevant only for K8s migration with Certificate Authentication method)
- k8s
Client List<Number>Certificates - K8s Client certificate with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Certificate Authentication method)
- k8s
Client List<Number>Keys - K8s Client key (relevant only for K8s migration with Certificate Authentication method)
- k8s
Namespace String - K8s Namespace, Use this field to import secrets from a particular namespace only. By default, the secrets are imported from all namespaces (relevant only for K8s migration)
- k8s
Password String - K8s Client password (relevant only for K8s migration with Password Authentication method)
- k8s
Skip BooleanSystem - K8s Skip Control Plane Secrets, This option allows to avoid importing secrets from system namespaces (relevant only for K8s migration)
- k8s
Token String - For Token Authentication method K8s Bearer Token with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Token Authentication method)
- k8s
Url String - K8s API Server URL, e.g. https://k8s-api.mycompany.com:6443 (relevant only for K8s migration)
- k8s
Username String - For Password Authentication method K8s Client username with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Password Authentication method)
- name String
- Migration name
- protection
Key String - The name of a key that used to encrypt the secret value (if empty, the account default protectionKey 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 GatewayMigrationK8s 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 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 GatewayMigrationK8s Resource
Get an existing GatewayMigrationK8s 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?: GatewayMigrationK8sState, opts?: CustomResourceOptions): GatewayMigrationK8s@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
gateway_migration_k8s_id: Optional[str] = None,
k8s_ca_certificates: Optional[Sequence[float]] = None,
k8s_client_certificates: Optional[Sequence[float]] = None,
k8s_client_keys: Optional[Sequence[float]] = None,
k8s_namespace: Optional[str] = None,
k8s_password: Optional[str] = None,
k8s_skip_system: Optional[bool] = None,
k8s_token: Optional[str] = None,
k8s_url: Optional[str] = None,
k8s_username: Optional[str] = None,
migration_id: Optional[str] = None,
name: Optional[str] = None,
protection_key: Optional[str] = None,
retry: Optional[GatewayMigrationK8sRetryArgs] = None,
target_location: Optional[str] = None) -> GatewayMigrationK8sfunc GetGatewayMigrationK8s(ctx *Context, name string, id IDInput, state *GatewayMigrationK8sState, opts ...ResourceOption) (*GatewayMigrationK8s, error)public static GatewayMigrationK8s Get(string name, Input<string> id, GatewayMigrationK8sState? state, CustomResourceOptions? opts = null)public static GatewayMigrationK8s get(String name, Output<String> id, GatewayMigrationK8sState state, CustomResourceOptions options)resources: existingGatewayMigrationK8s: type: akeyless:GatewayMigrationK8s get: id: ${id}import {
to = akeyless_gateway_migration_k8s.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 GatewayMigrationK8sState
- 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 GatewayMigrationK8sState
- 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 GatewayMigrationK8sState
- 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 GatewayMigrationK8sState
- 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.
- Gateway
Migration stringK8s Id - The ID of this resource.
- K8s
Ca List<double>Certificates - For Certificate Authentication method K8s Cluster CA certificate (relevant only for K8s migration with Certificate Authentication method)
- K8s
Client List<double>Certificates - K8s Client certificate with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Certificate Authentication method)
- K8s
Client List<double>Keys - K8s Client key (relevant only for K8s migration with Certificate Authentication method)
- K8s
Namespace string - K8s Namespace, Use this field to import secrets from a particular namespace only. By default, the secrets are imported from all namespaces (relevant only for K8s migration)
- K8s
Password string - K8s Client password (relevant only for K8s migration with Password Authentication method)
- K8s
Skip boolSystem - K8s Skip Control Plane Secrets, This option allows to avoid importing secrets from system namespaces (relevant only for K8s migration)
- K8s
Token string - For Token Authentication method K8s Bearer Token with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Token Authentication method)
- K8s
Url string - K8s API Server URL, e.g. https://k8s-api.mycompany.com:6443 (relevant only for K8s migration)
- K8s
Username string - For Password Authentication method K8s Client username with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Password Authentication method)
- Migration
Id string - Migration ID
- Name string
- Migration name
- Protection
Key string - The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- Retry
Gateway
Migration K8s Retry - 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 - Target location in Akeyless for imported secrets
- Gateway
Migration stringK8s Id - The ID of this resource.
- K8s
Ca []float64Certificates - For Certificate Authentication method K8s Cluster CA certificate (relevant only for K8s migration with Certificate Authentication method)
- K8s
Client []float64Certificates - K8s Client certificate with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Certificate Authentication method)
- K8s
Client []float64Keys - K8s Client key (relevant only for K8s migration with Certificate Authentication method)
- K8s
Namespace string - K8s Namespace, Use this field to import secrets from a particular namespace only. By default, the secrets are imported from all namespaces (relevant only for K8s migration)
- K8s
Password string - K8s Client password (relevant only for K8s migration with Password Authentication method)
- K8s
Skip boolSystem - K8s Skip Control Plane Secrets, This option allows to avoid importing secrets from system namespaces (relevant only for K8s migration)
- K8s
Token string - For Token Authentication method K8s Bearer Token with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Token Authentication method)
- K8s
Url string - K8s API Server URL, e.g. https://k8s-api.mycompany.com:6443 (relevant only for K8s migration)
- K8s
Username string - For Password Authentication method K8s Client username with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Password Authentication method)
- Migration
Id string - Migration ID
- Name string
- Migration name
- Protection
Key string - The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- Retry
Gateway
Migration K8s Retry Args - 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 - Target location in Akeyless for imported secrets
- gateway_
migration_ stringk8s_ id - The ID of this resource.
- k8s_
ca_ list(number)certificates - For Certificate Authentication method K8s Cluster CA certificate (relevant only for K8s migration with Certificate Authentication method)
- k8s_
client_ list(number)certificates - K8s Client certificate with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Certificate Authentication method)
- k8s_
client_ list(number)keys - K8s Client key (relevant only for K8s migration with Certificate Authentication method)
- k8s_
namespace string - K8s Namespace, Use this field to import secrets from a particular namespace only. By default, the secrets are imported from all namespaces (relevant only for K8s migration)
- k8s_
password string - K8s Client password (relevant only for K8s migration with Password Authentication method)
- k8s_
skip_ boolsystem - K8s Skip Control Plane Secrets, This option allows to avoid importing secrets from system namespaces (relevant only for K8s migration)
- k8s_
token string - For Token Authentication method K8s Bearer Token with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Token Authentication method)
- k8s_
url string - K8s API Server URL, e.g. https://k8s-api.mycompany.com:6443 (relevant only for K8s migration)
- k8s_
username string - For Password Authentication method K8s Client username with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Password Authentication method)
- migration_
id string - Migration ID
- name string
- Migration name
- protection_
key string - The name of a key that used to encrypt the secret value (if empty, the account default protectionKey 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 - Target location in Akeyless for imported secrets
- gateway
Migration StringK8s Id - The ID of this resource.
- k8s
Ca List<Double>Certificates - For Certificate Authentication method K8s Cluster CA certificate (relevant only for K8s migration with Certificate Authentication method)
- k8s
Client List<Double>Certificates - K8s Client certificate with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Certificate Authentication method)
- k8s
Client List<Double>Keys - K8s Client key (relevant only for K8s migration with Certificate Authentication method)
- k8s
Namespace String - K8s Namespace, Use this field to import secrets from a particular namespace only. By default, the secrets are imported from all namespaces (relevant only for K8s migration)
- k8s
Password String - K8s Client password (relevant only for K8s migration with Password Authentication method)
- k8s
Skip BooleanSystem - K8s Skip Control Plane Secrets, This option allows to avoid importing secrets from system namespaces (relevant only for K8s migration)
- k8s
Token String - For Token Authentication method K8s Bearer Token with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Token Authentication method)
- k8s
Url String - K8s API Server URL, e.g. https://k8s-api.mycompany.com:6443 (relevant only for K8s migration)
- k8s
Username String - For Password Authentication method K8s Client username with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Password Authentication method)
- migration
Id String - Migration ID
- name String
- Migration name
- protection
Key String - The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- retry
Gateway
Migration K8s Retry - 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 - Target location in Akeyless for imported secrets
- gateway
Migration stringK8s Id - The ID of this resource.
- k8s
Ca number[]Certificates - For Certificate Authentication method K8s Cluster CA certificate (relevant only for K8s migration with Certificate Authentication method)
- k8s
Client number[]Certificates - K8s Client certificate with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Certificate Authentication method)
- k8s
Client number[]Keys - K8s Client key (relevant only for K8s migration with Certificate Authentication method)
- k8s
Namespace string - K8s Namespace, Use this field to import secrets from a particular namespace only. By default, the secrets are imported from all namespaces (relevant only for K8s migration)
- k8s
Password string - K8s Client password (relevant only for K8s migration with Password Authentication method)
- k8s
Skip booleanSystem - K8s Skip Control Plane Secrets, This option allows to avoid importing secrets from system namespaces (relevant only for K8s migration)
- k8s
Token string - For Token Authentication method K8s Bearer Token with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Token Authentication method)
- k8s
Url string - K8s API Server URL, e.g. https://k8s-api.mycompany.com:6443 (relevant only for K8s migration)
- k8s
Username string - For Password Authentication method K8s Client username with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Password Authentication method)
- migration
Id string - Migration ID
- name string
- Migration name
- protection
Key string - The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- retry
Gateway
Migration K8s Retry - 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 - Target location in Akeyless for imported secrets
- gateway_
migration_ strk8s_ id - The ID of this resource.
- k8s_
ca_ Sequence[float]certificates - For Certificate Authentication method K8s Cluster CA certificate (relevant only for K8s migration with Certificate Authentication method)
- k8s_
client_ Sequence[float]certificates - K8s Client certificate with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Certificate Authentication method)
- k8s_
client_ Sequence[float]keys - K8s Client key (relevant only for K8s migration with Certificate Authentication method)
- k8s_
namespace str - K8s Namespace, Use this field to import secrets from a particular namespace only. By default, the secrets are imported from all namespaces (relevant only for K8s migration)
- k8s_
password str - K8s Client password (relevant only for K8s migration with Password Authentication method)
- k8s_
skip_ boolsystem - K8s Skip Control Plane Secrets, This option allows to avoid importing secrets from system namespaces (relevant only for K8s migration)
- k8s_
token str - For Token Authentication method K8s Bearer Token with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Token Authentication method)
- k8s_
url str - K8s API Server URL, e.g. https://k8s-api.mycompany.com:6443 (relevant only for K8s migration)
- k8s_
username str - For Password Authentication method K8s Client username with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Password Authentication method)
- migration_
id str - Migration ID
- name str
- Migration name
- protection_
key str - The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- retry
Gateway
Migration K8s Retry Args - 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 - Target location in Akeyless for imported secrets
- gateway
Migration StringK8s Id - The ID of this resource.
- k8s
Ca List<Number>Certificates - For Certificate Authentication method K8s Cluster CA certificate (relevant only for K8s migration with Certificate Authentication method)
- k8s
Client List<Number>Certificates - K8s Client certificate with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Certificate Authentication method)
- k8s
Client List<Number>Keys - K8s Client key (relevant only for K8s migration with Certificate Authentication method)
- k8s
Namespace String - K8s Namespace, Use this field to import secrets from a particular namespace only. By default, the secrets are imported from all namespaces (relevant only for K8s migration)
- k8s
Password String - K8s Client password (relevant only for K8s migration with Password Authentication method)
- k8s
Skip BooleanSystem - K8s Skip Control Plane Secrets, This option allows to avoid importing secrets from system namespaces (relevant only for K8s migration)
- k8s
Token String - For Token Authentication method K8s Bearer Token with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Token Authentication method)
- k8s
Url String - K8s API Server URL, e.g. https://k8s-api.mycompany.com:6443 (relevant only for K8s migration)
- k8s
Username String - For Password Authentication method K8s Client username with sufficient permission to list and get secrets in the namespace(s) you selected (relevant only for K8s migration with Password Authentication method)
- migration
Id String - Migration ID
- name String
- Migration name
- protection
Key String - The name of a key that used to encrypt the secret value (if empty, the account default protectionKey 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.
- target
Location String - Target location in Akeyless for imported secrets
Supporting Types
GatewayMigrationK8sRetry, GatewayMigrationK8sRetryArgs
- Error
Message List<string>Regexes - Regular expressions matched against the error message. If any matches, the operation is retried.
- Interval
Seconds double - Wait before the first retry, in seconds. The wait doubles on each retry.
- Max
Interval doubleSeconds - Maximum wait between retries, in seconds.
- Max
Retries double - Maximum number of retries after the first attempt.
- Retry
On List<double>Status Codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
- Error
Message []stringRegexes - Regular expressions matched against the error message. If any matches, the operation is retried.
- Interval
Seconds float64 - Wait before the first retry, in seconds. The wait doubles on each retry.
- Max
Interval float64Seconds - Maximum wait between retries, in seconds.
- Max
Retries float64 - Maximum number of retries after the first attempt.
- Retry
On []float64Status Codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
- error_
message_ list(string)regexes - 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_ numberseconds - Maximum wait between retries, in seconds.
- max_
retries number - Maximum number of retries after the first attempt.
- retry_
on_ list(number)status_ codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
- error
Message List<String>Regexes - Regular expressions matched against the error message. If any matches, the operation is retried.
- interval
Seconds Double - Wait before the first retry, in seconds. The wait doubles on each retry.
- max
Interval DoubleSeconds - Maximum wait between retries, in seconds.
- max
Retries Double - Maximum number of retries after the first attempt.
- retry
On List<Double>Status Codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
- error
Message string[]Regexes - 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 numberSeconds - Maximum wait between retries, in seconds.
- max
Retries number - Maximum number of retries after the first attempt.
- retry
On number[]Status Codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
- error_
message_ Sequence[str]regexes - 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_ floatseconds - Maximum wait between retries, in seconds.
- max_
retries float - Maximum number of retries after the first attempt.
- retry_
on_ Sequence[float]status_ codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
- error
Message List<String>Regexes - 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 NumberSeconds - Maximum wait between retries, in seconds.
- max
Retries Number - Maximum number of retries after the first attempt.
- retry
On List<Number>Status Codes - 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
akeylessTerraform Provider.
published on Thursday, Nov 19, 2026 by akeyless-community