Skip to content

Commit 3f9b826

Browse files
fix: Fix documentation for mongodbatlas_api_key (#1363)
1 parent be6c131 commit 3f9b826

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

website/docs/r/api_key.html.markdown

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,6 @@ The following are valid roles:
3535
* `ORG_READ_ONLY`
3636
* `ORG_MEMBER`
3737

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-
5438
## Attributes Reference
5539

5640
In addition to all arguments above, the following attributes are exported:

0 commit comments

Comments
 (0)