output
Display computed outputs from provisioned resources, such as IP addresses, endpoints, and DNS names.
kyku output [options]Options
Section titled “Options”| Flag | Default | Description |
|---|---|---|
-e, --env <environment> |
default |
Environment workspace |
--show-secrets |
false |
Decrypt and show sensitive values |
--json |
false |
Output as JSON |
-p, --passphrase <phrase> |
— | Passphrase for encrypted state |
Examples
Section titled “Examples”# Show all outputskyku output
# Show in JSON formatkyku output --json
# Show decrypted secretskyku output --show-secretsJSON Output
Section titled “JSON Output”{ "vm-web": { "instanceId": "i-0abc123456", "publicIp": "203.0.113.42", "privateIp": "10.0.1.5" }, "db-main": { "endpoint": "app-db.c9abc123456.us-east-1.rds.amazonaws.com", "port": 5432, "databaseName": "appdb" }, "lb-web": { "dnsName": "web-lb-1234567890.us-east-1.elb.amazonaws.com", "listenerPorts": [80, 443] }}Secrets
Section titled “Secrets”Without --show-secrets, sensitive outputs are shown as [encrypted]. Pass --passphrase (or set KYKU_PASSPHRASE) and --show-secrets to decrypt them.