Skip to content

Commit

Permalink
doc: Removes preview note for OIDC Workforce (#2344)
Browse files Browse the repository at this point in the history
* remove preview note

* add changelog note OIDC in GA
  • Loading branch information
oarbusi authored Jun 14, 2024
1 parent 540d492 commit 67a1183
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .changelog/2344.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:note
resource/mongodbatlas_federated_settings_identity_provider: OIDC Workforce and Workload are now in GA
```
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ description: |-

`mongodbatlas_federated_settings_identity_provider` provides a federated settings identity provider data source. Atlas federated settings identity provider provides federated settings outputs for the configured identity provider.

-> **NOTE:** OIDC Workforce IdP is currently in preview. To learn more about OIDC and existing limitations see the [OIDC Authentication Documentation](https://www.mongodb.com/docs/atlas/security-oidc/)

## Example Usage

```terraform
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ description: |-

`mongodbatlas_federated_settings_identity_providers` provides an Federated Settings Identity Providers datasource. Atlas Cloud Federated Settings Identity Providers provides federated settings outputs for the configured Identity Providers.

-> **NOTE:** OIDC Workforce IdP is currently in preview. To learn more about OIDC and existing limitations see the [OIDC Authentication Documentation](https://www.mongodb.com/docs/atlas/security-oidc/).

## Example Usage

```terraform
Expand Down
21 changes: 19 additions & 2 deletions website/docs/r/federated_settings_identity_provider.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ description: |-

`mongodbatlas_federated_settings_identity_provider` provides an Atlas federated settings identity provider resource provides a subset of settings to be maintained post import of the existing resource.

-> **NOTE:** OIDC Workforce IdP is currently in preview. To learn more about OIDC and existing limitations see the [OIDC Authentication Documentation](https://www.mongodb.com/docs/atlas/security-oidc/).
## Example Usage

~> **IMPORTANT** You **MUST** import this resource before you can manage it with this provider.
~> **IMPORTANT** If you want to use a SAML Identity Provider, you **MUST** import this resource before you can manage it with this provider.

SAML IdP:

```terraform
resource "mongodbatlas_federated_settings_identity_provider" "identity_provider" {
Expand All @@ -29,6 +30,22 @@ resource "mongodbatlas_federated_settings_identity_provider" "identity_provider"
}
```

OIDC IdP:

```
resource "mongodbatlas_federated_settings_identity_provider" "oidc" {
federation_settings_id = data.mongodbatlas_federated_settings.this.id
audience = var.token_audience
authorization_type = "USER"
description = "oidc"
issuer_uri = "https://sts.windows.net/${azurerm_user_assigned_identity.this.tenant_id}/"
idp_type = "WORKLOAD"
name = "OIDC-for-azure"
protocol = "OIDC"
user_claim = "sub"
}
```

## Argument Reference

* `federation_settings_id` - (Required) Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
Expand Down

0 comments on commit 67a1183

Please sign in to comment.