Akeyless Gateway Create Migration API
The Gateway Create Migration API from Akeyless — 1 operation(s) for gateway create migration.
The Gateway Create Migration API from Akeyless — 1 operation(s) for gateway create migration.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/akeyless:akeyless-gateway-create-migration-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
contact:
email: support@akeyless.io
name: Akeyless
url: http://akeyless.io
description: The purpose of this application is to provide access to Akeyless API.
title: Akeyless Gateway Create Migration API
version: '2.0'
servers:
- url: https://api.akeyless.io/
tags:
- name: Gateway Create Migration
paths:
/gateway-create-migration:
post:
operationId: gatewayCreateMigration
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/gatewayCreateMigration'
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/GatewayMigrationCreateOutput'
description: gatewayMigrationCreateResponse wraps response body.
default:
content:
application/json:
schema:
$ref: '#/components/schemas/JSONError'
description: 'errorResponse wraps any error to return it as a JSON object with one "error"
field.'
tags:
- Gateway Create Migration
x-codegen-request-body-name: body
summary: Gateway create migration
x-summary-source: derived
components:
schemas:
GatewayMigrationCreateOutput:
example:
migration_name: migration_name
properties:
migration_name:
type: string
x-go-name: MigrationName
type: object
x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands
gatewayCreateMigration:
description: gatewayCreateMigration is a command that create migration
properties:
1password-email:
description: 1Password user email to connect to the API
type: string
x-go-name: OpEmail
1password-password:
description: 1Password user password to connect to the API
type: string
x-go-name: OpPassword
1password-secret-key:
description: 1Password user secret key to connect to the API
type: string
x-go-name: OpSecretKey
1password-url:
description: 1Password api container url
type: string
x-go-name: OpUrl
1password-vaults:
description: 1Password list of vault to get the items from
items:
type: string
type: array
x-go-name: Vaults
ad_auto_rotate:
description: 'Enable/Disable automatic/recurrent rotation for migrated secrets. Default is false: only manual rotation is allowed for migrated secrets. If set to true, this command should be combined with --ad-rotation-interval and --ad-rotation-hour parameters (Relevant only for Active Directory migration)'
type: string
x-go-name: AdAutoRotate
ad_computer_base_dn:
description: 'Distinguished Name of Computer objects (servers) to search in Active Directory e.g.: CN=Computers,DC=example,DC=com (Relevant only for Active Directory migration)'
type: string
x-go-name: AdComputerBaseDN
ad_discover_local_users:
description: 'Enable/Disable discovery of local users from each domain server and migrate them as SSH Rotated Secrets. Default is false: only domain users will be migrated. Discovery of local users might require further installation of SSH on the servers, based on the supplied computer base DN. This will be implemented automatically as part of the migration process (Relevant only for Active Directory migration)'
type: string
x-go-name: AdDiscoverLocalUsers
ad_domain_name:
description: Active Directory Domain Name (Relevant only for Active Directory migration)
type: string
x-go-name: AdDomainName
ad_domain_users_path_template:
description: 'Path location template for migrating domain users as Rotated Secrets e.g.: .../DomainUsers/{{USERNAME}} (Relevant only for Active Directory migration)'
type: string
x-go-name: AdDomainUsersPathTemplate
ad_local_users_ignore:
description: Comma-separated list of Local Users which should not be migrated (Relevant only for Active Directory migration)
type: string
x-go-name: AdLocalUsersIgnore
ad_local_users_path_template:
description: 'Path location template for migrating domain users as Rotated Secrets e.g.: .../LocalUsers/{{COMPUTER_NAME}}/{{USERNAME}} (Relevant only for Active Directory migration)'
type: string
x-go-name: AdLocalUsersPathTemplate
ad_rotation_hour:
description: The hour of the scheduled rotation in UTC (Relevant only for Active Directory migration)
format: int32
type: integer
x-go-name: AdRotationHour
ad_rotation_interval:
description: The number of days to wait between every automatic rotation [1-365] (Relevant only for Active Directory migration)
format: int32
type: integer
x-go-name: AdRotationInterval
ad_sra_enable_rdp:
description: 'Enable/Disable RDP Secure Remote Access for the migrated local users rotated secrets. Default is false: rotated secrets will not be created with SRA (Relevant only for Active Directory migration)'
type: string
x-go-name: AdSRAEnableRDP
ad_target_name:
description: Active Directory LDAP Target Name. Server type should be Active Directory (Relevant only for Active Directory migration)
type: string
x-go-name: AdTargetName
ad_targets_path_template:
description: 'Path location template for migrating domain servers as SSH Targets e.g.: .../Servers/{{COMPUTER_NAME}} (Relevant only for Active Directory migration)'
type: string
x-go-name: AdTargetsPathTemplate
ad_user_base_dn:
description: 'Distinguished Name of User objects to search in Active Directory, e.g.: CN=Users,DC=example,DC=com (Relevant only for Active Directory migration)'
type: string
x-go-name: AdUserBaseDN
ad_user_groups:
description: Comma-separated list of domain groups from which privileged domain users will be migrated (Relevant only for Active Directory migration)
type: string
x-go-name: AdUserGroups
as_ssh_port:
description: Set the SSH Port for further connection to the domain servers. Default is port 22 (Relevant only for Active Directory migration)
type: string
x-go-name: AdSshPort
aws-key:
description: AWS Secret Access Key (relevant only for AWS migration)
type: string
x-go-name: AwsSecret
aws-key-id:
description: AWS Access Key ID with sufficient permissions to get all secrets, e.g. 'arn:aws:secretsmanager:[Region]:[AccountId]:secret:[/path/to/secrets/*]' (relevant only for AWS migration)
type: string
x-go-name: AwsKey
aws-region:
description: AWS region of the required Secrets Manager (relevant only for AWS migration)
type: string
x-go-name: AwsRegion
azure-client-id:
description: Azure Key Vault Access client ID, should be Azure AD App with a service principal (relevant only for Azure Key Vault migration)
type: string
x-go-name: AzureClient
azure-kv-name:
description: Azure Key Vault Name (relevant only for Azure Key Vault migration)
type: string
x-go-name: AzureName
azure-secret:
description: Azure Key Vault secret (relevant only for Azure Key Vault migration)
type: string
x-go-name: AzureSecret
azure-tenant-id:
description: Azure Key Vault Access tenant ID (relevant only for Azure Key Vault migration)
type: string
x-go-name: AzureTenant
gcp-key:
description: Base64-encoded GCP Service Account private key text with sufficient permissions to Secrets Manager, Minimum required permission is Secret Manager Secret Accessor, e.g. 'roles/secretmanager.secretAccessor' (relevant only for GCP migration)
type: string
x-go-name: ServiceAccountKey
hashi-json:
description: Import secret key as json value or independent secrets (relevant only for HasiCorp Vault migration)
type: string
x-go-name: HashiImportAsJson
hashi-ns:
description: 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)
items:
type: string
type: array
x-go-name: HashiNamespaces
hashi-token:
description: HashiCorp Vault access token with sufficient permissions to preform list & read operations on secrets objects (relevant only for HasiCorp Vault migration)
type: string
x-go-name: HashiToken
hashi-url:
description: HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 (relevant only for HasiCorp Vault migration)
type: string
x-go-name: HashiUrl
json:
description: Set output format to JSON
type: boolean
x-go-name: Json
k8s-ca-certificate:
description: 'For Certificate Authentication method
K8s Cluster CA certificate (relevant only for K8s migration with Certificate Authentication method)'
items:
format: uint8
type: integer
type: array
x-go-name: K8SCA
k8s-client-certificate:
description: 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)
items:
format: uint8
type: integer
type: array
x-go-name: K8SClientCert
k8s-client-key:
description: K8s Client key (relevant only for K8s migration with Certificate Authentication method)
items:
format: uint8
type: integer
type: array
x-go-name: K8SClientKey
k8s-namespace:
description: 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)
type: string
x-go-name: K8SNamespace
k8s-password:
description: K8s Client password (relevant only for K8s migration with Password Authentication method)
type: string
x-go-name: K8SPassword
k8s-skip-system:
description: K8s Skip Control Plane Secrets, This option allows to avoid importing secrets from system namespaces (relevant only for K8s migration)
type: boolean
x-go-name: K8SSkipSystem
k8s-token:
description: '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)'
type: string
x-go-name: K8SToken
k8s-url:
description: K8s API Server URL, e.g. https://k8s-api.mycompany.com:6443 (relevant only for K8s migration)
type: string
x-go-name: K8SServer
k8s-username:
description: '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)'
type: string
x-go-name: K8SUsername
name:
description: Migration name
type: string
x-go-name: MigrationName
protection-key:
description: The name of the key that protects the classic key value (if empty, the account default key will be used)
type: string
x-go-name: ProtectionKey
target-location:
description: Target location in Akeyless for imported secrets
type: string
x-go-name: TargetLocation
token:
description: Authentication token (see `/auth` and `/configure`)
type: string
x-go-name: Profile
type:
description: Migration type (hashi/aws/gcp/k8s/azure_kv/1password/active_directory)
type: string
x-go-name: MigrationType
uid-token:
description: The universal identity token, Required only for universal_identity authentication
type: string
x-go-name: UIDToken
required:
- name
- target-location
type: object
x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands
JSONError:
properties:
error:
type: string
x-go-name: Err
title: JSONError wraps an error with JSON object.
type: object
x-go-package: akeyless.io/akeyless-main-repo/go/src/client