published on Monday, Aug 10, 2026 by akeyless-community
published on Monday, Aug 10, 2026 by akeyless-community
Conjur Migration resource
Create GatewayMigrationConjur Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayMigrationConjur(name: string, args: GatewayMigrationConjurArgs, opts?: CustomResourceOptions);@overload
def GatewayMigrationConjur(resource_name: str,
args: GatewayMigrationConjurArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GatewayMigrationConjur(resource_name: str,
opts: Optional[ResourceOptions] = None,
target_location: Optional[str] = None,
conjur_account: Optional[str] = None,
conjur_api_key: Optional[str] = None,
conjur_url: Optional[str] = None,
conjur_username: Optional[str] = None,
gateway_migration_conjur_id: Optional[str] = None,
name: Optional[str] = None,
protection_key: Optional[str] = None,
target_name: Optional[str] = None)func NewGatewayMigrationConjur(ctx *Context, name string, args GatewayMigrationConjurArgs, opts ...ResourceOption) (*GatewayMigrationConjur, error)public GatewayMigrationConjur(string name, GatewayMigrationConjurArgs args, CustomResourceOptions? opts = null)
public GatewayMigrationConjur(String name, GatewayMigrationConjurArgs args)
public GatewayMigrationConjur(String name, GatewayMigrationConjurArgs args, CustomResourceOptions options)
type: akeyless:GatewayMigrationConjur
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "akeyless_gateway_migration_conjur" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args GatewayMigrationConjurArgs
- 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 GatewayMigrationConjurArgs
- 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 GatewayMigrationConjurArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayMigrationConjurArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayMigrationConjurArgs
- 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 gatewayMigrationConjurResource = new Akeyless.GatewayMigrationConjur("gatewayMigrationConjurResource", new()
{
TargetLocation = "string",
ConjurAccount = "string",
ConjurApiKey = "string",
ConjurUrl = "string",
ConjurUsername = "string",
GatewayMigrationConjurId = "string",
Name = "string",
ProtectionKey = "string",
TargetName = "string",
});
example, err := akeyless.NewGatewayMigrationConjur(ctx, "gatewayMigrationConjurResource", &akeyless.GatewayMigrationConjurArgs{
TargetLocation: pulumi.String("string"),
ConjurAccount: pulumi.String("string"),
ConjurApiKey: pulumi.String("string"),
ConjurUrl: pulumi.String("string"),
ConjurUsername: pulumi.String("string"),
GatewayMigrationConjurId: pulumi.String("string"),
Name: pulumi.String("string"),
ProtectionKey: pulumi.String("string"),
TargetName: pulumi.String("string"),
})
resource "akeyless_gateway_migration_conjur" "gatewayMigrationConjurResource" {
lifecycle {
create_before_destroy = true
}
target_location = "string"
conjur_account = "string"
conjur_api_key = "string"
conjur_url = "string"
conjur_username = "string"
gateway_migration_conjur_id = "string"
name = "string"
protection_key = "string"
target_name = "string"
}
var gatewayMigrationConjurResource = new GatewayMigrationConjur("gatewayMigrationConjurResource", GatewayMigrationConjurArgs.builder()
.targetLocation("string")
.conjurAccount("string")
.conjurApiKey("string")
.conjurUrl("string")
.conjurUsername("string")
.gatewayMigrationConjurId("string")
.name("string")
.protectionKey("string")
.targetName("string")
.build());
gateway_migration_conjur_resource = akeyless.GatewayMigrationConjur("gatewayMigrationConjurResource",
target_location="string",
conjur_account="string",
conjur_api_key="string",
conjur_url="string",
conjur_username="string",
gateway_migration_conjur_id="string",
name="string",
protection_key="string",
target_name="string")
const gatewayMigrationConjurResource = new akeyless.GatewayMigrationConjur("gatewayMigrationConjurResource", {
targetLocation: "string",
conjurAccount: "string",
conjurApiKey: "string",
conjurUrl: "string",
conjurUsername: "string",
gatewayMigrationConjurId: "string",
name: "string",
protectionKey: "string",
targetName: "string",
});
type: akeyless:GatewayMigrationConjur
properties:
conjurAccount: string
conjurApiKey: string
conjurUrl: string
conjurUsername: string
gatewayMigrationConjurId: string
name: string
protectionKey: string
targetLocation: string
targetName: string
GatewayMigrationConjur 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 GatewayMigrationConjur resource accepts the following input properties:
- Target
Location string - Target location in Akeyless for imported secrets
- Conjur
Account string - Conjur account name set on your Conjur server
- Conjur
Api stringKey - Conjur API Key for the specified user
- Conjur
Url string - Conjur server base URL. If conjururl is HTTPS and Conjur uses a private CA/self-signed certificate, make the CA bundle available on the Gateway and set CONJURSSLCERTPATH to its path
- Conjur
Username string - Conjur username used to authenticate
- Gateway
Migration stringConjur Id - The ID of this resource.
- 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)
- Target
Name string - Name of existing target to use to create the migration
- Target
Location string - Target location in Akeyless for imported secrets
- Conjur
Account string - Conjur account name set on your Conjur server
- Conjur
Api stringKey - Conjur API Key for the specified user
- Conjur
Url string - Conjur server base URL. If conjururl is HTTPS and Conjur uses a private CA/self-signed certificate, make the CA bundle available on the Gateway and set CONJURSSLCERTPATH to its path
- Conjur
Username string - Conjur username used to authenticate
- Gateway
Migration stringConjur Id - The ID of this resource.
- 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)
- Target
Name string - Name of existing target to use to create the migration
- target_
location string - Target location in Akeyless for imported secrets
- conjur_
account string - Conjur account name set on your Conjur server
- conjur_
api_ stringkey - Conjur API Key for the specified user
- conjur_
url string - Conjur server base URL. If conjururl is HTTPS and Conjur uses a private CA/self-signed certificate, make the CA bundle available on the Gateway and set CONJURSSLCERTPATH to its path
- conjur_
username string - Conjur username used to authenticate
- gateway_
migration_ stringconjur_ id - The ID of this resource.
- 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)
- target_
name string - Name of existing target to use to create the migration
- target
Location String - Target location in Akeyless for imported secrets
- conjur
Account String - Conjur account name set on your Conjur server
- conjur
Api StringKey - Conjur API Key for the specified user
- conjur
Url String - Conjur server base URL. If conjururl is HTTPS and Conjur uses a private CA/self-signed certificate, make the CA bundle available on the Gateway and set CONJURSSLCERTPATH to its path
- conjur
Username String - Conjur username used to authenticate
- gateway
Migration StringConjur Id - The ID of this resource.
- 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)
- target
Name String - Name of existing target to use to create the migration
- target
Location string - Target location in Akeyless for imported secrets
- conjur
Account string - Conjur account name set on your Conjur server
- conjur
Api stringKey - Conjur API Key for the specified user
- conjur
Url string - Conjur server base URL. If conjururl is HTTPS and Conjur uses a private CA/self-signed certificate, make the CA bundle available on the Gateway and set CONJURSSLCERTPATH to its path
- conjur
Username string - Conjur username used to authenticate
- gateway
Migration stringConjur Id - The ID of this resource.
- 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)
- target
Name string - Name of existing target to use to create the migration
- target_
location str - Target location in Akeyless for imported secrets
- conjur_
account str - Conjur account name set on your Conjur server
- conjur_
api_ strkey - Conjur API Key for the specified user
- conjur_
url str - Conjur server base URL. If conjururl is HTTPS and Conjur uses a private CA/self-signed certificate, make the CA bundle available on the Gateway and set CONJURSSLCERTPATH to its path
- conjur_
username str - Conjur username used to authenticate
- gateway_
migration_ strconjur_ id - The ID of this resource.
- 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)
- target_
name str - Name of existing target to use to create the migration
- target
Location String - Target location in Akeyless for imported secrets
- conjur
Account String - Conjur account name set on your Conjur server
- conjur
Api StringKey - Conjur API Key for the specified user
- conjur
Url String - Conjur server base URL. If conjururl is HTTPS and Conjur uses a private CA/self-signed certificate, make the CA bundle available on the Gateway and set CONJURSSLCERTPATH to its path
- conjur
Username String - Conjur username used to authenticate
- gateway
Migration StringConjur Id - The ID of this resource.
- 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)
- target
Name String - Name of existing target to use to create the migration
Outputs
All input properties are implicitly available as output properties. Additionally, the GatewayMigrationConjur 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 GatewayMigrationConjur Resource
Get an existing GatewayMigrationConjur 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?: GatewayMigrationConjurState, opts?: CustomResourceOptions): GatewayMigrationConjur@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
conjur_account: Optional[str] = None,
conjur_api_key: Optional[str] = None,
conjur_url: Optional[str] = None,
conjur_username: Optional[str] = None,
gateway_migration_conjur_id: Optional[str] = None,
migration_id: Optional[str] = None,
name: Optional[str] = None,
protection_key: Optional[str] = None,
target_location: Optional[str] = None,
target_name: Optional[str] = None) -> GatewayMigrationConjurfunc GetGatewayMigrationConjur(ctx *Context, name string, id IDInput, state *GatewayMigrationConjurState, opts ...ResourceOption) (*GatewayMigrationConjur, error)public static GatewayMigrationConjur Get(string name, Input<string> id, GatewayMigrationConjurState? state, CustomResourceOptions? opts = null)public static GatewayMigrationConjur get(String name, Output<String> id, GatewayMigrationConjurState state, CustomResourceOptions options)resources: _: type: akeyless:GatewayMigrationConjur get: id: ${id}import {
to = akeyless_gateway_migration_conjur.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Conjur
Account string - Conjur account name set on your Conjur server
- Conjur
Api stringKey - Conjur API Key for the specified user
- Conjur
Url string - Conjur server base URL. If conjururl is HTTPS and Conjur uses a private CA/self-signed certificate, make the CA bundle available on the Gateway and set CONJURSSLCERTPATH to its path
- Conjur
Username string - Conjur username used to authenticate
- Gateway
Migration stringConjur Id - The ID of this resource.
- 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)
- Target
Location string - Target location in Akeyless for imported secrets
- Target
Name string - Name of existing target to use to create the migration
- Conjur
Account string - Conjur account name set on your Conjur server
- Conjur
Api stringKey - Conjur API Key for the specified user
- Conjur
Url string - Conjur server base URL. If conjururl is HTTPS and Conjur uses a private CA/self-signed certificate, make the CA bundle available on the Gateway and set CONJURSSLCERTPATH to its path
- Conjur
Username string - Conjur username used to authenticate
- Gateway
Migration stringConjur Id - The ID of this resource.
- 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)
- Target
Location string - Target location in Akeyless for imported secrets
- Target
Name string - Name of existing target to use to create the migration
- conjur_
account string - Conjur account name set on your Conjur server
- conjur_
api_ stringkey - Conjur API Key for the specified user
- conjur_
url string - Conjur server base URL. If conjururl is HTTPS and Conjur uses a private CA/self-signed certificate, make the CA bundle available on the Gateway and set CONJURSSLCERTPATH to its path
- conjur_
username string - Conjur username used to authenticate
- gateway_
migration_ stringconjur_ id - The ID of this resource.
- 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)
- target_
location string - Target location in Akeyless for imported secrets
- target_
name string - Name of existing target to use to create the migration
- conjur
Account String - Conjur account name set on your Conjur server
- conjur
Api StringKey - Conjur API Key for the specified user
- conjur
Url String - Conjur server base URL. If conjururl is HTTPS and Conjur uses a private CA/self-signed certificate, make the CA bundle available on the Gateway and set CONJURSSLCERTPATH to its path
- conjur
Username String - Conjur username used to authenticate
- gateway
Migration StringConjur Id - The ID of this resource.
- 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)
- target
Location String - Target location in Akeyless for imported secrets
- target
Name String - Name of existing target to use to create the migration
- conjur
Account string - Conjur account name set on your Conjur server
- conjur
Api stringKey - Conjur API Key for the specified user
- conjur
Url string - Conjur server base URL. If conjururl is HTTPS and Conjur uses a private CA/self-signed certificate, make the CA bundle available on the Gateway and set CONJURSSLCERTPATH to its path
- conjur
Username string - Conjur username used to authenticate
- gateway
Migration stringConjur Id - The ID of this resource.
- 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)
- target
Location string - Target location in Akeyless for imported secrets
- target
Name string - Name of existing target to use to create the migration
- conjur_
account str - Conjur account name set on your Conjur server
- conjur_
api_ strkey - Conjur API Key for the specified user
- conjur_
url str - Conjur server base URL. If conjururl is HTTPS and Conjur uses a private CA/self-signed certificate, make the CA bundle available on the Gateway and set CONJURSSLCERTPATH to its path
- conjur_
username str - Conjur username used to authenticate
- gateway_
migration_ strconjur_ id - The ID of this resource.
- 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)
- target_
location str - Target location in Akeyless for imported secrets
- target_
name str - Name of existing target to use to create the migration
- conjur
Account String - Conjur account name set on your Conjur server
- conjur
Api StringKey - Conjur API Key for the specified user
- conjur
Url String - Conjur server base URL. If conjururl is HTTPS and Conjur uses a private CA/self-signed certificate, make the CA bundle available on the Gateway and set CONJURSSLCERTPATH to its path
- conjur
Username String - Conjur username used to authenticate
- gateway
Migration StringConjur Id - The ID of this resource.
- 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)
- target
Location String - Target location in Akeyless for imported secrets
- target
Name String - Name of existing target to use to create the migration
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeylessTerraform Provider.
published on Monday, Aug 10, 2026 by akeyless-community