Skip to main content

connection-string

print a cache's connection URI

Print a rediss:// URI for a cache (TLS). The host is private to the cache's environment: only its services can reach it. Point your client's TLS CA setting at the CA certificate path shown with it.

Usage​

csph cache connection-string <name|id> [flags]

Options​

Command Specific​

--environment <string>
environment ID
--project <string>
project ID
--reveal
include the password (recorded in the activity log)

Formatting​

For more information about formatting options, see Formatting.

-o, --output <string>

output format: [table|plain|csv|json|yaml]

Inherited​

--config <string>
config file (default is $HOME/.config/computesphere/configuration.yaml)
--debug
enable debug logging

-h, --help

show this help message

-i, --interactive

run interactively (prompts, pickers, table browser)
--log-level <string>
log level: [trace|debug|info|warn|error|fatal|panic|disabled||api]
--no-color
disable color output
--no-input
disable interactive mode

Examples​

  csph cache connection-string sessions
csph cache connection-string sessions --reveal

See also​