-
Notifications
You must be signed in to change notification settings - Fork 132
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
Where to set the Days to reset the IAM Keys #45
Comments
I can see from file I have not personally modified the run interval, maybe you can refer to the link below, modify and update back if it works? |
I too am looking for a way to change the frequency with which |
@levinotik if you are working with the Windows powershell script, all you have to do it is adding any of the options suggested in the following link, based on your needs : https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/schtasks-create as for my personal case, I am currently trying using |
That seems a nice idea, but sounds tricky to implement neatly (esp. if it is done in the launch daemon config). The Homebrew formula hard-codes a daily schedule when generating the plist file, the time is somewhat irrelevant, but it is designed to run daily. You could edit the plist file though and change the schedule to limit it to specific weekdays etc. Run Unfortunately, your changes will be obliterated if you re-install or upgrade. Maybe the formula installation process could read and respect any existing schedule to fix that. I might take a look sometime. PR for this would be most welcome :-) |
Hello rhyeal,
I'm trying to use this script to rotate my keys automatically. But I'm not find the place where you are giving the number of days it should rotate. And I have multiple keys which I want to rotate based on the days they have created but its not working as expected. And the task scheduler which this is creating that also not working as expected. Could you please check once in the windows machine and try to fix this code. If I fix before that I can also prove the same :)
The text was updated successfully, but these errors were encountered: