hashicorp / terraform-provider-vault

Terraform Vault provider
https://www.terraform.io/docs/providers/vault/
Mozilla Public License 2.0
467 stars 542 forks source link

[New Resource]: `vault_azure_pki_secret_backend_role` for azure sp auth using pki #2325

Open karunpoudel-chr opened 2 months ago

karunpoudel-chr commented 2 months ago

Description

We can authenticate to azure service principal either using client_secret or a certificate.

Existing resource vault_azure_secret_backend_role supports only dynamic client_secret. I would like to have option to create dynamic certificate too on new/existing azure service principal. Calling this new role should issue a certificate and also upload the certificate to the azure service principal. This role could possibly take an argument of vault_pki_secret_backend_role name or provide arguments similar to vault_pki_secret_backend_role.

Potential Terraform Configuration

No response

References

No response

Would you like to implement a fix?

No