How to Create AWS IAM Access Keys

How to Create AWS IAM Access Keys

AWS IAM Access Key ID and Secret Access Key

IAM Access Keys is used to allow snapblocs to access your cloud provider environment for deploying your stacks, collecting statistics of your stacks, etc. 
Your Access Key values are encrypted and stored on the secured AWS Systems Manager Parameter Store (not on the snapblocs system) to protect your access keys from any unauthorized access.
See AWS security credentials for detail.

Note: To run the AWS CloudFormation template for creating IAM Access Keys, the user who creates the AWS CloudFormation stack must have an admin privilege. 

Download the attached AWS CloudFormation template to your local file system for creating an AWS Access Key ID and Secret Access Key.

The AWS CloudFormation template will:
  1. Create a group and a user and attach the user to the group
  2. Create the policies and attach them to the group
  3. The output of this template is the Access Key ID and the Secret Access Key
To run the CloudFormation template:
  1. Login to your AWS account
  2. Go to the CloudFormation Service homepage
  3. Click the "Create Stack" button
  4. Select the "Template is ready" option for a template
  5. Select the "Upload a template file" option for a Template source
  6. Click "Choose file."
  7. Choose your downloaded CloudFormation template file from your local file system.
  8. Click "Next"
  9. Enter Stack name (the stack name is an identifier that helps you find a stack from a list of stacks). The stack name must be unique on your AWS account.
  10. Enter IAMUserName (the name of the user to create)
  11. On the Configure stack options page, you can leave all options "as is."
  12. Click "Next"
  13. On the Review IAMuserCreation summary page, review all values and select an acknowledgment option.
  14. Click "Create Stack"
  15. On the CloudFormation stack Events tab, you will see the list of Events for progress.
  16. Wait a few minutes (while clicking the refresh button) for the completion
  17. Go to the Outputs tab
  18. You will see the generated AccessKeyforSnapblocsAccesskey and SecretKeyforSnapblocsAccesskey
After creating the AWS Access Key ID and Secret Access Key, you can add them to your snapblocs account or projects for granting your account access to snapblocs SaaS service by sharing your IAM Access Key ID and Secret Access Key so that snapblocs can access your AWS environment to provision your stacks on your AWS account.
‚Äč
What's Next



    • Related Articles

    • How to add AWS IAM Access Keys to snapblocs

      When deploying a snapblocs stack, snapblocs provisions the stack within the customer’s AWS account. The stack is integrated with Amazon EKS for Kubernetes clusters using AWS EC2 instances and other AWS resources. snapblocs manages the lifecycle of ...
    • How to Create AWS IAM Role

      IAM Role is used to allow snapblocs to access your cloud provider environment for deploying your stacks, collecting statistics of your stacks, etc.  Your IAM Role data is encrypted and stored on the secured AWS Systems Manager Parameter Store (not on ...
    • AWS Provider Access Method

      Add an AWS provider access method to snapblocs before configuring or deploying a stack. When configuring a stack, snapblocs will retrieve some AWS account information such as available VPCs, Subnets, SSH Key Pairs, etc. This information is ...
    • How to add AWS IAM Role to snapblocs

      When deploying a snapblocs stack, snapblocs provisions the stack within the customer's AWS account. The stack is integrated with Amazon EKS for Kubernetes clusters using AWS EC2 instances and other AWS resources. snapblocs manages the lifecycle of ...
    • How to Create GCP Service Account Keys

      GCP Service Account Keys Service Account Keys allows snapblocs to access customers' Google cloud provider environment for deploying customer stacks, collecting statistics of the stacks, etc.  Service Account Keys are encrypted and stored on the ...