mirror of
https://github.com/hanzokms/cli.git
synced 2026-10-30 20:30:00 +00:00
- Binary name: kms (not infisical) - Go module: github.com/hanzokms/cli - Default API: https://kms.hanzo.ai - Config dir: ~/.kms, workspace: .kms.json - Copyright: Hanzo AI Inc. - Keyring service: hanzo-kms - npm package: @hanzokms/cli - GoReleaser, Docker, scripts all updated - External deps (go-sdk, kmip) keep original import paths until forked to hanzokms org
15 lines
372 B
Go
15 lines
372 B
Go
package visualize
|
|
|
|
import "github.com/hanzokms/cli/packages/models"
|
|
|
|
func PrintAllSecretDetails(secrets []models.SingleEnvironmentVariable) {
|
|
rows := [][3]string{}
|
|
for _, secret := range secrets {
|
|
rows = append(rows, [...]string{secret.Key, secret.Value, secret.Type})
|
|
}
|
|
|
|
headers := [...]string{"SECRET NAME", "SECRET VALUE", "SECRET TYPE"}
|
|
|
|
Table(headers, rows)
|
|
}
|