Rotate AWS IAM Keys using Boto3

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 8

  • @henriquedopradocezar9541
    @henriquedopradocezar9541 2 года назад +1

    Thank you, man. Your video helped me a lot. I had to write here down to say Thank you and congrats on your video.

  • @ramkiization
    @ramkiization 2 года назад

    Thanks,can you please add one more step to update the new key in gitlab variable..

  • @siddavishnavisudha5192
    @siddavishnavisudha5192 Год назад

    Hi Prashant.
    How do we download the keys under security credentials tab using boto3. Is there any way to push that downloaded csv file to S3 bucket?

    • @devops-boot-camp
      @devops-boot-camp  Год назад

      Implementing that functionality is relatively simple, but I would advise against doing so due to security concerns. Nonetheless, here's the script github.com/100daysofdevops/100daysofdevops/blob/master/boto3/rotate_iam_keys/rotate_iam_key_v3.py

  • @krunalshah2484
    @krunalshah2484 3 года назад

    Hi @Prashant - How is your script connecting to your AWS account. Where and how are you passing the credentials?

    • @devops-boot-camp
      @devops-boot-camp  3 года назад +1

      Krunal, please check my blog; here I explained how I am connecting to my AWS account www.101daysofdevops.com/introduction-to-aws-boto3/

  • @jeetsahai1288
    @jeetsahai1288 2 года назад

    What if there are service accounts in users, how can we exclude those? Or what approach should we use?

    • @devops-boot-camp
      @devops-boot-camp  Год назад

      Certainly, implementing that is quite simple. github.com/100daysofdevops/100daysofdevops/blob/master/boto3/rotate_iam_keys/rotate_iam_keys_v4.py