Websites
HTTP Resource Types
Add the Resource in StrongDM
sdm loginNAME: sdm admin websites add - add one or more websites USAGE: sdm admin websites add command [command options] [arguments...] COMMANDS: http, httpNoAuth, http-no-auth create HTTP website http-basic, httpBasic, basicauth create HTTP Basic Auth website http-header-auth, headerauth create HTTP Custom Auth website OPTIONS: --file value, -f value load from a JSON file --stdin, -i load from stdin --timeout value set time limit for command --help, -h show help$ sdm admin websites add http --help NAME: sdm admin websites add http - create HTTP website USAGE: sdm admin websites add http [command options] <name> OPTIONS: --bind-interface value bind interface (default: "127.0.0.1") --default-path value Automatically redirect to this path upon connecting. --egress-filter value apply filter to select egress nodes e.g. 'field:name tag:key=value ...' --headers-exclusion value Enter the header name (e.g. Authorization), and its contents will be omitted from logs. --health-path value This path will be used to check the health of your site. (required) --host-override value The host header will be overwritten with this field. --http-subdomain value This will be used as your local DNS address. (e.g. app-prod1 would turn into http://app-prod1.<your-org-name>.sdm.network/) (required) --port-override value port profile override (default: -1) --tags value tags e.g. 'key=value,...' --template, -t display a JSON template --timeout value set time limit for command --url value The base address of your website without the path. (required)# Add an HTTP Website (no authentication) sdm admin websites add http "intranet-http" --base-url "http://intranet.acme.internal" --bind-interface "default" --port-override -1 --egress-filter 'field:name tag:env=prod tag:region=us-west' --tags "env=prod,protocol=http,team=infra" --timeout 30 # Add an HTTP Basic Auth Website sdm admin websites add http-basic "admin-http-basic" --base-url "https://admin.acme.internal" --username "webadmin" --password "StrongPassword123!" --bind-interface "default" --port-override -1 --proxy-cluster-id "plc_0123456789abcdef" --tags "env=prod,protocol=https,auth=basic,team=web" --timeout 30 # Add an HTTP Custom Auth Website sdm admin websites add http-header-auth "api-http-custom" --base-url "https://api.acme.internal" --headers "Authorization: Bearer abcd1234efgh5678" --bind-interface "default" --port-override -1 --egress-filter 'field:name tag:env=prod tag:region=us-west' --secret-store-id "ss_abcdef0123456789" --tags "env=prod,protocol=https,auth=header,team=api" --timeout 30sdm admin resources list
Resource Properties
Property
Requirement
Description
Resource Type Specific Fields
Property
Requirement
Description
Property
Requirement
Description
Proxy Configuration
Secret Store options
Headers
Custom Headers
Test the Connection
Last updated
Was this helpful?