iam-service-authorization

cloud-native-toolkit/iam-service-authorization/ibm

Terraform Module HCL IBM

Module to authorize one service to access another service

Install
module "iam-service-authorization" {
source = "cloud-native-toolkit/iam-service-authorization/ibm"
version = "1.2.14"
}
plain text: /constructs/tfmod-cloud-native-toolkit-iam-service-authorization-ibm/install.txt
⭐ Source on GitHub 📦 Registry page
README

IAM Service Authorization Module to create an IBM Cloud IAM Authorization Policy that authorizes one cloud service to access another. An authorization policy is requried in a number of scenarios: - In order to encrypt the data in a hosted a Databases for MongoDB service with a particular key in Key Protect, the Databases for MongoDB service must be authorized with the Reader role to Key Protect. - In order for a VPC Flow Log to write records to an Object Storage bucket, the VPC Flow Log service must be authorized with Writer access to Object Storage. Authorization policies can be created at different scopes. The most specific scope is service instance to service instance (e.g. a specific Databases for MongoDB service instance can access a specific Key Protect instance. The broadest scope i

Inputs (14)
NameTypeDescriptionDefault
source_service_namestringThe name of the service that will be authorized to access the target service. Th required
ibmcloud_api_keystringThe IBM Cloud api key required
target_service_namestringThe name of the service to which the source service will be authorization to acc required
source_resource_group_idstringThe id of the resource group that will be used to scope which source services winull
source_resource_typestringThe resource type of the source service. This value is used to define sub-types null
target_instanceboolFlag indicating that the target instance id should be mappedfalse
target_resource_instance_idstringThe instance id of the target service. This value is required if the authorizatinull
target_resource_group_idstringThe id of the resource group that will be used to scope which services the sourcnull
target_resource_typestringThe resource type of the target service. This value is used to define sub-types null
source_service_accountstringGUID of the account where the source service is provisioned. This is required tonull
roleslist(string)A list of roles that should be granted on the target service (e.g. Reader, Write[ "Reader" ]
source_resource_instance_idstringThe instance id of the source service. This value is required if the authorizatinull
provisionboolFlag indicating that the service authorization should be createdtrue
source_instanceboolFlag indicating that the source instance id should be mappedfalse
Outputs (1)
id — The ID of the authorization policy ID
Resources (2)
null_resourcerandom_uuid
Details
FrameworkTerraform Module
LanguageHCL
Version1.2.14
Cloud IBM
★ Stars0
Forks1
Total downloads113
Inputs14
Outputs1
Resources2
Namespacecloud-native-toolkit
Updated