mongodbatlas.Organization
Explore with Pulumi AI
mongodbatlas.Organization
provides programmatic management (including creation) of a MongoDB Atlas Organization resource.
IMPORTANT NOTE: When you establish an Atlas organization using this resource, it automatically generates a set of initial public and private Programmatic API Keys. These key values are vital to store because you’ll need to use them to grant access to the newly created Atlas organization. To use this resource,
role_names
for new API Key must have the ORG_OWNER role specified.
IMPORTANT NOTE: To use this resource, the requesting API Key must have the Organization Owner role. The requesting API Key’s organization must be a paying organization. To learn more, see Configure a Paying Organization in the MongoDB Atlas documentation.
NOTE Import command is currently not supported for this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";
const test = new mongodbatlas.Organization("test", {
orgOwnerId: "6205e5fffff79cde6f",
name: "testCreateORG",
description: "test API key from Org Creation Test",
roleNames: ["ORG_OWNER"],
});
import pulumi
import pulumi_mongodbatlas as mongodbatlas
test = mongodbatlas.Organization("test",
org_owner_id="6205e5fffff79cde6f",
name="testCreateORG",
description="test API key from Org Creation Test",
role_names=["ORG_OWNER"])
package main
import (
"github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mongodbatlas.NewOrganization(ctx, "test", &mongodbatlas.OrganizationArgs{
OrgOwnerId: pulumi.String("6205e5fffff79cde6f"),
Name: pulumi.String("testCreateORG"),
Description: pulumi.String("test API key from Org Creation Test"),
RoleNames: pulumi.StringArray{
pulumi.String("ORG_OWNER"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;
return await Deployment.RunAsync(() =>
{
var test = new Mongodbatlas.Organization("test", new()
{
OrgOwnerId = "6205e5fffff79cde6f",
Name = "testCreateORG",
Description = "test API key from Org Creation Test",
RoleNames = new[]
{
"ORG_OWNER",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mongodbatlas.Organization;
import com.pulumi.mongodbatlas.OrganizationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new Organization("test", OrganizationArgs.builder()
.orgOwnerId("6205e5fffff79cde6f")
.name("testCreateORG")
.description("test API key from Org Creation Test")
.roleNames("ORG_OWNER")
.build());
}
}
resources:
test:
type: mongodbatlas:Organization
properties:
orgOwnerId: 6205e5fffff79cde6f
name: testCreateORG
description: test API key from Org Creation Test
roleNames:
- ORG_OWNER
Create Organization Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Organization(name: string, args: OrganizationArgs, opts?: CustomResourceOptions);
@overload
def Organization(resource_name: str,
args: OrganizationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Organization(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
org_owner_id: Optional[str] = None,
role_names: Optional[Sequence[str]] = None,
api_access_list_required: Optional[bool] = None,
federation_settings_id: Optional[str] = None,
multi_factor_auth_required: Optional[bool] = None,
name: Optional[str] = None,
restrict_employee_access: Optional[bool] = None)
func NewOrganization(ctx *Context, name string, args OrganizationArgs, opts ...ResourceOption) (*Organization, error)
public Organization(string name, OrganizationArgs args, CustomResourceOptions? opts = null)
public Organization(String name, OrganizationArgs args)
public Organization(String name, OrganizationArgs args, CustomResourceOptions options)
type: mongodbatlas:Organization
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args OrganizationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OrganizationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OrganizationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OrganizationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OrganizationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var organizationResource = new Mongodbatlas.Organization("organizationResource", new()
{
Description = "string",
OrgOwnerId = "string",
RoleNames = new[]
{
"string",
},
ApiAccessListRequired = false,
FederationSettingsId = "string",
MultiFactorAuthRequired = false,
Name = "string",
RestrictEmployeeAccess = false,
});
example, err := mongodbatlas.NewOrganization(ctx, "organizationResource", &mongodbatlas.OrganizationArgs{
Description: pulumi.String("string"),
OrgOwnerId: pulumi.String("string"),
RoleNames: pulumi.StringArray{
pulumi.String("string"),
},
ApiAccessListRequired: pulumi.Bool(false),
FederationSettingsId: pulumi.String("string"),
MultiFactorAuthRequired: pulumi.Bool(false),
Name: pulumi.String("string"),
RestrictEmployeeAccess: pulumi.Bool(false),
})
var organizationResource = new Organization("organizationResource", OrganizationArgs.builder()
.description("string")
.orgOwnerId("string")
.roleNames("string")
.apiAccessListRequired(false)
.federationSettingsId("string")
.multiFactorAuthRequired(false)
.name("string")
.restrictEmployeeAccess(false)
.build());
organization_resource = mongodbatlas.Organization("organizationResource",
description="string",
org_owner_id="string",
role_names=["string"],
api_access_list_required=False,
federation_settings_id="string",
multi_factor_auth_required=False,
name="string",
restrict_employee_access=False)
const organizationResource = new mongodbatlas.Organization("organizationResource", {
description: "string",
orgOwnerId: "string",
roleNames: ["string"],
apiAccessListRequired: false,
federationSettingsId: "string",
multiFactorAuthRequired: false,
name: "string",
restrictEmployeeAccess: false,
});
type: mongodbatlas:Organization
properties:
apiAccessListRequired: false
description: string
federationSettingsId: string
multiFactorAuthRequired: false
name: string
orgOwnerId: string
restrictEmployeeAccess: false
roleNames:
- string
Organization Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Organization resource accepts the following input properties:
- Description string
- Org
Owner stringId - Unique 24-hexadecimal digit string that identifies the Atlas user that you want to assign the Organization Owner role. This user must be a member of the same organization as the calling API key. This is only required when authenticating with Programmatic API Keys. MongoDB Atlas Admin API - Get User By Username
- Role
Names List<string> - List of Organization roles that the Programmatic API key needs to have. Ensure that you provide at least one role and ensure all roles are valid for the Organization. You must specify an array even if you are only associating a single role with the Programmatic API key. The MongoDB Documentation describes the roles that you can assign to a Programmatic API key.
- Api
Access boolList Required - Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
- Federation
Settings stringId - Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
- Multi
Factor boolAuth Required - Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
- Name string
- The name of the organization you want to create. (Cannot be changed via this Provider after creation.)
- Restrict
Employee boolAccess - Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
- Description string
- Org
Owner stringId - Unique 24-hexadecimal digit string that identifies the Atlas user that you want to assign the Organization Owner role. This user must be a member of the same organization as the calling API key. This is only required when authenticating with Programmatic API Keys. MongoDB Atlas Admin API - Get User By Username
- Role
Names []string - List of Organization roles that the Programmatic API key needs to have. Ensure that you provide at least one role and ensure all roles are valid for the Organization. You must specify an array even if you are only associating a single role with the Programmatic API key. The MongoDB Documentation describes the roles that you can assign to a Programmatic API key.
- Api
Access boolList Required - Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
- Federation
Settings stringId - Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
- Multi
Factor boolAuth Required - Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
- Name string
- The name of the organization you want to create. (Cannot be changed via this Provider after creation.)
- Restrict
Employee boolAccess - Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
- description String
- org
Owner StringId - Unique 24-hexadecimal digit string that identifies the Atlas user that you want to assign the Organization Owner role. This user must be a member of the same organization as the calling API key. This is only required when authenticating with Programmatic API Keys. MongoDB Atlas Admin API - Get User By Username
- role
Names List<String> - List of Organization roles that the Programmatic API key needs to have. Ensure that you provide at least one role and ensure all roles are valid for the Organization. You must specify an array even if you are only associating a single role with the Programmatic API key. The MongoDB Documentation describes the roles that you can assign to a Programmatic API key.
- api
Access BooleanList Required - Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
- federation
Settings StringId - Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
- multi
Factor BooleanAuth Required - Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
- name String
- The name of the organization you want to create. (Cannot be changed via this Provider after creation.)
- restrict
Employee BooleanAccess - Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
- description string
- org
Owner stringId - Unique 24-hexadecimal digit string that identifies the Atlas user that you want to assign the Organization Owner role. This user must be a member of the same organization as the calling API key. This is only required when authenticating with Programmatic API Keys. MongoDB Atlas Admin API - Get User By Username
- role
Names string[] - List of Organization roles that the Programmatic API key needs to have. Ensure that you provide at least one role and ensure all roles are valid for the Organization. You must specify an array even if you are only associating a single role with the Programmatic API key. The MongoDB Documentation describes the roles that you can assign to a Programmatic API key.
- api
Access booleanList Required - Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
- federation
Settings stringId - Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
- multi
Factor booleanAuth Required - Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
- name string
- The name of the organization you want to create. (Cannot be changed via this Provider after creation.)
- restrict
Employee booleanAccess - Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
- description str
- org_
owner_ strid - Unique 24-hexadecimal digit string that identifies the Atlas user that you want to assign the Organization Owner role. This user must be a member of the same organization as the calling API key. This is only required when authenticating with Programmatic API Keys. MongoDB Atlas Admin API - Get User By Username
- role_
names Sequence[str] - List of Organization roles that the Programmatic API key needs to have. Ensure that you provide at least one role and ensure all roles are valid for the Organization. You must specify an array even if you are only associating a single role with the Programmatic API key. The MongoDB Documentation describes the roles that you can assign to a Programmatic API key.
- api_
access_ boollist_ required - Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
- federation_
settings_ strid - Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
- multi_
factor_ boolauth_ required - Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
- name str
- The name of the organization you want to create. (Cannot be changed via this Provider after creation.)
- restrict_
employee_ boolaccess - Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
- description String
- org
Owner StringId - Unique 24-hexadecimal digit string that identifies the Atlas user that you want to assign the Organization Owner role. This user must be a member of the same organization as the calling API key. This is only required when authenticating with Programmatic API Keys. MongoDB Atlas Admin API - Get User By Username
- role
Names List<String> - List of Organization roles that the Programmatic API key needs to have. Ensure that you provide at least one role and ensure all roles are valid for the Organization. You must specify an array even if you are only associating a single role with the Programmatic API key. The MongoDB Documentation describes the roles that you can assign to a Programmatic API key.
- api
Access BooleanList Required - Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
- federation
Settings StringId - Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
- multi
Factor BooleanAuth Required - Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
- name String
- The name of the organization you want to create. (Cannot be changed via this Provider after creation.)
- restrict
Employee BooleanAccess - Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
Outputs
All input properties are implicitly available as output properties. Additionally, the Organization resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Org
Id string - The organization id.
- Private
Key string - Public
Key string - Public API key value set for the specified organization API key.
- Id string
- The provider-assigned unique ID for this managed resource.
- Org
Id string - The organization id.
- Private
Key string - Public
Key string - Public API key value set for the specified organization API key.
- id String
- The provider-assigned unique ID for this managed resource.
- org
Id String - The organization id.
- private
Key String - public
Key String - Public API key value set for the specified organization API key.
- id string
- The provider-assigned unique ID for this managed resource.
- org
Id string - The organization id.
- private
Key string - public
Key string - Public API key value set for the specified organization API key.
- id str
- The provider-assigned unique ID for this managed resource.
- org_
id str - The organization id.
- private_
key str - public_
key str - Public API key value set for the specified organization API key.
- id String
- The provider-assigned unique ID for this managed resource.
- org
Id String - The organization id.
- private
Key String - public
Key String - Public API key value set for the specified organization API key.
Look up Existing Organization Resource
Get an existing Organization resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: OrganizationState, opts?: CustomResourceOptions): Organization
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_access_list_required: Optional[bool] = None,
description: Optional[str] = None,
federation_settings_id: Optional[str] = None,
multi_factor_auth_required: Optional[bool] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
org_owner_id: Optional[str] = None,
private_key: Optional[str] = None,
public_key: Optional[str] = None,
restrict_employee_access: Optional[bool] = None,
role_names: Optional[Sequence[str]] = None) -> Organization
func GetOrganization(ctx *Context, name string, id IDInput, state *OrganizationState, opts ...ResourceOption) (*Organization, error)
public static Organization Get(string name, Input<string> id, OrganizationState? state, CustomResourceOptions? opts = null)
public static Organization get(String name, Output<String> id, OrganizationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Api
Access boolList Required - Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
- Description string
- Federation
Settings stringId - Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
- Multi
Factor boolAuth Required - Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
- Name string
- The name of the organization you want to create. (Cannot be changed via this Provider after creation.)
- Org
Id string - The organization id.
- Org
Owner stringId - Unique 24-hexadecimal digit string that identifies the Atlas user that you want to assign the Organization Owner role. This user must be a member of the same organization as the calling API key. This is only required when authenticating with Programmatic API Keys. MongoDB Atlas Admin API - Get User By Username
- Private
Key string - Public
Key string - Public API key value set for the specified organization API key.
- Restrict
Employee boolAccess - Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
- Role
Names List<string> - List of Organization roles that the Programmatic API key needs to have. Ensure that you provide at least one role and ensure all roles are valid for the Organization. You must specify an array even if you are only associating a single role with the Programmatic API key. The MongoDB Documentation describes the roles that you can assign to a Programmatic API key.
- Api
Access boolList Required - Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
- Description string
- Federation
Settings stringId - Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
- Multi
Factor boolAuth Required - Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
- Name string
- The name of the organization you want to create. (Cannot be changed via this Provider after creation.)
- Org
Id string - The organization id.
- Org
Owner stringId - Unique 24-hexadecimal digit string that identifies the Atlas user that you want to assign the Organization Owner role. This user must be a member of the same organization as the calling API key. This is only required when authenticating with Programmatic API Keys. MongoDB Atlas Admin API - Get User By Username
- Private
Key string - Public
Key string - Public API key value set for the specified organization API key.
- Restrict
Employee boolAccess - Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
- Role
Names []string - List of Organization roles that the Programmatic API key needs to have. Ensure that you provide at least one role and ensure all roles are valid for the Organization. You must specify an array even if you are only associating a single role with the Programmatic API key. The MongoDB Documentation describes the roles that you can assign to a Programmatic API key.
- api
Access BooleanList Required - Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
- description String
- federation
Settings StringId - Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
- multi
Factor BooleanAuth Required - Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
- name String
- The name of the organization you want to create. (Cannot be changed via this Provider after creation.)
- org
Id String - The organization id.
- org
Owner StringId - Unique 24-hexadecimal digit string that identifies the Atlas user that you want to assign the Organization Owner role. This user must be a member of the same organization as the calling API key. This is only required when authenticating with Programmatic API Keys. MongoDB Atlas Admin API - Get User By Username
- private
Key String - public
Key String - Public API key value set for the specified organization API key.
- restrict
Employee BooleanAccess - Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
- role
Names List<String> - List of Organization roles that the Programmatic API key needs to have. Ensure that you provide at least one role and ensure all roles are valid for the Organization. You must specify an array even if you are only associating a single role with the Programmatic API key. The MongoDB Documentation describes the roles that you can assign to a Programmatic API key.
- api
Access booleanList Required - Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
- description string
- federation
Settings stringId - Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
- multi
Factor booleanAuth Required - Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
- name string
- The name of the organization you want to create. (Cannot be changed via this Provider after creation.)
- org
Id string - The organization id.
- org
Owner stringId - Unique 24-hexadecimal digit string that identifies the Atlas user that you want to assign the Organization Owner role. This user must be a member of the same organization as the calling API key. This is only required when authenticating with Programmatic API Keys. MongoDB Atlas Admin API - Get User By Username
- private
Key string - public
Key string - Public API key value set for the specified organization API key.
- restrict
Employee booleanAccess - Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
- role
Names string[] - List of Organization roles that the Programmatic API key needs to have. Ensure that you provide at least one role and ensure all roles are valid for the Organization. You must specify an array even if you are only associating a single role with the Programmatic API key. The MongoDB Documentation describes the roles that you can assign to a Programmatic API key.
- api_
access_ boollist_ required - Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
- description str
- federation_
settings_ strid - Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
- multi_
factor_ boolauth_ required - Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
- name str
- The name of the organization you want to create. (Cannot be changed via this Provider after creation.)
- org_
id str - The organization id.
- org_
owner_ strid - Unique 24-hexadecimal digit string that identifies the Atlas user that you want to assign the Organization Owner role. This user must be a member of the same organization as the calling API key. This is only required when authenticating with Programmatic API Keys. MongoDB Atlas Admin API - Get User By Username
- private_
key str - public_
key str - Public API key value set for the specified organization API key.
- restrict_
employee_ boolaccess - Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
- role_
names Sequence[str] - List of Organization roles that the Programmatic API key needs to have. Ensure that you provide at least one role and ensure all roles are valid for the Organization. You must specify an array even if you are only associating a single role with the Programmatic API key. The MongoDB Documentation describes the roles that you can assign to a Programmatic API key.
- api
Access BooleanList Required - Flag that indicates whether to require API operations to originate from an IP Address added to the API access list for the specified organization.
- description String
- federation
Settings StringId - Unique 24-hexadecimal digit string that identifies the federation to link the newly created organization to. If specified, the proposed Organization Owner of the new organization must have the Organization Owner role in an organization associated with the federation.
- multi
Factor BooleanAuth Required - Flag that indicates whether to require users to set up Multi-Factor Authentication (MFA) before accessing the specified organization. To learn more, see: https://www.mongodb.com/docs/atlas/security-multi-factor-authentication/.
- name String
- The name of the organization you want to create. (Cannot be changed via this Provider after creation.)
- org
Id String - The organization id.
- org
Owner StringId - Unique 24-hexadecimal digit string that identifies the Atlas user that you want to assign the Organization Owner role. This user must be a member of the same organization as the calling API key. This is only required when authenticating with Programmatic API Keys. MongoDB Atlas Admin API - Get User By Username
- private
Key String - public
Key String - Public API key value set for the specified organization API key.
- restrict
Employee BooleanAccess - Flag that indicates whether to block MongoDB Support from accessing Atlas infrastructure for any deployment in the specified organization without explicit permission. Once this setting is turned on, you can grant MongoDB Support a 24-hour bypass access to the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/.
- role
Names List<String> - List of Organization roles that the Programmatic API key needs to have. Ensure that you provide at least one role and ensure all roles are valid for the Organization. You must specify an array even if you are only associating a single role with the Programmatic API key. The MongoDB Documentation describes the roles that you can assign to a Programmatic API key.
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlas
Terraform Provider.