How to use Boto3 to find whether a function can paginate or not in AWS Secret Manager

Ashish Anand
Published on 16-Apr-2021 11:27:08
Problem Statement: Use boto3 library in Python to find out whether a function can paginate or not in AWS secret.Approach/Algorithm to solve this problemStep 1: Import boto3 and botocore exceptions to handle exceptions.Step 2: secret_function is the required parameter in this function.Step 3: Create an AWS session using boto3 lib. ... Read More

How to use Boto3 to remove tags in specified AWS secrets

Ashish Anand
Published on 16-Apr-2021 11:26:25
Problem Statement: Use boto3 library in Python to remove tags in AWS secret.Approach/Algorithm to solve this problemStep 1: Import boto3 and botocore exceptions to handle exceptions.Step 2: secret_location and tags_list are the required parameters in this function. tags_list should be the list of keys to be untaged.Step 3: Create an ... Read More

How to use Boto3 to add tags in specified AWS secrets

Ashish Anand
Published on 16-Apr-2021 11:25:45
Problem Statement: Use boto3 library in Python to add tags in AWS secret.Approach/Algorithm to solve this problemStep 1: Import boto3 and botocore exceptions to handle exceptions.Step 2: secret_location and tags_dict are the required parameters in this function. tags_dict should be as {“key”:”value”, ..}Step 3: Create an AWS session using boto3 ... Read More

How to use Boto3 to store a new secret in a specific location in AWS Secret Manager

Ashish Anand
Published on 16-Apr-2021 11:23:50
Problem Statement: Use boto3 library in Python to store a new secret in a specific location in AWS Secret ManagerApproach/Algorithm to solve this problemStep 1: Import boto3 and botocore exceptions to handle exceptions.Step 2: secret_stored_location and secret_key_pair are the required parameters. Make sure secret_key_pair is written as string, not as ... Read More

Difference Between Stack and Heap

AmitDiwan
Published on 16-Apr-2021 11:23:13
In this post, we will understand the difference between Stack and HeapStackIt is a linear data structure.Memory is allocated in a contiguous (continuous) block.The memory for a stack is allocated and deallocated automatically using the instructions of the compiler.It costs less to build and maintain a stack.It is easy to ... Read More

How to use Boto3 to get a list of all secrets in AWS Secret Manager

Ashish Anand
Published on 16-Apr-2021 11:23:07
Problem Statement: Use boto3 library in Python to get a list of all secrets in AWS Secret ManagerApproach/Algorithm to solve this problemStep 1: Import boto3 and botocore exceptions to handle exceptions.Step 2: There are no parameters here.Step 3: Create an AWS session using boto3 lib. Make sure region_name is mentioned ... Read More

Difference Between Linux and Windows Operating System

AmitDiwan
Published on 16-Apr-2021 11:21:39
In this post, we will understand the difference between Linux and Windows Operating System.LinuxIt is an open-source operating system.It is free.The file names are case-sensitive.A monolithic kernel is used in this operating system.It is more efficient in comparison to Windows OS.A ‘forward slash’ is used to separate the directories.It provides ... Read More

How to use Boto3 to generate a random password in AWS Secret Manager

Ashish Anand
Published on 16-Apr-2021 11:20:29
Problem Statement: Use boto3 library in Python to generate a random password in AWS Secret ManagerApproach/Algorithm to solve this problemStep 1: Import boto3 and botocore exceptions to handle exceptions.Step 2: There are no parameters here.Step 3: Create an AWS session using boto3 lib. Make sure region_name is mentioned in the ... Read More

Difference Between Hard link and Soft link

AmitDiwan
Published on 16-Apr-2021 11:20:15
In this post, we will understand the difference between a hard link and a soft link −Hard linkA file that has a hard link can be accessed using multiple names.These names are known as hard links.Once the file is deleted, the link would still be valid.The file can be accessed ... Read More

How to use Boto3 to get the details of secrets from a specific location in AWS Secret Manager

Ashish Anand
Published on 16-Apr-2021 11:18:54
Problem Statement: Use boto3 library in Python to get the details of secrets from specific location in AWS Secret Manager.Approach/Algorithm to solve this problemStep 1: Import boto3 and botocore exceptions to handle exceptions.Step 2: secret_stored_location is the required parameter.Step 3: Create an AWS session using boto3 lib. Make sure region_name ... Read More
1 2 3 4 5 6 7 ... 4783 Next
Advertisements