published on Monday, Apr 27, 2026 by akeyless-community
published on Monday, Apr 27, 2026 by akeyless-community
GCP Migration resource
Create GatewayMigrationGcp Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayMigrationGcp(name: string, args: GatewayMigrationGcpArgs, opts?: CustomResourceOptions);@overload
def GatewayMigrationGcp(resource_name: str,
args: GatewayMigrationGcpArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GatewayMigrationGcp(resource_name: str,
opts: Optional[ResourceOptions] = None,
target_location: Optional[str] = None,
gateway_migration_gcp_id: Optional[str] = None,
gcp_key: Optional[str] = None,
name: Optional[str] = None,
protection_key: Optional[str] = None)func NewGatewayMigrationGcp(ctx *Context, name string, args GatewayMigrationGcpArgs, opts ...ResourceOption) (*GatewayMigrationGcp, error)public GatewayMigrationGcp(string name, GatewayMigrationGcpArgs args, CustomResourceOptions? opts = null)
public GatewayMigrationGcp(String name, GatewayMigrationGcpArgs args)
public GatewayMigrationGcp(String name, GatewayMigrationGcpArgs args, CustomResourceOptions options)
type: akeyless:GatewayMigrationGcp
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GatewayMigrationGcpArgs
- 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 GatewayMigrationGcpArgs
- 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 GatewayMigrationGcpArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayMigrationGcpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayMigrationGcpArgs
- 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 gatewayMigrationGcpResource = new Akeyless.GatewayMigrationGcp("gatewayMigrationGcpResource", new()
{
TargetLocation = "string",
GatewayMigrationGcpId = "string",
GcpKey = "string",
Name = "string",
ProtectionKey = "string",
});
example, err := akeyless.NewGatewayMigrationGcp(ctx, "gatewayMigrationGcpResource", &akeyless.GatewayMigrationGcpArgs{
TargetLocation: pulumi.String("string"),
GatewayMigrationGcpId: pulumi.String("string"),
GcpKey: pulumi.String("string"),
Name: pulumi.String("string"),
ProtectionKey: pulumi.String("string"),
})
var gatewayMigrationGcpResource = new GatewayMigrationGcp("gatewayMigrationGcpResource", GatewayMigrationGcpArgs.builder()
.targetLocation("string")
.gatewayMigrationGcpId("string")
.gcpKey("string")
.name("string")
.protectionKey("string")
.build());
gateway_migration_gcp_resource = akeyless.GatewayMigrationGcp("gatewayMigrationGcpResource",
target_location="string",
gateway_migration_gcp_id="string",
gcp_key="string",
name="string",
protection_key="string")
const gatewayMigrationGcpResource = new akeyless.GatewayMigrationGcp("gatewayMigrationGcpResource", {
targetLocation: "string",
gatewayMigrationGcpId: "string",
gcpKey: "string",
name: "string",
protectionKey: "string",
});
type: akeyless:GatewayMigrationGcp
properties:
gatewayMigrationGcpId: string
gcpKey: string
name: string
protectionKey: string
targetLocation: string
GatewayMigrationGcp 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 GatewayMigrationGcp resource accepts the following input properties:
- Target
Location string - Target location in Akeyless for imported secrets
- Gateway
Migration stringGcp Id - The ID of this resource.
- Gcp
Key string - 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)
- Name string
- Migration name
- Protection
Key string - The name of the key that protects the classic key value (if empty, the account default key will be used)
- Target
Location string - Target location in Akeyless for imported secrets
- Gateway
Migration stringGcp Id - The ID of this resource.
- Gcp
Key string - 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)
- Name string
- Migration name
- Protection
Key string - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target
Location String - Target location in Akeyless for imported secrets
- gateway
Migration StringGcp Id - The ID of this resource.
- gcp
Key String - 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)
- name String
- Migration name
- protection
Key String - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target
Location string - Target location in Akeyless for imported secrets
- gateway
Migration stringGcp Id - The ID of this resource.
- gcp
Key string - 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)
- name string
- Migration name
- protection
Key string - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target_
location str - Target location in Akeyless for imported secrets
- gateway_
migration_ strgcp_ id - The ID of this resource.
- gcp_
key str - 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)
- name str
- Migration name
- protection_
key str - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target
Location String - Target location in Akeyless for imported secrets
- gateway
Migration StringGcp Id - The ID of this resource.
- gcp
Key String - 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)
- name String
- Migration name
- protection
Key String - The name of the key that protects the classic key value (if empty, the account default key will be used)
Outputs
All input properties are implicitly available as output properties. Additionally, the GatewayMigrationGcp resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Migration
Id string - Migration ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Migration
Id string - Migration ID
- id String
- The provider-assigned unique ID for this managed resource.
- migration
Id String - Migration ID
- id string
- The provider-assigned unique ID for this managed resource.
- migration
Id string - Migration ID
- id str
- The provider-assigned unique ID for this managed resource.
- migration_
id str - Migration ID
- id String
- The provider-assigned unique ID for this managed resource.
- migration
Id String - Migration ID
Look up Existing GatewayMigrationGcp Resource
Get an existing GatewayMigrationGcp 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?: GatewayMigrationGcpState, opts?: CustomResourceOptions): GatewayMigrationGcp@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
gateway_migration_gcp_id: Optional[str] = None,
gcp_key: Optional[str] = None,
migration_id: Optional[str] = None,
name: Optional[str] = None,
protection_key: Optional[str] = None,
target_location: Optional[str] = None) -> GatewayMigrationGcpfunc GetGatewayMigrationGcp(ctx *Context, name string, id IDInput, state *GatewayMigrationGcpState, opts ...ResourceOption) (*GatewayMigrationGcp, error)public static GatewayMigrationGcp Get(string name, Input<string> id, GatewayMigrationGcpState? state, CustomResourceOptions? opts = null)public static GatewayMigrationGcp get(String name, Output<String> id, GatewayMigrationGcpState state, CustomResourceOptions options)resources: _: type: akeyless:GatewayMigrationGcp get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Gateway
Migration stringGcp Id - The ID of this resource.
- Gcp
Key string - 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)
- Migration
Id string - Migration ID
- Name string
- Migration name
- Protection
Key string - The name of the key that protects the classic key value (if empty, the account default key will be used)
- Target
Location string - Target location in Akeyless for imported secrets
- Gateway
Migration stringGcp Id - The ID of this resource.
- Gcp
Key string - 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)
- Migration
Id string - Migration ID
- Name string
- Migration name
- Protection
Key string - The name of the key that protects the classic key value (if empty, the account default key will be used)
- Target
Location string - Target location in Akeyless for imported secrets
- gateway
Migration StringGcp Id - The ID of this resource.
- gcp
Key String - 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)
- migration
Id String - Migration ID
- name String
- Migration name
- protection
Key String - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target
Location String - Target location in Akeyless for imported secrets
- gateway
Migration stringGcp Id - The ID of this resource.
- gcp
Key string - 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)
- migration
Id string - Migration ID
- name string
- Migration name
- protection
Key string - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target
Location string - Target location in Akeyless for imported secrets
- gateway_
migration_ strgcp_ id - The ID of this resource.
- gcp_
key str - 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)
- migration_
id str - Migration ID
- name str
- Migration name
- protection_
key str - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target_
location str - Target location in Akeyless for imported secrets
- gateway
Migration StringGcp Id - The ID of this resource.
- gcp
Key String - 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)
- migration
Id String - Migration ID
- name String
- Migration name
- protection
Key String - The name of the key that protects the classic key value (if empty, the account default key will be used)
- target
Location String - Target location in Akeyless for imported secrets
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeylessTerraform Provider.
published on Monday, Apr 27, 2026 by akeyless-community
