Documentation
¶
Index ¶
- Variables
- func GetGlobalDirectory() string
- func InitializeSecret(organizationId, projectIdOrAlternateId string, secretLocation SecretLocation, ...) (models.Secret, error)
- func NewSecret(secretBase64 string) models.Secret
- func RestoreSecretFromMonorepo() (models.Secret, error)
- func RotateSecret() (models.Secret, error)
- func UpsertLocalSecret(secret models.Secret) error
- type SecretLocation
Constants ¶
This section is empty.
Variables ¶
View Source
var FS fsutil.FileSystem = fsutil.NewFileSystem()
View Source
var (
ManifestSecretFile = ".hxkey"
)
Functions ¶
func GetGlobalDirectory ¶
func GetGlobalDirectory() string
func InitializeSecret ¶
func RotateSecret ¶ added in v0.17.0
func UpsertLocalSecret ¶
Types ¶
type SecretLocation ¶ added in v0.17.0
type SecretLocation int
const ( SecretLocationVinz SecretLocation = iota SecretLocationLocal SecretLocationNone )
func LoadOrInitializeSecret ¶ added in v0.17.0
func LoadOrInitializeSecret(organizationId, projectIdOrAlternateId string) (models.Secret, SecretLocation, error)
func LoadSecret ¶
func LoadSecret(organizationId, projectIdOrAlternateId string) (models.Secret, SecretLocation, error)
Click to show internal directories.
Click to hide internal directories.