Golang, Kubernetes, Secrets, Cryptography.
fmt.Printf("%x\n", s) }, // lines skipped... var publicKeyFile string func init() { encryptCmd.Flags().StringVarP(&publicKeyFile, "pub", "p", "", "public key file to encrypt") rootCmd.AddCommand(encryptCmd) } The publicKeyFile points to the public key file, which will be parsed in as a command line