Skip to content

Commit e809afd

Browse files
committed
fix: region_url shouldn't be required
Environment variables may be set instead.
1 parent fcfe93b commit e809afd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aip/auth/4117.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ endpoint.
205205
| Field Name | Required | Description |
206206
|--------------------------------------------------|----------|:------------|
207207
| environment_id | Yes | This is the environment identifier, of format `aws${version}`. A version should be specified to indicate to the auth library whether breaking changes were introduced to the underlying AWS implementation. So if aws1 is supported in the current version of the library but a credential file with aws2 is provided, an error should be thrown instructing the developer to upgrade to a newer version of the library. |
208-
| region_url | Yes | This URL should be used to determine the current AWS region needed for the signed request construction. |
208+
| region_url | No | This URL should be used to determine the current AWS region needed for the signed request construction. |
209209
| url | No | This AWS metadata server URL should be used to retrieve the access key, secret key and security token needed to sign the `GetCallerIdentity` request. The $ROLE_NAME should be retrieved from calling this endpoint without any parameter and then calling again with the returned role name appended to this URL: http://169.254.169.254/latest/meta-data/iam/security-credentials/$ROLE_NAME |
210210
| regional_cred_verification_url | Yes | This defines the regional AWS `GetCallerIdentity` action URL. This URL should be used to determine the AWS account ID and its roles. This should not actually be called by the Auth libraries. It should be called on the STS token server. The region should be substituted by SDK, e.g. `sts.eu-west-1.amazonaws`.com. |
211211
| imdsv2_session_token_url | No | Presence of this URL enforces the auth libraries to fetch a Session Token from AWS. This field is required for EC2 instances using IMDSv2. This Session Token would later be used while making calls to the metadata enpoint. |

0 commit comments

Comments
 (0)