diff --git a/cmd/authmate/main.go b/cmd/authmate/main.go index bb59f6bc1..ebf7b71a4 100644 --- a/cmd/authmate/main.go +++ b/cmd/authmate/main.go @@ -384,7 +384,7 @@ func obtainSecret() *cli.Command { return cli.Exit(fmt.Sprintf("failed to create owner's private key: %s", err), 4) } - secretAddress := strings.Replace(accessKeyIDFlag, "_", "/", 1) + secretAddress := strings.Replace(accessKeyIDFlag, "0", "/", 1) obtainSecretOptions := &authmate.ObtainSecretOptions{ SecretAddress: secretAddress,