Это видео недоступно.
Сожалеем об этом.

Terraform AWS Secrets handling

Поделиться
HTML-код
  • Опубликовано: 15 авг 2024
  • ▬▬▬▬▬▬ ⭐️ Instruction's Guides ⭐️ ▬▬▬▬▬▬
    Terraform and AWS credentials handling? - jhooq.com/terr...
    If you are new to terraform or maybe you have been using the terraform for quite some time then might have felt the need to manage your AWS Credentials inside your terraform file.
    In this session we will go through the different ways to set up your AWS Credentials so that you do not have to re-configure the AWS Credentials every time, also we will pay attention on what are the most secure ways to handle your AWS Credentials
    Here are three different ways of handling AWS Credentials -
    1. Hard coding AWS Credentials(ACCESS_KEY, SECRET_KEY) inside terraform file (*Not recommended)
    2. Using /.aws/credentials file along with terraform’s shared_credentials_file settings
    3. Configure AWS Credentials as environment variables
    ▬▬▬▬▬▬ ⭐️ 🕘Timestamps ⭐️ ▬▬▬▬▬▬
    0:00 - Intro
    1:39 - Hard coding AWS Credentials(ACCESS_KEY, SECRET_KEY)
    4:25 - Using shared_credentials_file settings
    8:06 - Configure AWS Credentials as environment variables
    To learn more on DevOps visit - jhooq.com/
    For more official documentation refer to - terraform.io/
    Disclaimer/Policy: All the content/instructions are solely mine. The source is completely open-source.
    Video is copyrighted and can not be re-distributed on any platform.
    #terraform #devops #aws #cloud

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

  • @George-mk7lp
    @George-mk7lp 2 года назад +5

    you terraform videos are one of the best in RUclips, thanks for what you doing

  • @anilkommalapati6248
    @anilkommalapati6248 2 года назад +2

    You are a DevOps GEM. The beauty of your videos all are documented which I can refer quickly and practise seamlessly . GOD BLESS YOU Raahul.

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

      You are a welcome anil, enjoy learning

  • @paragchaudhari4370
    @paragchaudhari4370 Месяц назад

    your videos are very helpful for real time time , thank you

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

    Tq for your Support...it's very clear. And so cool....can you make a video on configmap and Devsecops concepts...

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

    Thanks. It would also be worth mentioning the order of processing if you have the credentials stored in more than one location

  • @leemarositamil8477
    @leemarositamil8477 Год назад +2

    Hi, can you explain how to make terraform instead of aws system manager for patching?

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

      You are question is bit confusion can you elaborate a bit more what is your scenario?

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

    Great explanation; thank you sir. Subscribed.

  • @Akashma7198
    @Akashma7198 9 месяцев назад

    So everytime we need to export these access key and secret access key?
    for an example my manager don't want to give me these credential because i can leak this confidential data, and he wanted me to create some resources on aws cloud, so how can we do that

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

    how to search path of /.aws/credential file?
    1. in our personal windows laptop
    2. in our aws ec2 machine with amazonlinux2 os

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

      Refer to this doc for searching the credentials file - docs.aws.amazon.com/sdkref/latest/guide/file-location.html

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

      @@RahulWagh thank you

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

    Currently we are using aws keys on terraform but we need to export from jenkins how to do that

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

    But where are we going to store our credential file for that?Shall we use vault?

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

    It would be helpful if you take the other case of creating a terraform script to store the secrets like password in secret manager without hardcoding

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

    Your terraform videos are good and best part is documentation. I have a question on best practice on following:
    Have 3 separated environments- Dev, qa, prod
    In Dev : 4 RDS instances
    In qa: 2 RDS
    Prod : 2 RDS
    RDS in an environment should not impact another RDS while any config changes.
    What would be the best way to manage such cases with minimum operational work but want to follow DRY approach?

  • @yogithakakarla1716
    @yogithakakarla1716 Год назад +1

    Any other method other than these 3 sir.?? Because these are also not approved in my project

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

      I would recommend using hashicorp vault for managing the secrets. Here is the blog post which you can follow - jhooq.com/hashi-vault-aws-secret-terraform/

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

    I am getting provider aws error in line one..after terraform plan

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

      Did you run terraforming init before?

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

    can u please make a video on how can handle the keys or service account file in terraform cloud

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

      I will make a note of the topic, once i start preparing on terraform cloud then i will make sure creae one on keys and service account file

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

    Please explain about production ready env to use the vault credentials as you said.

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

      I need to prepare a separate session for that it will be a long one

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

      Thanks a lot sir, your explanation is very understandable for beginners

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

    How to create and store secrets in secret manager

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

    Hello Mr Rahul, so how is different than `Profile` ?

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

      Profile you need to use when you have multiple environments like dev qa stg

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

      @@RahulWagh thank you. Where can know more on the Environment variables Exported from Terraform?

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

    How can I add env from jenkins sir?

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

      There is provision to add secrets and env variables in jenkins which you can use

  • @Gsai-fn9uj
    @Gsai-fn9uj 2 года назад

    Can you explain about terragrunt

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

      Here is the guide if you are interested- jhooq.com/terragrunt-guide/ , but I am planning to prepare a session next week on terraform so keep visiting the channel

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

      @@RahulWagh Thanks I have seen the Terragrunt tutorial and it was very helpful. I am commenting here as it might relate as well if you can please explain functional difference or the application of Terraspace compared to Terragrunt?
      thank you