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

routeros.PppSecret

Explore with Pulumi AI

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as routeros from "@pulumi/routeros";
    
    const test = new routeros.PppSecret("test", {
        password: "123",
        profile: "default",
    });
    
    import pulumi
    import pulumi_routeros as routeros
    
    test = routeros.PppSecret("test",
        password="123",
        profile="default")
    
    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.NewPppSecret(ctx, "test", &routeros.PppSecretArgs{
    			Password: pulumi.String("123"),
    			Profile:  pulumi.String("default"),
    		})
    		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.PppSecret("test", new()
        {
            Password = "123",
            Profile = "default",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.routeros.PppSecret;
    import com.pulumi.routeros.PppSecretArgs;
    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 PppSecret("test", PppSecretArgs.builder()
                .password("123")
                .profile("default")
                .build());
    
        }
    }
    
    resources:
      test:
        type: routeros:PppSecret
        properties:
          password: '123'
          profile: default
    

    Create PppSecret Resource

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

    Constructor syntax

    new PppSecret(name: string, args?: PppSecretArgs, opts?: CustomResourceOptions);
    @overload
    def PppSecret(resource_name: str,
                  args: Optional[PppSecretArgs] = None,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def PppSecret(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  ___id_: Optional[float] = None,
                  ___path_: Optional[str] = None,
                  caller_id: Optional[str] = None,
                  comment: Optional[str] = None,
                  disabled: Optional[bool] = None,
                  ipv6_routes: Optional[Sequence[str]] = None,
                  limit_bytes_in: Optional[float] = None,
                  limit_bytes_out: Optional[float] = None,
                  local_address: Optional[str] = None,
                  name: Optional[str] = None,
                  password: Optional[str] = None,
                  ppp_secret_id: Optional[str] = None,
                  profile: Optional[str] = None,
                  remote_address: Optional[str] = None,
                  remote_ipv6_prefix: Optional[str] = None,
                  routes: Optional[Sequence[str]] = None,
                  service: Optional[str] = None)
    func NewPppSecret(ctx *Context, name string, args *PppSecretArgs, opts ...ResourceOption) (*PppSecret, error)
    public PppSecret(string name, PppSecretArgs? args = null, CustomResourceOptions? opts = null)
    public PppSecret(String name, PppSecretArgs args)
    public PppSecret(String name, PppSecretArgs args, CustomResourceOptions options)
    
    type: routeros:PppSecret
    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 PppSecretArgs
    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 PppSecretArgs
    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 PppSecretArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PppSecretArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PppSecretArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    CallerId string
    For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
    Comment string
    Disabled bool
    Ipv6Routes List<string>
    IPv6 routes.
    LimitBytesIn double
    Maximal amount of bytes for a session that client can upload.
    LimitBytesOut double
    Maximal amount of bytes for a session that client can download.
    LocalAddress string
    IP address that will be set locally on ppp interface.
    Name string
    Name used for authentication.
    Password string
    Password used for authentication.
    PppSecretId string
    The ID of this resource.
    Profile string
    Which user profile to use.
    RemoteAddress string
    IP address that will be assigned to remote ppp interface.
    RemoteIpv6Prefix string
    IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
    Routes List<string>
    Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
    Service string
    Specifies the services that particular user will be able to use.
    ___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.
    CallerId string
    For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
    Comment string
    Disabled bool
    Ipv6Routes []string
    IPv6 routes.
    LimitBytesIn float64
    Maximal amount of bytes for a session that client can upload.
    LimitBytesOut float64
    Maximal amount of bytes for a session that client can download.
    LocalAddress string
    IP address that will be set locally on ppp interface.
    Name string
    Name used for authentication.
    Password string
    Password used for authentication.
    PppSecretId string
    The ID of this resource.
    Profile string
    Which user profile to use.
    RemoteAddress string
    IP address that will be assigned to remote ppp interface.
    RemoteIpv6Prefix string
    IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
    Routes []string
    Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
    Service string
    Specifies the services that particular user will be able to use.
    ___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.
    callerId String
    For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
    comment String
    disabled Boolean
    ipv6Routes List<String>
    IPv6 routes.
    limitBytesIn Double
    Maximal amount of bytes for a session that client can upload.
    limitBytesOut Double
    Maximal amount of bytes for a session that client can download.
    localAddress String
    IP address that will be set locally on ppp interface.
    name String
    Name used for authentication.
    password String
    Password used for authentication.
    pppSecretId String
    The ID of this resource.
    profile String
    Which user profile to use.
    remoteAddress String
    IP address that will be assigned to remote ppp interface.
    remoteIpv6Prefix String
    IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
    routes List<String>
    Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
    service String
    Specifies the services that particular user will be able to use.
    ___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.
    callerId string
    For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
    comment string
    disabled boolean
    ipv6Routes string[]
    IPv6 routes.
    limitBytesIn number
    Maximal amount of bytes for a session that client can upload.
    limitBytesOut number
    Maximal amount of bytes for a session that client can download.
    localAddress string
    IP address that will be set locally on ppp interface.
    name string
    Name used for authentication.
    password string
    Password used for authentication.
    pppSecretId string
    The ID of this resource.
    profile string
    Which user profile to use.
    remoteAddress string
    IP address that will be assigned to remote ppp interface.
    remoteIpv6Prefix string
    IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
    routes string[]
    Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
    service string
    Specifies the services that particular user will be able to use.
    ___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.
    caller_id str
    For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
    comment str
    disabled bool
    ipv6_routes Sequence[str]
    IPv6 routes.
    limit_bytes_in float
    Maximal amount of bytes for a session that client can upload.
    limit_bytes_out float
    Maximal amount of bytes for a session that client can download.
    local_address str
    IP address that will be set locally on ppp interface.
    name str
    Name used for authentication.
    password str
    Password used for authentication.
    ppp_secret_id str
    The ID of this resource.
    profile str
    Which user profile to use.
    remote_address str
    IP address that will be assigned to remote ppp interface.
    remote_ipv6_prefix str
    IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
    routes Sequence[str]
    Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
    service str
    Specifies the services that particular user will be able to use.
    ___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.
    callerId String
    For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
    comment String
    disabled Boolean
    ipv6Routes List<String>
    IPv6 routes.
    limitBytesIn Number
    Maximal amount of bytes for a session that client can upload.
    limitBytesOut Number
    Maximal amount of bytes for a session that client can download.
    localAddress String
    IP address that will be set locally on ppp interface.
    name String
    Name used for authentication.
    password String
    Password used for authentication.
    pppSecretId String
    The ID of this resource.
    profile String
    Which user profile to use.
    remoteAddress String
    IP address that will be assigned to remote ppp interface.
    remoteIpv6Prefix String
    IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
    routes List<String>
    Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
    service String
    Specifies the services that particular user will be able to use.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    LastCallerId string
    LastDisconnectReason string
    LastLoggedOut string
    Id string
    The provider-assigned unique ID for this managed resource.
    LastCallerId string
    LastDisconnectReason string
    LastLoggedOut string
    id String
    The provider-assigned unique ID for this managed resource.
    lastCallerId String
    lastDisconnectReason String
    lastLoggedOut String
    id string
    The provider-assigned unique ID for this managed resource.
    lastCallerId string
    lastDisconnectReason string
    lastLoggedOut string
    id str
    The provider-assigned unique ID for this managed resource.
    last_caller_id str
    last_disconnect_reason str
    last_logged_out str
    id String
    The provider-assigned unique ID for this managed resource.
    lastCallerId String
    lastDisconnectReason String
    lastLoggedOut String

    Look up Existing PppSecret Resource

    Get an existing PppSecret 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?: PppSecretState, opts?: CustomResourceOptions): PppSecret
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ___id_: Optional[float] = None,
            ___path_: Optional[str] = None,
            caller_id: Optional[str] = None,
            comment: Optional[str] = None,
            disabled: Optional[bool] = None,
            ipv6_routes: Optional[Sequence[str]] = None,
            last_caller_id: Optional[str] = None,
            last_disconnect_reason: Optional[str] = None,
            last_logged_out: Optional[str] = None,
            limit_bytes_in: Optional[float] = None,
            limit_bytes_out: Optional[float] = None,
            local_address: Optional[str] = None,
            name: Optional[str] = None,
            password: Optional[str] = None,
            ppp_secret_id: Optional[str] = None,
            profile: Optional[str] = None,
            remote_address: Optional[str] = None,
            remote_ipv6_prefix: Optional[str] = None,
            routes: Optional[Sequence[str]] = None,
            service: Optional[str] = None) -> PppSecret
    func GetPppSecret(ctx *Context, name string, id IDInput, state *PppSecretState, opts ...ResourceOption) (*PppSecret, error)
    public static PppSecret Get(string name, Input<string> id, PppSecretState? state, CustomResourceOptions? opts = null)
    public static PppSecret get(String name, Output<String> id, PppSecretState state, CustomResourceOptions options)
    resources:  _:    type: routeros:PppSecret    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:
    CallerId string
    For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
    Comment string
    Disabled bool
    Ipv6Routes List<string>
    IPv6 routes.
    LastCallerId string
    LastDisconnectReason string
    LastLoggedOut string
    LimitBytesIn double
    Maximal amount of bytes for a session that client can upload.
    LimitBytesOut double
    Maximal amount of bytes for a session that client can download.
    LocalAddress string
    IP address that will be set locally on ppp interface.
    Name string
    Name used for authentication.
    Password string
    Password used for authentication.
    PppSecretId string
    The ID of this resource.
    Profile string
    Which user profile to use.
    RemoteAddress string
    IP address that will be assigned to remote ppp interface.
    RemoteIpv6Prefix string
    IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
    Routes List<string>
    Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
    Service string
    Specifies the services that particular user will be able to use.
    ___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.
    CallerId string
    For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
    Comment string
    Disabled bool
    Ipv6Routes []string
    IPv6 routes.
    LastCallerId string
    LastDisconnectReason string
    LastLoggedOut string
    LimitBytesIn float64
    Maximal amount of bytes for a session that client can upload.
    LimitBytesOut float64
    Maximal amount of bytes for a session that client can download.
    LocalAddress string
    IP address that will be set locally on ppp interface.
    Name string
    Name used for authentication.
    Password string
    Password used for authentication.
    PppSecretId string
    The ID of this resource.
    Profile string
    Which user profile to use.
    RemoteAddress string
    IP address that will be assigned to remote ppp interface.
    RemoteIpv6Prefix string
    IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
    Routes []string
    Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
    Service string
    Specifies the services that particular user will be able to use.
    ___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.
    callerId String
    For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
    comment String
    disabled Boolean
    ipv6Routes List<String>
    IPv6 routes.
    lastCallerId String
    lastDisconnectReason String
    lastLoggedOut String
    limitBytesIn Double
    Maximal amount of bytes for a session that client can upload.
    limitBytesOut Double
    Maximal amount of bytes for a session that client can download.
    localAddress String
    IP address that will be set locally on ppp interface.
    name String
    Name used for authentication.
    password String
    Password used for authentication.
    pppSecretId String
    The ID of this resource.
    profile String
    Which user profile to use.
    remoteAddress String
    IP address that will be assigned to remote ppp interface.
    remoteIpv6Prefix String
    IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
    routes List<String>
    Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
    service String
    Specifies the services that particular user will be able to use.
    ___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.
    callerId string
    For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
    comment string
    disabled boolean
    ipv6Routes string[]
    IPv6 routes.
    lastCallerId string
    lastDisconnectReason string
    lastLoggedOut string
    limitBytesIn number
    Maximal amount of bytes for a session that client can upload.
    limitBytesOut number
    Maximal amount of bytes for a session that client can download.
    localAddress string
    IP address that will be set locally on ppp interface.
    name string
    Name used for authentication.
    password string
    Password used for authentication.
    pppSecretId string
    The ID of this resource.
    profile string
    Which user profile to use.
    remoteAddress string
    IP address that will be assigned to remote ppp interface.
    remoteIpv6Prefix string
    IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
    routes string[]
    Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
    service string
    Specifies the services that particular user will be able to use.
    ___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.
    caller_id str
    For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
    comment str
    disabled bool
    ipv6_routes Sequence[str]
    IPv6 routes.
    last_caller_id str
    last_disconnect_reason str
    last_logged_out str
    limit_bytes_in float
    Maximal amount of bytes for a session that client can upload.
    limit_bytes_out float
    Maximal amount of bytes for a session that client can download.
    local_address str
    IP address that will be set locally on ppp interface.
    name str
    Name used for authentication.
    password str
    Password used for authentication.
    ppp_secret_id str
    The ID of this resource.
    profile str
    Which user profile to use.
    remote_address str
    IP address that will be assigned to remote ppp interface.
    remote_ipv6_prefix str
    IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
    routes Sequence[str]
    Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
    service str
    Specifies the services that particular user will be able to use.
    ___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.
    callerId String
    For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
    comment String
    disabled Boolean
    ipv6Routes List<String>
    IPv6 routes.
    lastCallerId String
    lastDisconnectReason String
    lastLoggedOut String
    limitBytesIn Number
    Maximal amount of bytes for a session that client can upload.
    limitBytesOut Number
    Maximal amount of bytes for a session that client can download.
    localAddress String
    IP address that will be set locally on ppp interface.
    name String
    Name used for authentication.
    password String
    Password used for authentication.
    pppSecretId String
    The ID of this resource.
    profile String
    Which user profile to use.
    remoteAddress String
    IP address that will be assigned to remote ppp interface.
    remoteIpv6Prefix String
    IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
    routes List<String>
    Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
    service String
    Specifies the services that particular user will be able to use.

    Import

    #The ID can be found via API or the terminal

    #The command for the terminal is -> :put [/ppp/secret get [print show-ids]]

    $ pulumi import routeros:index/pppSecret:PppSecret test *6
    

    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