You can add or modify an AWS Key Management Service (KMS) Server from the CommCell Console using a credential file.
Before You Begin
-
The AWS KMS account that you configure must have the following permissions:
-
kms:CreateKey
-
kms:Decrypt
-
kms:DisableKeyRotation
-
kms:Encrypt
-
kms:ScheduleKeyDeletion
-
-
To use your own key, obtain the key ID provided by your key management service (KMS) provider after you import or generate the key using the KMS provider interface.
Procedure
-
Create a credential file with the following format:
[ProfileName] aws_access_key_id=<AccessKey> aws_secret_access_key=<SecretAccessKey> region=<RegionName>For example:
[AwsKMS] aws_access_key_id=AKIAIOSFODNN7EXAMPLE aws_secret_access_key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY region=us-east-1In the above example, AwsKMS is the profile name for the AWS key management server account.
You can add multiple profiles in a credential file.
-
Copy the credential file to a system location on your Commserve computer, and then make a note of the location.
-
On your CommServe computer, create a system environment variable with the name AWS_SHARED_CREDENTIALS_FILE with the definite path for the credential file as the value.
-
Restart the Commvault services on your Commserve computer.
For instructions, see Controlling Commvault Services on Clients.
-
From the CommCell Console ribbon, on the Home tab, click Control Panel.
The Control Panel window appears.
-
Under Storage, click Key Management Servers.
The Encryption Key Management Servers dialog box appears.
-
Click Add, and then select AWS KMS.
The Key Provider Properties dialog box appears.
-
In the Key Provider Name box, enter a unique name for the key provider.
-
From the Region list, select the region where AWS hosts the key management service.
-
From the Authentication Type list, select the Use Access & Secret Keys (Credentials file) option.
-
In the Profile name box, enter the profile name that you specified in the credential file.
-
To use access node, complete the following steps:
-
Select Use Access Node checkbox.
The Access Nodes area appears.
-
Click Add.
The Access Node dialog box appears.
-
From the Access Node list, select the MediaAgent that you want to use as access node.
-
From the Authentication Type list, select the Use Access & Secret Keys (Credentials file) option.
-
In the Profile name box, enter the profile name that you specified in the credential file.
-
Click OK.
-
-
To use your own key, complete the following steps:
-
Click the Bring Your Own Keys tab.
-
To enable Bring your Own Key (BYOK), select the Enable Bring Your Own Keys checkbox.
-
To add a key, complete the following steps:
-
Click Add.
The Bring Your Own Key dialog box appears.
-
Enter Key ID, and then click OK.
-
-
-
Click OK.