Skip to content

Instantly share code, notes, and snippets.

@g1soori
Created July 2, 2020 08:42
Show Gist options
  • Save g1soori/0c2c4a0c146585f7ab1b8a531c24deeb to your computer and use it in GitHub Desktop.
Save g1soori/0c2c4a0c146585f7ab1b8a531c24deeb to your computer and use it in GitHub Desktop.
resource "azurerm_key_vault_secret" "test_build" {
name = "prikey-test-build"
value = base64encode(file("/root/.ssh/id_rsa"))
key_vault_id = azurerm_key_vault.example.id
tags = {
env = "dev"
app = "app1"
owner = "jeewan"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment