You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/swift-container-plugin/Documentation.docc/authentication.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ machine ghcr.io
69
69
You'll need to know the name of the [AWS region](https://docs.aws.amazon.com/global-infrastructure/latest/regions/aws-regions.html) in which your registry is hosted.
70
70
Registries in different AWS regions are separate and require different authentication tokens.
71
71
72
-
The following command generates a token which can be used with ECR in the `us-west-2` region:
72
+
For example, the following command generates a token for ECR in the `us-west-2` region:
73
73
```
74
74
aws ecr get-login-password --region us-west-2
75
75
```
@@ -88,7 +88,8 @@ Registries in different AWS regions are separate and require different authentic
88
88
--output text
89
89
```
90
90
* **The login name must be `AWS`**.
91
-
* The token is a large encoded string which is not shown in full in the example.
91
+
* The token is a large encoded string.
92
+
It must appear in the `.netrc` file as a single line, with no breaks.
92
93
93
94
The final `.netrc` entry should be similar to this:
0 commit comments