Skip to content

Instantly share code, notes, and snippets.

@kaparora
Created July 14, 2020 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaparora/9a1b30f18149806f1777409f59003e69 to your computer and use it in GitHub Desktop.
Save kaparora/9a1b30f18149806f1777409f59003e69 to your computer and use it in GitHub Desktop.
vault {
address = "https://10.10.10.1:8200
}
auto_auth {
method "azure" {
mount_path = "auth/azure"
namespace = "dev"
config = {
resource = "https://management.azure.com/"
role = "dev-role"
}
}
sink "file" {
config = {
path = "/usr/src/webapp/app/config/token"
}
}
}
cache {
use_auto_auth_token = true
}
listener "tcp" {
address = "127.0.0.1:8100"
tls_disable = true
}
template {
source = "/usr/src/webapp/app/config/config.ini.tpl"
destination = "/usr/src/webapp/app/config/config.ini"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment