1. Packages
  2. Routeros Provider
  3. API Docs
  4. WifiSecurityMultiPassphrase
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

routeros.WifiSecurityMultiPassphrase

Explore with Pulumi AI

routeros logo
routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros

    # routeros.WifiSecurityMultiPassphrase (Resource)

    This resource requires a minimum version of RouterOS 7.17beta1.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as routeros from "@pulumi/routeros";
    
    const test = new routeros.WifiSecurityMultiPassphrase("test", {
        group: "gr-123",
        passphrase: data.vault_kv_secret_v2.wifi_security.data.test,
    });
    
    import pulumi
    import pulumi_routeros as routeros
    
    test = routeros.WifiSecurityMultiPassphrase("test",
        group="gr-123",
        passphrase=data["vault_kv_secret_v2"]["wifi_security"]["data"]["test"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/routeros/routeros"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := routeros.NewWifiSecurityMultiPassphrase(ctx, "test", &routeros.WifiSecurityMultiPassphraseArgs{
    			Group:      pulumi.String("gr-123"),
    			Passphrase: pulumi.Any(data.Vault_kv_secret_v2.Wifi_security.Data.Test),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Routeros = Pulumi.Routeros;
    
    return await Deployment.RunAsync(() => 
    {
        var test = new Routeros.WifiSecurityMultiPassphrase("test", new()
        {
            Group = "gr-123",
            Passphrase = data.Vault_kv_secret_v2.Wifi_security.Data.Test,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.routeros.WifiSecurityMultiPassphrase;
    import com.pulumi.routeros.WifiSecurityMultiPassphraseArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var test = new WifiSecurityMultiPassphrase("test", WifiSecurityMultiPassphraseArgs.builder()
                .group("gr-123")
                .passphrase(data.vault_kv_secret_v2().wifi_security().data().test())
                .build());
    
        }
    }
    
    resources:
      test:
        type: routeros:WifiSecurityMultiPassphrase
        properties:
          group: gr-123
          passphrase: ${data.vault_kv_secret_v2.wifi_security.data.test}
    

    Create WifiSecurityMultiPassphrase Resource

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

    Constructor syntax

    new WifiSecurityMultiPassphrase(name: string, args: WifiSecurityMultiPassphraseArgs, opts?: CustomResourceOptions);
    @overload
    def WifiSecurityMultiPassphrase(resource_name: str,
                                    args: WifiSecurityMultiPassphraseArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def WifiSecurityMultiPassphrase(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    group: Optional[str] = None,
                                    ___id_: Optional[float] = None,
                                    ___path_: Optional[str] = None,
                                    comment: Optional[str] = None,
                                    disabled: Optional[bool] = None,
                                    expires: Optional[str] = None,
                                    isolation: Optional[bool] = None,
                                    passphrase: Optional[str] = None,
                                    vlan_id: Optional[str] = None,
                                    wifi_security_multi_passphrase_id: Optional[str] = None)
    func NewWifiSecurityMultiPassphrase(ctx *Context, name string, args WifiSecurityMultiPassphraseArgs, opts ...ResourceOption) (*WifiSecurityMultiPassphrase, error)
    public WifiSecurityMultiPassphrase(string name, WifiSecurityMultiPassphraseArgs args, CustomResourceOptions? opts = null)
    public WifiSecurityMultiPassphrase(String name, WifiSecurityMultiPassphraseArgs args)
    public WifiSecurityMultiPassphrase(String name, WifiSecurityMultiPassphraseArgs args, CustomResourceOptions options)
    
    type: routeros:WifiSecurityMultiPassphrase
    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 WifiSecurityMultiPassphraseArgs
    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 WifiSecurityMultiPassphraseArgs
    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 WifiSecurityMultiPassphraseArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WifiSecurityMultiPassphraseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WifiSecurityMultiPassphraseArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Group string
    Assigning the group to a security profile or an access list, will enable use of all passphrases defined under it.
    Comment string
    Disabled bool
    Expires string
    The expiration date and time for passphrase specified in this entry, doesn't affect the whole group. Once the date is reached, existing clients using this passphrase will be disconnected, and new clients will not be able to connect using it. If not set, passphrase can be used indefinetly.
    Isolation bool
    Determines whether the client device using this passphrase is isolated from other clients on AP. Traffic from an isolated client will not be forwarded to other clients and unicast traffic from a non-isolated client will not be forwarded to an isolated one.
    Passphrase string
    The passphrase to use for PSK authentication types. Multiple users can use the same passphrase. Not compatible with WPA3-PSK.
    VlanId string
    Vlan-id that will be assigned to clients using this passphrase Only supported on wifi-qcom interfaces, if wifi-qcom-ac AP has a client that uses a passphrase that has vlan-id associated with it, the client will not be able to join.
    WifiSecurityMultiPassphraseId string
    The ID of this resource.
    ___id_ double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    Group string
    Assigning the group to a security profile or an access list, will enable use of all passphrases defined under it.
    Comment string
    Disabled bool
    Expires string
    The expiration date and time for passphrase specified in this entry, doesn't affect the whole group. Once the date is reached, existing clients using this passphrase will be disconnected, and new clients will not be able to connect using it. If not set, passphrase can be used indefinetly.
    Isolation bool
    Determines whether the client device using this passphrase is isolated from other clients on AP. Traffic from an isolated client will not be forwarded to other clients and unicast traffic from a non-isolated client will not be forwarded to an isolated one.
    Passphrase string
    The passphrase to use for PSK authentication types. Multiple users can use the same passphrase. Not compatible with WPA3-PSK.
    VlanId string
    Vlan-id that will be assigned to clients using this passphrase Only supported on wifi-qcom interfaces, if wifi-qcom-ac AP has a client that uses a passphrase that has vlan-id associated with it, the client will not be able to join.
    WifiSecurityMultiPassphraseId string
    The ID of this resource.
    ___id_ float64
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    group String
    Assigning the group to a security profile or an access list, will enable use of all passphrases defined under it.
    ___id_ Double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    comment String
    disabled Boolean
    expires String
    The expiration date and time for passphrase specified in this entry, doesn't affect the whole group. Once the date is reached, existing clients using this passphrase will be disconnected, and new clients will not be able to connect using it. If not set, passphrase can be used indefinetly.
    isolation Boolean
    Determines whether the client device using this passphrase is isolated from other clients on AP. Traffic from an isolated client will not be forwarded to other clients and unicast traffic from a non-isolated client will not be forwarded to an isolated one.
    passphrase String
    The passphrase to use for PSK authentication types. Multiple users can use the same passphrase. Not compatible with WPA3-PSK.
    vlanId String
    Vlan-id that will be assigned to clients using this passphrase Only supported on wifi-qcom interfaces, if wifi-qcom-ac AP has a client that uses a passphrase that has vlan-id associated with it, the client will not be able to join.
    wifiSecurityMultiPassphraseId String
    The ID of this resource.
    group string
    Assigning the group to a security profile or an access list, will enable use of all passphrases defined under it.
    ___id_ number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    comment string
    disabled boolean
    expires string
    The expiration date and time for passphrase specified in this entry, doesn't affect the whole group. Once the date is reached, existing clients using this passphrase will be disconnected, and new clients will not be able to connect using it. If not set, passphrase can be used indefinetly.
    isolation boolean
    Determines whether the client device using this passphrase is isolated from other clients on AP. Traffic from an isolated client will not be forwarded to other clients and unicast traffic from a non-isolated client will not be forwarded to an isolated one.
    passphrase string
    The passphrase to use for PSK authentication types. Multiple users can use the same passphrase. Not compatible with WPA3-PSK.
    vlanId string
    Vlan-id that will be assigned to clients using this passphrase Only supported on wifi-qcom interfaces, if wifi-qcom-ac AP has a client that uses a passphrase that has vlan-id associated with it, the client will not be able to join.
    wifiSecurityMultiPassphraseId string
    The ID of this resource.
    group str
    Assigning the group to a security profile or an access list, will enable use of all passphrases defined under it.
    ___id_ float
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ str
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    comment str
    disabled bool
    expires str
    The expiration date and time for passphrase specified in this entry, doesn't affect the whole group. Once the date is reached, existing clients using this passphrase will be disconnected, and new clients will not be able to connect using it. If not set, passphrase can be used indefinetly.
    isolation bool
    Determines whether the client device using this passphrase is isolated from other clients on AP. Traffic from an isolated client will not be forwarded to other clients and unicast traffic from a non-isolated client will not be forwarded to an isolated one.
    passphrase str
    The passphrase to use for PSK authentication types. Multiple users can use the same passphrase. Not compatible with WPA3-PSK.
    vlan_id str
    Vlan-id that will be assigned to clients using this passphrase Only supported on wifi-qcom interfaces, if wifi-qcom-ac AP has a client that uses a passphrase that has vlan-id associated with it, the client will not be able to join.
    wifi_security_multi_passphrase_id str
    The ID of this resource.
    group String
    Assigning the group to a security profile or an access list, will enable use of all passphrases defined under it.
    ___id_ Number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    comment String
    disabled Boolean
    expires String
    The expiration date and time for passphrase specified in this entry, doesn't affect the whole group. Once the date is reached, existing clients using this passphrase will be disconnected, and new clients will not be able to connect using it. If not set, passphrase can be used indefinetly.
    isolation Boolean
    Determines whether the client device using this passphrase is isolated from other clients on AP. Traffic from an isolated client will not be forwarded to other clients and unicast traffic from a non-isolated client will not be forwarded to an isolated one.
    passphrase String
    The passphrase to use for PSK authentication types. Multiple users can use the same passphrase. Not compatible with WPA3-PSK.
    vlanId String
    Vlan-id that will be assigned to clients using this passphrase Only supported on wifi-qcom interfaces, if wifi-qcom-ac AP has a client that uses a passphrase that has vlan-id associated with it, the client will not be able to join.
    wifiSecurityMultiPassphraseId String
    The ID of this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WifiSecurityMultiPassphrase resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing WifiSecurityMultiPassphrase Resource

    Get an existing WifiSecurityMultiPassphrase 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?: WifiSecurityMultiPassphraseState, opts?: CustomResourceOptions): WifiSecurityMultiPassphrase
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ___id_: Optional[float] = None,
            ___path_: Optional[str] = None,
            comment: Optional[str] = None,
            disabled: Optional[bool] = None,
            expires: Optional[str] = None,
            group: Optional[str] = None,
            isolation: Optional[bool] = None,
            passphrase: Optional[str] = None,
            vlan_id: Optional[str] = None,
            wifi_security_multi_passphrase_id: Optional[str] = None) -> WifiSecurityMultiPassphrase
    func GetWifiSecurityMultiPassphrase(ctx *Context, name string, id IDInput, state *WifiSecurityMultiPassphraseState, opts ...ResourceOption) (*WifiSecurityMultiPassphrase, error)
    public static WifiSecurityMultiPassphrase Get(string name, Input<string> id, WifiSecurityMultiPassphraseState? state, CustomResourceOptions? opts = null)
    public static WifiSecurityMultiPassphrase get(String name, Output<String> id, WifiSecurityMultiPassphraseState state, CustomResourceOptions options)
    resources:  _:    type: routeros:WifiSecurityMultiPassphrase    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:
    Comment string
    Disabled bool
    Expires string
    The expiration date and time for passphrase specified in this entry, doesn't affect the whole group. Once the date is reached, existing clients using this passphrase will be disconnected, and new clients will not be able to connect using it. If not set, passphrase can be used indefinetly.
    Group string
    Assigning the group to a security profile or an access list, will enable use of all passphrases defined under it.
    Isolation bool
    Determines whether the client device using this passphrase is isolated from other clients on AP. Traffic from an isolated client will not be forwarded to other clients and unicast traffic from a non-isolated client will not be forwarded to an isolated one.
    Passphrase string
    The passphrase to use for PSK authentication types. Multiple users can use the same passphrase. Not compatible with WPA3-PSK.
    VlanId string
    Vlan-id that will be assigned to clients using this passphrase Only supported on wifi-qcom interfaces, if wifi-qcom-ac AP has a client that uses a passphrase that has vlan-id associated with it, the client will not be able to join.
    WifiSecurityMultiPassphraseId string
    The ID of this resource.
    ___id_ double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    Comment string
    Disabled bool
    Expires string
    The expiration date and time for passphrase specified in this entry, doesn't affect the whole group. Once the date is reached, existing clients using this passphrase will be disconnected, and new clients will not be able to connect using it. If not set, passphrase can be used indefinetly.
    Group string
    Assigning the group to a security profile or an access list, will enable use of all passphrases defined under it.
    Isolation bool
    Determines whether the client device using this passphrase is isolated from other clients on AP. Traffic from an isolated client will not be forwarded to other clients and unicast traffic from a non-isolated client will not be forwarded to an isolated one.
    Passphrase string
    The passphrase to use for PSK authentication types. Multiple users can use the same passphrase. Not compatible with WPA3-PSK.
    VlanId string
    Vlan-id that will be assigned to clients using this passphrase Only supported on wifi-qcom interfaces, if wifi-qcom-ac AP has a client that uses a passphrase that has vlan-id associated with it, the client will not be able to join.
    WifiSecurityMultiPassphraseId string
    The ID of this resource.
    ___id_ float64
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    ___id_ Double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    comment String
    disabled Boolean
    expires String
    The expiration date and time for passphrase specified in this entry, doesn't affect the whole group. Once the date is reached, existing clients using this passphrase will be disconnected, and new clients will not be able to connect using it. If not set, passphrase can be used indefinetly.
    group String
    Assigning the group to a security profile or an access list, will enable use of all passphrases defined under it.
    isolation Boolean
    Determines whether the client device using this passphrase is isolated from other clients on AP. Traffic from an isolated client will not be forwarded to other clients and unicast traffic from a non-isolated client will not be forwarded to an isolated one.
    passphrase String
    The passphrase to use for PSK authentication types. Multiple users can use the same passphrase. Not compatible with WPA3-PSK.
    vlanId String
    Vlan-id that will be assigned to clients using this passphrase Only supported on wifi-qcom interfaces, if wifi-qcom-ac AP has a client that uses a passphrase that has vlan-id associated with it, the client will not be able to join.
    wifiSecurityMultiPassphraseId String
    The ID of this resource.
    ___id_ number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    comment string
    disabled boolean
    expires string
    The expiration date and time for passphrase specified in this entry, doesn't affect the whole group. Once the date is reached, existing clients using this passphrase will be disconnected, and new clients will not be able to connect using it. If not set, passphrase can be used indefinetly.
    group string
    Assigning the group to a security profile or an access list, will enable use of all passphrases defined under it.
    isolation boolean
    Determines whether the client device using this passphrase is isolated from other clients on AP. Traffic from an isolated client will not be forwarded to other clients and unicast traffic from a non-isolated client will not be forwarded to an isolated one.
    passphrase string
    The passphrase to use for PSK authentication types. Multiple users can use the same passphrase. Not compatible with WPA3-PSK.
    vlanId string
    Vlan-id that will be assigned to clients using this passphrase Only supported on wifi-qcom interfaces, if wifi-qcom-ac AP has a client that uses a passphrase that has vlan-id associated with it, the client will not be able to join.
    wifiSecurityMultiPassphraseId string
    The ID of this resource.
    ___id_ float
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ str
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    comment str
    disabled bool
    expires str
    The expiration date and time for passphrase specified in this entry, doesn't affect the whole group. Once the date is reached, existing clients using this passphrase will be disconnected, and new clients will not be able to connect using it. If not set, passphrase can be used indefinetly.
    group str
    Assigning the group to a security profile or an access list, will enable use of all passphrases defined under it.
    isolation bool
    Determines whether the client device using this passphrase is isolated from other clients on AP. Traffic from an isolated client will not be forwarded to other clients and unicast traffic from a non-isolated client will not be forwarded to an isolated one.
    passphrase str
    The passphrase to use for PSK authentication types. Multiple users can use the same passphrase. Not compatible with WPA3-PSK.
    vlan_id str
    Vlan-id that will be assigned to clients using this passphrase Only supported on wifi-qcom interfaces, if wifi-qcom-ac AP has a client that uses a passphrase that has vlan-id associated with it, the client will not be able to join.
    wifi_security_multi_passphrase_id str
    The ID of this resource.
    ___id_ Number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    comment String
    disabled Boolean
    expires String
    The expiration date and time for passphrase specified in this entry, doesn't affect the whole group. Once the date is reached, existing clients using this passphrase will be disconnected, and new clients will not be able to connect using it. If not set, passphrase can be used indefinetly.
    group String
    Assigning the group to a security profile or an access list, will enable use of all passphrases defined under it.
    isolation Boolean
    Determines whether the client device using this passphrase is isolated from other clients on AP. Traffic from an isolated client will not be forwarded to other clients and unicast traffic from a non-isolated client will not be forwarded to an isolated one.
    passphrase String
    The passphrase to use for PSK authentication types. Multiple users can use the same passphrase. Not compatible with WPA3-PSK.
    vlanId String
    Vlan-id that will be assigned to clients using this passphrase Only supported on wifi-qcom interfaces, if wifi-qcom-ac AP has a client that uses a passphrase that has vlan-id associated with it, the client will not be able to join.
    wifiSecurityMultiPassphraseId String
    The ID of this resource.

    Import

    #The ID can be found via API or the terminal

    #The command for the terminal is -> :put [/wifi/security/multi/passphrase get [print show-ids]]

    $ pulumi import routeros:index/wifiSecurityMultiPassphrase:WifiSecurityMultiPassphrase test *3
    

    #Or you can import a resource using one of its attributes

    $ pulumi import routeros:index/wifiSecurityMultiPassphrase:WifiSecurityMultiPassphrase test "comment=xxx"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    routeros terraform-routeros/terraform-provider-routeros
    License
    Notes
    This Pulumi package is based on the routeros Terraform Provider.
    routeros logo
    routeros 1.83.1 published on Monday, Apr 28, 2025 by terraform-routeros