Configure Authentication Method
Perform the following steps to configure AUTHN_METHOD.
The AUTHN_METHOD
property determines which additional parameters are required for authentication. There are three different ways to configure the authentication method. To set it up, include the following property in the vars.dataserver.aws.yml
file:
- ACCESS KEY:
- If AUTHN_METHOD is set to
ACCESS_KEY
, bothACCESS_KEY
andSECRET_KEY
are mandatory and should be non-null values.
- If AUTHN_METHOD is set to
- CUSTOM IAM:
- If AUTHN_METHOD is set to
CUSTOM_IAM
,IAM_ARN
is mandatory and should be a non-null value.
- If AUTHN_METHOD is set to
- INSTANCE IAM:
- If AUTHN_METHOD is set to
INSTANCE_IAM
, no additional parameters are required.
- If AUTHN_METHOD is set to
- Once the properties are configured, refer to the Privacera Manager Quickstart.
There are two different ways to configure the authentication method in PrivaceraCloud. Perform one of the following two methods:
-
ACCESS KEY and SECRET KEY:
- In PrivaceraCloud, navigate to Settings -> Applications.
- On the Connected Applications screen, select S3.
- Click the edit icon next to the
Account Name
, then go to Access Management -> BASIC tab. - Disable the Use IAM Role toggle button.
- In the AWS Access Key field, enter
your_access_key
. In the AWS Secret Key field, enteryour_secret_key
. - Click the Test Connection button to verify the connection.
- Once the connection is successful, click Save.
-
IAM ROLE:
- In PrivaceraCloud, navigate to Settings -> Applications.
- On the Connected Applications screen, select S3.
- Click the edit icon next to the
Account Name
, then go to Access Management -> BASIC tab. - Enable the Use IAM Role toggle button.
- In the AWS IAM Role field, enter
arn:aws:iam::<account_id>:role/<role_name>
. - Click the Test Connection button to verify the connection.
- Once the connection is successful, click Save.
- Prev topic: Advanced Configuration