Skip to content

Instantly share code, notes, and snippets.

@nleiva
Created July 17, 2019 19:15
Show Gist options
  • Save nleiva/8433dd560478ee7b0df5a48b65a3ae30 to your computer and use it in GitHub Desktop.
Save nleiva/8433dd560478ee7b0df5a48b65a3ae30 to your computer and use it in GitHub Desktop.
issuer := &vault.Issuer{
URL: &url.URL{
Scheme: "https",
Host: "localhost:8200",
},
TLSConfig: &tls.Config{
RootCAs: cp,
},
Token: getenv("TOKEN"),
Role: "my-role",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment