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
When the provider auto-resolves credentials from Docker's config file, it
91
+
currently prefers Docker Desktop's cached access token before `docker login`
92
+
pull credentials. If you want to force OAT usage, set `DOCKER_USERNAME` and
93
+
`DOCKER_PASSWORD` explicitly or configure them in the provider block.
94
+
95
+
Organization access tokens are incompatible with Docker Desktop, Image Access
96
+
Management, and Registry Access Management. Use a password or PAT for those
97
+
features.
98
+
81
99
## Contributing
82
100
83
101
We welcome contributions to the Docker services Terraform provider, detailed documentation for contributing & building the provider can be found [here](https://github.com/docker/terraform-provider-docker/blob/main/CONTRIBUTING.md)
Copy file name to clipboardExpand all lines: docs/data-sources/org.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ page_title: "docker_org Data Source - docker"
4
4
subcategory: ""
5
5
description: |-
6
6
Reads properties of a Docker Hub organization.
7
-
-> Note: This data source is only available when authenticated with a username and password.
7
+
-> Note: This data source requires credentials that can access organization APIs, such as a user password or an organization access token (OAT) with the required organization permissions.
8
8
Example Usage
9
9
10
10
data "docker_org" "example" {
@@ -26,7 +26,7 @@ description: |-
26
26
27
27
Reads properties of a Docker Hub organization.
28
28
29
-
-> **Note**: This data source is only available when authenticated with a username and password.
29
+
-> **Note**: This data source requires credentials that can access organization APIs, such as a user password or an organization access token (OAT) with the required organization permissions.
Copy file name to clipboardExpand all lines: docs/data-sources/org_members.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ page_title: "docker_org_members Data Source - docker"
4
4
subcategory: ""
5
5
description: |-
6
6
Reads members of an organization.
7
-
-> Note Only available when authenticated with a username and password.
7
+
-> Note Requires credentials that can read organization members, such as a user password or an organization access token (OAT) with the Member Read scope.
8
8
Example Usage
9
9
10
10
data "docker_org_members" "_" {
@@ -20,7 +20,7 @@ description: |-
20
20
21
21
Reads members of an organization.
22
22
23
-
-> **Note**Only available when authenticated with a username and password.
23
+
-> **Note**Requires credentials that can read organization members, such as a user password or an organization access token (OAT) with the `Member Read` scope.
Copy file name to clipboardExpand all lines: docs/data-sources/org_team.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ page_title: "docker_org_team Data Source - docker"
4
4
subcategory: ""
5
5
description: |-
6
6
Reads team information within a Docker Hub organization.
7
-
-> Note: This data source is only available when authenticated with a username and password.
7
+
-> Note: This data source requires credentials that can read organization groups, such as a user password or an organization access token (OAT) with the Group Read scope.
8
8
Example Usage
9
9
10
10
data "docker_org_team" "example" {
@@ -26,7 +26,7 @@ description: |-
26
26
27
27
Reads team information within a Docker Hub organization.
28
28
29
-
-> **Note**: This data source is only available when authenticated with a username and password.
29
+
-> **Note**: This data source requires credentials that can read organization groups, such as a user password or an organization access token (OAT) with the `Group Read` scope.
Copy file name to clipboardExpand all lines: docs/data-sources/org_team_member.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ page_title: "docker_org_team_member Data Source - docker"
4
4
subcategory: ""
5
5
description: |-
6
6
Reads team members of a specified team within a Docker Hub organization.
7
-
-> Note: This data source is only available when authenticated with a username and password.
7
+
-> Note: This data source requires credentials that can read organization groups, such as a user password or an organization access token (OAT) with the Group Read scope.
8
8
Example Usage
9
9
10
10
data "docker_org_team_member" "example" {
@@ -25,7 +25,7 @@ description: |-
25
25
26
26
Reads team members of a specified team within a Docker Hub organization.
27
27
28
-
-> **Note**: This data source is only available when authenticated with a username and password.
28
+
-> **Note**: This data source requires credentials that can read organization groups, such as a user password or an organization access token (OAT) with the `Group Read` scope.
-> Note Only available when authenticated with a username and password as an owner of the org.
7
+
-> Note Requires credentials that can read and manage organization members and invites, such as an owner login with a user password or an organization access token (OAT) with the Member Read, Member Edit, Invite Read, and Invite Edit scopes.
8
8
When a member is added to an organization, they don't have access to the
9
9
organization's repositories until they accept the invitation. The invitation is
10
10
sent to the email address associated with the user's Docker ID.
@@ -35,7 +35,7 @@ description: |-
35
35
36
36
Manages members associated with an organization.
37
37
38
-
-> **Note**Only available when authenticated with a username and password as an owner of the org.
38
+
-> **Note**Requires credentials that can read and manage organization members and invites, such as an owner login with a user password or an organization access token (OAT) with the `Member Read`, `Member Edit`, `Invite Read`, and `Invite Edit` scopes.
39
39
40
40
When a member is added to an organization, they don't have access to the
41
41
organization's repositories until they accept the invitation. The invitation is
Manages the Registry Access Management settings for an organization.
33
34
35
+
-> **Note**: Docker does not support organization access token (OAT) authentication for Registry Access Management. Use a user password or PAT instead.
0 commit comments