1. Packages
  2. Packages
  3. Akeyless Provider
  4. API Docs
  5. GatewayMigrationGcp
Viewing docs for akeyless 2.0.1
published on Monday, Apr 27, 2026 by akeyless-community
Viewing docs for akeyless 2.0.1
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:

    TargetLocation string
    Target location in Akeyless for imported secrets
    GatewayMigrationGcpId string
    The ID of this resource.
    GcpKey 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
    ProtectionKey string
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    TargetLocation string
    Target location in Akeyless for imported secrets
    GatewayMigrationGcpId string
    The ID of this resource.
    GcpKey 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
    ProtectionKey string
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    targetLocation String
    Target location in Akeyless for imported secrets
    gatewayMigrationGcpId String
    The ID of this resource.
    gcpKey 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
    protectionKey String
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    targetLocation string
    Target location in Akeyless for imported secrets
    gatewayMigrationGcpId string
    The ID of this resource.
    gcpKey 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
    protectionKey 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_gcp_id str
    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)
    targetLocation String
    Target location in Akeyless for imported secrets
    gatewayMigrationGcpId String
    The ID of this resource.
    gcpKey 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
    protectionKey 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.
    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.
    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 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) -> GatewayMigrationGcp
    func 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.
    The following state arguments are supported:
    GatewayMigrationGcpId string
    The ID of this resource.
    GcpKey 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)
    MigrationId string
    Migration ID
    Name string
    Migration name
    ProtectionKey string
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    TargetLocation string
    Target location in Akeyless for imported secrets
    GatewayMigrationGcpId string
    The ID of this resource.
    GcpKey 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)
    MigrationId string
    Migration ID
    Name string
    Migration name
    ProtectionKey string
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    TargetLocation string
    Target location in Akeyless for imported secrets
    gatewayMigrationGcpId String
    The ID of this resource.
    gcpKey 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)
    migrationId String
    Migration ID
    name String
    Migration name
    protectionKey String
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    targetLocation String
    Target location in Akeyless for imported secrets
    gatewayMigrationGcpId string
    The ID of this resource.
    gcpKey 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)
    migrationId string
    Migration ID
    name string
    Migration name
    protectionKey string
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    targetLocation string
    Target location in Akeyless for imported secrets
    gateway_migration_gcp_id str
    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
    gatewayMigrationGcpId String
    The ID of this resource.
    gcpKey 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)
    migrationId String
    Migration ID
    name String
    Migration name
    protectionKey String
    The name of the key that protects the classic key value (if empty, the account default key will be used)
    targetLocation 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 akeyless Terraform Provider.
    Viewing docs for akeyless 2.0.1
    published on Monday, Apr 27, 2026 by akeyless-community
      Try Pulumi Cloud free. Your team will thank you.