Creating and Configuring Targets
Deeper DiveFor more in-depth information, check out our detailed documentation on the following topics:
TargetsAWS TargetMySQL Target
Need any help?If something in this tutorial isn't working as expected, feel free to contact our support team via Slack.
Below is a text-only guide for users based on the above video
What are Targets in Akeyless?
A Target is an object that stores privileged credentials for secrets. It can be used to create dynamic secrets, rotated secrets, and more items, eliminating the need to manually set credentials when creating new items.
Creating a MySQL Database Target via the UI
Click on āNewā --> āDB Targetsā --> āMySQLā and give it a name as well as all the required information.
The minimum requirements are:
- Target Name
- DB Username
- DB Password
- DB Hostname
- DB Port
- DB Name (the name of the DB the user will be accessing)
You should hold the most privileged user credentials in your Akeyless account, usually the root (or an admin) user.
When you are done, click 'Finish' and you will see the Target saved in your list.
Creating an AWS Target via the CLI
You can go to the AWS Target docs page to see advanced AWS Target information. The minimum requirements are:
- Target Name
- Access key ID (which is your AWS access key ID)
- Access key (which is your AWS secret access key)
- AWS region (ie us-east-1, us-east-2, etc. See the region list)
Open a terminal window and use the following command to create your AWS Target:
akeyless target create aws --name <target_name> --access-key-id <aws_access_id> --access-key <leave_blank> --region <aws_region>Hit enter and you will be asked to enter your AWS Secret Access Key:
And your Target is created.
Go back to your Console, refresh the page, and you will see the Target there as well.
Updated 19 days ago
