mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 23:27:14 +00:00
Fix: Returning keys in a reproducible manner
This commit is contained in:
@@ -116,6 +116,9 @@ var secretsCmd = &cobra.Command{
|
||||
secrets = util.ExpandSecrets(secrets, authParams, "")
|
||||
}
|
||||
|
||||
// convert secrets to the same order as the keys
|
||||
secrets = util.SortSecretsByKeys(secrets)
|
||||
|
||||
util.HandleSendTestSecrets(cmd, secrets)
|
||||
visualize.PrintAllSecretDetails(secrets)
|
||||
Telemetry.CaptureEvent("cli-command:secrets", posthog.NewProperties().Set("secretCount", len(secrets)).Set("version", util.CLI_VERSION))
|
||||
|
||||
Reference in New Issue
Block a user