MCPcopy Create free account
hub / github.com/google/go-github / getSecretName

Function getSecretName

example/codespaces/newusersecretwithxcrypto/main.go:81–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79}
80
81func getSecretName() (string, error) {
82 secretName := flag.Arg(0)
83 if secretName == "" {
84 return "", errors.New("missing argument secret name")
85 }
86 return secretName, nil
87}
88
89func getSecretValue(secretName string) (string, error) {
90 secretValue := os.Getenv(secretName)

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…