-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from jfrog/add-scim-user-and-group
Add SCIM user and group
- Loading branch information
Showing
14 changed files
with
1,204 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "platform_scim_group Resource - terraform-provider-platform" | ||
subcategory: "" | ||
description: |- | ||
Provides a JFrog SCIM Group https://jfrog.com/help/r/jfrog-platform-administration-documentation/scim resource to manage groups with the SCIM protocol. | ||
--- | ||
|
||
# platform_scim_group (Resource) | ||
|
||
Provides a JFrog [SCIM Group](https://jfrog.com/help/r/jfrog-platform-administration-documentation/scim) resource to manage groups with the SCIM protocol. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "platform_scim_group" "my-scim-group" { | ||
id = "my-scim-group" | ||
display_name = "my-scim-group" | ||
members = [{ | ||
value = "[email protected]" | ||
display = "[email protected]" | ||
}, { | ||
value = "anonymous" | ||
display = "anonymous" | ||
}] | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `display_name` (String) | ||
- `id` (String) Group ID | ||
- `members` (Attributes Set) (see [below for nested schema](#nestedatt--members)) | ||
|
||
### Read-Only | ||
|
||
- `meta` (Map of String) | ||
|
||
<a id="nestedatt--members"></a> | ||
### Nested Schema for `members` | ||
|
||
Required: | ||
|
||
- `display` (String) | ||
- `value` (String) | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
terraform import platform_scim_group.my-scim-group my-scim-group | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "platform_scim_user Resource - terraform-provider-platform" | ||
subcategory: "" | ||
description: |- | ||
Provides a JFrog SCIM User https://jfrog.com/help/r/jfrog-platform-administration-documentation/scim resource to manage users with the SCIM protocol. | ||
--- | ||
|
||
# platform_scim_user (Resource) | ||
|
||
Provides a JFrog [SCIM User](https://jfrog.com/help/r/jfrog-platform-administration-documentation/scim) resource to manage users with the SCIM protocol. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "platform_scim_user" "my-scim-user" { | ||
username = "[email protected]" | ||
active = true | ||
emails = [{ | ||
value = "[email protected]" | ||
primary = true | ||
}] | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `emails` (Attributes Set) (see [below for nested schema](#nestedatt--emails)) | ||
- `username` (String) | ||
|
||
### Optional | ||
|
||
- `active` (Boolean) | ||
|
||
### Read-Only | ||
|
||
- `groups` (Attributes Set) (see [below for nested schema](#nestedatt--groups)) | ||
- `meta` (Map of String) | ||
|
||
<a id="nestedatt--emails"></a> | ||
### Nested Schema for `emails` | ||
|
||
Required: | ||
|
||
- `primary` (Boolean) | ||
- `value` (String) | ||
|
||
|
||
<a id="nestedatt--groups"></a> | ||
### Nested Schema for `groups` | ||
|
||
Required: | ||
|
||
- `value` (String) | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
terraform import platform_scim_user.my-scim-user [email protected] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
terraform import platform_scim_group.my-scim-group my-scim-group |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
resource "platform_scim_group" "my-scim-group" { | ||
id = "my-scim-group" | ||
display_name = "my-scim-group" | ||
members = [{ | ||
value = "[email protected]" | ||
display = "[email protected]" | ||
}, { | ||
value = "anonymous" | ||
display = "anonymous" | ||
}] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
terraform import platform_scim_user.my-scim-user [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
resource "platform_scim_user" "my-scim-user" { | ||
username = "[email protected]" | ||
active = true | ||
emails = [{ | ||
value = "[email protected]" | ||
primary = true | ||
}] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.