|
1 | | -<div> |
| 1 | +<ContentPanel> |
2 | 2 |
|
3 | | -**awsAccessKeyId** & **awsSecretAccessKey**: When you interact with AWS, you specify your AWS security credentials to verify who you are and whether you have permission to access the resources that you are requesting. AWS uses the security credentials to authenticate and authorize your requests ([docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/security-creds.html)). |
| 3 | +<ContentSection id={1} title="AWS Access Key Credentials" lines="9-10"> |
4 | 4 |
|
5 | | -Access keys consist of two parts: An **access key ID** (for example, `AKIAIOSFODNN7EXAMPLE`), and a **secret access key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`). |
| 5 | +**awsAccessKeyId** and **awsSecretAccessKey** are used to authenticate and authorize programmatic requests to AWS services. |
6 | 6 |
|
7 | | -You must use both the access key ID and secret access key together to authenticate your requests. |
| 7 | +An access key consists of: |
| 8 | +- **Access Key ID** (for example, `AKIAIOSFODNN7EXAMPLE`) |
| 9 | +- **Secret Access Key** (for example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`) |
8 | 10 |
|
9 | | -You can find further information on how to manage your access keys [here](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). |
| 11 | +Both values must be provided together when using static credentials. |
10 | 12 |
|
11 | | -</div> |
| 13 | +For more information, see |
| 14 | +[Managing access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). |
12 | 15 |
|
13 | | -<div> |
| 16 | +</ContentSection> |
14 | 17 |
|
15 | | -**awsSessionToken**: If you are using temporary credentials to access your services, you will need to inform the AWS Access Key ID and AWS Secrets Access Key. Also, these will include an AWS Session Token. |
| 18 | +<ContentSection id={2} title="AWS Session Token" > |
16 | 19 |
|
17 | | -</div> |
| 20 | +**awsSessionToken** is required when using **temporary security credentials**, such as those obtained via AWS STS. |
18 | 21 |
|
19 | | -<div> |
| 22 | +The session token must be provided along with the access key ID and secret access key for the duration of the session. |
20 | 23 |
|
21 | | -**awsRegion**: Each AWS Region is a separate geographic area in which AWS clusters data centers ([docs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html)). |
| 24 | +</ContentSection> |
22 | 25 |
|
23 | | -As AWS can have instances in multiple regions, we need to know the region the service you want reach belongs to. |
| 26 | +<ContentSection id={3} title="AWS Region"> |
24 | 27 |
|
25 | | -Note that the AWS Region is the only required parameter when configuring a connection. When connecting to the services programmatically, there are different ways in which we can extract and use the rest of AWS configurations. |
| 28 | +**awsRegion** specifies the AWS Region where the target service is deployed (for example, `us-east-1`). |
26 | 29 |
|
27 | | -You can find further information about configuring your credentials [here](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials). |
| 30 | +This is the **only required parameter** when configuring an AWS connection. Other credentials can be resolved automatically using environment variables, AWS profiles, or IAM roles. |
28 | 31 |
|
29 | | -</div> |
| 32 | +Learn more in the |
| 33 | +[AWS Regions and Availability Zones documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). |
30 | 34 |
|
31 | | -<div> |
| 35 | +</ContentSection> |
32 | 36 |
|
33 | | -**endPointURL**: To connect programmatically to an AWS service, you use an endpoint. An *endpoint* is the URL of the entry point for an AWS web service. The AWS SDKs and the AWS Command Line Interface (AWS CLI) automatically use the default endpoint for each service in an AWS Region. But you can specify an alternate endpoint for your API requests. |
| 37 | +<ContentSection id={4} title="Custom Endpoint URL"> |
34 | 38 |
|
35 | | -Find more information on [AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html). |
| 39 | +**endPointURL** is an optional custom endpoint used to connect to an AWS service. |
36 | 40 |
|
37 | | -</div> |
| 41 | +You may want to specify this when: |
| 42 | +- Using VPC endpoints |
| 43 | +- Connecting to local or AWS-compatible services |
| 44 | +- Overriding the default regional endpoint |
38 | 45 |
|
39 | | -<div> |
| 46 | +See |
| 47 | +[AWS service endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html) for details. |
40 | 48 |
|
41 | | -**profileName**: A named profile is a collection of settings and credentials that you can apply to a AWS CLI command. When you specify a profile to run a command, the settings and credentials are used to run that command. Multiple named profiles can be stored in the config and credentials files. |
| 49 | +</ContentSection> |
42 | 50 |
|
43 | | -You can inform this field if you'd like to use a profile other than `default`. |
| 51 | +<ContentSection id={5} title="AWS Profile Name"> |
44 | 52 |
|
45 | | -Find here more information about [Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). |
| 53 | +**profileName** specifies the AWS CLI profile to use for authentication. |
46 | 54 |
|
47 | | -</div> |
| 55 | +Profiles store credentials and configuration in AWS config files. |
| 56 | +If not specified, the `default` profile is used. |
48 | 57 |
|
49 | | -<div> |
| 58 | +Learn more about |
| 59 | +[Named profiles for the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). |
50 | 60 |
|
51 | | -**assumeRoleArn**: Typically, you use `AssumeRole` within your account or for cross-account access. In this field you'll set the `ARN` (Amazon Resource Name) of the policy of the other account. |
| 61 | +</ContentSection> |
52 | 62 |
|
53 | | -A user who wants to access a role in a different account must also have permissions that are delegated from the account administrator. The administrator must attach a policy that allows the user to call `AssumeRole` for the `ARN` of the role in the other account. |
| 63 | +<ContentSection id={6} title="Assume Role ARN"> |
54 | 64 |
|
55 | | -This is a required field if you'd like to `AssumeRole`. |
| 65 | +**assumeRoleArn** is the Amazon Resource Name (ARN) of the IAM role to assume. |
56 | 66 |
|
57 | | -Find more information on [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). |
| 67 | +This is commonly used for: |
| 68 | +- Cross-account access |
| 69 | +- Delegated permissions |
| 70 | +- Enhanced security setups |
58 | 71 |
|
59 | | -<Tip> |
60 | | -When using Assume Role authentication, ensure you provide the following details: |
61 | | -- **AWS Region**: Specify the AWS region for your deployment. |
62 | | -- **Assume Role ARN**: Provide the ARN of the role in your AWS account that OpenMetadata will assume. |
63 | | -</Tip> |
| 72 | +This field is **required** when using Assume Role authentication. |
64 | 73 |
|
65 | | -</div> |
| 74 | +See the |
| 75 | +[AssumeRole API reference](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). |
66 | 76 |
|
67 | | -<div> |
| 77 | +</ContentSection> |
68 | 78 |
|
69 | | -**assumeRoleSessionName**: An identifier for the assumed role session. Use the role session name to uniquely identify a session when the same role is assumed by different principals or for different reasons. |
| 79 | +<ContentSection id={7} title="Assume Role Session Name"> |
70 | 80 |
|
71 | | -By default, we'll use the name `OpenMetadataSession`. |
| 81 | +**assumeRoleSessionName** identifies the assumed role session. |
72 | 82 |
|
73 | | -Find more information about the [Role Session Name](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=An%20identifier%20for%20the%20assumed%20role%20session.). |
| 83 | +This value helps uniquely identify a session when the same role is assumed multiple times or by different principals. |
74 | 84 |
|
75 | | -</div> |
| 85 | +If not provided, the default value `OpenMetadataSession` is used. |
76 | 86 |
|
77 | | -<div> |
| 87 | +</ContentSection> |
78 | 88 |
|
79 | | -**assumeRoleSourceIdentity**: The source identity specified by the principal that is calling the `AssumeRole` operation. You can use source identity information in AWS CloudTrail logs to determine who took actions with a role. |
| 89 | +<ContentSection id={8} title="Assume Role Source Identity"> |
80 | 90 |
|
81 | | -Find more information about [Source Identity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#:~:text=Required%3A%20No-,SourceIdentity,-The%20source%20identity). |
| 91 | +**assumeRoleSourceIdentity** is an optional source identity passed when assuming a role. |
82 | 92 |
|
83 | | -</div> |
| 93 | +This value is recorded in AWS CloudTrail logs and can be used to trace actions performed using the assumed role. |
| 94 | + |
| 95 | +See |
| 96 | +[Source Identity in AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html). |
| 97 | + |
| 98 | +</ContentSection> |
| 99 | + |
| 100 | +</ContentPanel> |
0 commit comments