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

Azure secrets engine, ability to specify static SPN secret expiry #178

Open
jpetblk opened this issue Nov 30, 2022 · 2 comments · May be fixed by #199
Open

Azure secrets engine, ability to specify static SPN secret expiry #178

jpetblk opened this issue Nov 30, 2022 · 2 comments · May be fixed by #199
Labels
enhancement New feature or request

Comments

@jpetblk
Copy link

jpetblk commented Nov 30, 2022

We require the flexibility to specify the expiration for secrets associated with static Service Principals in Azure. Vault hard-codes the expiration to 10 years. Our policy requires these secrets to be rotated every 6 months and for us to set expiration dates accordingly. The TTLs we will be assigning to Azure Secrets Roles in Vault will be well short of 6 months for the most part.

@hsimon-hashicorp hsimon-hashicorp added the enhancement New feature or request label Dec 6, 2022
@jhauray
Copy link

jhauray commented Feb 2, 2023

Hello,

We need the same improvement. Secrets expiration is limited to 6 month by our security team.

@austingebauer
Copy link
Member

Thanks, this seems like a reasonable request. I'm going to transfer it to https://github.com/hashicorp/vault-plugin-secrets-azure.

@austingebauer austingebauer transferred this issue from hashicorp/vault Jan 5, 2024
gsantos-hc added a commit to gsantos-hc/vault-plugin-secrets-azure that referenced this issue May 1, 2024
Add `explicit_max_ttl` to Azure role attributes. If set, Application
Secrets in Azure AD will be created with a maximum lifetime equal to
`explicit_max_ttl` instead of the hard-coded 10-year default in effect
until now.

Fixes hashicorp#178
Fixes VAULT-12316
@gsantos-hc gsantos-hc linked a pull request May 1, 2024 that will close this issue
5 tasks
gsantos-hc added a commit to gsantos-hc/vault-plugin-secrets-azure that referenced this issue May 3, 2024
Add `explicit_max_ttl` to Azure role attributes. If set, Application
Secrets in Azure AD will be created with a maximum lifetime equal to
`explicit_max_ttl` instead of the hard-coded 10-year default in effect
until now.

Fixes hashicorp#178
Fixes VAULT-12316
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants