Skip to content

Latest commit

 

History

History
63 lines (51 loc) · 2.62 KB

azure_secret_store.md

File metadata and controls

63 lines (51 loc) · 2.62 KB
page_title subcategory description
cybr-sh_azure_secret_store Resource - cybr-sh
Microsoft Azure Secret Store Resource This resource is responsible for creating a new Azure secret store in Cyberark SecretsHub. For more information click here https://docs.cyberark.com/secrets-hub-privilege-cloud/Latest/en/Content/Developer/sh-create-azure-store.htm?tocpath=Developer%7CTutorials%7CCreate%20an%20Azure%20secret%20store%20-%20tutorial%7C_____0.

cybr-sh_azure_secret_store (Resource)

Microsoft Azure Secret Store Resource

This resource is responsible for creating a new Azure secret store in Cyberark SecretsHub.

For more information click here.

Example Usage

variable "azure_app_secret" {
  type      = string
  sensitive = true
}

resource "cybr-sh_mssecretstore" "storecreation" {
  name                          = "azure_secret_store"
  description                   = "AKV Secrets Manager for dev-team"
  azure_app_client_directory_id = "Azure App Client Directory ID"
  azure_vault_url               = "Azure Vault URL"
  azure_app_client_id           = "Azure App Client ID"
  azure_app_client_secret       = var.azure_app_secret
  connection_type               = "CONNECTOR"
  connector_id                  = "Connector ID"
  subscription_id               = "Subscription ID"
  subscription_name             = "Subscription Name"
  resource_group_name           = "test_group"
}

Schema

Required

  • azure_app_client_directory_id (String) Azure Application Directory ID
  • azure_app_client_id (String) Azure APP client ID.
  • azure_app_client_secret (String, Sensitive) Azure App Client Secret.
  • azure_vault_url (String) Azure Vault URL.
  • connection_type (String) Azure Connector Type.
  • connector_id (String) Azure ConnectorID.
  • description (String) Description for target/secret store.
  • name (String) Custom Secret Store Name for customizing the object name in a secret store.
  • resource_group_name (String) Azure resource Group Name.
  • subscription_id (String) Azure SubscriptionID.
  • subscription_name (String) Azure Subscription Name.

Read-Only

  • id (String) CyberArk Privilege Cloud Secrets Store created from CyberArk after onboarding secret store into a secretshub.
  • last_updated (String)
  • type (String) Should always be 'AZURE_AKV' for Azure Key Vault.