diff --git a/cmd/notary/main.go b/cmd/notary/main.go index da2176188c..78791f80b0 100644 --- a/cmd/notary/main.go +++ b/cmd/notary/main.go @@ -145,7 +145,7 @@ func getPassphraseRetriever() passphrase.Retriever { baseRetriever := passphrase.PromptRetriever() env := map[string]string{ "root": os.Getenv("NOTARY_ROOT_PASSPHRASE"), - "targets": os.Getenv("NOTARY_TARGET_PASSPHRASE"), + "targets": os.Getenv("NOTARY_TARGETS_PASSPHRASE"), "snapshot": os.Getenv("NOTARY_SNAPSHOT_PASSPHRASE"), }