-
Notifications
You must be signed in to change notification settings - Fork 688
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 #1809 from oracle/release_gh
Releasing version 4.112.0
- Loading branch information
Showing
888 changed files
with
192,378 additions
and
532 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
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,6 @@ | ||
# Overview | ||
This is a Terraform configuration that creates the `identity_domains` service on Oracle Cloud Infrastructure. | ||
|
||
The Terraform code is used to create a Resource Manager stack, that creates the required resources and configures the application on the created resources. | ||
## Magic Button | ||
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/identity_domains.zip) |
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,87 @@ | ||
// Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved. | ||
// Licensed under the Mozilla Public License v2.0 | ||
|
||
variable "api_key_api_key_count" { | ||
default = 10 | ||
} | ||
|
||
variable "api_key_authorization" { | ||
default = "authorization" | ||
} | ||
|
||
variable "api_key_description" { | ||
default = "description" | ||
} | ||
|
||
variable "api_key_fingerprint" { | ||
default = "fingerprint" | ||
} | ||
|
||
#provide the public key | ||
variable "api_key_key" { | ||
default = "" | ||
} | ||
|
||
variable "api_key_start_index" { | ||
default = 1 | ||
} | ||
|
||
variable "api_key_tags_key" { | ||
default = "key" | ||
} | ||
|
||
variable "api_key_tags_value" { | ||
default = "value" | ||
} | ||
|
||
variable "api_key_urnietfparamsscimschemasoracleidcsextensionself_change_user_allow_self_change" { | ||
default = false | ||
} | ||
|
||
|
||
resource "oci_identity_domains_api_key" "test_api_key" { | ||
#Required | ||
idcs_endpoint = data.oci_identity_domain.test_domain.url | ||
key = var.api_key_key | ||
schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:apikey"] | ||
|
||
#Optional | ||
attribute_sets = [] | ||
attributes = "" | ||
authorization = var.api_key_authorization | ||
description = var.api_key_description | ||
tags { | ||
#Required | ||
key = var.api_key_tags_key | ||
value = var.api_key_tags_value | ||
} | ||
urnietfparamsscimschemasoracleidcsextensionself_change_user { | ||
|
||
#Optional | ||
allow_self_change = var.api_key_urnietfparamsscimschemasoracleidcsextensionself_change_user_allow_self_change | ||
} | ||
user { | ||
|
||
#Optional | ||
#use the ocid of the same user set in value | ||
ocid = oci_identity_domains_user.test_user.ocid | ||
#must be a user that exists | ||
value = oci_identity_domains_user.test_user.id | ||
} | ||
} | ||
|
||
data "oci_identity_domains_api_keys" "test_api_keys" { | ||
#Required | ||
idcs_endpoint = data.oci_identity_domain.test_domain.url | ||
|
||
#Optional | ||
api_key_count = var.api_key_api_key_count | ||
api_key_filter = "user.value eq \"${oci_identity_domains_user.test_user.id}\"" | ||
attribute_sets = [] | ||
attributes = "" | ||
authorization = var.api_key_authorization | ||
#use the latest if not provided | ||
# resource_type_schema_version = var.user_resource_type_schema_version | ||
start_index = var.api_key_start_index | ||
} | ||
|
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,89 @@ | ||
// Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved. | ||
// Licensed under the Mozilla Public License v2.0 | ||
|
||
variable "auth_token_auth_token_count" { | ||
default = 10 | ||
} | ||
|
||
variable "auth_token_authorization" { | ||
default = "authorization" | ||
} | ||
|
||
variable "auth_token_description" { | ||
default = "description" | ||
} | ||
|
||
variable "auth_token_expires_on" { | ||
default = "2030-01-01T00:00:00Z" | ||
} | ||
|
||
variable "auth_token_start_index" { | ||
default = 1 | ||
} | ||
|
||
variable "auth_token_status" { | ||
default = "ACTIVE" | ||
} | ||
|
||
variable "auth_token_tags_key" { | ||
default = "key" | ||
} | ||
|
||
variable "auth_token_tags_value" { | ||
default = "value" | ||
} | ||
|
||
variable "auth_token_urnietfparamsscimschemasoracleidcsextensionself_change_user_allow_self_change" { | ||
default = false | ||
} | ||
|
||
|
||
resource "oci_identity_domains_auth_token" "test_auth_token" { | ||
#Required | ||
idcs_endpoint = data.oci_identity_domain.test_domain.url | ||
schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:authToken"] | ||
|
||
#Optional | ||
attribute_sets = [] | ||
attributes = "" | ||
authorization = var.auth_token_authorization | ||
description = var.auth_token_description | ||
expires_on = var.auth_token_expires_on | ||
#use the latest if not provided | ||
# resource_type_schema_version = var.auth_token_resource_type_schema_version | ||
status = var.auth_token_status | ||
tags { | ||
#Required | ||
key = var.auth_token_tags_key | ||
value = var.auth_token_tags_value | ||
} | ||
urnietfparamsscimschemasoracleidcsextensionself_change_user { | ||
|
||
#Optional | ||
allow_self_change = var.auth_token_urnietfparamsscimschemasoracleidcsextensionself_change_user_allow_self_change | ||
} | ||
user { | ||
|
||
#Optional | ||
#use the ocid of the same user set in value | ||
ocid = oci_identity_domains_user.test_user.ocid | ||
#must be a user that exists | ||
value = oci_identity_domains_user.test_user.id | ||
} | ||
} | ||
|
||
data "oci_identity_domains_auth_tokens" "test_auth_tokens" { | ||
#Required | ||
idcs_endpoint = data.oci_identity_domain.test_domain.url | ||
|
||
#Optional | ||
auth_token_count = var.auth_token_auth_token_count | ||
auth_token_filter = "user.value eq \"${oci_identity_domains_user.test_user.id}\"" | ||
attribute_sets = [] | ||
attributes = "" | ||
authorization = var.auth_token_authorization | ||
#use the latest if not provided | ||
# resource_type_schema_version = var.auth_token_resource_type_schema_version | ||
start_index = var.auth_token_start_index | ||
} | ||
|
Oops, something went wrong.