Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Key Vault #172

Closed
robertdias opened this issue Mar 23, 2022 · 2 comments
Closed

Support for Key Vault #172

robertdias opened this issue Mar 23, 2022 · 2 comments

Comments

@robertdias
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Please update the provider to support deploying Key Vault resource to Azure Stack Hub.

New or Affected Resource(s)

  • azurestack_key_vault

Potential Terraform Configuration

resource "azurestack_key_vault" "kv" {
    name = var.kv_name
    resource_group_name = var.resource_group_name
    location = var.location
    sku_name = var.keyvault_sku
    enabled_for_deployment = var.enabled_for_deployment
    enabled_for_disk_encryption = var.enabled_for_disk_encryption
    enabled_for_template_deployment = var.enabled_for_template_deployment
    enable_rbac_authorization = var.enable_rbac_authorization
    soft_delete_retention_days = var.soft_delete_retention_days
    purge_protection_enabled = var.purge_protection_enabled
    tenant_id = var.tenant_id

  access_policy {
    tenant_id = data.azurestack_client_config.current.tenant_id
    object_id = data.azurestack_client_config.current.object_id

    key_permissions = [
      "create",
      "get",
      "list",
    ]

    secret_permissions = [
      "set",
      "get",
      "delete",
      "list",
      "purge",
    ]
    storage_permissions = [
      "set",
      "get",
      "delete",
      "list",
    ]
  }
}

References

None

  • #0000
@TheBlackMini
Copy link
Contributor

KeyVault is in release 1.0.0
#151

No idea when this is getting released though!

@jbpaux
Copy link

jbpaux commented Jul 18, 2022

Can be closed as v1.0.0 is released

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants