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

New-SafeguardAccessRequest change the request time #480

Open
dukkse77 opened this issue Apr 19, 2023 · 1 comment
Open

New-SafeguardAccessRequest change the request time #480

dukkse77 opened this issue Apr 19, 2023 · 1 comment

Comments

@dukkse77
Copy link

In our policy we default the checkout time for password to 2 hours, but requester have the ability to change it up to 10 hours.
We have a lot of users that user PowerShell to get the password, and then use it programmatically in their daily work.

They are asking if there is a possibility to change the checkout time in the request, but I do not see that in the request as an optional parameter.
Can we add that? Maybe a -Duration parameter that can be set in hours or something
Could also be a good use if the default is maybe 10 hours, and they only need it for 1 hour.

@JeffHarkavy
Copy link
Contributor

@dukkse77 The -RequestedDurationDays, -RequestedDurationHours, and -RequestedDurationMinutes parameters of the New-SafeguardAccessRequest command will allow you to create the request with a non-default duration. To create a password request for 10 hours:

New-SafeguardAccessRequest -AssetToUse Assetname1 -AccountToUse AccountName1 -AccessRequestType Password -RequestDurationHours 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants