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

    HashiCorp Vault Migration resource

    Create GatewayMigrationHashi Resource

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

    Constructor syntax

    new GatewayMigrationHashi(name: string, args: GatewayMigrationHashiArgs, opts?: CustomResourceOptions);
    @overload
    def GatewayMigrationHashi(resource_name: str,
                              args: GatewayMigrationHashiArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def GatewayMigrationHashi(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              target_location: Optional[str] = None,
                              gateway_migration_hashi_id: Optional[str] = None,
                              hashi_json: Optional[str] = None,
                              hashi_metadata_mode: Optional[str] = None,
                              hashi_ns: Optional[Sequence[str]] = None,
                              hashi_token: Optional[str] = None,
                              hashi_url: Optional[str] = None,
                              name: Optional[str] = None,
                              protection_key: Optional[str] = None,
                              retry: Optional[GatewayMigrationHashiRetryArgs] = None,
                              target_name: Optional[str] = None)
    func NewGatewayMigrationHashi(ctx *Context, name string, args GatewayMigrationHashiArgs, opts ...ResourceOption) (*GatewayMigrationHashi, error)
    public GatewayMigrationHashi(string name, GatewayMigrationHashiArgs args, CustomResourceOptions? opts = null)
    public GatewayMigrationHashi(String name, GatewayMigrationHashiArgs args)
    public GatewayMigrationHashi(String name, GatewayMigrationHashiArgs args, CustomResourceOptions options)
    
    type: akeyless:GatewayMigrationHashi
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "akeyless_gateway_migration_hashi" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args GatewayMigrationHashiArgs
    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 GatewayMigrationHashiArgs
    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 GatewayMigrationHashiArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GatewayMigrationHashiArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GatewayMigrationHashiArgs
    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 gatewayMigrationHashiResource = new Akeyless.GatewayMigrationHashi("gatewayMigrationHashiResource", new()
    {
        TargetLocation = "string",
        GatewayMigrationHashiId = "string",
        HashiJson = "string",
        HashiMetadataMode = "string",
        HashiNs = new[]
        {
            "string",
        },
        HashiToken = "string",
        HashiUrl = "string",
        Name = "string",
        ProtectionKey = "string",
        Retry = new Akeyless.Inputs.GatewayMigrationHashiRetryArgs
        {
            ErrorMessageRegexes = new[]
            {
                "string",
            },
            IntervalSeconds = 0.0,
            MaxIntervalSeconds = 0.0,
            MaxRetries = 0.0,
            RetryOnStatusCodes = new[]
            {
                0.0,
            },
        },
        TargetName = "string",
    });
    
    example, err := akeyless.NewGatewayMigrationHashi(ctx, "gatewayMigrationHashiResource", &akeyless.GatewayMigrationHashiArgs{
    	TargetLocation:          pulumi.String("string"),
    	GatewayMigrationHashiId: pulumi.String("string"),
    	HashiJson:               pulumi.String("string"),
    	HashiMetadataMode:       pulumi.String("string"),
    	HashiNs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	HashiToken:    pulumi.String("string"),
    	HashiUrl:      pulumi.String("string"),
    	Name:          pulumi.String("string"),
    	ProtectionKey: pulumi.String("string"),
    	Retry: &akeyless.GatewayMigrationHashiRetryArgs{
    		ErrorMessageRegexes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		IntervalSeconds:    pulumi.Float64(0),
    		MaxIntervalSeconds: pulumi.Float64(0),
    		MaxRetries:         pulumi.Float64(0),
    		RetryOnStatusCodes: pulumi.Float64Array{
    			pulumi.Float64(0),
    		},
    	},
    	TargetName: pulumi.String("string"),
    })
    
    resource "akeyless_gateway_migration_hashi" "gatewayMigrationHashiResource" {
      lifecycle {
        create_before_destroy = true
      }
      target_location            = "string"
      gateway_migration_hashi_id = "string"
      hashi_json                 = "string"
      hashi_metadata_mode        = "string"
      hashi_ns                   = ["string"]
      hashi_token                = "string"
      hashi_url                  = "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]
      }
      target_name = "string"
    }
    
    var gatewayMigrationHashiResource = new GatewayMigrationHashi("gatewayMigrationHashiResource", GatewayMigrationHashiArgs.builder()
        .targetLocation("string")
        .gatewayMigrationHashiId("string")
        .hashiJson("string")
        .hashiMetadataMode("string")
        .hashiNs("string")
        .hashiToken("string")
        .hashiUrl("string")
        .name("string")
        .protectionKey("string")
        .retry(GatewayMigrationHashiRetryArgs.builder()
            .errorMessageRegexes("string")
            .intervalSeconds(0.0)
            .maxIntervalSeconds(0.0)
            .maxRetries(0.0)
            .retryOnStatusCodes(0.0)
            .build())
        .targetName("string")
        .build());
    
    gateway_migration_hashi_resource = akeyless.GatewayMigrationHashi("gatewayMigrationHashiResource",
        target_location="string",
        gateway_migration_hashi_id="string",
        hashi_json="string",
        hashi_metadata_mode="string",
        hashi_ns=["string"],
        hashi_token="string",
        hashi_url="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)],
        },
        target_name="string")
    
    const gatewayMigrationHashiResource = new akeyless.GatewayMigrationHashi("gatewayMigrationHashiResource", {
        targetLocation: "string",
        gatewayMigrationHashiId: "string",
        hashiJson: "string",
        hashiMetadataMode: "string",
        hashiNs: ["string"],
        hashiToken: "string",
        hashiUrl: "string",
        name: "string",
        protectionKey: "string",
        retry: {
            errorMessageRegexes: ["string"],
            intervalSeconds: 0,
            maxIntervalSeconds: 0,
            maxRetries: 0,
            retryOnStatusCodes: [0],
        },
        targetName: "string",
    });
    
    type: akeyless:GatewayMigrationHashi
    properties:
        gatewayMigrationHashiId: string
        hashiJson: string
        hashiMetadataMode: string
        hashiNs:
            - string
        hashiToken: string
        hashiUrl: string
        name: string
        protectionKey: string
        retry:
            errorMessageRegexes:
                - string
            intervalSeconds: 0
            maxIntervalSeconds: 0
            maxRetries: 0
            retryOnStatusCodes:
                - 0
        targetLocation: string
        targetName: string
    

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

    TargetLocation string
    Target location in Akeyless for imported secrets
    GatewayMigrationHashiId string
    The ID of this resource.
    HashiJson string
    Import secret key as json value or independent secrets (relevant only for HasiCorp Vault migration) [true/false]
    HashiMetadataMode string
    Controls the amount of HashiCorp Vault secret metadata migrated with each secret value. Options: none|minimal|full
    HashiNs List<string>
    HashiCorp Vault Namespaces is a comma-separated list of namespaces which need to be imported into Akeyless Vault. For every provided namespace, all its child namespaces are imported as well, e.g. nmsp/subnmsp1/subnmsp2,nmsp/anothernmsp. By default, import all namespaces (relevant only for HasiCorp Vault migration)
    HashiToken string
    HashiCorp Vault access token with sufficient permissions to preform list & read operations on secrets objects (relevant only for HasiCorp Vault migration)
    HashiUrl string
    HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 (relevant only for HasiCorp Vault migration)
    Name string
    Migration name
    ProtectionKey string
    The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    Retry GatewayMigrationHashiRetry
    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.
    TargetName string
    Name of existing target to use to create the migration
    TargetLocation string
    Target location in Akeyless for imported secrets
    GatewayMigrationHashiId string
    The ID of this resource.
    HashiJson string
    Import secret key as json value or independent secrets (relevant only for HasiCorp Vault migration) [true/false]
    HashiMetadataMode string
    Controls the amount of HashiCorp Vault secret metadata migrated with each secret value. Options: none|minimal|full
    HashiNs []string
    HashiCorp Vault Namespaces is a comma-separated list of namespaces which need to be imported into Akeyless Vault. For every provided namespace, all its child namespaces are imported as well, e.g. nmsp/subnmsp1/subnmsp2,nmsp/anothernmsp. By default, import all namespaces (relevant only for HasiCorp Vault migration)
    HashiToken string
    HashiCorp Vault access token with sufficient permissions to preform list & read operations on secrets objects (relevant only for HasiCorp Vault migration)
    HashiUrl string
    HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 (relevant only for HasiCorp Vault migration)
    Name string
    Migration name
    ProtectionKey string
    The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    Retry GatewayMigrationHashiRetryArgs
    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.
    TargetName string
    Name of existing target to use to create the migration
    target_location string
    Target location in Akeyless for imported secrets
    gateway_migration_hashi_id string
    The ID of this resource.
    hashi_json string
    Import secret key as json value or independent secrets (relevant only for HasiCorp Vault migration) [true/false]
    hashi_metadata_mode string
    Controls the amount of HashiCorp Vault secret metadata migrated with each secret value. Options: none|minimal|full
    hashi_ns list(string)
    HashiCorp Vault Namespaces is a comma-separated list of namespaces which need to be imported into Akeyless Vault. For every provided namespace, all its child namespaces are imported as well, e.g. nmsp/subnmsp1/subnmsp2,nmsp/anothernmsp. By default, import all namespaces (relevant only for HasiCorp Vault migration)
    hashi_token string
    HashiCorp Vault access token with sufficient permissions to preform list & read operations on secrets objects (relevant only for HasiCorp Vault migration)
    hashi_url string
    HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 (relevant only for HasiCorp Vault migration)
    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_name string
    Name of existing target to use to create the migration
    targetLocation String
    Target location in Akeyless for imported secrets
    gatewayMigrationHashiId String
    The ID of this resource.
    hashiJson String
    Import secret key as json value or independent secrets (relevant only for HasiCorp Vault migration) [true/false]
    hashiMetadataMode String
    Controls the amount of HashiCorp Vault secret metadata migrated with each secret value. Options: none|minimal|full
    hashiNs List<String>
    HashiCorp Vault Namespaces is a comma-separated list of namespaces which need to be imported into Akeyless Vault. For every provided namespace, all its child namespaces are imported as well, e.g. nmsp/subnmsp1/subnmsp2,nmsp/anothernmsp. By default, import all namespaces (relevant only for HasiCorp Vault migration)
    hashiToken String
    HashiCorp Vault access token with sufficient permissions to preform list & read operations on secrets objects (relevant only for HasiCorp Vault migration)
    hashiUrl String
    HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 (relevant only for HasiCorp Vault migration)
    name String
    Migration name
    protectionKey String
    The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    retry GatewayMigrationHashiRetry
    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.
    targetName String
    Name of existing target to use to create the migration
    targetLocation string
    Target location in Akeyless for imported secrets
    gatewayMigrationHashiId string
    The ID of this resource.
    hashiJson string
    Import secret key as json value or independent secrets (relevant only for HasiCorp Vault migration) [true/false]
    hashiMetadataMode string
    Controls the amount of HashiCorp Vault secret metadata migrated with each secret value. Options: none|minimal|full
    hashiNs string[]
    HashiCorp Vault Namespaces is a comma-separated list of namespaces which need to be imported into Akeyless Vault. For every provided namespace, all its child namespaces are imported as well, e.g. nmsp/subnmsp1/subnmsp2,nmsp/anothernmsp. By default, import all namespaces (relevant only for HasiCorp Vault migration)
    hashiToken string
    HashiCorp Vault access token with sufficient permissions to preform list & read operations on secrets objects (relevant only for HasiCorp Vault migration)
    hashiUrl string
    HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 (relevant only for HasiCorp Vault migration)
    name string
    Migration name
    protectionKey string
    The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    retry GatewayMigrationHashiRetry
    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.
    targetName string
    Name of existing target to use to create the migration
    target_location str
    Target location in Akeyless for imported secrets
    gateway_migration_hashi_id str
    The ID of this resource.
    hashi_json str
    Import secret key as json value or independent secrets (relevant only for HasiCorp Vault migration) [true/false]
    hashi_metadata_mode str
    Controls the amount of HashiCorp Vault secret metadata migrated with each secret value. Options: none|minimal|full
    hashi_ns Sequence[str]
    HashiCorp Vault Namespaces is a comma-separated list of namespaces which need to be imported into Akeyless Vault. For every provided namespace, all its child namespaces are imported as well, e.g. nmsp/subnmsp1/subnmsp2,nmsp/anothernmsp. By default, import all namespaces (relevant only for HasiCorp Vault migration)
    hashi_token str
    HashiCorp Vault access token with sufficient permissions to preform list & read operations on secrets objects (relevant only for HasiCorp Vault migration)
    hashi_url str
    HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 (relevant only for HasiCorp Vault migration)
    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 GatewayMigrationHashiRetryArgs
    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_name str
    Name of existing target to use to create the migration
    targetLocation String
    Target location in Akeyless for imported secrets
    gatewayMigrationHashiId String
    The ID of this resource.
    hashiJson String
    Import secret key as json value or independent secrets (relevant only for HasiCorp Vault migration) [true/false]
    hashiMetadataMode String
    Controls the amount of HashiCorp Vault secret metadata migrated with each secret value. Options: none|minimal|full
    hashiNs List<String>
    HashiCorp Vault Namespaces is a comma-separated list of namespaces which need to be imported into Akeyless Vault. For every provided namespace, all its child namespaces are imported as well, e.g. nmsp/subnmsp1/subnmsp2,nmsp/anothernmsp. By default, import all namespaces (relevant only for HasiCorp Vault migration)
    hashiToken String
    HashiCorp Vault access token with sufficient permissions to preform list & read operations on secrets objects (relevant only for HasiCorp Vault migration)
    hashiUrl String
    HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 (relevant only for HasiCorp Vault migration)
    name String
    Migration name
    protectionKey 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.
    targetName String
    Name of existing target to use to create the migration

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GatewayMigrationHashi 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.
    migration_id 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 GatewayMigrationHashi Resource

    Get an existing GatewayMigrationHashi 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?: GatewayMigrationHashiState, opts?: CustomResourceOptions): GatewayMigrationHashi
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            gateway_migration_hashi_id: Optional[str] = None,
            hashi_json: Optional[str] = None,
            hashi_metadata_mode: Optional[str] = None,
            hashi_ns: Optional[Sequence[str]] = None,
            hashi_token: Optional[str] = None,
            hashi_url: Optional[str] = None,
            migration_id: Optional[str] = None,
            name: Optional[str] = None,
            protection_key: Optional[str] = None,
            retry: Optional[GatewayMigrationHashiRetryArgs] = None,
            target_location: Optional[str] = None,
            target_name: Optional[str] = None) -> GatewayMigrationHashi
    func GetGatewayMigrationHashi(ctx *Context, name string, id IDInput, state *GatewayMigrationHashiState, opts ...ResourceOption) (*GatewayMigrationHashi, error)
    public static GatewayMigrationHashi Get(string name, Input<string> id, GatewayMigrationHashiState? state, CustomResourceOptions? opts = null)
    public static GatewayMigrationHashi get(String name, Output<String> id, GatewayMigrationHashiState state, CustomResourceOptions options)
    resources:  existingGatewayMigrationHashi:    type: akeyless:GatewayMigrationHashi    get:      id: ${id}
    import {
      to = akeyless_gateway_migration_hashi.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 GatewayMigrationHashiState
    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 GatewayMigrationHashiState
    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 GatewayMigrationHashiState
    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 GatewayMigrationHashiState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    GatewayMigrationHashiId string
    The ID of this resource.
    HashiJson string
    Import secret key as json value or independent secrets (relevant only for HasiCorp Vault migration) [true/false]
    HashiMetadataMode string
    Controls the amount of HashiCorp Vault secret metadata migrated with each secret value. Options: none|minimal|full
    HashiNs List<string>
    HashiCorp Vault Namespaces is a comma-separated list of namespaces which need to be imported into Akeyless Vault. For every provided namespace, all its child namespaces are imported as well, e.g. nmsp/subnmsp1/subnmsp2,nmsp/anothernmsp. By default, import all namespaces (relevant only for HasiCorp Vault migration)
    HashiToken string
    HashiCorp Vault access token with sufficient permissions to preform list & read operations on secrets objects (relevant only for HasiCorp Vault migration)
    HashiUrl string
    HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 (relevant only for HasiCorp Vault migration)
    MigrationId string
    Migration ID
    Name string
    Migration name
    ProtectionKey string
    The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    Retry GatewayMigrationHashiRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    TargetLocation string
    Target location in Akeyless for imported secrets
    TargetName string
    Name of existing target to use to create the migration
    GatewayMigrationHashiId string
    The ID of this resource.
    HashiJson string
    Import secret key as json value or independent secrets (relevant only for HasiCorp Vault migration) [true/false]
    HashiMetadataMode string
    Controls the amount of HashiCorp Vault secret metadata migrated with each secret value. Options: none|minimal|full
    HashiNs []string
    HashiCorp Vault Namespaces is a comma-separated list of namespaces which need to be imported into Akeyless Vault. For every provided namespace, all its child namespaces are imported as well, e.g. nmsp/subnmsp1/subnmsp2,nmsp/anothernmsp. By default, import all namespaces (relevant only for HasiCorp Vault migration)
    HashiToken string
    HashiCorp Vault access token with sufficient permissions to preform list & read operations on secrets objects (relevant only for HasiCorp Vault migration)
    HashiUrl string
    HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 (relevant only for HasiCorp Vault migration)
    MigrationId string
    Migration ID
    Name string
    Migration name
    ProtectionKey string
    The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    Retry GatewayMigrationHashiRetryArgs
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    TargetLocation string
    Target location in Akeyless for imported secrets
    TargetName string
    Name of existing target to use to create the migration
    gateway_migration_hashi_id string
    The ID of this resource.
    hashi_json string
    Import secret key as json value or independent secrets (relevant only for HasiCorp Vault migration) [true/false]
    hashi_metadata_mode string
    Controls the amount of HashiCorp Vault secret metadata migrated with each secret value. Options: none|minimal|full
    hashi_ns list(string)
    HashiCorp Vault Namespaces is a comma-separated list of namespaces which need to be imported into Akeyless Vault. For every provided namespace, all its child namespaces are imported as well, e.g. nmsp/subnmsp1/subnmsp2,nmsp/anothernmsp. By default, import all namespaces (relevant only for HasiCorp Vault migration)
    hashi_token string
    HashiCorp Vault access token with sufficient permissions to preform list & read operations on secrets objects (relevant only for HasiCorp Vault migration)
    hashi_url string
    HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 (relevant only for HasiCorp Vault migration)
    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
    target_name string
    Name of existing target to use to create the migration
    gatewayMigrationHashiId String
    The ID of this resource.
    hashiJson String
    Import secret key as json value or independent secrets (relevant only for HasiCorp Vault migration) [true/false]
    hashiMetadataMode String
    Controls the amount of HashiCorp Vault secret metadata migrated with each secret value. Options: none|minimal|full
    hashiNs List<String>
    HashiCorp Vault Namespaces is a comma-separated list of namespaces which need to be imported into Akeyless Vault. For every provided namespace, all its child namespaces are imported as well, e.g. nmsp/subnmsp1/subnmsp2,nmsp/anothernmsp. By default, import all namespaces (relevant only for HasiCorp Vault migration)
    hashiToken String
    HashiCorp Vault access token with sufficient permissions to preform list & read operations on secrets objects (relevant only for HasiCorp Vault migration)
    hashiUrl String
    HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 (relevant only for HasiCorp Vault migration)
    migrationId String
    Migration ID
    name String
    Migration name
    protectionKey String
    The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    retry GatewayMigrationHashiRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    targetLocation String
    Target location in Akeyless for imported secrets
    targetName String
    Name of existing target to use to create the migration
    gatewayMigrationHashiId string
    The ID of this resource.
    hashiJson string
    Import secret key as json value or independent secrets (relevant only for HasiCorp Vault migration) [true/false]
    hashiMetadataMode string
    Controls the amount of HashiCorp Vault secret metadata migrated with each secret value. Options: none|minimal|full
    hashiNs string[]
    HashiCorp Vault Namespaces is a comma-separated list of namespaces which need to be imported into Akeyless Vault. For every provided namespace, all its child namespaces are imported as well, e.g. nmsp/subnmsp1/subnmsp2,nmsp/anothernmsp. By default, import all namespaces (relevant only for HasiCorp Vault migration)
    hashiToken string
    HashiCorp Vault access token with sufficient permissions to preform list & read operations on secrets objects (relevant only for HasiCorp Vault migration)
    hashiUrl string
    HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 (relevant only for HasiCorp Vault migration)
    migrationId string
    Migration ID
    name string
    Migration name
    protectionKey string
    The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
    retry GatewayMigrationHashiRetry
    Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
    targetLocation string
    Target location in Akeyless for imported secrets
    targetName string
    Name of existing target to use to create the migration
    gateway_migration_hashi_id str
    The ID of this resource.
    hashi_json str
    Import secret key as json value or independent secrets (relevant only for HasiCorp Vault migration) [true/false]
    hashi_metadata_mode str
    Controls the amount of HashiCorp Vault secret metadata migrated with each secret value. Options: none|minimal|full
    hashi_ns Sequence[str]
    HashiCorp Vault Namespaces is a comma-separated list of namespaces which need to be imported into Akeyless Vault. For every provided namespace, all its child namespaces are imported as well, e.g. nmsp/subnmsp1/subnmsp2,nmsp/anothernmsp. By default, import all namespaces (relevant only for HasiCorp Vault migration)
    hashi_token str
    HashiCorp Vault access token with sufficient permissions to preform list & read operations on secrets objects (relevant only for HasiCorp Vault migration)
    hashi_url str
    HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 (relevant only for HasiCorp Vault migration)
    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 GatewayMigrationHashiRetryArgs
    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
    target_name str
    Name of existing target to use to create the migration
    gatewayMigrationHashiId String
    The ID of this resource.
    hashiJson String
    Import secret key as json value or independent secrets (relevant only for HasiCorp Vault migration) [true/false]
    hashiMetadataMode String
    Controls the amount of HashiCorp Vault secret metadata migrated with each secret value. Options: none|minimal|full
    hashiNs List<String>
    HashiCorp Vault Namespaces is a comma-separated list of namespaces which need to be imported into Akeyless Vault. For every provided namespace, all its child namespaces are imported as well, e.g. nmsp/subnmsp1/subnmsp2,nmsp/anothernmsp. By default, import all namespaces (relevant only for HasiCorp Vault migration)
    hashiToken String
    HashiCorp Vault access token with sufficient permissions to preform list & read operations on secrets objects (relevant only for HasiCorp Vault migration)
    hashiUrl String
    HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 (relevant only for HasiCorp Vault migration)
    migrationId String
    Migration ID
    name String
    Migration name
    protectionKey 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.
    targetLocation String
    Target location in Akeyless for imported secrets
    targetName String
    Name of existing target to use to create the migration

    Supporting Types

    GatewayMigrationHashiRetry, GatewayMigrationHashiRetryArgs

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

    Package Details

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

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial