sidecar secure-relay-inlet

ockam sidecar secure-relay-inlet [OPTIONS] <--enroll-ticket <ENROLLMENT TICKET PATH>|--okta> <SERVICE NAME>

This sidecar starts a TCP inlet listening in the provided port. It requires a valid enrollment mechanism. The portal will be named and inlet and outlet name must match.


    The name of the service


  • --from [SOCKET_ADDRESS] (optional)
    Address on which to accept tcp connections

  • --dry-run (optional)
    Just print the recipe and exit

  • --enroll-ticket [ENROLLMENT TICKET PATH] (optional)
    Enrollment ticket to use

  • --okta (optional)
    If using Okta enrollment


# Starts the inlet relay listening in port 5432 with a service called `postgresql-production`
ockam sidecar secure-relay-inlet --from --enrollment-ticket ./ticket postgresql-production

# Prints the recipe without executing any command, can be used with `ockam run`
ockam sidecar secure-relay-inlet --from --enrollment-ticket ./ticket --dry-run postgresql-production

# Starts an inlet relay service called `my-http-service` listening on port 6000 inside a docker container
docker run --name my-http-service -ti -p 6000:6000 --volume /tmp/ticket_for_docker:/ticket ockam sidecar secure-relay-inlet --from --enrollment-ticket /ticket my-http-service