Discover Packages
github.com/VitruvianSoftware/devx
internal
secrets
package
Version:
v0.32.0
Opens a new window with list of versions in this module.
Published: Apr 6, 2026
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
NonInteractive bypasses the interactive terminal prompts and fails directly if required secrets are missing
Rotate runs the interactive form pre-filled with existing values and
saves the result. Use for credential rotation.
type Secrets struct {
CFTunnelToken string
DevHostname string
}
Secrets holds the user-specific values required to provision the environment.
Load reads secrets from the given .env file. If any required value is
missing, it falls back to an interactive huh form. Writes back to the
.env file after a successful form submission.
Save writes secrets to the given .env file.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.