Config Template

Full configuration template

[email protected]:~$ cat border0.yaml 
connector:
   name: "my-awesome-connector"
   aws-region: "us-east-1"
   ssm-aws-region: "us-east-2"

credentials:
   # user: [email protected]
   # password: AVeryLongAndSecurePassword
   # token: AVeryLongAndSecurePasswordThingyTokenLikeStuffGeneratedInThePortal
   token: aws:ssm:/path/to/the/connector-token

sockets:
   - webserver-connector-lab:
      port: 8000
      type: http
      host: 127.0.0.1
      policies: [my-connector-policy]

   - rds-us-east-2:
       port: 3306
       host: my-rds-instance.cluster-giberish.us-east-2.rds.amazonaws.com
       type: database
       policies: [my-connector-policy]
       upstream_type: mysql
       # Note, this is stored encrypted in our systems, so the proxy can connect.
       upstream_user: fancy_db_user
       upstream_password: AVeryLongAndSecurePasswordThingyTokenLikeStuff

   - ssh-connector-lab:
       port: 22
       host: 127.0.0.1
       type: ssh
       policies: [my-connector-policy]

aws_groups:
    - group: infra_team
      policies: [my-connector-policy]
   
docker_plugin:
    - group: docker_team
      policies: [my-connector-policy]

network_plugin:
   - group: network_plugin
     policies: [my-connector-policy]
     networks:
     - my lan0:
        interfaces: [ eth0 ]
        ports: [ 80, 443, 3306 ]
     - my lan1_n_subnet:
        interfaces: [ eth1 ]
        subnets: [ 172.31.6.0/24 ]
        ports: [ 80, 443, 3306 ]
     - my routed_net0:
        interfaces: [ none ]
        subnets: [ 172.16.1.0/28, 192.168.100.0/24 ]
        ports: [ 22, 80, 443, 3306 ]