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: website/docs/r/api_key.html.markdown
-16Lines changed: 0 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,22 +35,6 @@ The following are valid roles:
35
35
*`ORG_READ_ONLY`
36
36
*`ORG_MEMBER`
37
37
38
-
~> **NOTE:** Project created by API Keys must belong to an existing organization.
39
-
40
-
### Programmatic API Keys
41
-
api_keys allows one to assign an existing organization programmatic API key to a Project. The api_keys attribute is optional.
42
-
43
-
*`api_key_id` - (Required) The unique identifier of the Programmatic API key you want to associate with the Project. The Programmatic API key and Project must share the same parent organization. Note: this is not the `publicKey` of the Programmatic API key but the `id` of the key. See [Programmatic API Keys](https://docs.atlas.mongodb.com/reference/api/apiKeys/) for more.
44
-
45
-
*`role_names` - (Required) List of Project roles that the Programmatic API key needs to have. Ensure you provide: at least one role and ensure all roles are valid for the Project. You must specify an array even if you are only associating a single role with the Programmatic API key.
46
-
The following are valid roles:
47
-
*`GROUP_OWNER`
48
-
*`GROUP_READ_ONLY`
49
-
*`GROUP_DATA_ACCESS_ADMIN`
50
-
*`GROUP_DATA_ACCESS_READ_WRITE`
51
-
*`GROUP_DATA_ACCESS_READ_ONLY`
52
-
*`GROUP_CLUSTER_MANAGER`
53
-
54
38
## Attributes Reference
55
39
56
40
In addition to all arguments above, the following attributes are exported:
0 commit comments