MCPcopy Create free account
hub / github.com/auth0/auth0-cli / inputSecretsToActionSecrets

Function inputSecretsToActionSecrets

internal/cli/actions.go:712–723  ·  view source on GitHub ↗
(secrets map[string]string)

Source from the content-addressed store, hash-verified

710}
711
712func inputSecretsToActionSecrets(secrets map[string]string) *[]management.ActionSecret {
713 actionSecrets := make([]management.ActionSecret, 0)
714
715 for name, value := range secrets {
716 actionSecrets = append(actionSecrets, management.ActionSecret{
717 Name: auth0.String(name),
718 Value: auth0.String(value),
719 })
720 }
721
722 return &actionSecrets
723}
724
725func printColorDiff(code1, code2 string, fromVersion, toVersion int) {
726 diff := difflib.UnifiedDiff{

Callers 3

createActionCmdFunction · 0.85
updateActionCmdFunction · 0.85

Calls

no outgoing calls

Tested by 1